Home
last modified time | relevance | path

Searched refs:a_stride (Results 1 – 25 of 50) sorted by relevance

12

/external/libaom/libaom/aom_dsp/x86/
Dsse_avx2.c67 static INLINE void sse_w4x4_avx2(const uint8_t *a, int a_stride, in sse_w4x4_avx2() argument
70 const __m128i v_a1 = xx_loadl_32(a + a_stride); in sse_w4x4_avx2()
71 const __m128i v_a2 = xx_loadl_32(a + a_stride * 2); in sse_w4x4_avx2()
72 const __m128i v_a3 = xx_loadl_32(a + a_stride * 3); in sse_w4x4_avx2()
86 static INLINE void sse_w8x2_avx2(const uint8_t *a, int a_stride, in sse_w8x2_avx2() argument
89 const __m128i v_a1 = xx_loadl_64(a + a_stride); in sse_w8x2_avx2()
97 int64_t aom_sse_avx2(const uint8_t *a, int a_stride, const uint8_t *b, in aom_sse_avx2() argument
106 sse_w4x4_avx2(a, a_stride, b, b_stride, &sum); in aom_sse_avx2()
107 a += a_stride << 2; in aom_sse_avx2()
115 sse_w8x2_avx2(a, a_stride, b, b_stride, &sum); in aom_sse_avx2()
[all …]
Dsse_sse4.c52 static INLINE void aom_sse4x2_sse4_1(const uint8_t *a, int a_stride, in aom_sse4x2_sse4_1() argument
56 const __m128i v_a1 = xx_loadl_32(a + a_stride); in aom_sse4x2_sse4_1()
74 int64_t aom_sse_sse4_1(const uint8_t *a, int a_stride, const uint8_t *b, in aom_sse_sse4_1() argument
82 aom_sse4x2_sse4_1(a, a_stride, b, b_stride, &sum); in aom_sse_sse4_1()
83 a += a_stride << 1; in aom_sse_sse4_1()
92 a += a_stride; in aom_sse_sse4_1()
101 a += a_stride; in aom_sse_sse4_1()
111 a += a_stride; in aom_sse_sse4_1()
123 a += a_stride; in aom_sse_sse4_1()
139 a += a_stride; in aom_sse_sse4_1()
[all …]
Djnt_sad_ssse3.c22 unsigned int aom_sad4xh_sse2(const uint8_t *a, int a_stride, const uint8_t *b, in aom_sad4xh_sse2() argument
30 __m128i x0 = xx_loadl_32(a + 0 * a_stride); in aom_sad4xh_sse2()
31 __m128i x1 = xx_loadl_32(a + 1 * a_stride); in aom_sad4xh_sse2()
32 __m128i x2 = xx_loadl_32(a + 2 * a_stride); in aom_sad4xh_sse2()
33 __m128i x3 = xx_loadl_32(a + 3 * a_stride); in aom_sad4xh_sse2()
51 a += 4 * a_stride; in aom_sad4xh_sse2()
62 unsigned int aom_sad8xh_sse2(const uint8_t *a, int a_stride, const uint8_t *b, in aom_sad8xh_sse2() argument
70 __m128i x0 = xx_loadl_64(a + 0 * a_stride); in aom_sad8xh_sse2()
71 __m128i x1 = xx_loadl_64(a + 1 * a_stride); in aom_sad8xh_sse2()
83 a += 2 * a_stride; in aom_sad8xh_sse2()
[all …]
Dhighbd_variance_sse4.c20 static INLINE void variance4x4_64_sse4_1(const uint8_t *a8, int a_stride, in variance4x4_64_sse4_1() argument
33 a0 = _mm_loadl_epi64((__m128i const *)(a + 0 * a_stride)); in variance4x4_64_sse4_1()
34 a1 = _mm_loadl_epi64((__m128i const *)(a + 1 * a_stride)); in variance4x4_64_sse4_1()
35 a2 = _mm_loadl_epi64((__m128i const *)(a + 2 * a_stride)); in variance4x4_64_sse4_1()
36 a3 = _mm_loadl_epi64((__m128i const *)(a + 3 * a_stride)); in variance4x4_64_sse4_1()
69 uint32_t aom_highbd_8_variance4x4_sse4_1(const uint8_t *a, int a_stride, in aom_highbd_8_variance4x4_sse4_1() argument
75 variance4x4_64_sse4_1(a, a_stride, b, b_stride, &local_sse, &sum); in aom_highbd_8_variance4x4_sse4_1()
82 uint32_t aom_highbd_10_variance4x4_sse4_1(const uint8_t *a, int a_stride, in aom_highbd_10_variance4x4_sse4_1() argument
88 variance4x4_64_sse4_1(a, a_stride, b, b_stride, &local_sse, &sum); in aom_highbd_10_variance4x4_sse4_1()
96 uint32_t aom_highbd_12_variance4x4_sse4_1(const uint8_t *a, int a_stride, in aom_highbd_12_variance4x4_sse4_1() argument
[all …]
Dmasked_sad_intrin_ssse3.c27 const uint8_t *a_ptr, int a_stride,
96 const uint8_t *a_ptr, int a_stride, in masked_sad_ssse3() argument
130 a_ptr += a_stride; in masked_sad_ssse3()
141 const uint8_t *a_ptr, int a_stride, in aom_masked_sad8xh_ssse3() argument
154 const __m128i a1 = _mm_loadl_epi64((const __m128i *)&a_ptr[a_stride]); in aom_masked_sad8xh_ssse3()
176 a_ptr += a_stride * 2; in aom_masked_sad8xh_ssse3()
186 const uint8_t *a_ptr, int a_stride, in aom_masked_sad4xh_ssse3() argument
202 _mm_cvtsi32_si128(*(uint32_t *)&a_ptr[a_stride])); in aom_masked_sad4xh_ssse3()
220 a_ptr += a_stride * 2; in aom_masked_sad4xh_ssse3()
231 const uint8_t *src8, int src_stride, const uint8_t *a8, int a_stride,
[all …]
Dmasked_sad_intrin_ssse3.h16 const uint8_t *a_ptr, int a_stride,
22 const uint8_t *a_ptr, int a_stride,
28 const uint8_t *a8, int a_stride,
Dmasked_sad_intrin_avx2.c23 const uint8_t *src_ptr, int src_stride, const uint8_t *a_ptr, int a_stride, in masked_sad32xh_avx2() argument
57 a_ptr += a_stride; in masked_sad32xh_avx2()
78 const uint8_t *src_ptr, int src_stride, const uint8_t *a_ptr, int a_stride, in masked_sad16xh_avx2() argument
88 const __m256i a = xx_loadu2_m128i(a_ptr + a_stride, a_ptr); in masked_sad16xh_avx2()
110 a_ptr += a_stride << 1; in masked_sad16xh_avx2()
203 const uint8_t *src8, int src_stride, const uint8_t *a8, int a_stride, in highbd_masked_sad8xh_avx2() argument
218 const __m256i a = xx_loadu2_m128i(a_ptr + a_stride, a_ptr); in highbd_masked_sad8xh_avx2()
248 a_ptr += a_stride << 1; in highbd_masked_sad8xh_avx2()
260 const uint8_t *src8, int src_stride, const uint8_t *a8, int a_stride, in highbd_masked_sad16xh_avx2() argument
306 a_ptr += a_stride; in highbd_masked_sad16xh_avx2()
/external/libvpx/libvpx/test/
Dhadamard_test.cc25 typedef void (*HadamardFunc)(const int16_t *a, ptrdiff_t a_stride,
51 void reference_hadamard8x8(const int16_t *a, int a_stride, tran_low_t *b) { in reference_hadamard8x8() argument
56 input[i * 8 + j] = static_cast<tran_low_t>(a[i * a_stride + j]); in reference_hadamard8x8()
63 void reference_hadamard16x16(const int16_t *a, int a_stride, tran_low_t *b) { in reference_hadamard16x16() argument
66 reference_hadamard8x8(a + 0 + 0 * a_stride, a_stride, b + 0); in reference_hadamard16x16()
67 reference_hadamard8x8(a + 8 + 0 * a_stride, a_stride, b + 64); in reference_hadamard16x16()
68 reference_hadamard8x8(a + 0 + 8 * a_stride, a_stride, b + 128); in reference_hadamard16x16()
69 reference_hadamard8x8(a + 8 + 8 * a_stride, a_stride, b + 192); in reference_hadamard16x16()
95 void reference_hadamard32x32(const int16_t *a, int a_stride, tran_low_t *b) { in reference_hadamard32x32() argument
96 reference_hadamard16x16(a + 0 + 0 * a_stride, a_stride, b + 0); in reference_hadamard32x32()
[all …]
Dminmax_test.cc26 typedef void (*MinMaxFunc)(const uint8_t *a, int a_stride, const uint8_t *b,
41 void reference_minmax(const uint8_t *a, int a_stride, const uint8_t *b, in reference_minmax() argument
47 const int diff = abs(a[i * a_stride + j] - b[i * b_stride + j]); in reference_minmax()
105 for (int a_stride = 8; a_stride <= 64; a_stride += 8) { in TEST_P() local
108 reference_minmax(a, a_stride, b, b_stride, &min_ref, &max_ref); in TEST_P()
109 ASM_REGISTER_STATE_CHECK(mm_func_(a, a_stride, b, b_stride, &min, &max)); in TEST_P()
111 << "when a_stride = " << a_stride << " and b_stride = " << b_stride; in TEST_P()
113 << "when a_stride = " << a_stride << " and b_stride = " << b_stride; in TEST_P()
/external/libaom/libaom/aom_dsp/
Dvariance.h26 typedef unsigned int (*aom_sad_fn_t)(const uint8_t *a, int a_stride,
29 typedef unsigned int (*aom_sad_avg_fn_t)(const uint8_t *a, int a_stride,
33 typedef void (*aom_copy32xn_fn_t)(const uint8_t *a, int a_stride, uint8_t *b,
36 typedef void (*aom_sad_multi_d_fn_t)(const uint8_t *a, int a_stride,
40 typedef unsigned int (*aom_variance_fn_t)(const uint8_t *a, int a_stride,
44 typedef unsigned int (*aom_subpixvariance_fn_t)(const uint8_t *a, int a_stride,
50 const uint8_t *a, int a_stride, int xoffset, int yoffset, const uint8_t *b,
54 const uint8_t *a, int a_stride, const uint8_t *b, int b_stride,
58 const uint8_t *a, int a_stride, int xoffset, int yoffset, const uint8_t *b,
119 uint32_t aom_sse_odd_size(const uint8_t *a, int a_stride, const uint8_t *b,
[all …]
Dpsnr.c32 static void encoder_variance(const uint8_t *a, int a_stride, const uint8_t *b, in encoder_variance() argument
47 a += a_stride; in encoder_variance()
52 static void encoder_highbd_variance64(const uint8_t *a8, int a_stride, in encoder_highbd_variance64() argument
67 a += a_stride; in encoder_highbd_variance64()
74 static void encoder_highbd_8_variance(const uint8_t *a8, int a_stride, in encoder_highbd_8_variance() argument
79 encoder_highbd_variance64(a8, a_stride, b8, b_stride, w, h, &sse_long, in encoder_highbd_8_variance()
85 static int64_t get_sse(const uint8_t *a, int a_stride, const uint8_t *b, in get_sse() argument
95 encoder_variance(&a[width - dw], a_stride, &b[width - dw], b_stride, dw, in get_sse()
101 encoder_variance(&a[(height - dh) * a_stride], a_stride, in get_sse()
111 aom_mse16x16(pa, a_stride, pb, b_stride, &sse); in get_sse()
[all …]
Dsad.c22 static INLINE unsigned int sad(const uint8_t *a, int a_stride, const uint8_t *b, in sad() argument
32 a += a_stride; in sad()
39 unsigned int aom_sad##m##xh_c(const uint8_t *a, int a_stride, \
42 return sad(a, a_stride, b, b_stride, width, height); \
162 static INLINE unsigned int highbd_sad(const uint8_t *a8, int a_stride, in highbd_sad() argument
174 a += a_stride; in highbd_sad()
180 static INLINE unsigned int highbd_sadb(const uint8_t *a8, int a_stride, in highbd_sadb() argument
191 a += a_stride; in highbd_sadb()
Dsse.c19 int64_t aom_sse_c(const uint8_t *a, int a_stride, const uint8_t *b, in aom_sse_c() argument
30 a += a_stride; in aom_sse_c()
36 int64_t aom_highbd_sse_c(const uint8_t *a8, int a_stride, const uint8_t *b8, in aom_highbd_sse_c() argument
48 a += a_stride; in aom_highbd_sse_c()
Dvariance.c30 uint32_t aom_get4x4sse_cs_c(const uint8_t *a, int a_stride, const uint8_t *b, in aom_get4x4sse_cs_c() argument
41 a += a_stride; in aom_get4x4sse_cs_c()
58 static void variance(const uint8_t *a, int a_stride, const uint8_t *b, in variance() argument
72 a += a_stride; in variance()
77 uint32_t aom_sse_odd_size(const uint8_t *a, int a_stride, const uint8_t *b, in aom_sse_odd_size() argument
81 variance(a, a_stride, b, b_stride, w, h, &sse, &sum); in aom_sse_odd_size()
144 uint32_t aom_variance##W##x##H##_c(const uint8_t *a, int a_stride, \
148 variance(a, a_stride, b, b_stride, W, H, sse, &sum); \
154 const uint8_t *a, int a_stride, int xoffset, int yoffset, \
159 aom_var_filter_block2d_bil_first_pass_c(a, fdata3, a_stride, 1, H + 1, W, \
[all …]
Dsad_av1.c22 const uint8_t *a, int a_stride, in masked_sad() argument
34 a += a_stride; in masked_sad()
83 const uint8_t *a8, int a_stride, in highbd_masked_sad() argument
100 a += a_stride; in highbd_masked_sad()
/external/libvpx/libvpx/vpx_dsp/
Dpsnr.c29 static void encoder_variance(const uint8_t *a, int a_stride, const uint8_t *b, in encoder_variance() argument
44 a += a_stride; in encoder_variance()
50 static void encoder_highbd_variance64(const uint8_t *a8, int a_stride, in encoder_highbd_variance64() argument
66 a += a_stride; in encoder_highbd_variance64()
71 static void encoder_highbd_8_variance(const uint8_t *a8, int a_stride, in encoder_highbd_8_variance() argument
76 encoder_highbd_variance64(a8, a_stride, b8, b_stride, w, h, &sse_long, in encoder_highbd_8_variance()
83 static int64_t get_sse(const uint8_t *a, int a_stride, const uint8_t *b, in get_sse() argument
93 encoder_variance(&a[width - dw], a_stride, &b[width - dw], b_stride, dw, in get_sse()
99 encoder_variance(&a[(height - dh) * a_stride], a_stride, in get_sse()
109 vpx_mse16x16(pa, a_stride, pb, b_stride, &sse); in get_sse()
[all …]
/external/libaom/libaom/aom_dsp/arm/
Dvariance_neon.c36 static void variance_neon_w8(const uint8_t *a, int a_stride, const uint8_t *b, in variance_neon_w8() argument
56 a += a_stride; in variance_neon_w8()
64 void aom_get8x8var_neon(const uint8_t *a, int a_stride, const uint8_t *b, in aom_get8x8var_neon() argument
66 variance_neon_w8(a, a_stride, b, b_stride, 8, 8, sse, sum); in aom_get8x8var_neon()
69 void aom_get16x16var_neon(const uint8_t *a, int a_stride, const uint8_t *b, in aom_get16x16var_neon() argument
71 variance_neon_w8(a, a_stride, b, b_stride, 16, 16, sse, sum); in aom_get16x16var_neon()
74 unsigned int aom_variance8x8_neon(const uint8_t *a, int a_stride, in aom_variance8x8_neon() argument
78 variance_neon_w8(a, a_stride, b, b_stride, 8, 8, sse, &sum); in aom_variance8x8_neon()
82 unsigned int aom_variance16x16_neon(const uint8_t *a, int a_stride, in aom_variance16x16_neon() argument
86 variance_neon_w8(a, a_stride, b, b_stride, 16, 16, sse, &sum); in aom_variance16x16_neon()
[all …]
/external/libvpx/libvpx/vpx_dsp/arm/
Davg_neon.c22 uint32_t vpx_avg_4x4_neon(const uint8_t *a, int a_stride) { in vpx_avg_4x4_neon() argument
23 const uint8x16_t b = load_unaligned_u8q(a, a_stride); in vpx_avg_4x4_neon()
29 uint32_t vpx_avg_8x8_neon(const uint8_t *a, int a_stride) { in vpx_avg_8x8_neon() argument
35 a += a_stride; in vpx_avg_8x8_neon()
37 a += a_stride; in vpx_avg_8x8_neon()
42 a += a_stride; in vpx_avg_8x8_neon()
188 void vpx_minmax_8x8_neon(const uint8_t *a, int a_stride, const uint8_t *b, in vpx_minmax_8x8_neon() argument
191 const uint8x16_t a01 = vcombine_u8(vld1_u8(a), vld1_u8(a + a_stride)); in vpx_minmax_8x8_neon()
193 vcombine_u8(vld1_u8(a + 2 * a_stride), vld1_u8(a + 3 * a_stride)); in vpx_minmax_8x8_neon()
195 vcombine_u8(vld1_u8(a + 4 * a_stride), vld1_u8(a + 5 * a_stride)); in vpx_minmax_8x8_neon()
[all …]
Dtranspose_neon.h1188 const int a_stride, uint8x8_t *a0, in load_and_transpose_u8_4x8() argument
1193 a += a_stride; in load_and_transpose_u8_4x8()
1195 a += a_stride; in load_and_transpose_u8_4x8()
1197 a += a_stride; in load_and_transpose_u8_4x8()
1199 a += a_stride; in load_and_transpose_u8_4x8()
1201 a += a_stride; in load_and_transpose_u8_4x8()
1203 a += a_stride; in load_and_transpose_u8_4x8()
1205 a += a_stride; in load_and_transpose_u8_4x8()
1212 const int a_stride, uint8x8_t *a0, in load_and_transpose_u8_8x8() argument
1218 a += a_stride; in load_and_transpose_u8_8x8()
[all …]
/external/webp/src/dec/
Dbuffer_dec.c55 const int a_stride = abs(buf->a_stride); in CheckDecBuffer() local
59 const uint64_t a_size = MIN_BUFFER_SIZE(width, height, a_stride); in CheckDecBuffer()
70 ok &= (a_stride >= width); in CheckDecBuffer()
98 int uv_stride = 0, a_stride = 0; in AllocateBuffer() local
114 a_stride = w; in AllocateBuffer()
115 a_size = (uint64_t)a_stride * h; in AllocateBuffer()
142 buf->a_stride = a_stride; in AllocateBuffer()
171 buf->a += (H - 1) * buf->a_stride; in WebPFlipBuffer()
172 buf->a_stride = -buf->a_stride; in WebPFlipBuffer()
297 WebPCopyPlane(src->a, src->a_stride, dst->a, dst->a_stride, in WebPCopyDecBufferPixels()
/external/webp/src/enc/
Dpicture_tools_enc.c55 static int SmoothenBlock(const uint8_t* a_ptr, int a_stride, uint8_t* y_ptr, in SmoothenBlock() argument
68 alpha_ptr += a_stride; in SmoothenBlock()
79 alpha_ptr += a_stride; in SmoothenBlock()
115 const int a_stride = pic->a_stride; in WebPCleanupTransparentArea() local
127 if (SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
143 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
146 a_ptr += SIZE * a_stride; in WebPCleanupTransparentArea()
154 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
158 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
227 (y + 1 == pic->height) ? a_ptr : a_ptr + pic->a_stride; in WebPBlendAlpha()
[all …]
Dpicture_rescale_enc.c74 WebPCopyPlane(src->a, src->a_stride, in WebPPictureCopy()
75 dst->a, dst->a_stride, dst->width, dst->height); in WebPPictureCopy()
113 dst->a = src->a + top * src->a_stride + left; in WebPPictureView()
114 dst->a_stride = src->a_stride; in WebPPictureView()
149 const int a_offset = top * pic->a_stride + left; in WebPPictureCrop()
150 WebPCopyPlane(pic->a + a_offset, pic->a_stride, in WebPPictureCrop()
151 tmp.a, tmp.a_stride, width, height); in WebPPictureCrop()
193 WebPMultRows(pic->y, pic->y_stride, pic->a, pic->a_stride, in AlphaMultiplyY()
225 RescalePlane(pic->a, prev_width, prev_height, pic->a_stride, in WebPPictureRescale()
226 tmp.a, width, height, tmp.a_stride, work, 1); in WebPPictureRescale()
Dpicture_enc.c58 picture->a_stride = 0; in WebPPictureResetBufferYUVA()
97 int a_width, a_stride; in WebPPictureAllocYUVA() local
112 a_stride = a_width; in WebPPictureAllocYUVA()
115 a_size = (uint64_t)a_stride * height; in WebPPictureAllocYUVA()
134 picture->a_stride = a_stride; in WebPPictureAllocYUVA()
/external/libvpx/libvpx/vpx_dsp/ppc/
Dsad_vsx.c27 unsigned int vpx_sad8x##height##_vsx(const uint8_t *a, int a_stride, \
36 a += a_stride; \
45 unsigned int vpx_sad16x##height##_vsx(const uint8_t *a, int a_stride, \
54 a += a_stride; \
63 unsigned int vpx_sad32x##height##_vsx(const uint8_t *a, int a_stride, \
73 a += a_stride; \
82 unsigned int vpx_sad64x##height##_vsx(const uint8_t *a, int a_stride, \
94 a += a_stride; \
/external/libvpx/libvpx/vp9/encoder/
Dvp9_aq_variance.c89 static void aq_variance(const uint8_t *a, int a_stride, const uint8_t *b, in aq_variance() argument
104 a += a_stride; in aq_variance()
110 static void aq_highbd_variance64(const uint8_t *a8, int a_stride, in aq_highbd_variance64() argument
126 a += a_stride; in aq_highbd_variance64()
131 static void aq_highbd_8_variance(const uint8_t *a8, int a_stride, in aq_highbd_8_variance() argument
136 aq_highbd_variance64(a8, a_stride, b8, b_stride, w, h, &sse_long, &sum_long); in aq_highbd_8_variance()

12