/external/libgav1/libgav1/src/dsp/arm/ |
D | cdef_neon.cc | 87 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 …]
|
D | inverse_transform_neon.cc | 454 const int16x8_t v_src = vdupq_n_s16(src[0]); in DctDcOnly() local 457 vqrdmulhq_n_s16(v_src, kTransformRowMultiplier << 3); in DctDcOnly() 458 const int16x8_t s0 = vbslq_s16(v_mask, v_src_round, v_src); in DctDcOnly() 489 const int16x4_t v_src = vld1_s16(src); in DctDcOnlyColumn() local 490 const int16x4_t xy = vqrdmulh_s16(v_src, vdup_n_s16(cos128 << 3)); in DctDcOnlyColumn() 495 const int16x8_t v_src = vld1q_s16(&src[i]); in DctDcOnlyColumn() local 496 const int16x8_t xy = vqrdmulhq_s16(v_src, vdupq_n_s16(cos128 << 3)); in DctDcOnlyColumn() 1268 const int16x4_t v_src = vbsl_s16(v_mask, v_src_round, v_src0); in Adst4DcOnly() local 1273 s[0] = vmull_s16(kAdst4DcOnlyMultipliers, v_src); in Adst4DcOnly() 1300 const int16x4_t v_src = vld1_s16(&src[i]); in Adst4DcOnlyColumn() local [all …]
|
D | convolve_neon.cc | 108 uint8x8_t v_src[8]; in SumHorizontalTaps() local 113 v_src[0] = vget_low_u8(vextq_u8(src_long, src_long, 1)); in SumHorizontalTaps() 114 v_src[1] = vget_low_u8(vextq_u8(src_long, src_long, 2)); in SumHorizontalTaps() 115 v_src[2] = vget_low_u8(vextq_u8(src_long, src_long, 3)); in SumHorizontalTaps() 116 v_src[3] = vget_low_u8(vextq_u8(src_long, src_long, 4)); in SumHorizontalTaps() 117 v_src[4] = vget_low_u8(vextq_u8(src_long, src_long, 5)); in SumHorizontalTaps() 118 v_src[5] = vget_low_u8(vextq_u8(src_long, src_long, 6)); in SumHorizontalTaps() 119 sum = SumOnePassTaps<filter_index, negative_outside_taps>(v_src, v_tap + 1); in SumHorizontalTaps() 121 v_src[0] = vget_low_u8(src_long); in SumHorizontalTaps() 122 v_src[1] = vget_low_u8(vextq_u8(src_long, src_long, 1)); in SumHorizontalTaps() [all …]
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | cdef_sse4.cc | 206 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 …]
|
D | inverse_transform_sse4.cc | 235 const __m128i v_src = in DctDcOnly() local 241 _mm_mulhrs_epi16(v_src, v_kTransformRowMultiplier); in DctDcOnly() 242 const __m128i s0 = _mm_blendv_epi8(v_src, v_src_round, v_mask); in DctDcOnly() 282 const __m128i v_src = LoadLo8(src); in DctDcOnlyColumn() local 283 const __m128i xy = _mm_mulhrs_epi16(v_src, _mm_set1_epi16(cos128 << 3)); in DctDcOnlyColumn() 288 const __m128i v_src = LoadUnaligned16(&src[i]); in DctDcOnlyColumn() local 289 const __m128i xy = _mm_mulhrs_epi16(v_src, _mm_set1_epi16(cos128 << 3)); in DctDcOnlyColumn() 1061 const __m128i v_src = in Adst4DcOnly() local 1067 _mm_mulhrs_epi16(v_src, v_kTransformRowMultiplier); in Adst4DcOnly() 1068 const __m128i s0 = _mm_blendv_epi8(v_src, v_src_round, v_mask); in Adst4DcOnly() [all …]
|
D | convolve_sse4.cc | 108 __m128i v_src[4]; in SumHorizontalTaps() local 115 v_src[0] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 3); // _21 in SumHorizontalTaps() 116 v_src[1] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 7); // _43 in SumHorizontalTaps() 117 v_src[2] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 11); // _65 in SumHorizontalTaps() 120 v_src[0] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 1); // _10 in SumHorizontalTaps() 121 v_src[1] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 5); // _32 in SumHorizontalTaps() 122 v_src[2] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 9); // _54 in SumHorizontalTaps() 123 v_src[3] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 13); // _76 in SumHorizontalTaps() 126 v_src[0] = _mm_alignr_epi8(src_long_dup_hi, src_long_dup_lo, 7); // _43 in SumHorizontalTaps() 129 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/ |
D | subtract_neon.c | 50 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/ |
D | temporal_filter_sse4.c | 274 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 …]
|
D | highbd_temporal_filter_sse4.c | 195 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/ |
D | temporal_filter_sse4.c | 334 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/ |
D | yuv_temporal_filter_test.cc | 26 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/ |
D | temporal_filter_yuv_test.cc | 211 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/webrtc/webrtc/modules/video_processing/util/ |
D | skin_detection.cc | 45 const uint8_t* v_src, in MbHasSkinColor() argument 53 const uint8_t* v = v_src + ((mb_row << 3) + 4) * stride_v + (mb_col << 3) + 4; in MbHasSkinColor()
|
D | skin_detection.h | 19 const uint8_t* v_src,
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_video.h | 145 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/webrtc/modules/video_processing/ |
D | video_denoiser.cc | 90 const uint8_t* v_src = frame.buffer(kVPlane); in DenoiseFrame() local 108 y_src, u_src, v_src, stride_y, stride_u, stride_v, mb_row, mb_col); in DenoiseFrame() 129 v_src + (mb_row << 3) * stride_v + (mb_col << 3); in DenoiseFrame()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_rtcd_defs.pl | 184 …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/ |
D | mfqe.c | 67 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/libaom/libaom/av1/common/arm/ |
D | warp_plane_neon.c | 625 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/ |
D | decodeframe.c | 360 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/ |
D | vp9_temporal_filter.c | 404 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()
|