Lines Matching defs:log2_cb_size
1101 int log2_cb_size, int log2_trafo_size,
1141 ff_hevc_set_qPy(s, cb_xBase, cb_yBase, log2_cb_size);
1305 static void set_deblocking_bypass(HEVCContext *s, int x0, int y0, int log2_cb_size)
1307 int cb_size = 1 << log2_cb_size;
1322 int log2_cb_size, int log2_trafo_size,
1393 ret = hls_transform_tree(s, x, y, x0, y0, cb_xBase, cb_yBase, log2_cb_size, \
1419 log2_cb_size, log2_trafo_size,
1443 static int hls_pcm_sample(HEVCContext *s, int x0, int y0, int log2_cb_size)
1447 int cb_size = 1 << log2_cb_size;
1463 ff_hevc_deblocking_boundary_strengths(s, x0, y0, log2_cb_size);
1821 int nPbH, int log2_cb_size, int part_idx,
1840 ff_hevc_luma_mv_mvp_mode(s, x0, y0, nPbW, nPbH, log2_cb_size,
1858 ff_hevc_luma_mv_mvp_mode(s, x0, y0, nPbW, nPbH, log2_cb_size,
1867 int log2_cb_size, int partIdx, int idx)
1902 ff_hevc_luma_mv_merge_mode(s, x0, y0, nPbW, nPbH, log2_cb_size,
1905 hevc_luma_mv_mvp_mode(s, x0, y0, nPbW, nPbH, log2_cb_size,
2072 int log2_cb_size, int ct_depth)
2074 int length = (1 << log2_cb_size) >> s->ps.sps->log2_min_cb_size;
2089 int log2_cb_size)
2095 int pb_size = (1 << log2_cb_size) >> split;
2158 int log2_cb_size)
2161 int pb_size = 1 << log2_cb_size;
2179 static int hls_coding_unit(HEVCContext *s, int x0, int y0, int log2_cb_size)
2181 int cb_size = 1 << log2_cb_size;
2188 int idx = log2_cb_size - 2;
2204 set_deblocking_bypass(s, x0, y0, log2_cb_size);
2226 hls_prediction_unit(s, x0, y0, cb_size, cb_size, log2_cb_size, 0, idx);
2227 intra_prediction_unit_default_value(s, x0, y0, log2_cb_size);
2230 ff_hevc_deblocking_boundary_strengths(s, x0, y0, log2_cb_size);
2237 log2_cb_size == s->ps.sps->log2_min_cb_size) {
2238 lc->cu.part_mode = ff_hevc_part_mode_decode(s, log2_cb_size);
2245 log2_cb_size >= s->ps.sps->pcm.log2_min_pcm_cb_size &&
2246 log2_cb_size <= s->ps.sps->pcm.log2_max_pcm_cb_size) {
2250 intra_prediction_unit_default_value(s, x0, y0, log2_cb_size);
2251 ret = hls_pcm_sample(s, x0, y0, log2_cb_size);
2253 set_deblocking_bypass(s, x0, y0, log2_cb_size);
2258 intra_prediction_unit(s, x0, y0, log2_cb_size);
2261 intra_prediction_unit_default_value(s, x0, y0, log2_cb_size);
2264 hls_prediction_unit(s, x0, y0, cb_size, cb_size, log2_cb_size, 0, idx);
2267 hls_prediction_unit(s, x0, y0, cb_size, cb_size / 2, log2_cb_size, 0, idx);
2268 hls_prediction_unit(s, x0, y0 + cb_size / 2, cb_size, cb_size / 2, log2_cb_size, 1, idx);
2271 hls_prediction_unit(s, x0, y0, cb_size / 2, cb_size, log2_cb_size, 0, idx - 1);
2272 hls_prediction_unit(s, x0 + cb_size / 2, y0, cb_size / 2, cb_size, log2_cb_size, 1, idx - 1);
2275 hls_prediction_unit(s, x0, y0, cb_size, cb_size / 4, log2_cb_size, 0, idx);
2276 hls_prediction_unit(s, x0, y0 + cb_size / 4, cb_size, cb_size * 3 / 4, log2_cb_size, 1, idx);
2279 hls_prediction_unit(s, x0, y0, cb_size, cb_size * 3 / 4, log2_cb_size, 0, idx);
2280 hls_prediction_unit(s, x0, y0 + cb_size * 3 / 4, cb_size, cb_size / 4, log2_cb_size, 1, idx);
2283 hls_prediction_unit(s, x0, y0, cb_size / 4, cb_size, log2_cb_size, 0, idx - 2);
2284 hls_prediction_unit(s, x0 + cb_size / 4, y0, cb_size * 3 / 4, cb_size, log2_cb_size, 1, idx - 2);
2287 hls_prediction_unit(s, x0, y0, cb_size * 3 / 4, cb_size, log2_cb_size, 0, idx - 2);
2288 hls_prediction_unit(s, x0 + cb_size * 3 / 4, y0, cb_size / 4, cb_size, log2_cb_size, 1, idx - 2);
2291 hls_prediction_unit(s, x0, y0, cb_size / 2, cb_size / 2, log2_cb_size, 0, idx - 1);
2292 hls_prediction_unit(s, x0 + cb_size / 2, y0, cb_size / 2, cb_size / 2, log2_cb_size, 1, idx - 1);
2293 hls_prediction_unit(s, x0, y0 + cb_size / 2, cb_size / 2, cb_size / 2, log2_cb_size, 2, idx - 1);
2294 hls_prediction_unit(s, x0 + cb_size / 2, y0 + cb_size / 2, cb_size / 2, cb_size / 2, log2_cb_size, 3, idx - 1);
2312 log2_cb_size,
2313 log2_cb_size, 0, 0, cbf, cbf);
2318 ff_hevc_deblocking_boundary_strengths(s, x0, y0, log2_cb_size);
2324 ff_hevc_set_qPy(s, x0, y0, log2_cb_size);
2332 if(((x0 + (1<<log2_cb_size)) & qp_block_mask) == 0 &&
2333 ((y0 + (1<<log2_cb_size)) & qp_block_mask) == 0) {
2337 set_ct_depth(s, x0, y0, log2_cb_size, lc->ct_depth);
2343 int log2_cb_size, int cb_depth)
2346 const int cb_size = 1 << log2_cb_size;
2353 log2_cb_size > s->ps.sps->log2_min_cb_size) {
2356 split_cu = (log2_cb_size > s->ps.sps->log2_min_cb_size);
2359 log2_cb_size >= s->ps.sps->log2_ctb_size - s->ps.pps->diff_cu_qp_delta_depth) {
2365 log2_cb_size >= s->ps.sps->log2_ctb_size - s->ps.pps->diff_cu_chroma_qp_offset_depth) {
2377 more_data = hls_coding_quadtree(s, x0, y0, log2_cb_size - 1, cb_depth + 1);
2382 more_data = hls_coding_quadtree(s, x1, y0, log2_cb_size - 1, cb_depth + 1);
2387 more_data = hls_coding_quadtree(s, x0, y1, log2_cb_size - 1, cb_depth + 1);
2393 more_data = hls_coding_quadtree(s, x1, y1, log2_cb_size - 1, cb_depth + 1);
2398 if(((x0 + (1<<log2_cb_size)) & qp_block_mask) == 0 &&
2399 ((y0 + (1<<log2_cb_size)) & qp_block_mask) == 0)
2408 ret = hls_coding_unit(s, x0, y0, log2_cb_size);