Lines Matching refs:log2_trafo_size
858 int log2_cb_size, int log2_trafo_size,
862 const int log2_trafo_size_c = log2_trafo_size - s->sps->hshift[1];
866 int trafo_size = 1 << log2_trafo_size;
869 s->hpc.intra_pred[log2_trafo_size - 2](s, x0, y0, 0);
927 if (lc->cu.pred_mode == MODE_INTRA && log2_trafo_size < 4) {
948 ff_hevc_hls_residual_coding(s, x0, y0, log2_trafo_size, scan_idx, 0);
949 if (log2_trafo_size > 2 || s->sps->chroma_format_idc == 3) {
981 s->hevcdsp.transform_add[log2_trafo_size-2](dst, coeffs, stride);
1010 s->hevcdsp.transform_add[log2_trafo_size-2](dst, coeffs, stride);
1014 int trafo_size_h = 1 << (log2_trafo_size + 1);
1015 int trafo_size_v = 1 << (log2_trafo_size + s->sps->vshift[1]);
1018 ff_hevc_set_neighbour_available(s, xBase, yBase + (i << log2_trafo_size),
1020 s->hpc.intra_pred[log2_trafo_size - 2](s, xBase, yBase + (i << log2_trafo_size), 1);
1023 ff_hevc_hls_residual_coding(s, xBase, yBase + (i << log2_trafo_size),
1024 log2_trafo_size, scan_idx_c, 1);
1028 ff_hevc_set_neighbour_available(s, xBase, yBase + (i << log2_trafo_size),
1030 s->hpc.intra_pred[log2_trafo_size - 2](s, xBase, yBase + (i << log2_trafo_size), 2);
1033 ff_hevc_hls_residual_coding(s, xBase, yBase + (i << log2_trafo_size),
1034 log2_trafo_size, scan_idx_c, 2);
1038 if (log2_trafo_size > 2 || s->sps->chroma_format_idc == 3) {
1051 int trafo_size_h = 1 << (log2_trafo_size + 1);
1052 int trafo_size_v = 1 << (log2_trafo_size + s->sps->vshift[1]);
1055 s->hpc.intra_pred[log2_trafo_size - 2](s, xBase, yBase, 1);
1056 s->hpc.intra_pred[log2_trafo_size - 2](s, xBase, yBase, 2);
1058 ff_hevc_set_neighbour_available(s, xBase, yBase + (1 << (log2_trafo_size)),
1060 s->hpc.intra_pred[log2_trafo_size - 2](s, xBase, yBase + (1 << (log2_trafo_size)), 1);
1061 s->hpc.intra_pred[log2_trafo_size - 2](s, xBase, yBase + (1 << (log2_trafo_size)), 2);
1086 int log2_cb_size, int log2_trafo_size,
1093 if (trafo_depth > 0 && log2_trafo_size == 2) {
1099 int xBase_cb = xBase & ((1 << log2_trafo_size) - 1);
1100 int yBase_cb = yBase & ((1 << log2_trafo_size) - 1);
1101 SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0 + (1 << (log2_trafo_size - 1))) =
1102 SAMPLE_CBF2(lc->tt.cbf_cb[trafo_depth - 1], xBase_cb, yBase_cb + (1 << (log2_trafo_size)));
1103 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0 + (1 << (log2_trafo_size - 1))) =
1104 SAMPLE_CBF2(lc->tt.cbf_cr[trafo_depth - 1], xBase_cb, yBase_cb + (1 << (log2_trafo_size)));
1110 SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0 + (1 << (log2_trafo_size - 1))) =
1111 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0 + (1 << (log2_trafo_size - 1))) = 0;
1139 if (log2_trafo_size <= s->sps->log2_max_trafo_size &&
1140 log2_trafo_size > s->sps->log2_min_tb_size &&
1143 split_transform_flag = ff_hevc_split_transform_flag_decode(s, log2_trafo_size);
1145 split_transform_flag = log2_trafo_size > s->sps->log2_max_trafo_size ||
1150 if (log2_trafo_size > 2 || s->sps->chroma_format_idc == 3) {
1155 if (s->sps->chroma_format_idc == 2 && (!split_transform_flag || log2_trafo_size == 3)) {
1156 SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0 + (1 << (log2_trafo_size - 1))) =
1165 if (s->sps->chroma_format_idc == 2 && (!split_transform_flag || log2_trafo_size == 3)) {
1166 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0 + (1 << (log2_trafo_size - 1))) =
1173 int x1 = x0 + ((1 << log2_trafo_size) >> 1);
1174 int y1 = y0 + ((1 << log2_trafo_size) >> 1);
1177 log2_cb_size, log2_trafo_size - 1,
1182 log2_cb_size, log2_trafo_size - 1,
1187 log2_cb_size, log2_trafo_size - 1,
1192 log2_cb_size, log2_trafo_size - 1,
1205 (SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0 + (1 << (log2_trafo_size - 1))) ||
1206 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0 + (1 << (log2_trafo_size - 1)))))) {
1211 log2_cb_size, log2_trafo_size, trafo_depth,
1218 for (i = 0; i < (1 << log2_trafo_size); i += min_tu_size)
1219 for (j = 0; j < (1 << log2_trafo_size); j += min_tu_size) {
1226 ff_hevc_deblocking_boundary_strengths(s, x0, y0, log2_trafo_size);
1229 set_deblocking_bypass(s, x0, y0, log2_trafo_size);