Lines Matching refs:ctb_width
955 sps->ctb_width = (sps->width + (1 << sps->log2_ctb_size) - 1) >> sps->log2_ctb_size;
957 sps->ctb_size = sps->ctb_width * sps->ctb_height;
1222 if (sum >= sps->ctb_width) {
1227 pps->column_width[pps->num_tile_columns - 1] = sps->ctb_width - sum;
1299 pps->col_idxX = av_malloc_array(sps->ctb_width, sizeof(*pps->col_idxX));
1316 pps->column_width[i] = ((i + 1) * sps->ctb_width) / pps->num_tile_columns -
1317 (i * sps->ctb_width) / pps->num_tile_columns;
1334 for (i = 0, j = 0; i < sps->ctb_width; i++) {
1343 pic_area_in_ctbs = sps->ctb_width * sps->ctb_height;
1356 int tb_x = ctb_addr_rs % sps->ctb_width;
1357 int tb_y = ctb_addr_rs / sps->ctb_width;
1379 val += sps->ctb_width * pps->row_height[i];
1392 pps->tile_id[pps->ctb_addr_rs_to_ts[y * sps->ctb_width + x]] = tile_id;
1402 pps->tile_pos_rs[j * pps->num_tile_columns + i] = pps->row_bd[j] * sps->ctb_width + pps->col_bd[i];
1414 int ctb_addr_rs = sps->ctb_width * tb_y + tb_x;