Lines Matching refs:trafo_depth
859 int trafo_depth, int blk_idx)
873 SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0) ||
874 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0) ||
876 (SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0 + (1 << log2_trafo_size_c)) ||
877 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0 + (1 << log2_trafo_size_c))))) {
881 int cbf_chroma = SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0) ||
882 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0) ||
884 (SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0 + (1 << log2_trafo_size_c)) ||
885 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0 + (1 << log2_trafo_size_c))));
964 if (SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0 + (i << log2_trafo_size_c)))
993 if (SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0 + (i << log2_trafo_size_c)))
1022 if (SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], xBase, yBase + (i << log2_trafo_size_c)))
1032 if (SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], xBase, yBase + (i << log2_trafo_size_c)))
1087 int trafo_depth, int blk_idx)
1093 if (trafo_depth > 0 && log2_trafo_size == 2) {
1094 SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0) =
1095 SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth - 1], xBase, yBase);
1096 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0) =
1097 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth - 1], xBase, yBase);
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)));
1107 SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0) =
1108 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0) = 0;
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;
1116 if (trafo_depth == 1) {
1137 trafo_depth == 0;
1141 trafo_depth < lc->cu.max_trafo_depth &&
1142 !(lc->cu.intra_split_flag && trafo_depth == 0)) {
1146 (lc->cu.intra_split_flag && trafo_depth == 0) ||
1151 if (trafo_depth == 0 ||
1152 SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth - 1], xBase, yBase)) {
1153 SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0) =
1154 ff_hevc_cbf_cb_cr_decode(s, trafo_depth);
1156 SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0 + (1 << (log2_trafo_size - 1))) =
1157 ff_hevc_cbf_cb_cr_decode(s, trafo_depth);
1161 if (trafo_depth == 0 ||
1162 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth - 1], xBase, yBase)) {
1163 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0) =
1164 ff_hevc_cbf_cb_cr_decode(s, trafo_depth);
1166 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0 + (1 << (log2_trafo_size - 1))) =
1167 ff_hevc_cbf_cb_cr_decode(s, trafo_depth);
1178 trafo_depth + 1, 0);
1183 trafo_depth + 1, 1);
1188 trafo_depth + 1, 2);
1193 trafo_depth + 1, 3);
1201 if (lc->cu.pred_mode == MODE_INTRA || trafo_depth != 0 ||
1202 SAMPLE_CBF(lc->tt.cbf_cb[trafo_depth], x0, y0) ||
1203 SAMPLE_CBF(lc->tt.cbf_cr[trafo_depth], x0, y0) ||
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)))))) {
1207 lc->tt.cbf_luma = ff_hevc_cbf_luma_decode(s, trafo_depth);
1211 log2_cb_size, log2_trafo_size, trafo_depth,