Home
last modified time | relevance | path

Searched refs:above_context (Results 1 – 21 of 21) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c114 vpx_free(cm->above_context); in vp9_free_context_buffers()
115 cm->above_context = NULL; in vp9_free_context_buffers()
141 vpx_free(cm->above_context); in vp9_alloc_context_buffers()
142 cm->above_context = (ENTROPY_CONTEXT *)vpx_calloc( in vp9_alloc_context_buffers()
144 sizeof(*cm->above_context)); in vp9_alloc_context_buffers()
145 if (!cm->above_context) goto fail; in vp9_alloc_context_buffers()
Dvp9_onyxc_int.h283 ENTROPY_CONTEXT *above_context; member
358 xd->above_context[i] = cm->above_context + in vp9_init_macroblockd()
359 i * sizeof(*cm->above_context) * 2 * mi_cols_aligned_to_sb(cm->mi_cols); in vp9_init_macroblockd()
387 pd->above_context = &xd->above_context[i][above_idx >> pd->subsampling_x]; in set_skip_context()
Dvp9_blockd.h127 ENTROPY_CONTEXT *above_context; member
185 ENTROPY_CONTEXT *above_context[MAX_MB_PLANE]; member
261 memset(pd->above_context, 0, in reset_skip_context()
Dvp9_blockd.c89 ENTROPY_CONTEXT *const a = pd->above_context + aoff; in vp9_set_contexts()
/external/libvpx/libvpx/vp8/common/
Dalloccommon.c37 vpx_free(oci->above_context); in vp8_de_alloc_frame_buffers()
44 oci->above_context = NULL; in vp8_de_alloc_frame_buffers()
97 oci->above_context = vpx_calloc(sizeof(ENTROPY_CONTEXT_PLANES) * oci->mb_cols, 1); in vp8_alloc_frame_buffers()
99 if (!oci->above_context) in vp8_alloc_frame_buffers()
Donyxc_int.h152 ENTROPY_CONTEXT_PLANES *above_context; /* row of context for each plane */ member
Dblockd.h247 ENTROPY_CONTEXT_PLANES *above_context; member
/external/libvpx/libvpx/vp8/encoder/
Dtokenize.c123 a = (ENTROPY_CONTEXT *)xd->above_context + 8; in tokenize2nd_order_b()
220 a = (ENTROPY_CONTEXT *)xd->above_context + tmp1; in tokenize1st_order_b()
295 a = (ENTROPY_CONTEXT *)xd->above_context + tmp1; in tokenize1st_order_b()
570 ENTROPY_CONTEXT * A = (ENTROPY_CONTEXT *)xd->above_context; in vp8_stuff_mb()
599 memset(x->above_context, 0, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_fix_contexts()
604 memset(x->above_context, 0, sizeof(ENTROPY_CONTEXT_PLANES)-1); in vp8_fix_contexts()
Dencodemb.c461 memcpy(&t_above, x->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in optimize_mb()
504 if (!x->e_mbd.above_context) in vp8_optimize_mby()
510 memcpy(&t_above, x->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_optimize_mby()
544 if (!x->e_mbd.above_context) in vp8_optimize_mbuv()
550 memcpy(&t_above, x->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_optimize_mbuv()
Dethreading.c101 xd->above_context = cm->above_context; in thread_encoding_proc()
291 xd->above_context++; in thread_encoding_proc()
Dencodeframe.c406 xd->above_context = cm->above_context; in encode_mb_row()
608 xd->above_context++; in encode_mb_row()
669 memset(cm->above_context, 0, sizeof(ENTROPY_CONTEXT_PLANES) * cm->mb_cols); in init_encode_frame_mb_context()
Drdopt.c560 memcpy(&t_above, mb->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_rdcost_mby()
720 memcpy(&t_above, mb->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in rd_pick_intra4x4mby_modes()
825 memcpy(&t_above, mb->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in rd_cost_mbuv()
1133 memcpy(&t_above, x->e_mbd.above_context, sizeof(ENTROPY_CONTEXT_PLANES)); in rd_check_segment()
/external/libvpx/libvpx/vp8/decoder/
Ddetokenize.c20 ENTROPY_CONTEXT *a_ctx = ((ENTROPY_CONTEXT *)x->above_context); in vp8_reset_mb_tokens_context()
182 ENTROPY_CONTEXT *a_ctx = ((ENTROPY_CONTEXT *)x->above_context); in vp8_decode_mb_tokens()
Ddecodeframe.c571 xd->above_context = pc->above_context; in decode_mb_rows()
673 xd->above_context++; in decode_mb_rows()
1345 memset(pc->above_context, 0, sizeof(ENTROPY_CONTEXT_PLANES) * pc->mb_cols); in vp8_decode_frame()
Dthreading.c363 xd->above_context = pc->above_context; in mt_decode_mb_rows()
583 xd->above_context++; in mt_decode_mb_rows()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_detokenize.c214 ENTROPY_CONTEXT *const a = pd->above_context + aoff; in dec_set_contexts()
260 const int ctx = get_entropy_context(tx_size, pd->above_context + x, in vp9_decode_block_tokens()
Dvp9_decodeframe.c769 memset(pd->above_context, 0, sizeof(ENTROPY_CONTEXT) * pd->n4_w); in dec_reset_skip_context()
1463 memset(cm->above_context, 0, in decode_tiles()
1464 sizeof(*cm->above_context) * MAX_MB_PLANE * 2 * aligned_cols); in decode_tiles()
1681 memset(cm->above_context, 0, in decode_tiles_mt()
1682 sizeof(*cm->above_context) * MAX_MB_PLANE * 2 * aligned_mi_cols); in decode_tiles_mt()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_tokenize.c498 pt = get_entropy_context(tx_size, pd->above_context + aoff, in tokenize_b()
Dvp9_rd.c422 const ENTROPY_CONTEXT *const above = pd->above_context; in vp9_get_entropy_contexts()
Dvp9_encodeframe.c1352 xd->above_context[p] + ((mi_col * 2) >> xd->plane[p].subsampling_x), in restore_context()
1385 xd->above_context[p] + (mi_col * 2 >> xd->plane[p].subsampling_x), in save_context()
2868 memset(xd->above_context[0], 0, in init_encode_frame_mb_context()
2869 sizeof(*xd->above_context[0]) * in init_encode_frame_mb_context()
Dvp9_rdopt.c1019 memcpy(t_above, xd->plane[0].above_context, sizeof(t_above)); in rd_pick_intra_sub_8x8_y_mode()
1765 memcpy(t_above, pd->above_context, sizeof(t_above)); in rd_pick_best_sub8x8_mode()