Home
last modified time | relevance | path

Searched refs:ctb_width (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dhevc_ps.c1204 sps->ctb_width = (sps->width + (1 << sps->log2_ctb_size) - 1) >> sps->log2_ctb_size; in ff_hevc_parse_sps()
1206 sps->ctb_size = sps->ctb_width * sps->ctb_height; in ff_hevc_parse_sps()
1377 pps->col_idxX = av_malloc_array(sps->ctb_width, sizeof(*pps->col_idxX)); in setup_pps()
1390 pps->column_width[i] = ((i + 1) * sps->ctb_width) / pps->num_tile_columns - in setup_pps()
1391 (i * sps->ctb_width) / pps->num_tile_columns; in setup_pps()
1408 for (i = 0, j = 0; i < sps->ctb_width; i++) { in setup_pps()
1417 pic_area_in_ctbs = sps->ctb_width * sps->ctb_height; in setup_pps()
1429 int tb_x = ctb_addr_rs % sps->ctb_width; in setup_pps()
1430 int tb_y = ctb_addr_rs / sps->ctb_width; in setup_pps()
1452 val += sps->ctb_width * pps->row_height[i]; in setup_pps()
[all …]
Dhevc_cabac.c453 (ctb_addr_ts % s->ps.sps->ctb_width == 2 || in ff_hevc_save_states()
454 (s->ps.sps->ctb_width == 2 && in ff_hevc_save_states()
455 ctb_addr_ts % s->ps.sps->ctb_width == 0))) { in ff_hevc_save_states()
524 if (ctb_addr_ts % s->ps.sps->ctb_width == 0) { in ff_hevc_cabac_init()
525 if (s->ps.sps->ctb_width == 1) in ff_hevc_cabac_init()
545 if (ctb_addr_ts % s->ps.sps->ctb_width == 0) { in ff_hevc_cabac_init()
556 if (s->ps.sps->ctb_width == 1) in ff_hevc_cabac_init()
Dhevc_parser.c122 slice_address_length = av_ceil_log2_c(ps->sps->ctb_width * in hevc_parse_slice_header()
125 if (slice_segment_addr >= ps->sps->ctb_width * ps->sps->ctb_height) { in hevc_parse_slice_header()
Dhevcdec.c95 int ctb_count = sps->ctb_width * sps->ctb_height; in pic_arrays_init()
516 av_malloc((h * 2 * sps->ctb_width) << in set_sps()
613 slice_address_length = av_ceil_log2(s->ps.sps->ctb_width * in hls_slice_header()
616 if (sh->slice_segment_addr >= s->ps.sps->ctb_width * s->ps.sps->ctb_height) { in hls_slice_header()
975 #define CTB(tab, x, y) ((tab)[(y) * s->ps.sps->ctb_width + (x)])
2436 …b_addr_ts] != s->ps.pps->tile_id[s->ps.pps->ctb_addr_rs_to_ts[ctb_addr_rs - s->ps.sps->ctb_width]]) in hls_decode_neighbour()
2438 …0 && s->tab_slice_address[ctb_addr_rs] != s->tab_slice_address[ctb_addr_rs - s->ps.sps->ctb_width]) in hls_decode_neighbour()
2443 if (ctb_addr_in_slice < s->ps.sps->ctb_width) in hls_decode_neighbour()
2448 …lc->ctb_up_flag = ((y_ctb > 0) && (ctb_addr_in_slice >= s->ps.sps->ctb_width) && !(lc->boundary_… in hls_decode_neighbour()
2449 …>ps.sps->ctb_width) && (s->ps.pps->tile_id[ctb_addr_ts] == s->ps.pps->tile_id[s->ps.pps->ctb_addr_… in hls_decode_neighbour()
[all …]
Dhevc_filter.c244 #define CTB(tab, x, y) ((tab)[(y) * s->ps.sps->ctb_width + (x)])
254 int ctb_addr_rs = y_ctb * s->ps.sps->ctb_width + x_ctb; in sao_filter_CTB()
272 edges[2] = x_ctb == s->ps.sps->ctb_width - 1; in sao_filter_CTB()
285 …b_addr_ts] != s->ps.pps->tile_id[s->ps.pps->ctb_addr_rs_to_ts[ctb_addr_rs - s->ps.sps->ctb_width]]; in sao_filter_CTB()
289 …b_addr_ts] != s->ps.pps->tile_id[s->ps.pps->ctb_addr_rs_to_ts[ctb_addr_rs + s->ps.sps->ctb_width]]; in sao_filter_CTB()
489 (y0 >> log2_ctb_size) * s->ps.sps->ctb_width; in deblocking_filter_CTB()
Dhevc_ps.h229 int ctb_width; member
Dhevc_refs.c61 int pic_width_cb = s->ps.sps->ctb_width; in ff_hevc_get_ref_list()
108 frame->ctb_count = s->ps.sps->ctb_width * s->ps.sps->ctb_height; in alloc_frame()