Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vpx_dsp/arm/
Dvariance_neon.c44 static void variance_neon_w4x4(const uint8_t *a, int a_stride, const uint8_t *b, in variance_neon_w4x4() argument
55 const uint8x16_t a_u8 = load_unaligned_u8q(a, a_stride); in variance_neon_w4x4()
78 a += 4 * a_stride; in variance_neon_w4x4()
87 static void variance_neon_w16(const uint8_t *a, int a_stride, const uint8_t *b, in variance_neon_w16() argument
125 a += a_stride; in variance_neon_w16()
134 static void variance_neon_w8x2(const uint8_t *a, int a_stride, const uint8_t *b, in variance_neon_w8x2() argument
146 const uint8x8_t a_1_u8 = vld1_u8(a + a_stride); in variance_neon_w8x2()
163 a += a_stride + a_stride; in variance_neon_w8x2()
172 void vpx_get8x8var_neon(const uint8_t *a, int a_stride, const uint8_t *b, in vpx_get8x8var_neon() argument
174 variance_neon_w8x2(a, a_stride, b, b_stride, 8, sse, sum); in vpx_get8x8var_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 …]
Davg_neon.c203 void vpx_minmax_8x8_neon(const uint8_t *a, int a_stride, const uint8_t *b, in vpx_minmax_8x8_neon() argument
206 const uint8x16_t a01 = vcombine_u8(vld1_u8(a), vld1_u8(a + a_stride)); in vpx_minmax_8x8_neon()
208 vcombine_u8(vld1_u8(a + 2 * a_stride), vld1_u8(a + 3 * a_stride)); in vpx_minmax_8x8_neon()
210 vcombine_u8(vld1_u8(a + 4 * a_stride), vld1_u8(a + 5 * a_stride)); in vpx_minmax_8x8_neon()
212 vcombine_u8(vld1_u8(a + 6 * a_stride), vld1_u8(a + 7 * a_stride)); in vpx_minmax_8x8_neon()
/external/libvpx/libvpx/vpx_dsp/
Dvariance.h25 typedef unsigned int (*vpx_sad_fn_t)(const uint8_t *a, int a_stride,
28 typedef unsigned int (*vpx_sad_avg_fn_t)(const uint8_t *a_ptr, int a_stride,
32 typedef void (*vp8_copy32xn_fn_t)(const uint8_t *a, int a_stride, uint8_t *b,
35 typedef void (*vpx_sad_multi_fn_t)(const uint8_t *a, int a_stride,
39 typedef void (*vpx_sad_multi_d_fn_t)(const uint8_t *a, int a_stride,
43 typedef unsigned int (*vpx_variance_fn_t)(const uint8_t *a, int a_stride,
47 typedef unsigned int (*vpx_subpixvariance_fn_t)(const uint8_t *a, int a_stride,
53 const uint8_t *a_ptr, int a_stride, int xoffset, int yoffset,
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 …]
Dvariance.c26 uint32_t vpx_get4x4sse_cs_c(const uint8_t *a, int a_stride, const uint8_t *b, in vpx_get4x4sse_cs_c() argument
37 a += a_stride; in vpx_get4x4sse_cs_c()
54 static void variance(const uint8_t *a, int a_stride, const uint8_t *b, in variance() argument
68 a += a_stride; in variance()
132 uint32_t vpx_variance##W##x##H##_c(const uint8_t *a, int a_stride, \
136 variance(a, a_stride, b, b_stride, W, H, sse, &sum); \
142 const uint8_t *a, int a_stride, int xoffset, int yoffset, \
147 var_filter_block2d_bil_first_pass(a, fdata3, a_stride, 1, H + 1, W, \
157 const uint8_t *a, int a_stride, int xoffset, int yoffset, \
164 var_filter_block2d_bil_first_pass(a, fdata3, a_stride, 1, H + 1, W, \
[all …]
Dsad.c20 static INLINE unsigned int sad(const uint8_t *a, int a_stride, const uint8_t *b, in sad() argument
28 a += a_stride; in sad()
142 unsigned int highbd_sad(const uint8_t *a8, int a_stride, const uint8_t *b8, in highbd_sad() argument
151 a += a_stride; in highbd_sad()
157 static INLINE unsigned int highbd_sadb(const uint8_t *a8, int a_stride, in highbd_sadb() argument
166 a += a_stride; in highbd_sadb()
/external/libvpx/libvpx/test/
Dhadamard_test.cc25 typedef void (*HadamardFunc)(const int16_t *a, int a_stride, tran_low_t *b);
27 void hadamard_loop(const int16_t *a, int a_stride, int16_t *out) { in hadamard_loop() argument
30 b[i + 0] = a[i * a_stride] + a[(i + 1) * a_stride]; in hadamard_loop()
31 b[i + 1] = a[i * a_stride] - a[(i + 1) * a_stride]; in hadamard_loop()
50 void reference_hadamard8x8(const int16_t *a, int a_stride, tran_low_t *b) { in reference_hadamard8x8() argument
53 for (int i = 0; i < 8; ++i) hadamard_loop(a + i, a_stride, buf + i * 8); in reference_hadamard8x8()
59 void reference_hadamard16x16(const int16_t *a, int a_stride, tran_low_t *b) { in reference_hadamard16x16() argument
62 reference_hadamard8x8(a + 0 + 0 * a_stride, a_stride, b + 0); in reference_hadamard16x16()
63 reference_hadamard8x8(a + 8 + 0 * a_stride, a_stride, b + 64); in reference_hadamard16x16()
64 reference_hadamard8x8(a + 0 + 8 * a_stride, a_stride, b + 128); in reference_hadamard16x16()
[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()
110 EXPECT_EQ(max_ref, max) << "when a_stride = " << a_stride in TEST_P()
112 EXPECT_EQ(min_ref, min) << "when a_stride = " << a_stride in TEST_P()
/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()
97 int uv_stride = 0, a_stride = 0; in AllocateBuffer() local
108 a_stride = w; in AllocateBuffer()
109 a_size = (uint64_t)a_stride * h; in AllocateBuffer()
136 buf->a_stride = a_stride; in AllocateBuffer()
165 buf->a += (H - 1) * buf->a_stride; in WebPFlipBuffer()
166 buf->a_stride = -buf->a_stride; in WebPFlipBuffer()
285 WebPCopyPlane(src->a, src->a_stride, dst->a, dst->a_stride, in WebPCopyDecBufferPixels()
Didec_dec.c703 uint8_t* a, size_t a_size, int a_stride) { in WebPINewYUVA() argument
710 luma_stride = u_stride = v_stride = a_stride = 0; in WebPINewYUVA()
718 if (a_size == 0 || a_stride == 0) return NULL; in WebPINewYUVA()
738 idec->output_.u.YUVA.a_stride = a_stride; in WebPINewYUVA()
857 int* stride, int* uv_stride, int* a_stride) { in WebPIDecGetYUVA() argument
872 if (a_stride != NULL) *a_stride = src->u.YUVA.a_stride; in WebPIDecGetYUVA()
Dio_dec.c136 uint8_t* dst = buf->a + io->mb_y * buf->a_stride; in EmitAlphaYUV()
144 dst += buf->a_stride; in EmitAlphaYUV()
148 FillAlphaPlane(dst, mb_w, mb_h, buf->a_stride); in EmitAlphaYUV()
278 uint8_t* const dst_a = buf->a + p->last_y * buf->a_stride; in EmitRescaledAlphaYUV()
284 WebPMultRows(dst_y, buf->y_stride, dst_a, buf->a_stride, in EmitRescaledAlphaYUV()
291 buf->a_stride); in EmitRescaledAlphaYUV()
343 buf->a, out_width, out_height, buf->a_stride, 1, in InitYUVRescaler()
/external/libvpx/libvpx/vpx_dsp/ppc/
Dsad_vsx.c32 unsigned int vpx_sad16x##height##_vsx(const uint8_t *a, int a_stride, \
43 a += a_stride; \
52 unsigned int vpx_sad32x##height##_vsx(const uint8_t *a, int a_stride, \
64 a += a_stride; \
73 unsigned int vpx_sad64x##height##_vsx(const uint8_t *a, int a_stride, \
87 a += a_stride; \
Dvariance_vsx.c23 uint32_t vpx_get4x4sse_cs_vsx(const uint8_t *a, int a_stride, const uint8_t *b, in vpx_get4x4sse_cs_vsx() argument
27 const int16x8_t a0 = unpack_to_s16_h(read4x2(a, a_stride)); in vpx_get4x4sse_cs_vsx()
28 const int16x8_t a1 = unpack_to_s16_h(read4x2(a + a_stride * 2, a_stride)); in vpx_get4x4sse_cs_vsx()
/external/webp/src/enc/
Dpicture_rescale_enc.c70 WebPCopyPlane(src->a, src->a_stride, in WebPPictureCopy()
71 dst->a, dst->a_stride, dst->width, dst->height); in WebPPictureCopy()
109 dst->a = src->a + top * src->a_stride + left; in WebPPictureView()
110 dst->a_stride = src->a_stride; in WebPPictureView()
145 const int a_offset = top * pic->a_stride + left; in WebPPictureCrop()
146 WebPCopyPlane(pic->a + a_offset, pic->a_stride, in WebPPictureCrop()
147 tmp.a, tmp.a_stride, width, height); in WebPPictureCrop()
189 WebPMultRows(pic->y, pic->y_stride, pic->a, pic->a_stride, in AlphaMultiplyY()
221 RescalePlane(pic->a, prev_width, prev_height, pic->a_stride, in WebPPictureRescale()
222 tmp.a, width, height, tmp.a_stride, work, 1); in WebPPictureRescale()
Dpicture_enc.c58 picture->a_stride = 0; in WebPPictureResetBufferYUVA()
98 int a_width, a_stride; in WebPPictureAllocYUVA() local
113 a_stride = a_width; in WebPPictureAllocYUVA()
116 a_size = (uint64_t)a_stride * height; in WebPPictureAllocYUVA()
135 picture->a_stride = a_stride; in WebPPictureAllocYUVA()
Dpicture_tools_enc.c101 const int off_a = (y * pic->a_stride + x) * SIZE; in WebPCleanupTransparentArea()
104 if (is_transparent_area(a_ptr + off_a, pic->a_stride, SIZE)) { in WebPCleanupTransparentArea()
168 uint8_t* const a_ptr = pic->a + y * pic->a_stride; in WebPBlendAlpha()
180 (y + 1 == pic->height) ? a_ptr : a_ptr + pic->a_stride; in WebPBlendAlpha()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_aq_variance.c88 static void aq_variance(const uint8_t *a, int a_stride, const uint8_t *b, in aq_variance() argument
103 a += a_stride; in aq_variance()
109 static void aq_highbd_variance64(const uint8_t *a8, int a_stride, in aq_highbd_variance64() argument
125 a += a_stride; in aq_highbd_variance64()
130 static void aq_highbd_8_variance(const uint8_t *a8, int a_stride, in aq_highbd_8_variance() argument
135 aq_highbd_variance64(a8, a_stride, b8, b_stride, w, h, &sse_long, &sum_long); in aq_highbd_8_variance()
/external/webrtc/webrtc/modules/video_processing/util/
Ddenoiser_filter_c.cc40 int a_stride, in Variance16x8() argument
46 a_stride <<= 1; in Variance16x8()
56 a += a_stride; in Variance16x8()
Ddenoiser_filter_neon.cc33 int a_stride, in VarianceNeonW8() argument
56 a += a_stride; in VarianceNeonW8()
93 int a_stride, in Variance16x8() argument
98 VarianceNeonW8(a, a_stride << 1, b, b_stride << 1, 16, 8, sse, &sum); in Variance16x8()
Ddenoiser_filter_c.h30 int a_stride,
Ddenoiser_filter_sse2.h30 int a_stride,
Ddenoiser_filter_neon.h30 int a_stride,
/external/webp/include/webp/
Ddecode.h190 int a_stride; // alpha stride member
311 uint8_t* a, size_t a_size, int a_stride);
354 int* width, int* height, int* stride, int* uv_stride, int* a_stride);
/external/webp/src/webp/
Ddecode.h190 int a_stride; // alpha stride member
311 uint8_t* a, size_t a_size, int a_stride);
354 int* width, int* height, int* stride, int* uv_stride, int* a_stride);

12