Lines Matching defs:log2_cb_size
858 int log2_cb_size, int log2_trafo_size,
905 ff_hevc_set_qPy(s, x0, y0, cb_xBase, cb_yBase, log2_cb_size);
1069 static void set_deblocking_bypass(HEVCContext *s, int x0, int y0, int log2_cb_size)
1071 int cb_size = 1 << log2_cb_size;
1086 int log2_cb_size, int log2_trafo_size,
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,
1211 log2_cb_size, log2_trafo_size, trafo_depth,
1235 static int hls_pcm_sample(HEVCContext *s, int x0, int y0, int log2_cb_size)
1240 int cb_size = 1 << log2_cb_size;
1256 ff_hevc_deblocking_boundary_strengths(s, x0, y0, log2_cb_size);
1611 int log2_cb_size, int partIdx, int idx)
1644 1 << log2_cb_size,
1645 1 << log2_cb_size,
1646 log2_cb_size, partIdx,
1662 ff_hevc_luma_mv_merge_mode(s, x0, y0, nPbW, nPbH, log2_cb_size,
1685 ff_hevc_luma_mv_mvp_mode(s, x0, y0, nPbW, nPbH, log2_cb_size,
1707 ff_hevc_luma_mv_mvp_mode(s, x0, y0, nPbW, nPbH, log2_cb_size,
1873 int log2_cb_size, int ct_depth)
1875 int length = (1 << log2_cb_size) >> s->sps->log2_min_cb_size;
1890 int log2_cb_size)
1896 int pb_size = (1 << log2_cb_size) >> split;
1959 int log2_cb_size)
1962 int pb_size = 1 << log2_cb_size;
1980 static int hls_coding_unit(HEVCContext *s, int x0, int y0, int log2_cb_size)
1982 int cb_size = 1 << log2_cb_size;
1989 int idx = log2_cb_size - 2;
2007 set_deblocking_bypass(s, x0, y0, log2_cb_size);
2023 hls_prediction_unit(s, x0, y0, cb_size, cb_size, log2_cb_size, 0, idx);
2024 intra_prediction_unit_default_value(s, x0, y0, log2_cb_size);
2027 ff_hevc_deblocking_boundary_strengths(s, x0, y0, log2_cb_size);
2032 log2_cb_size == s->sps->log2_min_cb_size) {
2033 lc->cu.part_mode = ff_hevc_part_mode_decode(s, log2_cb_size);
2040 log2_cb_size >= s->sps->pcm.log2_min_pcm_cb_size &&
2041 log2_cb_size <= s->sps->pcm.log2_max_pcm_cb_size) {
2045 intra_prediction_unit_default_value(s, x0, y0, log2_cb_size);
2046 ret = hls_pcm_sample(s, x0, y0, log2_cb_size);
2048 set_deblocking_bypass(s, x0, y0, log2_cb_size);
2053 intra_prediction_unit(s, x0, y0, log2_cb_size);
2056 intra_prediction_unit_default_value(s, x0, y0, log2_cb_size);
2059 hls_prediction_unit(s, x0, y0, cb_size, cb_size, log2_cb_size, 0, idx);
2062 hls_prediction_unit(s, x0, y0, cb_size, cb_size / 2, log2_cb_size, 0, idx);
2063 hls_prediction_unit(s, x0, y0 + cb_size / 2, cb_size, cb_size / 2, log2_cb_size, 1, idx);
2066 hls_prediction_unit(s, x0, y0, cb_size / 2, cb_size, log2_cb_size, 0, idx - 1);
2067 hls_prediction_unit(s, x0 + cb_size / 2, y0, cb_size / 2, cb_size, log2_cb_size, 1, idx - 1);
2070 hls_prediction_unit(s, x0, y0, cb_size, cb_size / 4, log2_cb_size, 0, idx);
2071 hls_prediction_unit(s, x0, y0 + cb_size / 4, cb_size, cb_size * 3 / 4, log2_cb_size, 1, idx);
2074 hls_prediction_unit(s, x0, y0, cb_size, cb_size * 3 / 4, log2_cb_size, 0, idx);
2075 hls_prediction_unit(s, x0, y0 + cb_size * 3 / 4, cb_size, cb_size / 4, log2_cb_size, 1, idx);
2078 hls_prediction_unit(s, x0, y0, cb_size / 4, cb_size, log2_cb_size, 0, idx - 2);
2079 hls_prediction_unit(s, x0 + cb_size / 4, y0, cb_size * 3 / 4, cb_size, log2_cb_size, 1, idx - 2);
2082 hls_prediction_unit(s, x0, y0, cb_size * 3 / 4, cb_size, log2_cb_size, 0, idx - 2);
2083 hls_prediction_unit(s, x0 + cb_size * 3 / 4, y0, cb_size / 4, cb_size, log2_cb_size, 1, idx - 2);
2086 hls_prediction_unit(s, x0, y0, cb_size / 2, cb_size / 2, log2_cb_size, 0, idx - 1);
2087 hls_prediction_unit(s, x0 + cb_size / 2, y0, cb_size / 2, cb_size / 2, log2_cb_size, 1, idx - 1);
2088 hls_prediction_unit(s, x0, y0 + cb_size / 2, cb_size / 2, cb_size / 2, log2_cb_size, 2, idx - 1);
2089 hls_prediction_unit(s, x0 + cb_size / 2, y0 + cb_size / 2, cb_size / 2, cb_size / 2, log2_cb_size, 3, idx - 1);
2104 log2_cb_size,
2105 log2_cb_size, 0, 0);
2110 ff_hevc_deblocking_boundary_strengths(s, x0, y0, log2_cb_size);
2116 ff_hevc_set_qPy(s, x0, y0, x0, y0, log2_cb_size);
2124 if(((x0 + (1<<log2_cb_size)) & qp_block_mask) == 0 &&
2125 ((y0 + (1<<log2_cb_size)) & qp_block_mask) == 0) {
2129 set_ct_depth(s, x0, y0, log2_cb_size, lc->ct.depth);
2135 int log2_cb_size, int cb_depth)
2138 const int cb_size = 1 << log2_cb_size;
2146 log2_cb_size > s->sps->log2_min_cb_size) {
2149 split_cu_flag = (log2_cb_size > s->sps->log2_min_cb_size);
2152 log2_cb_size >= s->sps->log2_ctb_size - s->pps->diff_cu_qp_delta_depth) {
2158 log2_cb_size >= s->sps->log2_ctb_size - s->pps->diff_cu_chroma_qp_offset_depth) {
2169 more_data = hls_coding_quadtree(s, x0, y0, log2_cb_size - 1, cb_depth + 1);
2174 more_data = hls_coding_quadtree(s, x1, y0, log2_cb_size - 1, cb_depth + 1);
2179 more_data = hls_coding_quadtree(s, x0, y1, log2_cb_size - 1, cb_depth + 1);
2185 more_data = hls_coding_quadtree(s, x1, y1, log2_cb_size - 1, cb_depth + 1);
2190 if(((x0 + (1<<log2_cb_size)) & qp_block_mask) == 0 &&
2191 ((y0 + (1<<log2_cb_size)) & qp_block_mask) == 0)
2200 ret = hls_coding_unit(s, x0, y0, log2_cb_size);