Home
last modified time | relevance | path

Searched refs:yuvconstants (Results 1 – 23 of 23) sorted by relevance

/external/libvpx/libvpx/third_party/libyuv/source/
Drow_neon.cc113 const struct YuvConstants* yuvconstants, in I444ToARGBRow_NEON() argument
127 : [kUVToRB] "r"(&yuvconstants->kUVToRB), in I444ToARGBRow_NEON()
128 [kUVToG] "r"(&yuvconstants->kUVToG), in I444ToARGBRow_NEON()
129 [kUVBiasBGR] "r"(&yuvconstants->kUVBiasBGR), in I444ToARGBRow_NEON()
130 [kYToRgb] "r"(&yuvconstants->kYToRgb) in I444ToARGBRow_NEON()
139 const struct YuvConstants* yuvconstants, in I422ToARGBRow_NEON() argument
153 : [kUVToRB] "r"(&yuvconstants->kUVToRB), in I422ToARGBRow_NEON()
154 [kUVToG] "r"(&yuvconstants->kUVToG), in I422ToARGBRow_NEON()
155 [kUVBiasBGR] "r"(&yuvconstants->kUVBiasBGR), in I422ToARGBRow_NEON()
156 [kYToRgb] "r"(&yuvconstants->kYToRgb) in I422ToARGBRow_NEON()
[all …]
Drow_gcc.cc1897 #define YUVTORGB_SETUP(yuvconstants) \ argument
1906 #define YUVTORGB16(yuvconstants) \ argument
1927 #define YUVTORGB_SETUP(yuvconstants) argument
1929 #define YUVTORGB16(yuvconstants) \ argument
1949 #define YUVTORGB(yuvconstants) \ argument
1950 YUVTORGB16(yuvconstants) \
2011 const struct YuvConstants* yuvconstants, in I444ToARGBRow_SSSE3() argument
2014 YUVTORGB_SETUP(yuvconstants) in I444ToARGBRow_SSSE3()
2021 YUVTORGB(yuvconstants) in I444ToARGBRow_SSSE3()
2030 : [yuvconstants]"r"(yuvconstants) // %[yuvconstants] in I444ToARGBRow_SSSE3()
[all …]
Drow_neon64.cc119 const struct YuvConstants* yuvconstants, in I444ToARGBRow_NEON() argument
135 : [kUVToRB]"r"(&yuvconstants->kUVToRB), in I444ToARGBRow_NEON()
136 [kUVToG]"r"(&yuvconstants->kUVToG), in I444ToARGBRow_NEON()
137 [kUVBiasBGR]"r"(&yuvconstants->kUVBiasBGR), in I444ToARGBRow_NEON()
138 [kYToRgb]"r"(&yuvconstants->kYToRgb) in I444ToARGBRow_NEON()
148 const struct YuvConstants* yuvconstants, in I422ToARGBRow_NEON() argument
164 : [kUVToRB]"r"(&yuvconstants->kUVToRB), in I422ToARGBRow_NEON()
165 [kUVToG]"r"(&yuvconstants->kUVToG), in I422ToARGBRow_NEON()
166 [kUVBiasBGR]"r"(&yuvconstants->kUVBiasBGR), in I422ToARGBRow_NEON()
167 [kYToRgb]"r"(&yuvconstants->kYToRgb) in I422ToARGBRow_NEON()
[all …]
Drow_common.cc1318 const struct YuvConstants* yuvconstants) { in YuvPixel() argument
1320 int ub = -yuvconstants->kUVToRB[0]; in YuvPixel()
1321 int ug = yuvconstants->kUVToG[0]; in YuvPixel()
1322 int vg = yuvconstants->kUVToG[1]; in YuvPixel()
1323 int vr = -yuvconstants->kUVToRB[1]; in YuvPixel()
1324 int bb = yuvconstants->kUVBiasBGR[0]; in YuvPixel()
1325 int bg = yuvconstants->kUVBiasBGR[1]; in YuvPixel()
1326 int br = yuvconstants->kUVBiasBGR[2]; in YuvPixel()
1327 int yg = yuvconstants->kYToRgb[0] / 0x0101; in YuvPixel()
1329 int ub = -yuvconstants->kUVToRB[0]; in YuvPixel()
[all …]
Dconvert_argb.cc59 const struct YuvConstants* yuvconstants, in I420ToARGBMatrix() argument
65 const struct YuvConstants* yuvconstants, int width) = in I420ToARGBMatrix()
110 I422ToARGBRow(src_y, src_u, src_v, dst_argb, yuvconstants, width); in I420ToARGBMatrix()
238 const struct YuvConstants* yuvconstants, in I422ToARGBMatrix() argument
244 const struct YuvConstants* yuvconstants, int width) = in I422ToARGBMatrix()
296 I422ToARGBRow(src_y, src_u, src_v, dst_argb, yuvconstants, width); in I422ToARGBMatrix()
424 const struct YuvConstants* yuvconstants, in I010ToAR30Matrix() argument
430 const struct YuvConstants* yuvconstants, int width) = in I010ToAR30Matrix()
458 I210ToAR30Row(src_y, src_u, src_v, dst_ar30, yuvconstants, width); in I010ToAR30Matrix()
546 const struct YuvConstants* yuvconstants, in I010ToARGBMatrix() argument
[all …]
Dconvert_from.cc522 const struct YuvConstants* yuvconstants, in I420ToRGBAMatrix() argument
528 const struct YuvConstants* yuvconstants, int width) = in I420ToRGBAMatrix()
573 I422ToRGBARow(src_y, src_u, src_v, dst_rgba, yuvconstants, width); in I420ToRGBAMatrix()
629 const struct YuvConstants* yuvconstants, in I420ToRGB24Matrix() argument
635 const struct YuvConstants* yuvconstants, int width) = in I420ToRGB24Matrix()
680 I422ToRGB24Row(src_y, src_u, src_v, dst_rgb24, yuvconstants, width); in I420ToRGB24Matrix()
778 const struct YuvConstants* yuvconstants, in I420ToARGB1555()
851 const struct YuvConstants* yuvconstants, in I420ToARGB4444()
924 const struct YuvConstants* yuvconstants, int width) = in I420ToRGB565()
995 const struct YuvConstants* yuvconstants, int width) = in I422ToRGB565()
[all …]
Drow_any.cc37 const struct YuvConstants* yuvconstants, int width) { \
43 ANY_SIMD(y_buf, u_buf, v_buf, a_buf, dst_ptr, yuvconstants, n); \
50 yuvconstants, MASK + 1); \
129 const struct YuvConstants* yuvconstants, int width) { \
135 ANY_SIMD(y_buf, u_buf, v_buf, dst_ptr, yuvconstants, n); \
144 ANY_SIMD(temp, temp + 128, temp + 256, temp + 384, yuvconstants, \
212 uint8_t* dst_ptr, const struct YuvConstants* yuvconstants, \
220 ANY_SIMD(y_buf, u_buf, v_buf, dst_ptr, yuvconstants, n); \
225 ANY_SIMD(temp, temp + 16, temp + 32, out, yuvconstants, MASK + 1); \
344 const struct YuvConstants* yuvconstants, int width) { \
[all …]
Drow_win.cc55 #define YUVTORGB(yuvconstants) \ argument
58 xmm0 = _mm_maddubs_epi16(xmm0, *(__m128i*)yuvconstants->kUVToB); \
59 xmm1 = _mm_maddubs_epi16(xmm1, *(__m128i*)yuvconstants->kUVToG); \
60 xmm2 = _mm_maddubs_epi16(xmm2, *(__m128i*)yuvconstants->kUVToR); \
61 xmm0 = _mm_sub_epi16(*(__m128i*)yuvconstants->kUVBiasB, xmm0); \
62 xmm1 = _mm_sub_epi16(*(__m128i*)yuvconstants->kUVBiasG, xmm1); \
63 xmm2 = _mm_sub_epi16(*(__m128i*)yuvconstants->kUVBiasR, xmm2); \
64 xmm4 = _mm_mulhi_epu16(xmm4, *(__m128i*)yuvconstants->kYToRgb); \
91 const struct YuvConstants* yuvconstants, in I422ToARGBRow_SSSE3() argument
98 YUVTORGB(yuvconstants) in I422ToARGBRow_SSSE3()
[all …]
Drow_msa.cc374 const struct YuvConstants* yuvconstants, in I422ToARGBRow_MSA() argument
383 YUVTORGB_SETUP(yuvconstants, vec_ub, vec_vr, vec_ug, vec_vg, vec_bb, vec_bg, in I422ToARGBRow_MSA()
405 const struct YuvConstants* yuvconstants, in I422ToRGBARow_MSA() argument
414 YUVTORGB_SETUP(yuvconstants, vec_ub, vec_vr, vec_ug, vec_vg, vec_bb, vec_bg, in I422ToRGBARow_MSA()
437 const struct YuvConstants* yuvconstants, in I422AlphaToARGBRow_MSA() argument
447 YUVTORGB_SETUP(yuvconstants, vec_ub, vec_vr, vec_ug, vec_vg, vec_bb, vec_bg, in I422AlphaToARGBRow_MSA()
473 const struct YuvConstants* yuvconstants, in I422ToRGB24Row_MSA() argument
488 YUVTORGB_SETUP(yuvconstants, vec_ub, vec_vr, vec_ug, vec_vg, vec_bb, vec_bg, in I422ToRGB24Row_MSA()
527 const struct YuvConstants* yuvconstants, in I422ToRGB565Row_MSA() argument
535 YUVTORGB_SETUP(yuvconstants, vec_ub, vec_vr, vec_ug, vec_vg, vec_bb, vec_bg, in I422ToRGB565Row_MSA()
[all …]
Dplanar_functions.cc1508 const struct YuvConstants* yuvconstants, in I422ToRGBAMatrix() argument
1514 const struct YuvConstants* yuvconstants, int width) = in I422ToRGBAMatrix()
1559 I422ToRGBARow(src_y, src_u, src_v, dst_rgba, yuvconstants, width); in I422ToRGBAMatrix()
1617 const struct YuvConstants* yuvconstants, int width) = NV12ToRGB565Row_C; in NV12ToRGB565()
/external/libyuv/files/source/
Drow_gcc.cc1897 #define YUVTORGB_SETUP(yuvconstants) \ argument
1906 #define YUVTORGB16(yuvconstants) \ argument
1927 #define YUVTORGB_SETUP(yuvconstants) argument
1929 #define YUVTORGB16(yuvconstants) \ argument
1949 #define YUVTORGB(yuvconstants) \ argument
1950 YUVTORGB16(yuvconstants) \
2011 const struct YuvConstants* yuvconstants, in I444ToARGBRow_SSSE3() argument
2014 YUVTORGB_SETUP(yuvconstants) in I444ToARGBRow_SSSE3()
2021 YUVTORGB(yuvconstants) in I444ToARGBRow_SSSE3()
2030 : [yuvconstants]"r"(yuvconstants) // %[yuvconstants] in I444ToARGBRow_SSSE3()
[all …]
Drow_neon.cc113 const struct YuvConstants* yuvconstants, in I444ToARGBRow_NEON() argument
127 : [kUVToRB] "r"(&yuvconstants->kUVToRB), in I444ToARGBRow_NEON()
128 [kUVToG] "r"(&yuvconstants->kUVToG), in I444ToARGBRow_NEON()
129 [kUVBiasBGR] "r"(&yuvconstants->kUVBiasBGR), in I444ToARGBRow_NEON()
130 [kYToRgb] "r"(&yuvconstants->kYToRgb) in I444ToARGBRow_NEON()
139 const struct YuvConstants* yuvconstants, in I422ToARGBRow_NEON() argument
153 : [kUVToRB] "r"(&yuvconstants->kUVToRB), in I422ToARGBRow_NEON()
154 [kUVToG] "r"(&yuvconstants->kUVToG), in I422ToARGBRow_NEON()
155 [kUVBiasBGR] "r"(&yuvconstants->kUVBiasBGR), in I422ToARGBRow_NEON()
156 [kYToRgb] "r"(&yuvconstants->kYToRgb) in I422ToARGBRow_NEON()
[all …]
Drow_neon64.cc119 const struct YuvConstants* yuvconstants, in I444ToARGBRow_NEON() argument
135 : [kUVToRB]"r"(&yuvconstants->kUVToRB), in I444ToARGBRow_NEON()
136 [kUVToG]"r"(&yuvconstants->kUVToG), in I444ToARGBRow_NEON()
137 [kUVBiasBGR]"r"(&yuvconstants->kUVBiasBGR), in I444ToARGBRow_NEON()
138 [kYToRgb]"r"(&yuvconstants->kYToRgb) in I444ToARGBRow_NEON()
148 const struct YuvConstants* yuvconstants, in I422ToARGBRow_NEON() argument
164 : [kUVToRB]"r"(&yuvconstants->kUVToRB), in I422ToARGBRow_NEON()
165 [kUVToG]"r"(&yuvconstants->kUVToG), in I422ToARGBRow_NEON()
166 [kUVBiasBGR]"r"(&yuvconstants->kUVBiasBGR), in I422ToARGBRow_NEON()
167 [kYToRgb]"r"(&yuvconstants->kYToRgb) in I422ToARGBRow_NEON()
[all …]
Drow_dspr2.cc592 const struct YuvConstants* yuvconstants, in I422ToARGBRow_DSPR2() argument
595 uint32 tmp_ub = yuvconstants->kUVToB[0]; in I422ToARGBRow_DSPR2()
596 uint32 tmp_ug = yuvconstants->kUVToG[0]; in I422ToARGBRow_DSPR2()
597 uint32 tmp_vg = yuvconstants->kUVToG[1]; in I422ToARGBRow_DSPR2()
598 uint32 tmp_vr = yuvconstants->kUVToR[1]; in I422ToARGBRow_DSPR2()
599 uint32 tmp_bb = yuvconstants->kUVBiasB[0]; in I422ToARGBRow_DSPR2()
600 uint32 tmp_bg = yuvconstants->kUVBiasG[0]; in I422ToARGBRow_DSPR2()
601 uint32 tmp_br = yuvconstants->kUVBiasR[0]; in I422ToARGBRow_DSPR2()
602 uint32 yg = yuvconstants->kYToRgb[0]; in I422ToARGBRow_DSPR2()
874 const struct YuvConstants* yuvconstants, in I444ToARGBRow_DSPR2() argument
[all …]
Drow_common.cc1318 const struct YuvConstants* yuvconstants) { in YuvPixel() argument
1320 int ub = -yuvconstants->kUVToRB[0]; in YuvPixel()
1321 int ug = yuvconstants->kUVToG[0]; in YuvPixel()
1322 int vg = yuvconstants->kUVToG[1]; in YuvPixel()
1323 int vr = -yuvconstants->kUVToRB[1]; in YuvPixel()
1324 int bb = yuvconstants->kUVBiasBGR[0]; in YuvPixel()
1325 int bg = yuvconstants->kUVBiasBGR[1]; in YuvPixel()
1326 int br = yuvconstants->kUVBiasBGR[2]; in YuvPixel()
1327 int yg = yuvconstants->kYToRgb[0] / 0x0101; in YuvPixel()
1329 int ub = -yuvconstants->kUVToRB[0]; in YuvPixel()
[all …]
Dconvert_argb.cc59 const struct YuvConstants* yuvconstants, in I420ToARGBMatrix() argument
65 const struct YuvConstants* yuvconstants, int width) = in I420ToARGBMatrix()
110 I422ToARGBRow(src_y, src_u, src_v, dst_argb, yuvconstants, width); in I420ToARGBMatrix()
238 const struct YuvConstants* yuvconstants, in I422ToARGBMatrix() argument
244 const struct YuvConstants* yuvconstants, int width) = in I422ToARGBMatrix()
296 I422ToARGBRow(src_y, src_u, src_v, dst_argb, yuvconstants, width); in I422ToARGBMatrix()
424 const struct YuvConstants* yuvconstants, in I010ToAR30Matrix() argument
430 const struct YuvConstants* yuvconstants, int width) = in I010ToAR30Matrix()
458 I210ToAR30Row(src_y, src_u, src_v, dst_ar30, yuvconstants, width); in I010ToAR30Matrix()
546 const struct YuvConstants* yuvconstants, in I010ToARGBMatrix() argument
[all …]
Dconvert_from.cc546 const struct YuvConstants* yuvconstants, in I420ToRGBAMatrix() argument
552 const struct YuvConstants* yuvconstants, int width) = in I420ToRGBAMatrix()
597 I422ToRGBARow(src_y, src_u, src_v, dst_rgba, yuvconstants, width); in I420ToRGBAMatrix()
653 const struct YuvConstants* yuvconstants, in I420ToRGB24Matrix() argument
659 const struct YuvConstants* yuvconstants, int width) = in I420ToRGB24Matrix()
704 I422ToRGB24Row(src_y, src_u, src_v, dst_rgb24, yuvconstants, width); in I420ToRGB24Matrix()
802 const struct YuvConstants* yuvconstants, in I420ToARGB1555()
875 const struct YuvConstants* yuvconstants, in I420ToARGB4444()
943 const struct YuvConstants* yuvconstants, in I420ToRGB565Matrix() argument
949 const struct YuvConstants* yuvconstants, int width) = in I420ToRGB565Matrix()
[all …]
Drow_any.cc37 const struct YuvConstants* yuvconstants, int width) { \
43 ANY_SIMD(y_buf, u_buf, v_buf, a_buf, dst_ptr, yuvconstants, n); \
50 yuvconstants, MASK + 1); \
141 const struct YuvConstants* yuvconstants, int width) { \
147 ANY_SIMD(y_buf, u_buf, v_buf, dst_ptr, yuvconstants, n); \
156 ANY_SIMD(temp, temp + 128, temp + 256, temp + 384, yuvconstants, \
224 uint8_t* dst_ptr, const struct YuvConstants* yuvconstants, \
232 ANY_SIMD(y_buf, u_buf, v_buf, dst_ptr, yuvconstants, n); \
237 ANY_SIMD(temp, temp + 16, temp + 32, out, yuvconstants, MASK + 1); \
382 const struct YuvConstants* yuvconstants, int width) { \
[all …]
Drow_win.cc55 #define YUVTORGB(yuvconstants) \ argument
58 xmm0 = _mm_maddubs_epi16(xmm0, *(__m128i*)yuvconstants->kUVToB); \
59 xmm1 = _mm_maddubs_epi16(xmm1, *(__m128i*)yuvconstants->kUVToG); \
60 xmm2 = _mm_maddubs_epi16(xmm2, *(__m128i*)yuvconstants->kUVToR); \
61 xmm0 = _mm_sub_epi16(*(__m128i*)yuvconstants->kUVBiasB, xmm0); \
62 xmm1 = _mm_sub_epi16(*(__m128i*)yuvconstants->kUVBiasG, xmm1); \
63 xmm2 = _mm_sub_epi16(*(__m128i*)yuvconstants->kUVBiasR, xmm2); \
64 xmm4 = _mm_mulhi_epu16(xmm4, *(__m128i*)yuvconstants->kYToRgb); \
91 const struct YuvConstants* yuvconstants, in I422ToARGBRow_SSSE3() argument
98 YUVTORGB(yuvconstants) in I422ToARGBRow_SSSE3()
[all …]
Drow_msa.cc374 const struct YuvConstants* yuvconstants, in I422ToARGBRow_MSA() argument
383 YUVTORGB_SETUP(yuvconstants, vec_ub, vec_vr, vec_ug, vec_vg, vec_bb, vec_bg, in I422ToARGBRow_MSA()
405 const struct YuvConstants* yuvconstants, in I422ToRGBARow_MSA() argument
414 YUVTORGB_SETUP(yuvconstants, vec_ub, vec_vr, vec_ug, vec_vg, vec_bb, vec_bg, in I422ToRGBARow_MSA()
437 const struct YuvConstants* yuvconstants, in I422AlphaToARGBRow_MSA() argument
447 YUVTORGB_SETUP(yuvconstants, vec_ub, vec_vr, vec_ug, vec_vg, vec_bb, vec_bg, in I422AlphaToARGBRow_MSA()
473 const struct YuvConstants* yuvconstants, in I422ToRGB24Row_MSA() argument
488 YUVTORGB_SETUP(yuvconstants, vec_ub, vec_vr, vec_ug, vec_vg, vec_bb, vec_bg, in I422ToRGB24Row_MSA()
527 const struct YuvConstants* yuvconstants, in I422ToRGB565Row_MSA() argument
535 YUVTORGB_SETUP(yuvconstants, vec_ub, vec_vr, vec_ug, vec_vg, vec_bb, vec_bg, in I422ToRGB565Row_MSA()
[all …]
Dplanar_functions.cc1696 const struct YuvConstants* yuvconstants, in I422ToRGBAMatrix() argument
1702 const struct YuvConstants* yuvconstants, int width) = in I422ToRGBAMatrix()
1747 I422ToRGBARow(src_y, src_u, src_v, dst_rgba, yuvconstants, width); in I422ToRGBAMatrix()
1805 const struct YuvConstants* yuvconstants, int width) = NV12ToRGB565Row_C; in NV12ToRGB565()
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Drow.h668 const struct YuvConstants* yuvconstants,
674 const struct YuvConstants* yuvconstants,
681 const struct YuvConstants* yuvconstants,
687 const struct YuvConstants* yuvconstants,
693 const struct YuvConstants* yuvconstants,
699 const struct YuvConstants* yuvconstants,
705 const struct YuvConstants* yuvconstants,
711 const struct YuvConstants* yuvconstants,
717 const struct YuvConstants* yuvconstants,
722 const struct YuvConstants* yuvconstants,
[all …]
/external/libyuv/files/include/libyuv/
Drow.h750 const struct YuvConstants* yuvconstants,
756 const struct YuvConstants* yuvconstants,
763 const struct YuvConstants* yuvconstants,
769 const struct YuvConstants* yuvconstants,
775 const struct YuvConstants* yuvconstants,
781 const struct YuvConstants* yuvconstants,
787 const struct YuvConstants* yuvconstants,
793 const struct YuvConstants* yuvconstants,
799 const struct YuvConstants* yuvconstants,
804 const struct YuvConstants* yuvconstants,
[all …]