Home
last modified time | relevance | path

Searched refs:eobs (Results 1 – 25 of 46) sorted by relevance

12

/external/libvpx/libvpx/vp8/common/x86/
Didct_blk_sse2.c20 int stride, char *eobs) { in vp8_dequant_idct_add_y_block_sse2() argument
24 if (((short *)(eobs))[0]) { in vp8_dequant_idct_add_y_block_sse2()
25 if (((short *)(eobs))[0] & 0xfefe) { in vp8_dequant_idct_add_y_block_sse2()
31 if (((short *)(eobs))[1]) { in vp8_dequant_idct_add_y_block_sse2()
32 if (((short *)(eobs))[1] & 0xfefe) { in vp8_dequant_idct_add_y_block_sse2()
40 eobs += 4; in vp8_dequant_idct_add_y_block_sse2()
47 char *eobs) { in vp8_dequant_idct_add_uv_block_sse2() argument
48 if (((short *)(eobs))[0]) { in vp8_dequant_idct_add_uv_block_sse2()
49 if (((short *)(eobs))[0] & 0xfefe) { in vp8_dequant_idct_add_uv_block_sse2()
58 if (((short *)(eobs))[1]) { in vp8_dequant_idct_add_uv_block_sse2()
[all …]
/external/libvpx/libvpx/vp8/common/
Dinvtrans.h27 static void eob_adjust(char *eobs, short *diff) { in eob_adjust() argument
31 if ((eobs[js] == 0) && (diff[0] != 0)) eobs[js]++; in eob_adjust()
41 if (xd->eobs[24] > 1) { in vp8_inverse_transform_mby()
46 eob_adjust(xd->eobs, xd->qcoeff); in vp8_inverse_transform_mby()
51 xd->dst.y_stride, xd->eobs); in vp8_inverse_transform_mby()
Didct_blk.c16 int stride, char *eobs) { in vp8_dequant_idct_add_y_block_c() argument
21 if (*eobs++ > 1) { in vp8_dequant_idct_add_y_block_c()
38 char *eobs) { in vp8_dequant_idct_add_uv_block_c() argument
43 if (*eobs++ > 1) { in vp8_dequant_idct_add_uv_block_c()
59 if (*eobs++ > 1) { in vp8_dequant_idct_add_uv_block_c()
Drtcd_defs.pl40 …d vp8_dequant_idct_add_y_block/, "short *q, short *dq, unsigned char *dst, int stride, char *eobs";
43 …_block/, "short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs";
Dmbpitch.c39 x->block[r].eob = x->eobs + r; in vp8_setup_block_dptrs()
/external/libvpx/libvpx/vp8/common/arm/neon/
Didct_blk_neon.c235 int stride, char *eobs) { in vp8_dequant_idct_add_y_block_neon() argument
239 if (((short *)(eobs))[0]) { in vp8_dequant_idct_add_y_block_neon()
240 if (((short *)eobs)[0] & 0xfefe) in vp8_dequant_idct_add_y_block_neon()
246 if (((short *)(eobs))[1]) { in vp8_dequant_idct_add_y_block_neon()
247 if (((short *)eobs)[1] & 0xfefe) in vp8_dequant_idct_add_y_block_neon()
254 eobs += 4; in vp8_dequant_idct_add_y_block_neon()
261 char *eobs) { in vp8_dequant_idct_add_uv_block_neon() argument
262 if (((short *)(eobs))[0]) { in vp8_dequant_idct_add_uv_block_neon()
263 if (((short *)eobs)[0] & 0xfefe) in vp8_dequant_idct_add_uv_block_neon()
272 if (((short *)(eobs))[1]) { in vp8_dequant_idct_add_uv_block_neon()
[all …]
/external/libvpx/libvpx/vp8/common/mips/dspr2/
Didct_blk_dspr2.c17 int stride, char *eobs) { in vp8_dequant_idct_add_y_block_dspr2() argument
22 if (*eobs++ > 1) in vp8_dequant_idct_add_y_block_dspr2()
40 char *eobs) { in vp8_dequant_idct_add_uv_block_dspr2() argument
45 if (*eobs++ > 1) in vp8_dequant_idct_add_uv_block_dspr2()
61 if (*eobs++ > 1) in vp8_dequant_idct_add_uv_block_dspr2()
/external/libvpx/libvpx/vp8/common/mips/mmi/
Didct_blk_mmi.c15 int stride, char *eobs) { in vp8_dequant_idct_add_y_block_mmi() argument
20 if (*eobs++ > 1) { in vp8_dequant_idct_add_y_block_mmi()
36 uint8_t *dst_v, int stride, char *eobs) { in vp8_dequant_idct_add_uv_block_mmi() argument
41 if (*eobs++ > 1) { in vp8_dequant_idct_add_uv_block_mmi()
57 if (*eobs++ > 1) { in vp8_dequant_idct_add_uv_block_mmi()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_tokenize.c326 vp9_set_contexts(xd, pd, plane_bsize, tx_size, p->eobs[block] > 0, col, row); in set_entropy_context_b()
363 int eob = p->eobs[block]; in tokenize_b()
421 uint16_t *eobs; member
433 args->skippable[0] &= (!args->eobs[block]); in is_skippable()
440 struct is_skippable_args args = { x->plane[plane].eobs, &result }; in vp9_is_skippable_in_plane()
450 int eobs = (tx_size == TX_4X4) ? 3 : 10; in has_high_freq_coeff() local
455 *(args->skippable) |= (args->eobs[block] > eobs); in has_high_freq_coeff()
460 struct is_skippable_args args = { x->plane[plane].eobs, &result }; in vp9_has_high_freq_in_plane()
Dvp9_encodemb.c71 const int eob = p->eobs[block]; in vp9_optimize_b()
321 mb->plane[plane].eobs[block] = final_eob; in vp9_optimize_b()
353 uint16_t *const eob = &p->eobs[block]; in vp9_xform_quant_fp()
429 uint16_t *const eob = &p->eobs[block]; in vp9_xform_quant_dc()
503 uint16_t *const eob = &p->eobs[block]; in vp9_xform_quant()
594 p->eobs[block] = 0; in encode_block()
604 p->eobs[block] = 0; in encode_block()
621 p->eobs[block] = 0; in encode_block()
635 *a = *l = p->eobs[block] > 0; in encode_block()
638 if (p->eobs[block]) *(args->skip) = 0; in encode_block()
[all …]
Dvp9_context_tree.c37 CHECK_MEM_ERROR(cm, ctx->eobs[i][k], in alloc_mode_context()
38 vpx_memalign(32, num_blk * sizeof(*ctx->eobs[i][k]))); in alloc_mode_context()
42 ctx->eobs_pbuf[i][k] = ctx->eobs[i][k]; in alloc_mode_context()
59 vpx_free(ctx->eobs[i][k]); in free_mode_context()
60 ctx->eobs[i][k] = 0; in free_mode_context()
Dvp9_rdopt.c142 p->eobs = ctx->eobs_pbuf[i][m]; in swap_block_ptr()
152 ctx->eobs_pbuf[i][n] = p->eobs; in swap_block_ptr()
362 const int eob = p->eobs[block]; in cost_coeffs()
546 const int eob = p->eobs[block]; in dist_block()
723 if (x->plane[plane].eobs[block]) { in block_rd_txfm()
738 x->plane[plane].eobs[block] = 0; in block_rd_txfm()
751 args->t_above[blk_col] = (x->plane[plane].eobs[block] > 0) ? 1 : 0; in block_rd_txfm()
752 args->t_left[blk_row] = (x->plane[plane].eobs[block] > 0) ? 1 : 0; in block_rd_txfm()
760 !x->plane[plane].eobs[block] || in block_rd_txfm()
762 x->sum_y_eobs[tx_size] += x->plane[plane].eobs[block]; in block_rd_txfm()
[all …]
Dvp9_context_tree.h33 uint16_t *eobs[MAX_MB_PLANE][3]; member
/external/libvpx/libvpx/vp8/decoder/
Ddetokenize.c141 char *eobs = x->eobs; in vp8_decode_mb_tokens() local
166 eobs[24] = nonzeros; in vp8_decode_mb_tokens()
184 eobs[i] = nonzeros; in vp8_decode_mb_tokens()
200 eobs[i] = nonzeros; in vp8_decode_mb_tokens()
Dthreading.c133 memset(xd->eobs, 0, 25); in mt_decode_macroblock()
154 if (xd->mode_info_context->mbmi.mb_skip_coeff) memset(xd->eobs, 0, 25); in mt_decode_macroblock()
192 if (xd->eobs[i]) { in mt_decode_macroblock()
193 if (xd->eobs[i] > 1) { in mt_decode_macroblock()
222 if (xd->eobs[24] > 1) { in mt_decode_macroblock()
240 xd->dst.y_stride, xd->eobs); in mt_decode_macroblock()
245 xd->dst.uv_stride, xd->eobs + 16); in mt_decode_macroblock()
Ddecodeframe.c141 memset(xd->eobs, 0, 25); in decode_macroblock()
162 if (xd->mode_info_context->mbmi.mb_skip_coeff) memset(xd->eobs, 0, 25); in decode_macroblock()
178 if (xd->eobs[i]) { in decode_macroblock()
179 if (xd->eobs[i] > 1) { in decode_macroblock()
208 if (xd->eobs[24] > 1) { in decode_macroblock()
226 xd->dst.y_stride, xd->eobs); in decode_macroblock()
231 xd->dst.uv_stride, xd->eobs + 16); in decode_macroblock()
/external/libvpx/libvpx/test/
Dquantize_test.cc107 EXPECT_EQ(0, memcmp(vp8_comp_->mb.e_mbd.eobs, macroblockd_dst_->eobs, in CheckOutput()
108 sizeof(*macroblockd_dst_->eobs) * kNumBlocks)) in CheckOutput()
/external/libvpx/config/arm-neon/
Dvp8_rtcd.h80 …v_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
81 …lock_neon(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
84 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs
85 …vp8_dequant_idct_add_y_block_neon(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
/external/libvpx/config/arm64/
Dvp8_rtcd.h80 …v_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
81 …lock_neon(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
84 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs
85 …vp8_dequant_idct_add_y_block_neon(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
/external/libaom/libaom/av1/encoder/
Dencodemb.c105 const int eob = p->eobs[block]; in av1_optimize_b()
145 uint16_t *const eob = &p->eobs[block]; in av1_xform_quant()
246 p->eobs[block] = 0; in encode_block()
252 if (p->eobs[block]) { in encode_block()
258 pd->dst.stride, p->eobs[block], in encode_block()
267 if (p->eobs[block] == 0 && plane == 0) { in encode_block()
436 if (p->eobs[block] > 0) { in encode_block_pass1()
441 txfm_param.eob = p->eobs[block]; in encode_block_pass1()
568 uint16_t *eob = &p->eobs[block]; in av1_encode_block_intra()
Dcontext_tree.c38 CHECK_MEM_ERROR(cm, ctx->eobs[i], in alloc_mode_context()
39 aom_memalign(32, num_blk * sizeof(*ctx->eobs[i]))); in alloc_mode_context()
62 aom_free(ctx->eobs[i]); in free_mode_context()
63 ctx->eobs[i] = 0; in free_mode_context()
/external/libvpx/config/x86/
Dvp8_rtcd.h94 …v_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
95 …lock_sse2(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
98 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs
99 …vp8_dequant_idct_add_y_block_sse2(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
/external/libvpx/config/x86_64/
Dvp8_rtcd.h94 …v_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
95 …lock_sse2(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
98 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs
99 …vp8_dequant_idct_add_y_block_sse2(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
/external/libvpx/config/generic/
Dvp8_rtcd.h69 …v_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
72 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs
/external/libvpx/libvpx/vp8/encoder/
Dtokenize.c117 eob = xd->eobs[24]; in tokenize2nd_order_b()
345 for (i = 0; i < 16; ++i) skip &= (x->eobs[i] < 2); in mb_is_skippable()
348 for (; i < 24 + has_y2_block; ++i) skip &= (!x->eobs[i]); in mb_is_skippable()

12