Lines Matching refs:num_planes
28 const int num_planes = av1_num_planes(cm); in alloc_mode_context() local
34 for (i = 0; i < num_planes; ++i) { in alloc_mode_context()
54 static void free_mode_context(PICK_MODE_CONTEXT *ctx, const int num_planes) { in free_mode_context() argument
58 for (i = 0; i < num_planes; ++i) { in free_mode_context()
109 static void free_tree_contexts(PC_TREE *tree, const int num_planes) { in free_tree_contexts() argument
112 free_mode_context(&tree->horizontala[i], num_planes); in free_tree_contexts()
113 free_mode_context(&tree->horizontalb[i], num_planes); in free_tree_contexts()
114 free_mode_context(&tree->verticala[i], num_planes); in free_tree_contexts()
115 free_mode_context(&tree->verticalb[i], num_planes); in free_tree_contexts()
118 free_mode_context(&tree->horizontal4[i], num_planes); in free_tree_contexts()
119 free_mode_context(&tree->vertical4[i], num_planes); in free_tree_contexts()
121 free_mode_context(&tree->none, num_planes); in free_tree_contexts()
122 free_mode_context(&tree->horizontal[0], num_planes); in free_tree_contexts()
123 free_mode_context(&tree->horizontal[1], num_planes); in free_tree_contexts()
124 free_mode_context(&tree->vertical[0], num_planes); in free_tree_contexts()
125 free_mode_context(&tree->vertical[1], num_planes); in free_tree_contexts()
193 void av1_free_pc_tree(ThreadData *td, const int num_planes) { in av1_free_pc_tree() argument
198 free_tree_contexts(&td->pc_tree[i], num_planes); in av1_free_pc_tree()