Home
last modified time | relevance | path

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

/external/libgav1/libgav1/src/dsp/arm/
Dcdef_neon.cc87 LIBGAV1_ALWAYS_INLINE void AddPartial_D0_D4(uint8x8_t* v_src, in AddPartial_D0_D4() argument
93 *partial_lo = vaddl_u8(v_src[0], vext_u8(v_zero, v_src[1], 7)); in AddPartial_D0_D4()
96 *partial_lo = vaddw_u8(*partial_lo, vext_u8(v_zero, v_src[2], 6)); in AddPartial_D0_D4()
100 vaddl_u8(vext_u8(v_src[1], v_zero, 7), vext_u8(v_src[2], v_zero, 6)); in AddPartial_D0_D4()
103 *partial_lo = vaddw_u8(*partial_lo, vext_u8(v_zero, v_src[3], 5)); in AddPartial_D0_D4()
105 *partial_hi = vaddw_u8(*partial_hi, vext_u8(v_src[3], v_zero, 5)); in AddPartial_D0_D4()
108 *partial_lo = vaddw_u8(*partial_lo, vext_u8(v_zero, v_src[4], 4)); in AddPartial_D0_D4()
110 *partial_hi = vaddw_u8(*partial_hi, vext_u8(v_src[4], v_zero, 4)); in AddPartial_D0_D4()
113 *partial_lo = vaddw_u8(*partial_lo, vext_u8(v_zero, v_src[5], 3)); in AddPartial_D0_D4()
115 *partial_hi = vaddw_u8(*partial_hi, vext_u8(v_src[5], v_zero, 3)); in AddPartial_D0_D4()
[all …]
Dinverse_transform_neon.cc451 const int16x8_t v_src = vdupq_n_s16(dst[0]); in DctDcOnly() local
454 vqrdmulhq_n_s16(v_src, kTransformRowMultiplier << 3); in DctDcOnly()
455 const int16x8_t s0 = vbslq_s16(v_mask, v_src_round, v_src); in DctDcOnly()
482 const int16x4_t v_src = vld1_s16(dst); in DctDcOnlyColumn() local
483 const int16x4_t xy = vqrdmulh_n_s16(v_src, cos128 << 3); in DctDcOnlyColumn()
488 const int16x8_t v_src = vld1q_s16(&dst[i]); in DctDcOnlyColumn() local
489 const int16x8_t xy = vqrdmulhq_n_s16(v_src, cos128 << 3); in DctDcOnlyColumn()
1240 const int16x4_t v_src = vbsl_s16(v_mask, v_src_round, v_src0); in Adst4DcOnly() local
1245 s[0] = vmull_s16(kAdst4DcOnlyMultipliers, v_src); in Adst4DcOnly()
1267 const int16x4_t v_src = vld1_s16(&dst[i]); in Adst4DcOnlyColumn() local
[all …]
Dconvolve_neon.cc118 uint8x8_t v_src[8]; in FilterHorizontalWidth8AndUp() local
121 v_src[0] = vget_low_u8(src_long); in FilterHorizontalWidth8AndUp()
122 v_src[1] = vget_low_u8(vextq_u8(src_long, src_long, 1)); in FilterHorizontalWidth8AndUp()
123 v_src[2] = vget_low_u8(vextq_u8(src_long, src_long, 2)); in FilterHorizontalWidth8AndUp()
124 v_src[3] = vget_low_u8(vextq_u8(src_long, src_long, 3)); in FilterHorizontalWidth8AndUp()
125 v_src[4] = vget_low_u8(vextq_u8(src_long, src_long, 4)); in FilterHorizontalWidth8AndUp()
126 v_src[5] = vget_low_u8(vextq_u8(src_long, src_long, 5)); in FilterHorizontalWidth8AndUp()
127 sum = SumOnePassTaps<filter_index, negative_outside_taps>(v_src, in FilterHorizontalWidth8AndUp()
130 v_src[0] = vget_low_u8(src_long); in FilterHorizontalWidth8AndUp()
131 v_src[1] = vget_low_u8(vextq_u8(src_long, src_long, 1)); in FilterHorizontalWidth8AndUp()
[all …]
Dinverse_transform_10bit_neon.cc197 const int32x4_t v_src = vdupq_n_s32(dst[0]); in DctDcOnly() local
200 vqrdmulhq_n_s32(v_src, kTransformRowMultiplier << (31 - 12)); in DctDcOnly()
201 const int32x4_t s0 = vbslq_s32(v_mask, v_src_round, v_src); in DctDcOnly()
229 const int32x4_t v_src = vld1q_s32(dst); in DctDcOnlyColumn() local
230 const int32x4_t xy = vqrdmulhq_n_s32(v_src, cos128 << (31 - 12)); in DctDcOnlyColumn()
235 const int32x4_t v_src = vld1q_s32(&dst[i]); in DctDcOnlyColumn() local
236 const int32x4_t xy = vqrdmulhq_n_s32(v_src, cos128 << (31 - 12)); in DctDcOnlyColumn()
1003 const int32x4_t v_src = vbslq_s32(v_mask, v_src0_round, v_src0); in Adst4DcOnly() local
1008 s[0] = vmulq_s32(kAdst4DcOnlyMultipliers, v_src); in Adst4DcOnly()
1031 const int32x4_t v_src = vld1q_s32(&dst[i]); in Adst4DcOnlyColumn() local
[all …]
/external/libgav1/libgav1/src/dsp/x86/
Dcdef_avx2.cc228 LIBGAV1_ALWAYS_INLINE void AddPartial_D7_D5(__m256i* v_src, __m256i* partial_lo, in AddPartial_D7_D5() argument
232 v_pair_add[0] = _mm256_add_epi16(v_src[0], v_src[1]); in AddPartial_D7_D5()
233 v_pair_add[1] = _mm256_add_epi16(v_src[2], v_src[3]); in AddPartial_D7_D5()
234 v_pair_add[2] = _mm256_add_epi16(v_src[4], v_src[5]); in AddPartial_D7_D5()
235 v_pair_add[3] = _mm256_add_epi16(v_src[6], v_src[7]); in AddPartial_D7_D5()
283 __m256i v_src[8]; in AddPartial() local
284 for (auto& i : v_src) { in AddPartial()
303 const __m256i v_src_4_0 = _mm256_unpacklo_epi64(v_src[0], v_src[4]); in AddPartial()
304 const __m256i v_src_5_1 = _mm256_unpacklo_epi64(v_src[1], v_src[5]); in AddPartial()
305 const __m256i v_src_6_2 = _mm256_unpacklo_epi64(v_src[2], v_src[6]); in AddPartial()
[all …]
Dcdef_sse4.cc206 LIBGAV1_ALWAYS_INLINE void AddPartial_D5_D7(__m128i* v_src, __m128i* partial_lo, in AddPartial_D5_D7() argument
210 v_pair_add[0] = _mm_add_epi16(v_src[0], v_src[1]); in AddPartial_D5_D7()
211 v_pair_add[1] = _mm_add_epi16(v_src[2], v_src[3]); in AddPartial_D5_D7()
212 v_pair_add[2] = _mm_add_epi16(v_src[4], v_src[5]); in AddPartial_D5_D7()
213 v_pair_add[3] = _mm_add_epi16(v_src[6], v_src[7]); in AddPartial_D5_D7()
256 __m128i v_src[8]; in AddPartial() local
257 for (auto& i : v_src) { in AddPartial()
274 const __m128i v_src_4_0 = _mm_unpacklo_epi64(v_src[0], v_src[4]); in AddPartial()
275 const __m128i v_src_5_1 = _mm_unpacklo_epi64(v_src[1], v_src[5]); in AddPartial()
276 const __m128i v_src_6_2 = _mm_unpacklo_epi64(v_src[2], v_src[6]); in AddPartial()
[all …]
Dinverse_transform_sse4.cc228 const __m128i v_src = in DctDcOnly() local
235 _mm_mulhrs_epi16(v_src, v_kTransformRowMultiplier); in DctDcOnly()
236 const __m128i s0 = _mm_blendv_epi8(v_src, v_src_round, v_mask); in DctDcOnly()
272 const __m128i v_src = LoadLo8(dst); in DctDcOnlyColumn() local
273 const __m128i xy = _mm_mulhrs_epi16(v_src, _mm_set1_epi16(cos128 << 3)); in DctDcOnlyColumn()
278 const __m128i v_src = LoadUnaligned16(&dst[i]); in DctDcOnlyColumn() local
279 const __m128i xy = _mm_mulhrs_epi16(v_src, _mm_set1_epi16(cos128 << 3)); in DctDcOnlyColumn()
1039 const __m128i v_src = in Adst4DcOnly() local
1046 _mm_mulhrs_epi16(v_src, v_kTransformRowMultiplier); in Adst4DcOnly()
1047 const __m128i s0 = _mm_blendv_epi8(v_src, v_src_round, v_mask); in Adst4DcOnly()
[all …]
Dconvolve_avx2.cc76 __m256i v_src[4]; in SumHorizontalTaps() local
83 v_src[0] = _mm256_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 3); // _21 in SumHorizontalTaps()
84 v_src[1] = _mm256_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 7); // _43 in SumHorizontalTaps()
85 v_src[2] = _mm256_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 11); // _65 in SumHorizontalTaps()
88 v_src[0] = _mm256_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 1); // _10 in SumHorizontalTaps()
89 v_src[1] = _mm256_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 5); // _32 in SumHorizontalTaps()
90 v_src[2] = _mm256_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 9); // _54 in SumHorizontalTaps()
91 v_src[3] = _mm256_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 13); // _76 in SumHorizontalTaps()
94 v_src[0] = _mm256_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 7); // _43 in SumHorizontalTaps()
97 v_src[0] = _mm256_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 5); // _32 in SumHorizontalTaps()
[all …]
Dconvolve_sse4.inc59 const __m128i v_src = LoadHi8(LoadLo8(&src[0]), &src[src_stride]);
64 v_src, _mm_set_epi32(0x0f0e0e0d, 0x0d0c0c0b, 0x07060605, 0x05040403));
71 v_src, _mm_set_epi32(0x0e0d0d0c, 0x0c0b0b0a, 0x06050504, 0x04030302));
74 v_src, _mm_set_epi32(static_cast<int>(0x800f0f0e), 0x0e0d0d0c,
416 __m128i v_src[4];
420 v_src[0] = _mm_unpacklo_epi8(srcs[0], srcs[1]);
421 v_src[1] = _mm_unpacklo_epi8(srcs[2], srcs[3]);
422 v_src[2] = _mm_unpacklo_epi8(srcs[4], srcs[5]);
425 v_src[0] = _mm_unpacklo_epi8(srcs[0], srcs[1]);
426 v_src[1] = _mm_unpacklo_epi8(srcs[2], srcs[3]);
[all …]
Dconvolve_sse4.cc42 __m128i v_src[4]; in SumHorizontalTaps() local
49 v_src[0] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 3); // _21 in SumHorizontalTaps()
50 v_src[1] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 7); // _43 in SumHorizontalTaps()
51 v_src[2] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 11); // _65 in SumHorizontalTaps()
54 v_src[0] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 1); // _10 in SumHorizontalTaps()
55 v_src[1] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 5); // _32 in SumHorizontalTaps()
56 v_src[2] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 9); // _54 in SumHorizontalTaps()
57 v_src[3] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 13); // _76 in SumHorizontalTaps()
60 v_src[0] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 7); // _43 in SumHorizontalTaps()
63 v_src[0] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 5); // _32 in SumHorizontalTaps()
[all …]
/external/libaom/libaom/aom_dsp/arm/
Dsubtract_neon.c50 const uint8x16_t v_src = vld1q_u8(&src[0]); in aom_subtract_block_neon() local
53 vsubl_u8(vget_low_u8(v_src), vget_low_u8(v_pred)); in aom_subtract_block_neon()
55 vsubl_u8(vget_high_u8(v_src), vget_high_u8(v_pred)); in aom_subtract_block_neon()
64 const uint8x8_t v_src = vld1_u8(&src[0]); in aom_subtract_block_neon() local
66 const uint16x8_t v_diff = vsubl_u8(v_src, v_pred); in aom_subtract_block_neon()
/external/libvpx/libvpx/vp9/encoder/x86/
Dtemporal_filter_sse4.c274 int y_pre_stride, const uint8_t *u_src, const uint8_t *v_src, in vp9_apply_temporal_filter_luma_16() argument
354 v_src += uv_src_stride; in vp9_apply_temporal_filter_luma_16()
398 v_src += uv_src_stride; in vp9_apply_temporal_filter_luma_16()
462 int y_pre_stride, const uint8_t *u_src, const uint8_t *v_src, in vp9_apply_temporal_filter_luma() argument
486 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, in vp9_apply_temporal_filter_luma()
495 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, in vp9_apply_temporal_filter_luma()
510 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, u_pre + uv_blk_col, in vp9_apply_temporal_filter_luma()
525 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, in vp9_apply_temporal_filter_luma()
543 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, in vp9_apply_temporal_filter_luma()
555 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, u_pre + uv_blk_col, in vp9_apply_temporal_filter_luma()
[all …]
Dhighbd_temporal_filter_sse4.c195 int y_pre_stride, const uint16_t *u_src, const uint16_t *v_src, in vp9_highbd_apply_temporal_filter_luma_8() argument
268 v_src += uv_src_stride; in vp9_highbd_apply_temporal_filter_luma_8()
306 v_src += uv_src_stride; in vp9_highbd_apply_temporal_filter_luma_8()
368 int y_pre_stride, const uint16_t *u_src, const uint16_t *v_src, in vp9_highbd_apply_temporal_filter_luma() argument
388 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, u_pre + uv_blk_col, in vp9_highbd_apply_temporal_filter_luma()
403 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, in vp9_highbd_apply_temporal_filter_luma()
421 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, in vp9_highbd_apply_temporal_filter_luma()
433 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, u_pre + uv_blk_col, in vp9_highbd_apply_temporal_filter_luma()
495 int y_pre_stride, const uint16_t *u_src, const uint16_t *v_src, in vp9_highbd_apply_temporal_filter_chroma_8() argument
571 v_src += uv_src_stride; in vp9_highbd_apply_temporal_filter_chroma_8()
[all …]
/external/libaom/libaom/av1/encoder/x86/
Dtemporal_filter_sse4.c334 int y_pre_stride, const uint8_t *u_src, const uint8_t *v_src, in apply_temporal_filter_luma_16() argument
410 v_src += uv_src_stride; in apply_temporal_filter_luma_16()
452 v_src += uv_src_stride; in apply_temporal_filter_luma_16()
526 int y_pre_stride, const uint8_t *u_src, const uint8_t *v_src, in apply_temporal_filter_luma() argument
550 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, in apply_temporal_filter_luma()
559 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, in apply_temporal_filter_luma()
574 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, u_pre + uv_blk_col, in apply_temporal_filter_luma()
589 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, in apply_temporal_filter_luma()
607 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, in apply_temporal_filter_luma()
619 u_src + uv_blk_col, v_src + uv_blk_col, uv_src_stride, u_pre + uv_blk_col, in apply_temporal_filter_luma()
[all …]
/external/libvpx/libvpx/test/
Dyuv_temporal_filter_test.cc26 int y_pre_stride, const uint8_t *u_src, const uint8_t *v_src,
118 const Buffer<PixelType> &u_src, const Buffer<PixelType> &v_src, in ApplyReferenceFilter() argument
129 const PixelType *v_src_ptr = v_src.TopLeftPixel(); in ApplyReferenceFilter()
344 Buffer<PixelType> v_src = Buffer<PixelType>(uv_width, uv_height, 0); in CompareTestWithParam() local
364 ASSERT_TRUE(v_src.Init()); in CompareTestWithParam()
391 v_src.Set(max_val); in CompareTestWithParam()
398 v_src.Set(&rnd_, 0, 7 << (bd_ - 8)); in CompareTestWithParam()
403 y_src, y_pre, u_src, v_src, u_pre, v_pre, width, height, ss_x, ss_y, in CompareTestWithParam()
411 reinterpret_cast<const uint8_t *>(v_src.TopLeftPixel()), u_src.stride(), in CompareTestWithParam()
465 Buffer<PixelType> v_src = Buffer<PixelType>(uv_width, uv_height, 0); in RunTestFilterWithParam() local
[all …]
/external/libaom/libaom/test/
Dtemporal_filter_yuv_test.cc211 const PixelType *u_src, const PixelType *v_src, in ApplyReferenceFilter() argument
249 v_src[row * uv_src_stride + col] - v_pre[row * uv_pre_stride + col]; in ApplyReferenceFilter()
383 const PixelType *u_src, const PixelType *v_src,
403 int y_pre_stride, const uint8_t *u_src, const uint8_t *v_src, in ApplyTestFilter() argument
448 memcpy(src + 2 * mb_pels, v_src, mb_pels * sizeof(uint8_t)); in ApplyTestFilter()
477 int y_pre_stride, const uint16_t *u_src, const uint16_t *v_src, in ApplyTestFilter() argument
522 memcpy(src16 + 2 * mb_pels, v_src, mb_pels * sizeof(uint16_t)); in ApplyTestFilter()
572 DECLARE_ALIGNED(16, PixelType, v_src[MAX_WIDTH * MAX_HEIGHT]) = { 0 }; in CompareTestWithParam()
586 SetArray(v_src, uv_width, uv_height, uv_stride, max_val); in CompareTestWithParam()
594 SetArray(v_src, uv_width, uv_height, uv_stride, &rnd_, 0, max_val); in CompareTestWithParam()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_video.h145 uint8_t *v_src = (uint8_t *)source_data[1] + source_pitches[1] * dst_field; in u_copy_nv12_from_yv12() local
151 dst[2*x+1] = v_src[x]; in u_copy_nv12_from_yv12()
154 v_src += v_stride; in u_copy_nv12_from_yv12()
/external/webrtc/modules/video_processing/util/
Dskin_detection.cc80 const uint8_t* v_src, in MbHasSkinColor() argument
88 const uint8_t* v = v_src + ((mb_row << 3) + 4) * stride_v + (mb_col << 3) + 4; in MbHasSkinColor()
Dskin_detection.h21 const uint8_t* v_src,
/external/libvpx/libvpx/vp9/common/
Dvp9_rtcd_defs.pl184 …st uint8_t *y_pre, int y_pre_stride, const uint8_t *u_src, const uint8_t *v_src, int uv_src_stride…
188 …uint16_t *y_pre, int y_pre_stride, const uint16_t *u_src, const uint16_t *v_src, int uv_src_stride…
/external/libvpx/libvpx/vp8/common/
Dmfqe.c67 unsigned char *u_src, unsigned char *v_src, in apply_ifactor() argument
76 vp8_filter_by_weight8x8(v_src, uv_src_stride, v_dst, uv_dst_stride, in apply_ifactor()
83 vp8_filter_by_weight4x4(v_src, uv_src_stride, v_dst, uv_dst_stride, in apply_ifactor()
/external/webrtc/modules/video_processing/
Dvideo_denoiser.cc40 const uint8_t* v_src, in ShowRect() argument
54 v_src + (mb_row << 3) * stride_v_src + (mb_col << 3); in ShowRect()
/external/libaom/libaom/av1/common/arm/
Dwarp_plane_neon.c625 const int16x8_t *v_src = tmp + (k + 4); in av1_warp_affine_neon() local
627 vertical_filter_neon(v_src, &res_lo, &res_hi, sy, gamma); in av1_warp_affine_neon()
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c360 unsigned char *v_src) { in yv12_extend_frame_left_right_c() argument
421 src_ptr1 = v_src; in yv12_extend_frame_left_right_c()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c404 int y_pre_stride, const uint16_t *u_src, const uint16_t *v_src, in vp9_highbd_apply_temporal_filter_c() argument
444 v_src[row * uv_src_stride + col] - v_pre[row * uv_pre_stride + col]; in vp9_highbd_apply_temporal_filter_c()