/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
H A D | textblit.c | 21 0x0, 0x5C00, 0x8020, 0xAFABEA, 0xD7EC0, 0x1111111, 0x1855740, 0x18000, 61 void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch) argument 63 int steep = abs(y1 - y0) > abs(x1 - x0); 70 t = x0; 71 x0 = y0; 79 if (x0 > x1) 82 t = x0; 83 x0 = x1; 91 deltax = x1 - x0; 104 for (x = x0; [all...] |
H A 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; local 938 for (x0 = 0; x0 < width; x0 += 16) 957 x1 = x0 + 8 + (mv->col >> 3); 960 constrain_line (x0+8, &x1, y0+4, &y1, width, height); 961 vp8_blit_line (x0+8, x1, y0+4, y1, y_buffer, y_stride); 965 x1 = x0 + 8 + (mv->col >> 3); 968 constrain_line (x0 [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
H A D | vp9_textblit.c | 16 0x0, 0x5C00, 0x8020, 0xAFABEA, 0xD7EC0, 0x1111111, 0x1855740, 0x18000, 60 void vp9_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, argument 62 int steep = abs(y1 - y0) > abs(x1 - x0); 68 t = x0; 69 x0 = y0; 77 if (x0 > x1) { 79 t = x0; 80 x0 = x1; 88 deltax = x1 - x0; 100 for (x = x0; [all...] |
H A D | vp9_reconintra.c | 327 int x0, y0; local 349 x0 = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x)) + x; 381 if (x0 + 2 * bs <= frame_width) { 388 } else if (x0 + bs <= frame_width) { 389 const int r = frame_width - x0; 393 x0 + 2 * bs - frame_width); 398 } else if (x0 <= frame_width) { 399 const int r = frame_width - x0; 403 x0 + 2 * bs - frame_width); 407 x0 [all...] |
H A D | vp9_idct.c | 244 int x0 = input[0]; local 249 if (!(x0 | x1 | x2 | x3)) { 254 s0 = sinpi_1_9 * x0; 255 s1 = sinpi_2_9 * x0; 261 s7 = x0 - x2 + x3; 263 x0 = s0 + s3 + s5; 268 s0 = x0 + x3; 271 s3 = x0 + x1 - x3; 317 int x0 = input[7]; local 326 if (!(x0 | x 641 int x0 = input[15]; local [all...] |
H A D | vp9_postproc.c | 569 static void constrain_line(int x0, int *x1, int y0, int *y1, argument 575 dx = *x1 - x0; 580 *y1 = ((width - x0) * dy) / dx + y0; 583 dx = *x1 - x0; 588 *y1 = ((0 - x0) * dy) / dx + y0; 591 dx = *x1 - x0; 596 *x1 = ((height - y0) * dx) / dy + x0; 599 dx = *x1 - x0; 604 *x1 = ((0 - y0) * dx) / dy + x0; 735 int x0, y [all...] |
H A D | vp9_reconinter.c | 281 int xs, ys, x0, y0, x0_16, y0_16, frame_width, frame_height, buf_stride, local 312 x0 = sf->scale_value_x(x_start + x, sf); 322 x0 = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x)) + x; 326 x0_16 = x0 << SUBPEL_BITS; 337 x0 += scaled_mv.col >> SUBPEL_BITS; 343 buf_ptr = ref_frame + y0 * pre_buf->stride + x0; 356 x0 -= VP9_INTERP_EXTEND - 1; 368 if (x0 < 0 || x0 > frame_width - 1 || x1 < 0 || x1 > frame_width || 370 uint8_t *buf_ptr1 = ref_frame + y0 * pre_buf->stride + x0; [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/x86/ |
H A D | quantize_sse2.c | 44 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1; local 70 x0 = _mm_xor_si128(z0, sz0); 72 x0 = _mm_sub_epi16(x0, sz0); 82 x_minus_zbin0 = _mm_sub_epi16(x0, zbin0); 90 x0 = _mm_add_epi16(x0, round0); 93 y0 = _mm_mulhi_epi16(x0, quant0); 96 y0 = _mm_add_epi16(y0, x0); 159 __m128i sz0, sz1, x0, x local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/ |
H A D | vp9_itrans4_dspr2.c | 324 int x0, x1, x2, x3; local 326 x0 = input[0]; 331 if (!(x0 | x1 | x2 | x3)) { 336 s0 = sinpi_1_9 * x0; 337 s1 = sinpi_2_9 * x0; 343 s7 = x0 - x2 + x3; 345 x0 = s0 + s3 + s5; 350 s0 = x0 + x3; 353 s3 = x0 + x1 - x3;
|
H A D | vp9_itrans8_dspr2.c | 473 int x0, x1, x2, x3, x4, x5, x6, x7; local 475 x0 = input[7]; 484 if (!(x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7)) { 491 s0 = cospi_2_64 * x0 + cospi_30_64 * x1; 492 s1 = cospi_30_64 * x0 - cospi_2_64 * x1; 500 x0 = ROUND_POWER_OF_TWO((s0 + s4), DCT_CONST_BITS); 510 s0 = x0; 519 x0 = s0 + s2; 539 output[0] = x0;
|
H A D | vp9_itrans16_dspr2.c | 917 int x0 = input[15]; local 934 if (!(x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 944 s0 = x0 * cospi_1_64 + x1 * cospi_31_64; 945 s1 = x0 * cospi_31_64 - x1 * cospi_1_64; 961 x0 = dct_const_round_shift(s0 + s8); 979 s0 = x0; 996 x0 = s0 + s4; 1014 s0 = x0; 1031 x0 = s0 + s2; 1067 output[0] = x0; [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_dct.c | 112 int x0, x1, x2, x3; local 115 x0 = input[0]; 120 if (!(x0 | x1 | x2 | x3)) { 125 s0 = sinpi_1_9 * x0; 126 s1 = sinpi_4_9 * x0; 132 s7 = x0 + x1 - x3; 134 x0 = s0 + s2 + s5; 139 s0 = x0 + x3; 142 s3 = x2 - x0 + x3; 194 /*canbe16*/ int x0, x local 252 /*canbe16*/ int x0, x1, x2, x3; local 378 /*canbe16*/ int x0, x1, x2, x3; local 495 int x0 = input[7]; local 687 /*canbe16*/ int x0, x1, x2, x3; local 801 int x0 = input[15]; local [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
H A D | ml_math_func.c | 731 * @param[in] x0, length 1 735 long inv_inverse_sqrt(long x0, int*rempow) argument 738 //% x(k+1) = x(k)*(3 - x0*x(k)^2) 769 nr_iters = test_limits_and_scale(&x0, &pow2); 779 x0_2 = x0 >>1; // This scaling incorporates factor of 2 in NR iteration below. 782 // xx= (3/2-x0/2); 783 //% NR formula: xx=xx*(3/2-x0*xx*xx/2); = xx*(1.5 - (x0/2)*xx*xx) 810 * @param[in] x0, length 1 812 long inv_fast_sqrt(long x0) argument 879 inv_one_over_x(long x0, int*pow) argument 973 test_limits_and_scale(long *x0, int *pow) argument [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | ml_math_func.c | 731 * @param[in] x0, length 1 735 long inv_inverse_sqrt(long x0, int*rempow) argument 738 //% x(k+1) = x(k)*(3 - x0*x(k)^2) 769 nr_iters = test_limits_and_scale(&x0, &pow2); 779 x0_2 = x0 >>1; // This scaling incorporates factor of 2 in NR iteration below. 782 // xx= (3/2-x0/2); 783 //% NR formula: xx=xx*(3/2-x0*xx*xx/2); = xx*(1.5 - (x0/2)*xx*xx) 810 * @param[in] x0, length 1 812 long inv_fast_sqrt(long x0) argument 879 inv_one_over_x(long x0, int*pow) argument 973 test_limits_and_scale(long *x0, int *pow) argument [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/ |
H A D | vp9_loopfilter_intrin_sse2.c | 1469 __m128i x0, x1, x2, x3, x4, x5, x6, x7; local 1473 x0 = _mm_loadl_epi64((__m128i *)in0); 1490 x0 = _mm_unpacklo_epi8(x0, x1); 1500 x4 = _mm_unpacklo_epi16(x0, x1); 1516 x4 = _mm_unpackhi_epi16(x0, x1); 1537 __m128i x0, x1, x2, x3, x4, x5, x6, x7; local 1542 x0 = _mm_loadl_epi64((__m128i *)(in + 0*in_p)); // 00 01 02 03 04 05 06 07 1551 x0 = _mm_unpacklo_epi8(x0, x [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/ |
H A D | vp9_dct_avx2.c | 394 const __m128i x0 = _mm_add_epi16(q4, r0); local 399 const __m128i t0 = _mm_unpacklo_epi16(x0, x3); 400 const __m128i t1 = _mm_unpackhi_epi16(x0, x3); 1307 const __m128i x0 = _mm_add_epi16(q4, r0); local 1313 const __m128i t0 = _mm_unpacklo_epi16(x0, x3); 1314 const __m128i t1 = _mm_unpackhi_epi16(x0, x3);
|
H A D | vp9_dct_sse2.c | 146 const __m128i x0 = _mm_packs_epi32(w0, w1); local 148 // x0 = [b0 b1 b7 b6 b8 b9 bF bE] 150 in0 = _mm_shuffle_epi32(x0, 0xD8); 192 const __m128i x0 = _mm_packs_epi32(w0, w1); local 194 // x0 = [o0 o4 o8 oC o2 o6 oA oE] 196 const __m128i y0 = _mm_unpacklo_epi16(x0, x1); 197 const __m128i y1 = _mm_unpackhi_epi16(x0, x1); 495 const __m128i x0 = _mm_add_epi16(q4, r0); local 500 const __m128i t0 = _mm_unpacklo_epi16(x0, x3); 501 const __m128i t1 = _mm_unpackhi_epi16(x0, x 1408 const __m128i x0 = _mm_add_epi16(q4, r0); local [all...] |