Home
last modified time | relevance | path

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

123

/external/libaom/libaom/third_party/libyuv/source/
Drow_mips.cc383 void SplitUVRow_MIPS_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, in SplitUVRow_MIPS_DSPR2() argument
440 : [src_uv] "+r" (src_uv), in SplitUVRow_MIPS_DSPR2()
501 void MirrorUVRow_MIPS_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, in MirrorUVRow_MIPS_DSPR2() argument
581 : [src_uv] "+r" (src_uv), in MirrorUVRow_MIPS_DSPR2()
Drotate.cc428 const uint8* src_uv, int src_stride_uv, in NV12ToI420Rotate() argument
436 if (!src_y || !src_uv || width <= 0 || height == 0 || in NV12ToI420Rotate()
446 src_uv = src_uv + (halfheight - 1) * src_stride_uv; in NV12ToI420Rotate()
455 src_uv, src_stride_uv, in NV12ToI420Rotate()
464 RotateUV90(src_uv, src_stride_uv, in NV12ToI420Rotate()
473 RotateUV270(src_uv, src_stride_uv, in NV12ToI420Rotate()
482 RotateUV180(src_uv, src_stride_uv, in NV12ToI420Rotate()
Drow_common.cc1381 const uint8* src_uv, in NV12ToARGBRow_C() argument
1386 YuvPixel(src_y[0], src_uv[0], src_uv[1], in NV12ToARGBRow_C()
1389 YuvPixel(src_y[1], src_uv[0], src_uv[1], in NV12ToARGBRow_C()
1393 src_uv += 2; in NV12ToARGBRow_C()
1397 YuvPixel(src_y[0], src_uv[0], src_uv[1], in NV12ToARGBRow_C()
1429 const uint8* src_uv, in NV12ToRGB565Row_C() argument
1440 YuvPixel(src_y[0], src_uv[0], src_uv[1], &b0, &g0, &r0); in NV12ToRGB565Row_C()
1441 YuvPixel(src_y[1], src_uv[0], src_uv[1], &b1, &g1, &r1); in NV12ToRGB565Row_C()
1451 src_uv += 2; in NV12ToRGB565Row_C()
1455 YuvPixel(src_y[0], src_uv[0], src_uv[1], &b0, &g0, &r0); in NV12ToRGB565Row_C()
[all …]
Drow_neon.cc590 const uint8* src_uv, in NV12ToARGBRow_NEON() argument
605 "+r"(src_uv), // %1 in NV12ToARGBRow_NEON()
618 const uint8* src_uv, in NV21ToARGBRow_NEON() argument
633 "+r"(src_uv), // %1 in NV21ToARGBRow_NEON()
646 const uint8* src_uv, in NV12ToRGB565Row_NEON() argument
661 "+r"(src_uv), // %1 in NV12ToRGB565Row_NEON()
674 const uint8* src_uv, in NV21ToRGB565Row_NEON() argument
689 "+r"(src_uv), // %1 in NV21ToRGB565Row_NEON()
754 void SplitUVRow_NEON(const uint8* src_uv, uint8* dst_u, uint8* dst_v, in SplitUVRow_NEON() argument
767 : "+r"(src_uv), // %0 in SplitUVRow_NEON()
[all …]
Dconvert_to_argb.cc42 const uint8* src_uv; in ConvertToARGB() local
156 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToARGB()
158 src_uv, aligned_src_width, in ConvertToARGB()
164 src_uv = sample + aligned_src_width * (src_height + crop_y / 2) + crop_x; in ConvertToARGB()
167 src_uv, aligned_src_width, in ConvertToARGB()
Drow_neon64.cc568 const uint8* src_uv, in NV12ToARGBRow_NEON() argument
582 "+r"(src_uv), // %1 in NV12ToARGBRow_NEON()
595 const uint8* src_uv, in NV21ToARGBRow_NEON() argument
609 "+r"(src_uv), // %1 in NV21ToARGBRow_NEON()
622 const uint8* src_uv, in NV12ToRGB565Row_NEON() argument
636 "+r"(src_uv), // %1 in NV12ToRGB565Row_NEON()
649 const uint8* src_uv, in NV21ToRGB565Row_NEON() argument
663 "+r"(src_uv), // %1 in NV21ToRGB565Row_NEON()
728 void SplitUVRow_NEON(const uint8* src_uv, uint8* dst_u, uint8* dst_v, in SplitUVRow_NEON() argument
740 : "+r"(src_uv), // %0 in SplitUVRow_NEON()
[all …]
Dconvert_to_i420.cc41 const uint8* src_uv; in ConvertToI420() local
186 src_uv = sample + (src_width * src_height) + in ConvertToI420()
189 src_uv, aligned_src_width, in ConvertToI420()
197 src_uv = sample + (src_width * src_height) + in ConvertToI420()
201 src_uv, aligned_src_width, in ConvertToI420()
/external/webrtc/sdk/android/src/jni/
Dnv21_buffer.cc49 uint8_t const* src_uv = src_y + src_height * src_stride_y; in JNI_NV21Buffer_CropAndScale() local
60 src_uv += 2 * crop_chroma_x + crop_chroma_y * src_stride_uv; in JNI_NV21Buffer_CropAndScale()
64 scaler.NV12ToI420Scale(src_y, src_stride_y, src_uv, src_stride_uv, crop_width, in JNI_NV21Buffer_CropAndScale()
Dnv12_buffer.cc53 uint8_t const* src_uv = src_y + src_slice_height * src_stride_y; in JNI_NV12Buffer_CropAndScale() local
64 src_uv += 2 * crop_chroma_x + crop_chroma_y * src_stride_uv; in JNI_NV12Buffer_CropAndScale()
70 libyuv::SplitUVPlane(src_uv, src_stride_uv, tmp_u, tmp_stride_u, tmp_v, in JNI_NV12Buffer_CropAndScale()
/external/libyuv/files/source/
Drow_common.cc1814 const uint8_t* src_uv, in NV12ToARGBRow_C() argument
1820 YuvPixel(src_y[0], src_uv[0], src_uv[1], rgb_buf + 0, rgb_buf + 1, in NV12ToARGBRow_C()
1823 YuvPixel(src_y[1], src_uv[0], src_uv[1], rgb_buf + 4, rgb_buf + 5, in NV12ToARGBRow_C()
1827 src_uv += 2; in NV12ToARGBRow_C()
1831 YuvPixel(src_y[0], src_uv[0], src_uv[1], rgb_buf + 0, rgb_buf + 1, in NV12ToARGBRow_C()
1862 const uint8_t* src_uv, in NV12ToRGB24Row_C() argument
1868 YuvPixel(src_y[0], src_uv[0], src_uv[1], rgb_buf + 0, rgb_buf + 1, in NV12ToRGB24Row_C()
1870 YuvPixel(src_y[1], src_uv[0], src_uv[1], rgb_buf + 3, rgb_buf + 4, in NV12ToRGB24Row_C()
1873 src_uv += 2; in NV12ToRGB24Row_C()
1877 YuvPixel(src_y[0], src_uv[0], src_uv[1], rgb_buf + 0, rgb_buf + 1, in NV12ToRGB24Row_C()
[all …]
Drow_neon.cc382 const uint8_t* src_uv, in NV12ToARGBRow_NEON() argument
393 "+r"(src_uv), // %1 in NV12ToARGBRow_NEON()
428 const uint8_t* src_uv, in NV12ToRGB24Row_NEON() argument
443 "+r"(src_uv), // %1 in NV12ToRGB24Row_NEON()
482 const uint8_t* src_uv, in NV12ToRGB565Row_NEON() argument
493 "+r"(src_uv), // %1 in NV12ToRGB565Row_NEON()
547 void SplitUVRow_NEON(const uint8_t* src_uv, in SplitUVRow_NEON() argument
558 : "+r"(src_uv), // %0 in SplitUVRow_NEON()
703 void MirrorUVRow_NEON(const uint8_t* src_uv, in MirrorUVRow_NEON() argument
720 : "+r"(src_uv), // %0 in MirrorUVRow_NEON()
[all …]
Drow_neon64.cc413 const uint8_t* src_uv, in NV12ToARGBRow_NEON() argument
427 "+r"(src_uv), // %1 in NV12ToARGBRow_NEON()
467 const uint8_t* src_uv, in NV12ToRGB24Row_NEON() argument
480 "+r"(src_uv), // %1 in NV12ToRGB24Row_NEON()
519 const uint8_t* src_uv, in NV12ToRGB565Row_NEON() argument
532 "+r"(src_uv), // %1 in NV12ToRGB565Row_NEON()
594 void SplitUVRow_NEON(const uint8_t* src_uv, in SplitUVRow_NEON() argument
605 : "+r"(src_uv), // %0 in SplitUVRow_NEON()
745 void MirrorUVRow_NEON(const uint8_t* src_uv, in MirrorUVRow_NEON() argument
761 : "+r"(src_uv), // %0 in MirrorUVRow_NEON()
[all …]
Drotate.cc547 const uint8_t* src_uv, in NV12ToI420Rotate() argument
560 if (!src_y || !src_uv || width <= 0 || height == 0 || !dst_y || !dst_u || in NV12ToI420Rotate()
570 src_uv = src_uv + (halfheight - 1) * src_stride_uv; in NV12ToI420Rotate()
578 return NV12ToI420(src_y, src_stride_y, src_uv, src_stride_uv, dst_y, in NV12ToI420Rotate()
583 RotateUV90(src_uv, src_stride_uv, dst_u, dst_stride_u, dst_v, in NV12ToI420Rotate()
588 RotateUV270(src_uv, src_stride_uv, dst_u, dst_stride_u, dst_v, in NV12ToI420Rotate()
593 RotateUV180(src_uv, src_stride_uv, dst_u, dst_stride_u, dst_v, in NV12ToI420Rotate()
Drow_dspr2.cc383 void SplitUVRow_DSPR2(const uint8* src_uv, in SplitUVRow_DSPR2() argument
446 : [src_uv] "+r"(src_uv), [width] "+r"(width), [dst_u] "+r"(dst_u), in SplitUVRow_DSPR2()
501 void MirrorUVRow_DSPR2(const uint8* src_uv, in MirrorUVRow_DSPR2() argument
582 : [src_uv] "+r"(src_uv), [dst_u] "+r"(dst_u), [dst_v] "+r"(dst_v), in MirrorUVRow_DSPR2()
1140 const uint8* src_uv, in NV12ToARGBRow_DSPR2() argument
1211 : [src_y] "r"(src_y), [src_uv] "r"(src_uv), [yg] "r"(yg), in NV12ToARGBRow_DSPR2()
1218 src_uv += 2; in NV12ToARGBRow_DSPR2()
Dconvert_to_i420.cc47 const uint8_t* src_uv; in ConvertToI420() local
167 src_uv = sample + (src_width * abs_src_height) + in ConvertToI420()
169 r = NV12ToI420Rotate(src, src_width, src_uv, aligned_src_width, dst_y, in ConvertToI420()
175 src_uv = sample + (src_width * abs_src_height) + in ConvertToI420()
178 r = NV12ToI420Rotate(src, src_width, src_uv, aligned_src_width, dst_y, in ConvertToI420()
Dconvert_to_argb.cc55 const uint8_t* src_uv; in ConvertToARGB() local
168 src_uv = in ConvertToARGB()
170 r = NV12ToARGB(src, src_width, src_uv, aligned_src_width, dst_argb, in ConvertToARGB()
175 src_uv = in ConvertToARGB()
178 r = NV21ToARGB(src, src_width, src_uv, aligned_src_width, dst_argb, in ConvertToARGB()
/external/libvpx/libvpx/third_party/libyuv/source/
Drotate.cc456 const uint8_t* src_uv, in NV12ToI420Rotate() argument
469 if (!src_y || !src_uv || width <= 0 || height == 0 || !dst_y || !dst_u || in NV12ToI420Rotate()
479 src_uv = src_uv + (halfheight - 1) * src_stride_uv; in NV12ToI420Rotate()
487 return NV12ToI420(src_y, src_stride_y, src_uv, src_stride_uv, dst_y, in NV12ToI420Rotate()
492 RotateUV90(src_uv, src_stride_uv, dst_u, dst_stride_u, dst_v, in NV12ToI420Rotate()
497 RotateUV270(src_uv, src_stride_uv, dst_u, dst_stride_u, dst_v, in NV12ToI420Rotate()
502 RotateUV180(src_uv, src_stride_uv, dst_u, dst_stride_u, dst_v, in NV12ToI420Rotate()
Drow_common.cc1814 const uint8_t* src_uv, in NV12ToARGBRow_C() argument
1820 YuvPixel(src_y[0], src_uv[0], src_uv[1], rgb_buf + 0, rgb_buf + 1, in NV12ToARGBRow_C()
1823 YuvPixel(src_y[1], src_uv[0], src_uv[1], rgb_buf + 4, rgb_buf + 5, in NV12ToARGBRow_C()
1827 src_uv += 2; in NV12ToARGBRow_C()
1831 YuvPixel(src_y[0], src_uv[0], src_uv[1], rgb_buf + 0, rgb_buf + 1, in NV12ToARGBRow_C()
1862 const uint8_t* src_uv, in NV12ToRGB24Row_C() argument
1868 YuvPixel(src_y[0], src_uv[0], src_uv[1], rgb_buf + 0, rgb_buf + 1, in NV12ToRGB24Row_C()
1870 YuvPixel(src_y[1], src_uv[0], src_uv[1], rgb_buf + 3, rgb_buf + 4, in NV12ToRGB24Row_C()
1873 src_uv += 2; in NV12ToRGB24Row_C()
1877 YuvPixel(src_y[0], src_uv[0], src_uv[1], rgb_buf + 0, rgb_buf + 1, in NV12ToRGB24Row_C()
[all …]
Drow_neon.cc382 const uint8_t* src_uv, in NV12ToARGBRow_NEON() argument
393 "+r"(src_uv), // %1 in NV12ToARGBRow_NEON()
428 const uint8_t* src_uv, in NV12ToRGB24Row_NEON() argument
443 "+r"(src_uv), // %1 in NV12ToRGB24Row_NEON()
482 const uint8_t* src_uv, in NV12ToRGB565Row_NEON() argument
493 "+r"(src_uv), // %1 in NV12ToRGB565Row_NEON()
547 void SplitUVRow_NEON(const uint8_t* src_uv, in SplitUVRow_NEON() argument
558 : "+r"(src_uv), // %0 in SplitUVRow_NEON()
703 void MirrorUVRow_NEON(const uint8_t* src_uv, in MirrorUVRow_NEON() argument
720 : "+r"(src_uv), // %0 in MirrorUVRow_NEON()
Dconvert_to_argb.cc57 const uint8_t* src_uv; in ConvertToARGB() local
170 src_uv = sample + aligned_src_width * (abs_src_height + crop_y / 2) + crop_x; in ConvertToARGB()
171 r = NV12ToARGB(src, src_width, src_uv, aligned_src_width, dst_argb, in ConvertToARGB()
176 src_uv = sample + aligned_src_width * (abs_src_height + crop_y / 2) + crop_x; in ConvertToARGB()
178 r = NV21ToARGB(src, src_width, src_uv, aligned_src_width, dst_argb, in ConvertToARGB()
Dconvert_to_i420.cc47 const uint8_t* src_uv; in ConvertToI420() local
167 src_uv = sample + (src_width * abs_src_height) + in ConvertToI420()
169 r = NV12ToI420Rotate(src, src_width, src_uv, aligned_src_width, dst_y, in ConvertToI420()
175 src_uv = sample + (src_width * abs_src_height) + in ConvertToI420()
178 r = NV12ToI420Rotate(src, src_width, src_uv, aligned_src_width, dst_y, in ConvertToI420()
Drow_neon64.cc413 const uint8_t* src_uv, in NV12ToARGBRow_NEON() argument
427 "+r"(src_uv), // %1 in NV12ToARGBRow_NEON()
467 const uint8_t* src_uv, in NV12ToRGB24Row_NEON() argument
480 "+r"(src_uv), // %1 in NV12ToRGB24Row_NEON()
519 const uint8_t* src_uv, in NV12ToRGB565Row_NEON() argument
532 "+r"(src_uv), // %1 in NV12ToRGB565Row_NEON()
594 void SplitUVRow_NEON(const uint8_t* src_uv, in SplitUVRow_NEON() argument
605 : "+r"(src_uv), // %0 in SplitUVRow_NEON()
745 void MirrorUVRow_NEON(const uint8_t* src_uv, in MirrorUVRow_NEON() argument
761 : "+r"(src_uv), // %0 in MirrorUVRow_NEON()
/external/webp/src/dsp/
Dupsampling_neon.c135 #define CONVERT8(FMT, XSTEP, N, src_y, src_uv, out, cur_x) do { \ argument
140 const uint8x8_t u = vld1_u8((src_uv) + i + 0); \
141 const uint8x8_t v = vld1_u8((src_uv) + i + 16); \
165 #define CONVERT1(FUNC, XSTEP, N, src_y, src_uv, rgb, cur_x) { \ argument
170 const int u = (src_uv)[i]; \
171 const int v = (src_uv)[i + 16]; \
/external/libaom/libaom/third_party/libyuv/include/libyuv/
Drow.h558 const uint8* src_uv,
566 const uint8* src_uv,
758 void MirrorUVRow_SSSE3(const uint8* src_uv, uint8* dst_u, uint8* dst_v,
760 void MirrorUVRow_NEON(const uint8* src_uv, uint8* dst_u, uint8* dst_v,
762 void MirrorUVRow_MIPS_DSPR2(const uint8* src_uv, uint8* dst_u, uint8* dst_v,
764 void MirrorUVRow_C(const uint8* src_uv, uint8* dst_u, uint8* dst_v,
775 void SplitUVRow_C(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int pix);
776 void SplitUVRow_SSE2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int pix);
777 void SplitUVRow_AVX2(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int pix);
778 void SplitUVRow_NEON(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int pix);
[all …]
/external/webrtc/common_video/libyuv/
Dlibyuv_unittest.cc300 const std::vector<uint8_t> src_uv = {0, 1}; in TEST_F() local
306 NV12Scale(tmp_buffer, src_y.data(), 2, src_uv.data(), 2, 2, 2, dst_y.data(), in TEST_F()
310 EXPECT_THAT(dst_uv, ::testing::ContainerEq(src_uv)); in TEST_F()
316 const uint8_t src_uv[] = {0, 1, 2, 3, 4, 5, 6, 7}; in TEST_F() local
329 NV12Scale(tmp_buffer.data(), src_y, 4, src_uv, 4, 4, 4, dst_y.data(), 2, in TEST_F()

123