Searched refs:alloc_mode_context (Results 1 – 2 of 2) sorted by relevance
/external/libaom/libaom/av1/encoder/ |
D | context_tree.c | 25 static AOM_INLINE void alloc_mode_context(AV1_COMMON *cm, int num_pix, in alloc_mode_context() function 83 alloc_mode_context(cm, num_pix, &tree->none, shared_bufs); in alloc_tree_contexts() 87 alloc_mode_context(cm, num_pix / 2, &tree->horizontal[0], shared_bufs); in alloc_tree_contexts() 88 alloc_mode_context(cm, num_pix / 2, &tree->vertical[0], shared_bufs); in alloc_tree_contexts() 90 alloc_mode_context(cm, num_pix / 2, &tree->horizontal[1], shared_bufs); in alloc_tree_contexts() 91 alloc_mode_context(cm, num_pix / 2, &tree->vertical[1], shared_bufs); in alloc_tree_contexts() 93 alloc_mode_context(cm, num_pix / 4, &tree->horizontala[0], shared_bufs); in alloc_tree_contexts() 94 alloc_mode_context(cm, num_pix / 4, &tree->horizontala[1], shared_bufs); in alloc_tree_contexts() 95 alloc_mode_context(cm, num_pix / 2, &tree->horizontala[2], shared_bufs); in alloc_tree_contexts() 97 alloc_mode_context(cm, num_pix / 2, &tree->horizontalb[0], shared_bufs); in alloc_tree_contexts() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_context_tree.c | 21 static void alloc_mode_context(VP9_COMMON *cm, int num_4x4_blk, in alloc_mode_context() function 67 alloc_mode_context(cm, num_4x4_blk, &tree->none); in alloc_tree_contexts() 68 alloc_mode_context(cm, num_4x4_blk / 2, &tree->horizontal[0]); in alloc_tree_contexts() 69 alloc_mode_context(cm, num_4x4_blk / 2, &tree->vertical[0]); in alloc_tree_contexts() 72 alloc_mode_context(cm, num_4x4_blk / 2, &tree->horizontal[1]); in alloc_tree_contexts() 73 alloc_mode_context(cm, num_4x4_blk / 2, &tree->vertical[1]); in alloc_tree_contexts() 114 for (i = 0; i < leaf_nodes; ++i) alloc_mode_context(cm, 1, &td->leaf_tree[i]); in vp9_setup_pc_tree()
|