Lines Matching refs:num_pix

25 static void alloc_mode_context(AV1_COMMON *cm, int num_pix,  in alloc_mode_context()  argument
30 const int num_blk = num_pix / 16; in alloc_mode_context()
45 if (num_pix <= MAX_PALETTE_SQUARE) { in alloc_mode_context()
49 aom_memalign(32, num_pix * sizeof(*ctx->color_index_map[i]))); in alloc_mode_context()
74 static void alloc_tree_contexts(AV1_COMMON *cm, PC_TREE *tree, int num_pix, in alloc_tree_contexts() argument
77 alloc_mode_context(cm, num_pix, &tree->none, shared_bufs); in alloc_tree_contexts()
81 alloc_mode_context(cm, num_pix / 2, &tree->horizontal[0], shared_bufs); in alloc_tree_contexts()
82 alloc_mode_context(cm, num_pix / 2, &tree->vertical[0], shared_bufs); in alloc_tree_contexts()
84 alloc_mode_context(cm, num_pix / 2, &tree->horizontal[1], shared_bufs); in alloc_tree_contexts()
85 alloc_mode_context(cm, num_pix / 2, &tree->vertical[1], shared_bufs); in alloc_tree_contexts()
87 alloc_mode_context(cm, num_pix / 4, &tree->horizontala[0], shared_bufs); in alloc_tree_contexts()
88 alloc_mode_context(cm, num_pix / 4, &tree->horizontala[1], shared_bufs); in alloc_tree_contexts()
89 alloc_mode_context(cm, num_pix / 2, &tree->horizontala[2], shared_bufs); in alloc_tree_contexts()
91 alloc_mode_context(cm, num_pix / 2, &tree->horizontalb[0], shared_bufs); in alloc_tree_contexts()
92 alloc_mode_context(cm, num_pix / 4, &tree->horizontalb[1], shared_bufs); in alloc_tree_contexts()
93 alloc_mode_context(cm, num_pix / 4, &tree->horizontalb[2], shared_bufs); in alloc_tree_contexts()
95 alloc_mode_context(cm, num_pix / 4, &tree->verticala[0], shared_bufs); in alloc_tree_contexts()
96 alloc_mode_context(cm, num_pix / 4, &tree->verticala[1], shared_bufs); in alloc_tree_contexts()
97 alloc_mode_context(cm, num_pix / 2, &tree->verticala[2], shared_bufs); in alloc_tree_contexts()
99 alloc_mode_context(cm, num_pix / 2, &tree->verticalb[0], shared_bufs); in alloc_tree_contexts()
100 alloc_mode_context(cm, num_pix / 4, &tree->verticalb[1], shared_bufs); in alloc_tree_contexts()
101 alloc_mode_context(cm, num_pix / 4, &tree->verticalb[2], shared_bufs); in alloc_tree_contexts()
104 alloc_mode_context(cm, num_pix / 4, &tree->horizontal4[i], shared_bufs); in alloc_tree_contexts()
105 alloc_mode_context(cm, num_pix / 4, &tree->vertical4[i], shared_bufs); in alloc_tree_contexts()