/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/x86/ |
D | quantize_sse2.c | 44 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1; in vp8_regular_quantize_b_sse2() local 70 x0 = _mm_xor_si128(z0, sz0); in vp8_regular_quantize_b_sse2() 72 x0 = _mm_sub_epi16(x0, sz0); in vp8_regular_quantize_b_sse2() 82 x_minus_zbin0 = _mm_sub_epi16(x0, zbin0); in vp8_regular_quantize_b_sse2() 90 x0 = _mm_add_epi16(x0, round0); in vp8_regular_quantize_b_sse2() 93 y0 = _mm_mulhi_epi16(x0, quant0); in vp8_regular_quantize_b_sse2() 96 y0 = _mm_add_epi16(y0, x0); in vp8_regular_quantize_b_sse2() 159 __m128i sz0, sz1, x0, x1, y0, y1, xdq0, xdq1, zeros, ones; in vp8_fast_quantize_b_sse2() local 166 x0 = _mm_xor_si128(z0, sz0); in vp8_fast_quantize_b_sse2() 168 x0 = _mm_sub_epi16(x0, sz0); in vp8_fast_quantize_b_sse2() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_textblit.c | 60 void vp9_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, in vp9_blit_line() argument 62 int steep = abs(y1 - y0) > abs(x1 - x0); in vp9_blit_line() 68 t = x0; in vp9_blit_line() 69 x0 = y0; in vp9_blit_line() 77 if (x0 > x1) { in vp9_blit_line() 79 t = x0; in vp9_blit_line() 80 x0 = x1; in vp9_blit_line() 88 deltax = x1 - x0; in vp9_blit_line() 100 for (x = x0; x <= x1; x++) { in vp9_blit_line() 110 for (x = x0; x <= x1; x++) { in vp9_blit_line()
|
D | vp9_postproc.c | 569 static void constrain_line(int x0, int *x1, int y0, int *y1, in constrain_line() argument 575 dx = *x1 - x0; in constrain_line() 580 *y1 = ((width - x0) * dy) / dx + y0; in constrain_line() 583 dx = *x1 - x0; in constrain_line() 588 *y1 = ((0 - x0) * dy) / dx + y0; in constrain_line() 591 dx = *x1 - x0; in constrain_line() 596 *x1 = ((height - y0) * dx) / dy + x0; in constrain_line() 599 dx = *x1 - x0; in constrain_line() 604 *x1 = ((0 - y0) * dx) / dy + x0; in constrain_line() 735 int x0, y0; in vp9_post_proc_frame() [all …]
|
D | vp9_reconinter.c | 281 int xs, ys, x0, y0, x0_16, y0_16, frame_width, frame_height, buf_stride, in dec_build_inter_predictors() local 312 x0 = sf->scale_value_x(x_start + x, sf); in dec_build_inter_predictors() 322 x0 = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x)) + x; in dec_build_inter_predictors() 326 x0_16 = x0 << SUBPEL_BITS; in dec_build_inter_predictors() 337 x0 += scaled_mv.col >> SUBPEL_BITS; in dec_build_inter_predictors() 343 buf_ptr = ref_frame + y0 * pre_buf->stride + x0; in dec_build_inter_predictors() 356 x0 -= VP9_INTERP_EXTEND - 1; in dec_build_inter_predictors() 368 if (x0 < 0 || x0 > frame_width - 1 || x1 < 0 || x1 > frame_width || in dec_build_inter_predictors() 370 uint8_t *buf_ptr1 = ref_frame + y0 * pre_buf->stride + x0; in dec_build_inter_predictors() 372 build_mc_border(buf_ptr1, pre_buf->stride, xd->mc_buf, x1 - x0 + 1, in dec_build_inter_predictors() [all …]
|
D | vp9_reconintra.c | 327 int x0, y0; in build_intra_predictors() local 349 x0 = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x)) + x; in build_intra_predictors() 381 if (x0 + 2 * bs <= frame_width) { in build_intra_predictors() 388 } else if (x0 + bs <= frame_width) { in build_intra_predictors() 389 const int r = frame_width - x0; in build_intra_predictors() 393 x0 + 2 * bs - frame_width); in build_intra_predictors() 398 } else if (x0 <= frame_width) { in build_intra_predictors() 399 const int r = frame_width - x0; in build_intra_predictors() 403 x0 + 2 * bs - frame_width); in build_intra_predictors() 407 x0 + 2 * bs - frame_width); in build_intra_predictors()
|
D | vp9_idct.c | 244 int x0 = input[0]; in iadst4() local 249 if (!(x0 | x1 | x2 | x3)) { in iadst4() 254 s0 = sinpi_1_9 * x0; in iadst4() 255 s1 = sinpi_2_9 * x0; in iadst4() 261 s7 = x0 - x2 + x3; in iadst4() 263 x0 = s0 + s3 + s5; in iadst4() 268 s0 = x0 + x3; in iadst4() 271 s3 = x0 + x1 - x3; in iadst4() 317 int x0 = input[7]; in iadst8() local 326 if (!(x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7)) { in iadst8() [all …]
|
D | vp9_textblit.h | 20 void vp9_blit_line(int x0, int x1, int y0, int y1, unsigned char *image,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | textblit.c | 61 void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch) in vp8_blit_line() argument 63 int steep = abs(y1 - y0) > abs(x1 - x0); in vp8_blit_line() 70 t = x0; in vp8_blit_line() 71 x0 = y0; in vp8_blit_line() 79 if (x0 > x1) in vp8_blit_line() 82 t = x0; in vp8_blit_line() 83 x0 = x1; in vp8_blit_line() 91 deltax = x1 - x0; in vp8_blit_line() 104 for (x = x0; x <= x1; x++) in vp8_blit_line() 118 for (x = x0; x <= x1; x++) in vp8_blit_line()
|
D | postproc.c | 123 extern void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch); 934 int x0, y0; in vp8_post_proc_frame() local 938 for (x0 = 0; x0 < width; x0 += 16) in vp8_post_proc_frame() 957 x1 = x0 + 8 + (mv->col >> 3); in vp8_post_proc_frame() 960 constrain_line (x0+8, &x1, y0+4, &y1, width, height); in vp8_post_proc_frame() 961 vp8_blit_line (x0+8, x1, y0+4, y1, y_buffer, y_stride); in vp8_post_proc_frame() 965 x1 = x0 + 8 + (mv->col >> 3); in vp8_post_proc_frame() 968 constrain_line (x0+8, &x1, y0+12, &y1, width, height); in vp8_post_proc_frame() 969 vp8_blit_line (x0+8, x1, y0+12, y1, y_buffer, y_stride); in vp8_post_proc_frame() 978 x1 = x0 + 4 + (mv->col >> 3); in vp8_post_proc_frame() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 735 long inv_inverse_sqrt(long x0, int*rempow) in inv_inverse_sqrt() argument 769 nr_iters = test_limits_and_scale(&x0, &pow2); in inv_inverse_sqrt() 779 x0_2 = x0 >>1; // This scaling incorporates factor of 2 in NR iteration below. in inv_inverse_sqrt() 812 long inv_fast_sqrt(long x0) in inv_fast_sqrt() argument 830 if (x0 <= 0L) { in inv_fast_sqrt() 838 nr_iters = test_limits_and_scale(&x0, &pow2); in inv_fast_sqrt() 846 cc = x0 - (1L<<30); in inv_fast_sqrt() 847 xx = x0 - (inv_q30_mult(x0, cc)>>1); in inv_fast_sqrt() 879 long inv_one_over_x(long x0, int*pow) in inv_one_over_x() argument 892 if (x0 == 0L) { in inv_one_over_x() [all …]
|
D | ml_math_func.h | 119 long inv_inverse_sqrt(long x0, int*rempow); 120 long inv_fast_sqrt(long x0); 121 long inv_one_over_x(long x0, int*pow); 122 int test_limits_and_scale(long *x0, int *pow);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 735 long inv_inverse_sqrt(long x0, int*rempow) in inv_inverse_sqrt() argument 769 nr_iters = test_limits_and_scale(&x0, &pow2); in inv_inverse_sqrt() 779 x0_2 = x0 >>1; // This scaling incorporates factor of 2 in NR iteration below. in inv_inverse_sqrt() 812 long inv_fast_sqrt(long x0) in inv_fast_sqrt() argument 830 if (x0 <= 0L) { in inv_fast_sqrt() 838 nr_iters = test_limits_and_scale(&x0, &pow2); in inv_fast_sqrt() 846 cc = x0 - (1L<<30); in inv_fast_sqrt() 847 xx = x0 - (inv_q30_mult(x0, cc)>>1); in inv_fast_sqrt() 879 long inv_one_over_x(long x0, int*pow) in inv_one_over_x() argument 892 if (x0 == 0L) { in inv_one_over_x() [all …]
|
D | ml_math_func.h | 119 long inv_inverse_sqrt(long x0, int*rempow); 120 long inv_fast_sqrt(long x0); 121 long inv_one_over_x(long x0, int*pow); 122 int test_limits_and_scale(long *x0, int *pow);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/ |
D | vp9_itrans4_dspr2.c | 324 int x0, x1, x2, x3; in iadst4_dspr2() local 326 x0 = input[0]; in iadst4_dspr2() 331 if (!(x0 | x1 | x2 | x3)) { in iadst4_dspr2() 336 s0 = sinpi_1_9 * x0; in iadst4_dspr2() 337 s1 = sinpi_2_9 * x0; in iadst4_dspr2() 343 s7 = x0 - x2 + x3; in iadst4_dspr2() 345 x0 = s0 + s3 + s5; in iadst4_dspr2() 350 s0 = x0 + x3; in iadst4_dspr2() 353 s3 = x0 + x1 - x3; in iadst4_dspr2()
|
D | vp9_itrans8_dspr2.c | 473 int x0, x1, x2, x3, x4, x5, x6, x7; in iadst8_dspr2() local 475 x0 = input[7]; in iadst8_dspr2() 484 if (!(x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7)) { in iadst8_dspr2() 491 s0 = cospi_2_64 * x0 + cospi_30_64 * x1; in iadst8_dspr2() 492 s1 = cospi_30_64 * x0 - cospi_2_64 * x1; in iadst8_dspr2() 500 x0 = ROUND_POWER_OF_TWO((s0 + s4), DCT_CONST_BITS); in iadst8_dspr2() 510 s0 = x0; in iadst8_dspr2() 519 x0 = s0 + s2; in iadst8_dspr2() 539 output[0] = x0; in iadst8_dspr2()
|
D | vp9_itrans16_dspr2.c | 917 int x0 = input[15]; in iadst16() local 934 if (!(x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 in iadst16() 944 s0 = x0 * cospi_1_64 + x1 * cospi_31_64; in iadst16() 945 s1 = x0 * cospi_31_64 - x1 * cospi_1_64; in iadst16() 961 x0 = dct_const_round_shift(s0 + s8); in iadst16() 979 s0 = x0; in iadst16() 996 x0 = s0 + s4; in iadst16() 1014 s0 = x0; in iadst16() 1031 x0 = s0 + s2; in iadst16() 1067 output[0] = x0; in iadst16()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_dct.c | 112 int x0, x1, x2, x3; in fadst4() local 115 x0 = input[0]; in fadst4() 120 if (!(x0 | x1 | x2 | x3)) { in fadst4() 125 s0 = sinpi_1_9 * x0; in fadst4() 126 s1 = sinpi_4_9 * x0; in fadst4() 132 s7 = x0 + x1 - x3; in fadst4() 134 x0 = s0 + s2 + s5; in fadst4() 139 s0 = x0 + x3; in fadst4() 142 s3 = x2 - x0 + x3; in fadst4() 194 /*canbe16*/ int x0, x1, x2, x3; in fdct8() local [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/ |
D | vp9_iht4x4_add_neon.asm | 59 vmull.s16 q10, d3, d16 ; s0 = sinpi_1_9 * x0 60 vmull.s16 q11, d4, d16 ; s1 = sinpi_2_9 * x0 64 vmovl.s16 q15, d16 ; expand x0 from 16 bit to 32 bit 65 vaddw.s16 q15, q15, d19 ; x0 + x3 67 vsubw.s16 q15, q15, d18 ; s7 = x0 + x3 - x2 70 vadd.s32 q10, q10, q13 ; x0 = s0 + s3 + s5 77 vadd.s32 q13, q10, q12 ; s0 = x0 + x3 78 vadd.s32 q10, q10, q11 ; x0 + x1 80 vsub.s32 q10, q10, q12 ; s3 = x0 + x1 - x3
|
D | vp9_iht8x8_add_neon.asm | 290 ; cospi_2_64 * x0 294 ; cospi_30_64 * x0 301 ; s0 = cospi_2_64 * x0 + cospi_30_64 * x1; 305 ; s1 = cospi_30_64 * x0 - cospi_2_64 * x1 336 ; x0 = dct_const_round_shift(s0 + s4); 462 vadd.s16 q8, q11, q9 ; x0 = s0 + s2;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv6/ |
D | vp8_fast_quantize_b_armv6.asm | 50 sadd16 r9, r9, r10 ; [x1+r1 | x0+r0] 54 smulbb r0, r9, r11 ; [(x0+r0)*q0] 90 smulbb r12, r0, r9 ; [x0*dq0] 97 strh r12, [r7, #0] ; dqcoeff[0] = [x0*dq0]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/ |
D | vp9_loopfilter_intrin_sse2.c | 1469 __m128i x0, x1, x2, x3, x4, x5, x6, x7; in transpose8x16() local 1473 x0 = _mm_loadl_epi64((__m128i *)in0); in transpose8x16() 1490 x0 = _mm_unpacklo_epi8(x0, x1); in transpose8x16() 1500 x4 = _mm_unpacklo_epi16(x0, x1); in transpose8x16() 1516 x4 = _mm_unpackhi_epi16(x0, x1); in transpose8x16() 1537 __m128i x0, x1, x2, x3, x4, x5, x6, x7; in transpose() local 1542 x0 = _mm_loadl_epi64((__m128i *)(in + 0*in_p)); // 00 01 02 03 04 05 06 07 in transpose() 1551 x0 = _mm_unpacklo_epi8(x0, x1); in transpose() 1559 x4 = _mm_unpacklo_epi16(x0, x1); in transpose() 1577 x4 = _mm_unpackhi_epi16(x0, x1); in transpose()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/ |
D | vp9_dct_sse2.c | 146 const __m128i x0 = _mm_packs_epi32(w0, w1); in vp9_fdct4x4_sse2() local 150 in0 = _mm_shuffle_epi32(x0, 0xD8); in vp9_fdct4x4_sse2() 192 const __m128i x0 = _mm_packs_epi32(w0, w1); in vp9_fdct4x4_sse2() local 196 const __m128i y0 = _mm_unpacklo_epi16(x0, x1); in vp9_fdct4x4_sse2() 197 const __m128i y1 = _mm_unpackhi_epi16(x0, x1); in vp9_fdct4x4_sse2() 495 const __m128i x0 = _mm_add_epi16(q4, r0); in vp9_fdct8x8_sse2() local 500 const __m128i t0 = _mm_unpacklo_epi16(x0, x3); in vp9_fdct8x8_sse2() 501 const __m128i t1 = _mm_unpackhi_epi16(x0, x3); in vp9_fdct8x8_sse2() 1408 const __m128i x0 = _mm_add_epi16(q4, r0); in vp9_fdct16x16_sse2() local 1414 const __m128i t0 = _mm_unpacklo_epi16(x0, x3); in vp9_fdct16x16_sse2() [all …]
|
D | vp9_dct_avx2.c | 394 const __m128i x0 = _mm_add_epi16(q4, r0); in vp9_fdct8x8_avx2() local 399 const __m128i t0 = _mm_unpacklo_epi16(x0, x3); in vp9_fdct8x8_avx2() 400 const __m128i t1 = _mm_unpackhi_epi16(x0, x3); in vp9_fdct8x8_avx2() 1307 const __m128i x0 = _mm_add_epi16(q4, r0); in vp9_fdct16x16_avx2() local 1313 const __m128i t0 = _mm_unpacklo_epi16(x0, x3); in vp9_fdct16x16_avx2() 1314 const __m128i t1 = _mm_unpackhi_epi16(x0, x3); in vp9_fdct16x16_avx2()
|