Home
last modified time | relevance | path

Searched refs:above_contexts (Results 1 – 11 of 11) sorted by relevance

/external/libaom/libaom/av1/common/
Dalloccommon.c135 void av1_free_above_context_buffers(CommonContexts *above_contexts) { in av1_free_above_context_buffers() argument
137 const int num_planes = above_contexts->num_planes; in av1_free_above_context_buffers()
139 for (int tile_row = 0; tile_row < above_contexts->num_tile_rows; tile_row++) { in av1_free_above_context_buffers()
141 aom_free(above_contexts->entropy[i][tile_row]); in av1_free_above_context_buffers()
142 above_contexts->entropy[i][tile_row] = NULL; in av1_free_above_context_buffers()
144 aom_free(above_contexts->partition[tile_row]); in av1_free_above_context_buffers()
145 above_contexts->partition[tile_row] = NULL; in av1_free_above_context_buffers()
147 aom_free(above_contexts->txfm[tile_row]); in av1_free_above_context_buffers()
148 above_contexts->txfm[tile_row] = NULL; in av1_free_above_context_buffers()
151 aom_free(above_contexts->entropy[i]); in av1_free_above_context_buffers()
[all …]
Dblockd.c43 const int above_contexts = AOMMIN(txs_wide, blocks_wide - aoff); in av1_set_entropy_contexts() local
44 memset(a, has_eob, sizeof(*a) * above_contexts); in av1_set_entropy_contexts()
45 memset(a + above_contexts, 0, sizeof(*a) * (txs_wide - above_contexts)); in av1_set_entropy_contexts()
Dalloccommon.h30 int av1_alloc_above_context_buffers(struct CommonContexts *above_contexts,
33 void av1_free_above_context_buffers(struct CommonContexts *above_contexts);
Dav1_common_int.h688 CommonContexts above_contexts; member
931 static INLINE void av1_init_above_context(CommonContexts *above_contexts, in av1_init_above_context() argument
935 xd->above_entropy_context[i] = above_contexts->entropy[i][tile_row]; in av1_init_above_context()
937 xd->above_partition_context = above_contexts->partition[tile_row]; in av1_init_above_context()
938 xd->above_txfm_context = above_contexts->txfm[tile_row]; in av1_init_above_context()
1261 CommonContexts *const above_contexts = &cm->above_contexts; in av1_zero_above_context() local
1263 av1_zero_array(above_contexts->entropy[0][tile_row] + offset_y, width_y); in av1_zero_above_context()
1265 if (above_contexts->entropy[1][tile_row] && in av1_zero_above_context()
1266 above_contexts->entropy[2][tile_row]) { in av1_zero_above_context()
1267 av1_zero_array(above_contexts->entropy[1][tile_row] + offset_uv, in av1_zero_above_context()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_blockd.c99 int above_contexts = tx_size_in_blocks; in vp9_set_contexts() local
100 if (above_contexts + aoff > blocks_wide) in vp9_set_contexts()
101 above_contexts = blocks_wide - aoff; in vp9_set_contexts()
103 for (i = 0; i < above_contexts; ++i) a[i] = has_eob; in vp9_set_contexts()
104 for (i = above_contexts; i < tx_size_in_blocks; ++i) a[i] = 0; in vp9_set_contexts()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c2856 av1_init_above_context(&cm->above_contexts, av1_num_planes(cm), row, in decode_tiles()
2929 av1_init_above_context(&cm->above_contexts, av1_num_planes(cm), tile_row, in tile_worker_hook_init()
4966 CommonContexts *const above_contexts = &cm->above_contexts; in read_uncompressed_header() local
4967 if (above_contexts->num_planes < av1_num_planes(cm) || in read_uncompressed_header()
4968 above_contexts->num_mi_cols < cm->mi_params.mi_cols || in read_uncompressed_header()
4969 above_contexts->num_tile_rows < cm->tiles.rows) { in read_uncompressed_header()
4970 av1_free_above_context_buffers(above_contexts); in read_uncompressed_header()
4971 if (av1_alloc_above_context_buffers(above_contexts, cm->tiles.rows, in read_uncompressed_header()
Ddecodemv.c798 xd->above_txfm_context = cm->above_contexts.txfm[xd->tile.tile_row] + mi_col; in read_intra_frame_mode_info()
1532 cm->above_contexts.txfm[xd->tile.tile_row] + xd->mi_col; in read_inter_frame_mode_info()
/external/libaom/libaom/av1/encoder/
Dencodeframe.c401 xd->above_txfm_context = cm->above_contexts.txfm[tile->tile_row] + mi_col; in set_offsets_without_segment_id()
1919 cm->above_contexts.txfm[tile_info->tile_row] + mi_col; in rd_use_partition()
2222 cm->above_contexts.txfm[tile_info->tile_row] + mi_col; in nonrd_use_partition()
2253 cm->above_contexts.txfm[tile_info->tile_row] + mi_col + x_idx; in nonrd_use_partition()
2337 cm->above_contexts.txfm[tile_info->tile_row] + mi_col; in nonrd_use_partition()
2359 cm->above_contexts.txfm[tile_info->tile_row] + mi_col + x_idx; in nonrd_use_partition()
2820 cm->above_contexts.txfm[tile_info->tile_row] + mi_col; in rd_pick_partition()
4514 cm->above_contexts.txfm[tile_info->tile_row] + mi_col; in backup_sb_state()
5087 av1_init_above_context(&cm->above_contexts, av1_num_planes(cm), tile_row, in av1_encode_tile()
6228 cm->above_contexts.txfm[xd->tile.tile_row] + xd->mi_col; in tx_partition_count_update()
[all …]
Dethread.c345 av1_init_above_context(&cm->above_contexts, av1_num_planes(cm), tile_row, in enc_row_mt_worker_hook()
Dencoder.c4385 CommonContexts *const above_contexts = &cm->above_contexts; in av1_set_frame_size() local
4386 if (above_contexts->num_planes < av1_num_planes(cm) || in av1_set_frame_size()
4387 above_contexts->num_mi_cols < cm->mi_params.mi_cols || in av1_set_frame_size()
4388 above_contexts->num_tile_rows < cm->tiles.rows) { in av1_set_frame_size()
4389 av1_free_above_context_buffers(above_contexts); in av1_set_frame_size()
4390 if (av1_alloc_above_context_buffers(above_contexts, cm->tiles.rows, in av1_set_frame_size()
Dbitstream.c1507 xd->above_txfm_context = cm->above_contexts.txfm[tile->tile_row] + mi_col; in write_modes_b()
1709 av1_init_above_context(&cm->above_contexts, num_planes, tile->tile_row, xd); in write_modes()