/external/libvpx/libvpx/vp9/common/mips/dspr2/ |
D | vp9_itrans8_dspr2.c | 500 x0 = ROUND_POWER_OF_TWO((s0 + s4), DCT_CONST_BITS); in iadst8_dspr2() 501 x1 = ROUND_POWER_OF_TWO((s1 + s5), DCT_CONST_BITS); in iadst8_dspr2() 502 x2 = ROUND_POWER_OF_TWO((s2 + s6), DCT_CONST_BITS); in iadst8_dspr2() 503 x3 = ROUND_POWER_OF_TWO((s3 + s7), DCT_CONST_BITS); in iadst8_dspr2() 504 x4 = ROUND_POWER_OF_TWO((s0 - s4), DCT_CONST_BITS); in iadst8_dspr2() 505 x5 = ROUND_POWER_OF_TWO((s1 - s5), DCT_CONST_BITS); in iadst8_dspr2() 506 x6 = ROUND_POWER_OF_TWO((s2 - s6), DCT_CONST_BITS); in iadst8_dspr2() 507 x7 = ROUND_POWER_OF_TWO((s3 - s7), DCT_CONST_BITS); in iadst8_dspr2() 523 x4 = ROUND_POWER_OF_TWO((s4 + s6), DCT_CONST_BITS); in iadst8_dspr2() 524 x5 = ROUND_POWER_OF_TWO((s5 + s7), DCT_CONST_BITS); in iadst8_dspr2() [all …]
|
D | vp9_itrans32_cols_dspr2.c | 800 step3_12 = ROUND_POWER_OF_TWO((step1_3 - step2_28), 6); in vp9_idct32_cols_add_blk_dspr2() 801 step3_13 = ROUND_POWER_OF_TWO((step1_2 - step2_29), 6); in vp9_idct32_cols_add_blk_dspr2() 802 step3_14 = ROUND_POWER_OF_TWO((step1_1 - step2_30), 6); in vp9_idct32_cols_add_blk_dspr2() 803 step3_15 = ROUND_POWER_OF_TWO((step1_0 - step2_31), 6); in vp9_idct32_cols_add_blk_dspr2() 879 step3_12 = ROUND_POWER_OF_TWO((step1_7 - step1_24), 6); in vp9_idct32_cols_add_blk_dspr2() 880 step3_13 = ROUND_POWER_OF_TWO((step1_6 - step1_25), 6); in vp9_idct32_cols_add_blk_dspr2() 881 step3_14 = ROUND_POWER_OF_TWO((step1_5 - step1_26), 6); in vp9_idct32_cols_add_blk_dspr2() 882 step3_15 = ROUND_POWER_OF_TWO((step1_4 - step1_27), 6); in vp9_idct32_cols_add_blk_dspr2() 958 step3_12 = ROUND_POWER_OF_TWO((step1_11 - step1_20), 6); in vp9_idct32_cols_add_blk_dspr2() 959 step3_13 = ROUND_POWER_OF_TWO((step1_10 - step1_21), 6); in vp9_idct32_cols_add_blk_dspr2() [all …]
|
D | vp9_itrans4_dspr2.c | 395 clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 4) in vp9_iht4x4_16_add_dspr2() 429 clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 4) in vp9_iht4x4_16_add_dspr2()
|
D | vp9_convolve2_dspr2.c | 728 dst[x * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_bi_horiz_transposed()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_reconintra.c | 57 dst[r * stride] = ROUND_POWER_OF_TWO(left[r] + left[r + 1], 1); in d207_predictor() 63 dst[r * stride] = ROUND_POWER_OF_TWO(left[r] + left[r + 1] * 2 + in d207_predictor() 65 dst[(bs - 2) * stride] = ROUND_POWER_OF_TWO(left[bs - 2] + in d207_predictor() 86 dst[c] = r & 1 ? ROUND_POWER_OF_TWO(above[r/2 + c] + in intra_pred_allsizes() 89 : ROUND_POWER_OF_TWO(above[r/2 + c] + in intra_pred_allsizes() 102 dst[c] = r + c + 2 < bs * 2 ? ROUND_POWER_OF_TWO(above[r + c] + in intra_pred_allsizes() 117 dst[c] = ROUND_POWER_OF_TWO(above[c - 1] + above[c], 1); in intra_pred_allsizes() 121 dst[0] = ROUND_POWER_OF_TWO(left[0] + above[-1] * 2 + above[0], 2); in intra_pred_allsizes() 123 dst[c] = ROUND_POWER_OF_TWO(above[c - 2] + above[c - 1] * 2 + above[c], 2); in intra_pred_allsizes() 127 dst[0] = ROUND_POWER_OF_TWO(above[-1] + left[0] * 2 + left[1], 2); in intra_pred_allsizes() [all …]
|
D | vp9_loopfilter_filters.c | 99 filter = ROUND_POWER_OF_TWO(filter1, 1) & ~hev; in filter4() 166 *op2 = ROUND_POWER_OF_TWO(p3 + p3 + p3 + 2 * p2 + p1 + p0 + q0, 3); in filter8() 167 *op1 = ROUND_POWER_OF_TWO(p3 + p3 + p2 + 2 * p1 + p0 + q0 + q1, 3); in filter8() 168 *op0 = ROUND_POWER_OF_TWO(p3 + p2 + p1 + 2 * p0 + q0 + q1 + q2, 3); in filter8() 169 *oq0 = ROUND_POWER_OF_TWO(p2 + p1 + p0 + 2 * q0 + q1 + q2 + q3, 3); in filter8() 170 *oq1 = ROUND_POWER_OF_TWO(p1 + p0 + q0 + 2 * q1 + q2 + q3 + q3, 3); in filter8() 171 *oq2 = ROUND_POWER_OF_TWO(p0 + q0 + q1 + 2 * q2 + q3 + q3 + q3, 3); in filter8() 249 *op6 = ROUND_POWER_OF_TWO(p7 * 7 + p6 * 2 + p5 + p4 + p3 + p2 + p1 + p0 + in filter16() 251 *op5 = ROUND_POWER_OF_TWO(p7 * 6 + p6 + p5 * 2 + p4 + p3 + p2 + p1 + p0 + in filter16() 253 *op4 = ROUND_POWER_OF_TWO(p7 * 5 + p6 + p5 + p4 * 2 + p3 + p2 + p1 + p0 + in filter16() [all …]
|
D | vp9_convolve.c | 35 dst[x] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_horiz() 57 dst[x] = ROUND_POWER_OF_TWO(dst[x] + in convolve_avg_horiz() 58 clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)), 1); in convolve_avg_horiz() 81 dst[y * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_vert() 104 dst[y * dst_stride] = ROUND_POWER_OF_TWO(dst[y * dst_stride] + in convolve_avg_vert() 105 clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)), 1); in convolve_avg_vert() 279 dst[x] = ROUND_POWER_OF_TWO(dst[x] + src[x], 1); in vp9_convolve_avg_c()
|
D | vp9_idct.c | 138 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 4) in vp9_idct4x4_16_add_c() 148 a1 = ROUND_POWER_OF_TWO(out, 4); in vp9_idct4x4_1_add_c() 223 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 5) in vp9_idct8x8_64_add_c() 233 a1 = ROUND_POWER_OF_TWO(out, 5); in vp9_idct8x8_1_add_c() 310 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 4) in vp9_iht4x4_16_add_c() 419 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 5) in vp9_iht8x8_64_add_c() 444 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 5) in vp9_idct8x8_12_add_c() 633 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 6) in vp9_idct16x16_256_add_c() 837 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 6) in vp9_iht16x16_256_add_c() 862 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 6) in vp9_idct16x16_10_add_c() [all …]
|
D | vp9_prob.h | 60 return ROUND_POWER_OF_TWO(prob1 * (256 - factor) + prob2 * factor, 8); in weighted_prob()
|
D | vp9_common.h | 30 #define ROUND_POWER_OF_TWO(value, n) \ macro
|
D | vp9_idct.h | 83 int rv = ROUND_POWER_OF_TWO(input, DCT_CONST_BITS); in dct_const_round_shift()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_extend.c | 108 const int et_uv = ROUND_POWER_OF_TWO(et_y, 1); in vp9_copy_and_extend_frame_with_rect() 109 const int el_uv = ROUND_POWER_OF_TWO(el_y, 1); in vp9_copy_and_extend_frame_with_rect() 110 const int eb_uv = ROUND_POWER_OF_TWO(eb_y, 1); in vp9_copy_and_extend_frame_with_rect() 111 const int er_uv = ROUND_POWER_OF_TWO(er_y, 1); in vp9_copy_and_extend_frame_with_rect() 114 const int srch_uv = ROUND_POWER_OF_TWO(srch, 1); in vp9_copy_and_extend_frame_with_rect() 115 const int srcw_uv = ROUND_POWER_OF_TWO(srcw, 1); in vp9_copy_and_extend_frame_with_rect()
|
D | vp9_quantize.c | 135 abs_coeff += ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); in vp9_quantize_fp_32x32_c() 211 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0] + zbin_oq_value, 1), in vp9_quantize_b_32x32_c() 212 ROUND_POWER_OF_TWO(zbin_ptr[1] + zbin_oq_value, 1) }; in vp9_quantize_b_32x32_c() 243 abs_coeff += ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); in vp9_quantize_b_32x32_c() 303 quants->y_zbin[q][i] = ROUND_POWER_OF_TWO(qzbin_factor * quant, 7); in vp9_init_quantizer() 314 quants->uv_zbin[q][i] = ROUND_POWER_OF_TWO(qzbin_factor * quant, 7); in vp9_init_quantizer()
|
D | vp9_variance.c | 60 output_ptr[j] = ROUND_POWER_OF_TWO((int)src_ptr[0] * vp9_filter[0] + in var_filter_block2d_bil_first_pass() 92 output_ptr[j] = ROUND_POWER_OF_TWO((int)src_ptr[0] * vp9_filter[0] + in var_filter_block2d_bil_second_pass() 262 comp_pred[j] = ROUND_POWER_OF_TWO(tmp, 1); in vp9_comp_avg_pred()
|
D | vp9_resize.c | 269 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate() 283 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate() 294 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate() 307 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
|
D | vp9_ratectrl.c | 1033 ROUND_POWER_OF_TWO(3 * rc->avg_frame_qindex[KEY_FRAME] + qindex, 2); in vp9_rc_postencode_update() 1040 ROUND_POWER_OF_TWO(3 * rc->avg_frame_qindex[INTER_FRAME] + qindex, 2); in vp9_rc_postencode_update() 1068 rc->rolling_target_bits = ROUND_POWER_OF_TWO( in vp9_rc_postencode_update() 1070 rc->rolling_actual_bits = ROUND_POWER_OF_TWO( in vp9_rc_postencode_update() 1072 rc->long_rolling_target_bits = ROUND_POWER_OF_TWO( in vp9_rc_postencode_update() 1074 rc->long_rolling_actual_bits = ROUND_POWER_OF_TWO( in vp9_rc_postencode_update()
|
D | vp9_picklpf.c | 155 int filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 1015158, 18); in vp9_pick_filter_level()
|
/external/libvpx/libvpx/vp9/common/arm/neon/ |
D | vp9_idct4x4_add_neon.asm | 163 ; ROUND_POWER_OF_TWO(temp_out[j], 4) 172 ; ROUND_POWER_OF_TWO(temp_out[j], 4) + dest[j * dest_stride + i]
|
D | vp9_dc_only_idct_add_neon.asm | 43 ; ROUND_POWER_OF_TWO(out, 4)
|
D | vp9_idct4x4_1_add_neon.asm | 43 ; a1 = ROUND_POWER_OF_TWO(out, 4)
|
D | vp9_idct8x8_add_neon.asm | 255 ; ROUND_POWER_OF_TWO(temp_out[j], 5) 278 ; ROUND_POWER_OF_TWO(temp_out[j], 5) + dest[j * dest_stride + i] 461 ; ROUND_POWER_OF_TWO(temp_out[j], 5) 484 ; ROUND_POWER_OF_TWO(temp_out[j], 5) + dest[j * dest_stride + i]
|
D | vp9_idct16x16_add_neon.asm | 619 vrshr.s16 q12, q12, #6 ; ROUND_POWER_OF_TWO 620 vrshr.s16 q13, q13, #6 ; ROUND_POWER_OF_TWO 633 vrshr.s16 q12, q12, #6 ; ROUND_POWER_OF_TWO 634 vrshr.s16 q13, q13, #6 ; ROUND_POWER_OF_TWO 651 vrshr.s16 q12, q12, #6 ; ROUND_POWER_OF_TWO 652 vrshr.s16 q13, q13, #6 ; ROUND_POWER_OF_TWO 665 vrshr.s16 q12, q12, #6 ; ROUND_POWER_OF_TWO 666 vrshr.s16 q13, q13, #6 ; ROUND_POWER_OF_TWO 679 vrshr.s16 q8, q8, #6 ; ROUND_POWER_OF_TWO
|
D | vp9_iht4x4_add_neon.asm | 210 ; ROUND_POWER_OF_TWO(temp_out[j], 4) 219 ; ROUND_POWER_OF_TWO(temp_out[j], 4) + dest[j * dest_stride + i]
|
D | vp9_idct8x8_1_add_neon.asm | 43 ; a1 = ROUND_POWER_OF_TWO(out, 5)
|
D | vp9_idct32x32_1_add_neon.asm | 95 ; a1 = ROUND_POWER_OF_TWO(out, 6)
|