Home
last modified time | relevance | path

Searched refs:src_argb (Results 1 – 21 of 21) sorted by relevance

/external/libyuv/files/source/
Dplanar_functions.cc269 int ARGBMirror(const uint8* src_argb, int src_stride_argb, in ARGBMirror() argument
272 if (!src_argb || !dst_argb || width <= 0 || height == 0) { in ARGBMirror()
278 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBMirror()
286 IS_ALIGNED(src_argb, 16) && IS_ALIGNED(src_stride_argb, 16) && in ARGBMirror()
294 ARGBMirrorRow(src_argb, dst_argb, width); in ARGBMirror()
295 src_argb += src_stride_argb; in ARGBMirror()
306 void (*ARGBBlendRow)(const uint8* src_argb, const uint8* src_argb1, in GetARGBBlend()
337 void (*ARGBBlendRow)(const uint8* src_argb, const uint8* src_argb1, in ARGBBlend()
351 int ARGBToI400(const uint8* src_argb, int src_stride_argb, in ARGBToI400() argument
354 if (!src_argb || !dst_y || width <= 0 || height == 0) { in ARGBToI400()
[all …]
Drow_common.cc142 void ARGBToRGBARow_C(const uint8* src_argb, uint8* dst_rgb, int width) { in ARGBToRGBARow_C() argument
144 uint8 b = src_argb[0]; in ARGBToRGBARow_C()
145 uint8 g = src_argb[1]; in ARGBToRGBARow_C()
146 uint8 r = src_argb[2]; in ARGBToRGBARow_C()
147 uint8 a = src_argb[3]; in ARGBToRGBARow_C()
153 src_argb += 4; in ARGBToRGBARow_C()
157 void ARGBToRGB24Row_C(const uint8* src_argb, uint8* dst_rgb, int width) { in ARGBToRGB24Row_C() argument
159 uint8 b = src_argb[0]; in ARGBToRGB24Row_C()
160 uint8 g = src_argb[1]; in ARGBToRGB24Row_C()
161 uint8 r = src_argb[2]; in ARGBToRGB24Row_C()
[all …]
Dformat_conversion.cc30 static void ARGBToBayerRow_SSSE3(const uint8* src_argb, in ARGBToBayerRow_SSSE3() argument
55 static void ARGBToBayerRow_SSSE3(const uint8* src_argb, uint8* dst_bayer,
69 : "+r"(src_argb), // %0
82 static void ARGBToBayerRow_C(const uint8* src_argb, in ARGBToBayerRow_C() argument
88 dst_bayer[0] = src_argb[index0]; in ARGBToBayerRow_C()
89 dst_bayer[1] = src_argb[index1]; in ARGBToBayerRow_C()
90 src_argb += 8; in ARGBToBayerRow_C()
94 dst_bayer[0] = src_argb[index0]; in ARGBToBayerRow_C()
138 int ARGBToBayer(const uint8* src_argb, int src_stride_argb, in ARGBToBayer() argument
144 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBToBayer()
[all …]
Drotate_argb.cc130 int ARGBRotate(const uint8* src_argb, int src_stride_argb, in ARGBRotate() argument
134 if (!src_argb || width <= 0 || height == 0 || !dst_argb) { in ARGBRotate()
141 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBRotate()
148 return ARGBCopy(src_argb, src_stride_argb, in ARGBRotate()
152 ARGBRotate90(src_argb, src_stride_argb, in ARGBRotate()
157 ARGBRotate270(src_argb, src_stride_argb, in ARGBRotate()
162 ARGBRotate180(src_argb, src_stride_argb, in ARGBRotate()
Drow_posix.cc222 void ARGBToRGBARow_SSSE3(const uint8* src_argb, uint8* dst_rgba, int pix) { in ARGBToRGBARow_SSSE3() argument
235 : "+r"(src_argb), // %0 in ARGBToRGBARow_SSSE3()
669 void ARGBToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix) { in ARGBToYRow_SSSE3() argument
694 : "+r"(src_argb), // %0 in ARGBToYRow_SSSE3()
706 void ARGBToYRow_Unaligned_SSSE3(const uint8* src_argb, uint8* dst_y, int pix) { in ARGBToYRow_Unaligned_SSSE3() argument
731 : "+r"(src_argb), // %0 in ARGBToYRow_Unaligned_SSSE3()
2874 void ARGBAttenuateRow_SSE2(const uint8* src_argb, uint8* dst_argb, int width) { in ARGBAttenuateRow_SSE2() argument
2906 : "+r"(src_argb), // %0 in ARGBAttenuateRow_SSE2()
2929 void ARGBAttenuateRow_SSSE3(const uint8* src_argb, uint8* dst_argb, int width) { in ARGBAttenuateRow_SSSE3() argument
2960 : "+r"(src_argb), // %0 in ARGBAttenuateRow_SSSE3()
[all …]
Drow_neon.cc639 void ARGBToRGBARow_NEON(const uint8* src_argb, uint8* dst_rgba, int pix) { in ARGBToRGBARow_NEON() argument
648 : "+r"(src_argb), // %0 in ARGBToRGBARow_NEON()
658 void ARGBToRGB24Row_NEON(const uint8* src_argb, uint8* dst_rgb24, int pix) { in ARGBToRGB24Row_NEON() argument
666 : "+r"(src_argb), // %0 in ARGBToRGB24Row_NEON()
676 void ARGBToRAWRow_NEON(const uint8* src_argb, uint8* dst_raw, int pix) { in ARGBToRAWRow_NEON() argument
685 : "+r"(src_argb), // %0 in ARGBToRAWRow_NEON()
Dconvert.cc926 int ARGBToI420(const uint8* src_argb, int src_stride_argb, in ARGBToI420() argument
931 if (!src_argb || in ARGBToI420()
939 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBToI420()
942 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int pix); in ARGBToI420()
957 if (IS_ALIGNED(src_argb, 16) && IS_ALIGNED(src_stride_argb, 16)) { in ARGBToI420()
968 ARGBToUVRow(src_argb, src_stride_argb, dst_u, dst_v, width); in ARGBToI420()
969 ARGBToYRow(src_argb, dst_y, width); in ARGBToI420()
970 ARGBToYRow(src_argb + src_stride_argb, dst_y + dst_stride_y, width); in ARGBToI420()
971 src_argb += src_stride_argb * 2; in ARGBToI420()
977 ARGBToUVRow(src_argb, 0, dst_u, dst_v, width); in ARGBToI420()
[all …]
Dscale_argb.cc1011 int ARGBScale(const uint8* src_argb, int src_stride_argb, in ARGBScale() argument
1016 if (!src_argb || src_width <= 0 || src_height == 0 || in ARGBScale()
1023 src_argb = src_argb + (src_height - 1) * src_stride_argb; in ARGBScale()
1026 ScaleARGB(src_argb, src_stride_argb, src_width, src_height, in ARGBScale()
Drow_win.cc217 void ARGBToRGBARow_SSSE3(const uint8* src_argb, uint8* dst_rgba, int pix) { in ARGBToRGBARow_SSSE3() argument
468 void ARGBToRGB24Row_SSSE3(const uint8* src_argb, uint8* dst_rgb, int pix) { in ARGBToRGB24Row_SSSE3() argument
507 void ARGBToRAWRow_SSSE3(const uint8* src_argb, uint8* dst_rgb, int pix) { in ARGBToRAWRow_SSSE3() argument
546 void ARGBToRGB565Row_SSE2(const uint8* src_argb, uint8* dst_rgb, int pix) { in ARGBToRGB565Row_SSE2() argument
585 void ARGBToARGB1555Row_SSE2(const uint8* src_argb, uint8* dst_rgb, int pix) { in ARGBToARGB1555Row_SSE2() argument
627 void ARGBToARGB4444Row_SSE2(const uint8* src_argb, uint8* dst_rgb, int pix) { in ARGBToARGB4444Row_SSE2() argument
658 void ARGBToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix) { in ARGBToYRow_SSSE3() argument
692 void ARGBToYRow_Unaligned_SSSE3(const uint8* src_argb, uint8* dst_y, int pix) { in ARGBToYRow_Unaligned_SSSE3() argument
726 void BGRAToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix) { in BGRAToYRow_SSSE3() argument
760 void BGRAToYRow_Unaligned_SSSE3(const uint8* src_argb, uint8* dst_y, int pix) { in BGRAToYRow_Unaligned_SSSE3() argument
[all …]
Dconvert_argb.cc31 int ARGBCopy(const uint8* src_argb, int src_stride_argb, in ARGBCopy() argument
34 if (!src_argb || !dst_argb || in ARGBCopy()
41 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBCopy()
45 CopyPlane(src_argb, src_stride_argb, dst_argb, dst_stride_argb, in ARGBCopy()
Dconvert_from.cc1099 void (*ARGBToARGB1555Row)(const uint8* src_argb, uint8* dst_rgb, int pix) = in I420ToARGB1555()
1159 void (*ARGBToARGB4444Row)(const uint8* src_argb, uint8* dst_rgb, int pix) = in I420ToARGB4444()
/external/libyuv/files/include/libyuv/
Drow.h218 void ARGBToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
219 void BGRAToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
220 void ABGRToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
221 void RGBAToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
222 void ARGBToYRow_Unaligned_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
223 void BGRAToYRow_Unaligned_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
224 void ABGRToYRow_Unaligned_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
225 void RGBAToYRow_Unaligned_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
274 void ARGBToYRow_C(const uint8* src_argb, uint8* dst_y, int pix);
275 void BGRAToYRow_C(const uint8* src_argb, uint8* dst_y, int pix);
[all …]
Dplanar_functions.h74 int ARGBMirror(const uint8* src_argb, int src_stride_argb,
104 int ARGBToRGB24(const uint8* src_argb, int src_stride_argb,
110 int ARGBToRAW(const uint8* src_argb, int src_stride_argb,
116 int ARGBToRGB565(const uint8* src_argb, int src_stride_argb,
122 int ARGBToARGB1555(const uint8* src_argb, int src_stride_argb,
128 int ARGBToARGB4444(const uint8* src_argb, int src_stride_argb,
134 int ARGBToI400(const uint8* src_argb, int src_stride_argb,
186 int ARGBGrayTo(const uint8* src_argb, int src_stride_argb,
228 int ARGBCopy(const uint8* src_argb, int src_stride_argb,
265 int ARGBAttenuate(const uint8* src_argb, int src_stride_argb,
[all …]
Dformat_conversion.h135 int ARGBToBayerBGGR(const uint8* src_argb, int src_stride_argb,
140 int ARGBToBayerGBRG(const uint8* src_argb, int src_stride_argb,
145 int ARGBToBayerGRBG(const uint8* src_argb, int src_stride_argb,
150 int ARGBToBayerRGGB(const uint8* src_argb, int src_stride_argb,
158 int ARGBToBayer(const uint8* src_argb, int src_stride_argb,
Drotate_argb.h24 int ARGBRotate(const uint8* src_argb, int src_stride_argb,
Dscale_argb.h23 int ARGBScale(const uint8* src_argb, int src_stride_argb,
Dconvert_argb.h36 int ARGBCopy(const uint8* src_argb, int src_stride_argb,
/external/libyuv/files/unit_test/
Drotate_argb_test.cc27 align_buffer_16(src_argb, src_argb_plane_size) in ARGBTestRotate()
28 memset(src_argb, 1, src_argb_plane_size); in ARGBTestRotate()
38 src_argb[(i * src_stride_argb) + j] = (random() & 0xff); in ARGBTestRotate()
49 ARGBRotate(src_argb + (src_stride_argb * b) + b * 4, src_stride_argb, in ARGBTestRotate()
53 ARGBRotate(src_argb + (src_stride_argb * b) + b * 4, src_stride_argb, in ARGBTestRotate()
60 ARGBRotate(src_argb + (src_stride_argb * b) + b * 4, src_stride_argb, in ARGBTestRotate()
69 ARGBRotate(src_argb + (src_stride_argb * b) + b * 4, src_stride_argb, in ARGBTestRotate()
95 free_aligned_buffer_16(src_argb) in ARGBTestRotate()
Dscale_argb_test.cc27 align_buffer_16(src_argb, src_argb_plane_size) in ARGBTestFilter()
28 memset(src_argb, 1, src_argb_plane_size); in ARGBTestFilter()
38 src_argb[(i * src_stride_argb) + j] = (random() & 0xff); in ARGBTestFilter()
49 ARGBScale(src_argb + (src_stride_argb * b) + b * 4, src_stride_argb, in ARGBTestFilter()
54 ARGBScale(src_argb + (src_stride_argb * b) + b * 4, src_stride_argb, in ARGBTestFilter()
62 ARGBScale(src_argb + (src_stride_argb * b) + b * 4, src_stride_argb, in ARGBTestFilter()
72 ARGBScale(src_argb + (src_stride_argb * b) + b * 4, src_stride_argb, in ARGBTestFilter()
100 free_aligned_buffer_16(src_argb) in ARGBTestFilter()
Dplanar_test.cc173 align_buffer_16(src_argb, kStride * kHeight); \
183 src_argb[(i * kStride) + j] = (random() & 0xff); \
185 FMT_A##To##FMT_PLANAR(src_argb, kStride, \
192 FMT_A##To##FMT_PLANAR(src_argb, kStride, \
238 free_aligned_buffer_16(src_argb) \
273 align_buffer_16(src_argb, (kWidth * BPP_A) * kHeight); \
278 src_argb[i] = (random() & 0xff); \
281 FMT_A##To##FMT_B(src_argb, kWidth * STRIDE_A, \
286 FMT_A##To##FMT_B(src_argb, kWidth * STRIDE_A, \
300 free_aligned_buffer_16(src_argb) \
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Drow.h81 void ARGBToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
82 void BGRAToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
83 void ABGRToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
95 void RGB24ToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
96 void RAWToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int pix);
110 void ARGBToYRow_C(const uint8* src_argb, uint8* dst_y, int pix);
111 void BGRAToYRow_C(const uint8* src_argb, uint8* dst_y, int pix);
112 void ABGRToYRow_C(const uint8* src_argb, uint8* dst_y, int pix);
113 void RGB24ToYRow_C(const uint8* src_argb, uint8* dst_y, int pix);
114 void RAWToYRow_C(const uint8* src_argb, uint8* dst_y, int pix);