/external/libaom/libaom/av1/encoder/ |
D | partition_strategy.h | 38 AV1_COMP *const cpi, MACROBLOCK *x, PC_TREE *pc_tree, int mi_row, 51 AV1_COMP *const cpi, MACROBLOCK *x, PC_TREE *pc_tree, int mi_row, 60 PC_TREE *pc_tree, int mi_row, 118 static INLINE void init_simple_motion_search_mvs(PC_TREE *pc_tree) { in init_simple_motion_search_mvs() argument 120 pc_tree->mv_ref_fulls[idx].row = 0; in init_simple_motion_search_mvs() 121 pc_tree->mv_ref_fulls[idx].col = 0; in init_simple_motion_search_mvs() 123 if (pc_tree->block_size >= BLOCK_8X8) { in init_simple_motion_search_mvs() 124 init_simple_motion_search_mvs(pc_tree->split[0]); in init_simple_motion_search_mvs() 125 init_simple_motion_search_mvs(pc_tree->split[1]); in init_simple_motion_search_mvs() 126 init_simple_motion_search_mvs(pc_tree->split[2]); in init_simple_motion_search_mvs() [all …]
|
D | encodeframe.c | 1514 PC_TREE *pc_tree, int *rate) { in encode_sb() argument 1523 const PARTITION_TYPE partition = pc_tree->partitioning; in encode_sb() 1551 partition, &pc_tree->none, rate); in encode_sb() 1555 partition, &pc_tree->vertical[0], rate); in encode_sb() 1558 partition, &pc_tree->vertical[1], rate); in encode_sb() 1563 partition, &pc_tree->horizontal[0], rate); in encode_sb() 1566 partition, &pc_tree->horizontal[1], rate); in encode_sb() 1571 pc_tree->split[0], rate); in encode_sb() 1573 pc_tree->split[1], rate); in encode_sb() 1575 pc_tree->split[2], rate); in encode_sb() [all …]
|
D | context_tree.c | 144 aom_free(td->pc_tree); in av1_setup_pc_tree() 145 CHECK_MEM_ERROR(cm, td->pc_tree, in av1_setup_pc_tree() 146 aom_calloc(tree_nodes, sizeof(*td->pc_tree))); in av1_setup_pc_tree() 147 this_pc = &td->pc_tree[0]; in av1_setup_pc_tree() 164 PC_TREE *const tree = &td->pc_tree[pc_tree_index]; in av1_setup_pc_tree() 173 PC_TREE *const tree = &td->pc_tree[pc_tree_index]; in av1_setup_pc_tree() 184 td->pc_root[i] = &td->pc_tree[tree_nodes - 1]; in av1_setup_pc_tree() 194 if (td->pc_tree != NULL) { in av1_free_pc_tree() 198 free_tree_contexts(&td->pc_tree[i], num_planes); in av1_free_pc_tree() 208 aom_free(td->pc_tree); in av1_free_pc_tree() [all …]
|
D | partition_strategy.c | 142 AV1_COMP *const cpi, MACROBLOCK *x, PC_TREE *pc_tree, int mi_row, in simple_motion_search_get_best_ref() argument 163 const MV *mv_ref_fulls = pc_tree->mv_ref_fulls; in simple_motion_search_get_best_ref() 188 pc_tree->mv_ref_fulls[ref].row = new_mv_row; in simple_motion_search_get_best_ref() 189 pc_tree->mv_ref_fulls[ref].col = new_mv_col; in simple_motion_search_get_best_ref() 192 pc_tree->split[save_mv_code]->mv_ref_fulls[ref].row = new_mv_row; in simple_motion_search_get_best_ref() 193 pc_tree->split[save_mv_code]->mv_ref_fulls[ref].col = new_mv_col; in simple_motion_search_get_best_ref() 213 AV1_COMP *const cpi, MACROBLOCK *x, PC_TREE *pc_tree, int mi_row, in simple_motion_search_prune_part_features() argument 233 cpi, x, pc_tree, mi_row, mi_col, bsize, ref_list, num_refs, use_subpixel, in simple_motion_search_prune_part_features() 245 cpi, x, pc_tree, sub_mi_row, sub_mi_col, subsize, ref_list, num_refs, in simple_motion_search_prune_part_features() 257 cpi, x, pc_tree, sub_mi_row, sub_mi_col, subsize, ref_list, num_refs, in simple_motion_search_prune_part_features() [all …]
|
D | ethread.c | 415 thread_data->td->pc_tree = NULL; in create_enc_workers()
|
D | encoder.h | 589 PC_TREE *pc_tree; member
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_context_tree.c | 105 vpx_free(td->pc_tree); in vp9_setup_pc_tree() 106 CHECK_MEM_ERROR(cm, td->pc_tree, in vp9_setup_pc_tree() 107 vpx_calloc(tree_nodes, sizeof(*td->pc_tree))); in vp9_setup_pc_tree() 109 this_pc = &td->pc_tree[0]; in vp9_setup_pc_tree() 118 PC_TREE *const tree = &td->pc_tree[pc_tree_index]; in vp9_setup_pc_tree() 129 PC_TREE *const tree = &td->pc_tree[pc_tree_index]; in vp9_setup_pc_tree() 137 td->pc_root = &td->pc_tree[tree_nodes - 1]; in vp9_setup_pc_tree() 153 if (td->pc_tree != NULL) { in vp9_free_pc_tree() 156 for (i = 0; i < tree_nodes; ++i) free_tree_contexts(&td->pc_tree[i]); in vp9_free_pc_tree() 157 vpx_free(td->pc_tree); in vp9_free_pc_tree() [all …]
|
D | vp9_encodeframe.c | 2173 int output_enabled, BLOCK_SIZE bsize, PC_TREE *pc_tree) { in encode_sb() argument 2187 subsize = get_subsize(bsize, pc_tree->partitioning); in encode_sb() 2200 &pc_tree->none); in encode_sb() 2204 &pc_tree->vertical[0]); in encode_sb() 2207 subsize, &pc_tree->vertical[1]); in encode_sb() 2212 &pc_tree->horizontal[0]); in encode_sb() 2215 subsize, &pc_tree->horizontal[1]); in encode_sb() 2222 pc_tree->leaf_split[0]); in encode_sb() 2225 pc_tree->split[0]); in encode_sb() 2227 subsize, pc_tree->split[1]); in encode_sb() [all …]
|
D | vp9_encoder.h | 429 PC_TREE *pc_tree; member
|
D | vp9_ethread.c | 118 thread_data->td->pc_tree = NULL; in create_enc_workers()
|