/external/libvpx/vp8/common/x86/ |
D | idct_blk_sse2.c | 20 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/vp8/common/ |
D | invtrans.h | 27 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()
|
D | idct_blk.c | 16 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()
|
D | rtcd_defs.pl | 40 …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";
|
/external/libvpx/vp8/common/arm/neon/ |
D | idct_blk_neon.c | 233 int stride, char *eobs) { in vp8_dequant_idct_add_y_block_neon() argument 237 if (((short *)(eobs))[0]) { in vp8_dequant_idct_add_y_block_neon() 238 if (((short *)eobs)[0] & 0xfefe) in vp8_dequant_idct_add_y_block_neon() 244 if (((short *)(eobs))[1]) { in vp8_dequant_idct_add_y_block_neon() 245 if (((short *)eobs)[1] & 0xfefe) in vp8_dequant_idct_add_y_block_neon() 252 eobs += 4; in vp8_dequant_idct_add_y_block_neon() 259 char *eobs) { in vp8_dequant_idct_add_uv_block_neon() argument 260 if (((short *)(eobs))[0]) { in vp8_dequant_idct_add_uv_block_neon() 261 if (((short *)eobs)[0] & 0xfefe) in vp8_dequant_idct_add_uv_block_neon() 270 if (((short *)(eobs))[1]) { in vp8_dequant_idct_add_uv_block_neon() [all …]
|
/external/libvpx/vp8/common/mips/dspr2/ |
D | idct_blk_dspr2.c | 17 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/vp8/common/mips/mmi/ |
D | idct_blk_mmi.c | 15 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/vp9/encoder/ |
D | vp9_tokenize.c | 326 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()
|
D | vp9_encodemb.c | 75 const int eob = p->eobs[block]; in vp9_optimize_b() 325 mb->plane[plane].eobs[block] = final_eob; in vp9_optimize_b() 357 uint16_t *const eob = &p->eobs[block]; in vp9_xform_quant_fp() 432 uint16_t *const eob = &p->eobs[block]; in vp9_xform_quant_dc() 502 uint16_t *const eob = &p->eobs[block]; in vp9_xform_quant() 593 p->eobs[block] = 0; in encode_block() 607 p->eobs[block] = 0; in encode_block() 628 p->eobs[block] = 0; in encode_block() 646 *a = *l = p->eobs[block] > 0; in encode_block() 649 if (p->eobs[block]) *(args->skip) = 0; in encode_block() [all …]
|
D | vp9_context_tree.c | 37 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()
|
D | vp9_rdopt.c | 148 p->eobs = ctx->eobs_pbuf[i][m]; in swap_block_ptr() 158 ctx->eobs_pbuf[i][n] = p->eobs; in swap_block_ptr() 370 const int eob = p->eobs[block]; in cost_coeffs() 614 const int eob = p->eobs[block]; in dist_block() 825 if (x->plane[plane].eobs[block]) { in block_rd_txfm() 848 args->t_above[blk_col] = (x->plane[plane].eobs[block] > 0) ? 1 : 0; in block_rd_txfm() 849 args->t_left[blk_row] = (x->plane[plane].eobs[block] > 0) ? 1 : 0; in block_rd_txfm() 857 !x->plane[plane].eobs[block] || in block_rd_txfm() 859 x->sum_y_eobs[tx_size] += x->plane[plane].eobs[block]; in block_rd_txfm() 872 args->skippable &= !x->plane[plane].eobs[block]; in block_rd_txfm() [all …]
|
/external/libvpx/vp8/decoder/ |
D | detokenize.c | 145 char *eobs = x->eobs; in vp8_decode_mb_tokens() local 170 eobs[24] = nonzeros; in vp8_decode_mb_tokens() 188 eobs[i] = nonzeros; in vp8_decode_mb_tokens() 204 eobs[i] = nonzeros; in vp8_decode_mb_tokens()
|
D | threading.c | 133 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()
|
/external/libaom/av1/encoder/ |
D | encodemb.c | 92 const int eob = p->eobs[block]; in av1_optimize_b() 170 if (p->eobs[block] == 0 || p->eobs[block] <= dropout_num_before || in av1_dropout_qcoeff_num() 184 for (int i = 0; i < p->eobs[block]; ++i) { in av1_dropout_qcoeff_num() 218 if (idx != -1 && i == p->eobs[block] - 1) { in av1_dropout_qcoeff_num() 219 count_zeros_after += (max_eob - p->eobs[block]); in av1_dropout_qcoeff_num() 231 } else if (i == p->eobs[block] - 1) { in av1_dropout_qcoeff_num() 236 if (eob != p->eobs[block]) { in av1_dropout_qcoeff_num() 237 p->eobs[block] = eob; in av1_dropout_qcoeff_num() 317 uint16_t *const eob = &p->eobs[block]; in av1_quant() 448 p->eobs[block] = 0; in encode_block() [all …]
|
D | context_tree.c | 96 AOM_CHECK_MEM_ERROR(&error, ctx->eobs[i], in av1_alloc_pmc() 97 aom_memalign(32, num_blk * sizeof(*ctx->eobs[i]))); in av1_alloc_pmc() 136 aom_free(ctx->eobs[i]); in av1_free_pmc() 137 ctx->eobs[i] = NULL; in av1_free_pmc()
|
D | encodetxb.c | 53 cm, coeff_buf_pool->eobs, in av1_alloc_txb_buf() 54 aom_malloc(sizeof(*coeff_buf_pool->eobs) * num_tcoeffs / txb_unit_size)); in av1_alloc_txb_buf() 60 uint16_t *eob_ptr = coeff_buf_pool->eobs; in av1_alloc_txb_buf() 67 cpi->coeff_buffer_base[i].eobs[plane] = eob_ptr; in av1_alloc_txb_buf() 80 aom_free(coeff_buf_pool->eobs); in av1_free_txb_buf() 277 const uint16_t *eob_txb = cb_coef_buff->eobs[plane] + txb_offset; 558 const int eob = p->eobs[block]; 592 uint16_t *eob_txb = cb_coef_buff->eobs[plane] + txb_offset; 720 const int eob = p->eobs[block]; 748 uint16_t *eob_txb = cb_coef_buff->eobs[plane] + txb_offset;
|
D | txb_rdopt.c | 304 int eob = p->eobs[block]; in av1_optimize_txb() 442 p->eobs[block] = eob; in av1_optimize_txb() 444 av1_get_txb_entropy_context(qcoeff, scan_order, p->eobs[block]); in av1_optimize_txb() 557 int eob = p->eobs[block]; in av1_cost_coeffs_txb_estimate() 608 const int eob = p->eobs[block]; in av1_cost_coeffs_txb() 632 int eob = p->eobs[block]; in av1_cost_coeffs_txb_laplacian() 642 p->eobs[block] = eob; in av1_cost_coeffs_txb_laplacian()
|
/external/libaom/test/ |
D | encodemb_test.cc | 68 uint16_t eobs[] = { eob }; in Dropout() local 69 mb.plane[kPlane].eobs = eobs; in Dropout() 83 EXPECT_EQ(new_eob, mb.plane[kPlane].eobs[0]); in Dropout()
|
/external/libvpx/test/ |
D | quantize_test.cc | 108 EXPECT_EQ(0, memcmp(vp8_comp_->mb.e_mbd.eobs, macroblockd_dst_->eobs, in CheckOutput() 109 sizeof(*macroblockd_dst_->eobs) * kNumBlocks)) in CheckOutput()
|
/external/libvpx/config/arm-neon/ |
D | vp8_rtcd.h | 80 …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/ |
D | vp8_rtcd.h | 80 …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/x86_64/ |
D | vp8_rtcd.h | 94 …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/ |
D | vp8_rtcd.h | 94 …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/ |
D | vp8_rtcd.h | 69 …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/vp8/common/loongarch/ |
D | idct_lsx.c | 251 int32_t stride, char *eobs) { in vp8_dequant_idct_add_y_block_lsx() argument 252 int16_t *eobs_h = (int16_t *)eobs; in vp8_dequant_idct_add_y_block_lsx() 282 char *eobs) { in vp8_dequant_idct_add_uv_block_lsx() argument 283 int16_t *eobs_h = (int16_t *)eobs; in vp8_dequant_idct_add_uv_block_lsx()
|