Searched defs:src_argb (Results 1 - 25 of 36) sorted by relevance

12

/external/libvpx/libvpx/third_party/libyuv/source/
H A Drotate_argb.cc161 int ARGBRotate(const uint8* src_argb, int src_stride_argb, argument
164 if (!src_argb || width <= 0 || height == 0 || !dst_argb) {
171 src_argb = src_argb + (height - 1) * src_stride_argb;
178 return ARGBCopy(src_argb, src_stride_argb,
182 ARGBRotate90(src_argb, src_stride_argb,
187 ARGBRotate270(src_argb, src_stride_argb,
192 ARGBRotate180(src_argb, src_stride_argb,
H A Dconvert_from_argb.cc25 int ARGBToI444(const uint8* src_argb, int src_stride_argb, argument
31 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int width) =
33 void (*ARGBToUV444Row)(const uint8* src_argb, uint8* dst_u, uint8* dst_v,
35 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) {
40 src_argb = src_argb + (height - 1) * src_stride_argb;
94 ARGBToUV444Row(src_argb, dst_u, dst_v, width);
95 ARGBToYRow(src_argb, dst_y, width);
96 src_argb += src_stride_argb;
106 int ARGBToI422(const uint8* src_argb, in argument
186 ARGBToI411(const uint8* src_argb, int src_stride_argb, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument
258 ARGBToNV12(const uint8* src_argb, int src_stride_argb, uint8* dst_y, int dst_stride_y, uint8* dst_uv, int dst_stride_uv, int width, int height) argument
367 ARGBToNV21(const uint8* src_argb, int src_stride_argb, uint8* dst_y, int dst_stride_y, uint8* dst_uv, int dst_stride_uv, int width, int height) argument
476 ARGBToYUY2(const uint8* src_argb, int src_stride_argb, uint8* dst_yuy2, int dst_stride_yuy2, int width, int height) argument
578 ARGBToUYVY(const uint8* src_argb, int src_stride_argb, uint8* dst_uyvy, int dst_stride_uyvy, int width, int height) argument
680 ARGBToI400(const uint8* src_argb, int src_stride_argb, uint8* dst_y, int dst_stride_y, int width, int height) argument
741 ARGBToRGBA(const uint8* src_argb, int src_stride_argb, uint8* dst_rgba, int dst_stride_rgba, int width, int height) argument
752 ARGBToRGB24(const uint8* src_argb, int src_stride_argb, uint8* dst_rgb24, int dst_stride_rgb24, int width, int height) argument
800 ARGBToRAW(const uint8* src_argb, int src_stride_argb, uint8* dst_raw, int dst_stride_raw, int width, int height) argument
856 ARGBToRGB565Dither(const uint8* src_argb, int src_stride_argb, uint8* dst_rgb565, int dst_stride_rgb565, const uint8* dither4x4, int width, int height) argument
909 ARGBToRGB565(const uint8* src_argb, int src_stride_argb, uint8* dst_rgb565, int dst_stride_rgb565, int width, int height) argument
965 ARGBToARGB1555(const uint8* src_argb, int src_stride_argb, uint8* dst_argb1555, int dst_stride_argb1555, int width, int height) argument
1021 ARGBToARGB4444(const uint8* src_argb, int src_stride_argb, uint8* dst_argb4444, int dst_stride_argb4444, int width, int height) argument
1077 ARGBToJ420(const uint8* src_argb, int src_stride_argb, uint8* dst_yj, int dst_stride_yj, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument
1151 ARGBToJ422(const uint8* src_argb, int src_stride_argb, uint8* dst_yj, int dst_stride_yj, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument
1229 ARGBToJ400(const uint8* src_argb, int src_stride_argb, uint8* dst_yj, int dst_stride_yj, int width, int height) argument
[all...]
H A Dscale_neon.cc763 void ScaleARGBRowDown2Linear_NEON(const uint8* src_argb, ptrdiff_t src_stride, argument
783 : "+r"(src_argb), // %0
831 // Alignment requirement: src_argb 4 byte aligned.
832 void ScaleARGBRowDownEven_NEON(const uint8* src_argb, ptrdiff_t src_stride, argument
849 : "+r"(src_argb), // %0
858 // Alignment requirement: src_argb 4 byte aligned.
859 void ScaleARGBRowDownEvenBox_NEON(const uint8* src_argb, ptrdiff_t src_stride, argument
896 : "+r"(src_argb), // %0
914 void ScaleARGBCols_NEON(uint8* dst_argb, const uint8* src_argb, argument
917 const uint8* src_tmp = src_argb;
956 ScaleARGBFilterCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
[all...]
H A Dscale_neon64.cc778 void ScaleARGBRowDown2Linear_NEON(const uint8* src_argb, ptrdiff_t src_stride, argument
797 : "+r"(src_argb), // %0
841 // Alignment requirement: src_argb 4 byte aligned.
842 void ScaleARGBRowDownEven_NEON(const uint8* src_argb, ptrdiff_t src_stride, argument
858 : "+r"(src_argb), // %0
867 // Alignment requirement: src_argb 4 byte aligned.
870 void ScaleARGBRowDownEvenBox_NEON(const uint8* src_argb, ptrdiff_t src_stride, argument
910 : "+r"(src_argb), // %0
928 void ScaleARGBCols_NEON(uint8* dst_argb, const uint8* src_argb, argument
930 const uint8* src_tmp = src_argb;
973 ScaleARGBFilterCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
[all...]
H A Dscale_argb.cc36 const uint8* src_argb, uint8* dst_argb,
41 void (*ScaleARGBRowDown2)(const uint8* src_argb, ptrdiff_t src_stride,
50 src_argb += (y >> 16) * src_stride + (x >> 16) * 4;
52 src_argb += (y >> 16) * src_stride + ((x >> 16) - 1) * 4;
84 ScaleARGBRowDown2(src_argb, src_stride, dst_argb, dst_width);
85 src_argb += row_stride;
96 const uint8* src_argb, uint8* dst_argb,
103 void (*ScaleARGBRowDown2)(const uint8* src_argb, ptrdiff_t src_stride,
106 src_argb += (y >> 16) * src_stride + (x >> 16) * 4;
127 ScaleARGBRowDown2(src_argb, src_strid
33 ScaleARGBDown2(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
93 ScaleARGBDown4Box(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument
140 ScaleARGBDownEven(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
187 ScaleARGBBilinearDown(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
289 ScaleARGBBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
638 ScaleARGBSimple(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument
788 ARGBScaleClip(const uint8* src_argb, int src_stride_argb, int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, int dst_width, int dst_height, int clip_x, int clip_y, int clip_width, int clip_height, enum FilterMode filtering) argument
810 ARGBScale(const uint8* src_argb, int src_stride_argb, int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, int dst_width, int dst_height, enum FilterMode filtering) argument
[all...]
H A Dscale_gcc.cc927 // Alignment requirement: src_argb 16 byte aligned, dst_argb 16 byte aligned.
951 void ScaleARGBRowDown2_SSE2(const uint8* src_argb, argument
965 : "+r"(src_argb), // %0
972 void ScaleARGBRowDown2Linear_SSE2(const uint8* src_argb, argument
989 : "+r"(src_argb), // %0
996 void ScaleARGBRowDown2Box_SSE2(const uint8* src_argb, argument
1017 : "+r"(src_argb), // %0
1028 void ScaleARGBRowDownEven_SSE2(const uint8* src_argb, ptrdiff_t src_stride, argument
1049 : "+r"(src_argb), // %0
1061 void ScaleARGBRowDownEvenBox_SSE2(const uint8* src_argb, argument
1105 ScaleARGBCols_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1174 ScaleARGBColsUp2_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1210 ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
[all...]
H A Dconvert.cc479 int ARGBToI420(const uint8* src_argb, int src_stride_argb, argument
487 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int width) =
489 if (!src_argb ||
497 src_argb = src_argb + (height - 1) * src_stride_argb;
538 ARGBToUVRow(src_argb, src_stride_argb, dst_u, dst_v, width);
539 ARGBToYRow(src_argb, dst_y, width);
540 ARGBToYRow(src_argb + src_stride_argb, dst_y + dst_stride_y, width);
541 src_argb += src_stride_argb * 2;
547 ARGBToUVRow(src_argb,
[all...]
H A Dconvert_argb.cc29 int ARGBCopy(const uint8* src_argb, int src_stride_argb, argument
32 if (!src_argb || !dst_argb ||
39 src_argb = src_argb + (height - 1) * src_stride_argb;
43 CopyPlane(src_argb, src_stride_argb, dst_argb, dst_stride_argb,
575 void (*ARGBAttenuateRow)(const uint8* src_argb, uint8* dst_argb,
H A Dscale_common.cc681 void ScaleARGBRowDown2_C(const uint8* src_argb, argument
684 const uint32* src = (const uint32*)(src_argb);
699 void ScaleARGBRowDown2Linear_C(const uint8* src_argb, argument
704 dst_argb[0] = (src_argb[0] + src_argb[4] + 1) >> 1;
705 dst_argb[1] = (src_argb[1] + src_argb[5] + 1) >> 1;
706 dst_argb[2] = (src_argb[2] + src_argb[6] + 1) >> 1;
707 dst_argb[3] = (src_argb[
713 ScaleARGBRowDown2Box_C(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument
730 ScaleARGBRowDownEven_C(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument
748 ScaleARGBRowDownEvenBox_C(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument
768 ScaleARGBCols_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
785 ScaleARGBCols64_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x32, int dx) argument
804 ScaleARGBColsUp2_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
828 ScaleARGBFilterCols_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
857 ScaleARGBFilterCols64_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x32, int dx) argument
891 ScalePlaneVertical(int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int y, int dy, int bpp, enum FilterMode filtering) argument
957 ScalePlaneVertical_16(int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_argb, uint16* dst_argb, int x, int y, int dy, int wpp, enum FilterMode filtering) argument
[all...]
H A Dscale_win.cc984 void ScaleARGBRowDown2_SSE2(const uint8* src_argb, argument
988 mov eax, [esp + 4] // src_argb
1009 void ScaleARGBRowDown2Linear_SSE2(const uint8* src_argb, argument
1013 mov eax, [esp + 4] // src_argb
1037 void ScaleARGBRowDown2Box_SSE2(const uint8* src_argb, argument
1042 mov eax, [esp + 4 + 4] // src_argb
1071 void ScaleARGBRowDownEven_SSE2(const uint8* src_argb, ptrdiff_t src_stride, argument
1077 mov eax, [esp + 8 + 4] // src_argb
1107 void ScaleARGBRowDownEvenBox_SSE2(const uint8* src_argb, argument
1115 mov eax, [esp + 12 + 4] // src_argb
1155 ScaleARGBCols_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1246 ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1317 ScaleARGBColsUp2_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
[all...]
H A Dplanar_functions.cc615 int ARGBMirror(const uint8* src_argb, int src_stride_argb, argument
621 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
627 src_argb = src_argb + (height - 1) * src_stride_argb;
657 ARGBMirrorRow(src_argb, dst_argb, width);
658 src_argb += src_stride_argb;
669 void (*ARGBBlendRow)(const uint8* src_argb, const uint8* src_argb1,
692 void (*ARGBBlendRow)(const uint8* src_argb, const uint8* src_argb1,
1423 int ARGBAttenuate(const uint8* src_argb, int src_stride_argb, argument
1427 void (*ARGBAttenuateRow)(const uint8* src_argb, uint
1479 ARGBUnattenuate(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument
1528 ARGBGrayTo(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument
1639 ARGBColorMatrix(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, const int8* matrix_argb, int width, int height) argument
1824 ARGBComputeCumulativeSum(const uint8* src_argb, int src_stride_argb, int32* dst_cumsum, int dst_stride32_cumsum, int width, int height) argument
1854 ARGBBlur(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int32* dst_cumsum, int dst_stride32_cumsum, int width, int height, int radius) argument
1958 ARGBShade(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height, uint32 value) argument
2182 ARGBSobelize(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height, void (*SobelRow)(const uint8* src_sobelx, const uint8* src_sobely, uint8* dst, int width)) argument
2302 ARGBSobel(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument
2329 ARGBSobelToPlane(const uint8* src_argb, int src_stride_argb, uint8* dst_y, int dst_stride_y, int width, int height) argument
2357 ARGBSobelXY(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument
2384 ARGBPolynomial(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, const float* poly, int width, int height) argument
2430 ARGBLumaColorTable(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, const uint8* luma, int width, int height) argument
2470 ARGBCopyAlpha(const uint8* src_argb, int src_stride_argb, uint8* dst_argb, int dst_stride_argb, int width, int height) argument
2519 ARGBExtractAlpha(const uint8* src_argb, int src_stride, uint8* dst_a, int dst_stride, int width, int height) argument
[all...]
/external/libyuv/files/source/
H A Drotate_argb.cc196 int ARGBRotate(const uint8* src_argb, argument
203 if (!src_argb || width <= 0 || height == 0 || !dst_argb) {
210 src_argb = src_argb + (height - 1) * src_stride_argb;
217 return ARGBCopy(src_argb, src_stride_argb, dst_argb, dst_stride_argb,
220 ARGBRotate90(src_argb, src_stride_argb, dst_argb, dst_stride_argb, width,
224 ARGBRotate270(src_argb, src_stride_argb, dst_argb, dst_stride_argb, width,
228 ARGBRotate180(src_argb, src_stride_argb, dst_argb, dst_stride_argb, width,
H A Dconvert_from_argb.cc25 int ARGBToI444(const uint8* src_argb, argument
36 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int width) =
38 void (*ARGBToUV444Row)(const uint8* src_argb, uint8* dst_u, uint8* dst_v,
40 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) {
45 src_argb = src_argb + (height - 1) * src_stride_argb;
121 ARGBToUV444Row(src_argb, dst_u, dst_v, width);
122 ARGBToYRow(src_argb, dst_y, width);
123 src_argb += src_stride_argb;
133 int ARGBToI422(const uint8* src_argb, argument
246 ARGBToNV12(const uint8* src_argb, int src_stride_argb, uint8* dst_y, int dst_stride_y, uint8* dst_uv, int dst_stride_uv, int width, int height) argument
397 ARGBToNV21(const uint8* src_argb, int src_stride_argb, uint8* dst_y, int dst_stride_y, uint8* dst_uv, int dst_stride_uv, int width, int height) argument
548 ARGBToYUY2(const uint8* src_argb, int src_stride_argb, uint8* dst_yuy2, int dst_stride_yuy2, int width, int height) argument
692 ARGBToUYVY(const uint8* src_argb, int src_stride_argb, uint8* dst_uyvy, int dst_stride_uyvy, int width, int height) argument
836 ARGBToI400(const uint8* src_argb, int src_stride_argb, uint8* dst_y, int dst_stride_y, int width, int height) argument
914 ARGBToRGBA(const uint8* src_argb, int src_stride_argb, uint8* dst_rgba, int dst_stride_rgba, int width, int height) argument
926 ARGBToRGB24(const uint8* src_argb, int src_stride_argb, uint8* dst_rgb24, int dst_stride_rgb24, int width, int height) argument
984 ARGBToRAW(const uint8* src_argb, int src_stride_argb, uint8* dst_raw, int dst_stride_raw, int width, int height) argument
1047 ARGBToRGB565Dither(const uint8* src_argb, int src_stride_argb, uint8* dst_rgb565, int dst_stride_rgb565, const uint8* dither4x4, int width, int height) argument
1115 ARGBToRGB565(const uint8* src_argb, int src_stride_argb, uint8* dst_rgb565, int dst_stride_rgb565, int width, int height) argument
1181 ARGBToARGB1555(const uint8* src_argb, int src_stride_argb, uint8* dst_argb1555, int dst_stride_argb1555, int width, int height) argument
1247 ARGBToARGB4444(const uint8* src_argb, int src_stride_argb, uint8* dst_argb4444, int dst_stride_argb4444, int width, int height) argument
1313 ARGBToJ420(const uint8* src_argb, int src_stride_argb, uint8* dst_yj, int dst_stride_yj, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument
1406 ARGBToJ422(const uint8* src_argb, int src_stride_argb, uint8* dst_yj, int dst_stride_yj, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height) argument
1501 ARGBToJ400(const uint8* src_argb, int src_stride_argb, uint8* dst_yj, int dst_stride_yj, int width, int height) argument
[all...]
H A Dscale_neon.cc794 void ScaleARGBRowDown2Linear_NEON(const uint8* src_argb, argument
817 : "+r"(src_argb), // %0
867 // Alignment requirement: src_argb 4 byte aligned.
868 void ScaleARGBRowDownEven_NEON(const uint8* src_argb, argument
889 : "+r"(src_argb), // %0
898 // Alignment requirement: src_argb 4 byte aligned.
899 void ScaleARGBRowDownEvenBox_NEON(const uint8* src_argb, argument
938 : "+r"(src_argb), // %0
959 const uint8* src_argb,
964 const uint8* src_tmp = src_argb;
958 ScaleARGBCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1005 ScaleARGBFilterCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
[all...]
H A Dscale_neon64.cc813 void ScaleARGBRowDown2Linear_NEON(const uint8* src_argb, argument
835 : "+r"(src_argb), // %0
881 // Alignment requirement: src_argb 4 byte aligned.
882 void ScaleARGBRowDownEven_NEON(const uint8* src_argb, argument
902 : "+r"(src_argb), // %0
911 // Alignment requirement: src_argb 4 byte aligned.
914 void ScaleARGBRowDownEvenBox_NEON(const uint8* src_argb, argument
956 : "+r"(src_argb), // %0
977 const uint8* src_argb,
981 const uint8* src_tmp = src_argb;
976 ScaleARGBCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1026 ScaleARGBFilterCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
[all...]
H A Dscale_argb.cc39 const uint8* src_argb,
48 void (*ScaleARGBRowDown2)(const uint8* src_argb, ptrdiff_t src_stride,
61 src_argb += (y >> 16) * src_stride + (x >> 16) * 4;
63 src_argb += (y >> 16) * src_stride + ((x >> 16) - 1) * 4;
119 ScaleARGBRowDown2(src_argb, src_stride, dst_argb, dst_width);
120 src_argb += row_stride;
134 const uint8* src_argb,
145 void (*ScaleARGBRowDown2)(const uint8* src_argb, ptrdiff_t src_stride,
149 src_argb += (y >> 16) * src_stride + (x >> 16) * 4;
173 ScaleARGBRowDown2(src_argb, src_strid
33 ScaleARGBDown2(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
128 ScaleARGBDown4Box(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument
186 ScaleARGBDownEven(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
252 ScaleARGBBilinearDown(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
369 ScaleARGBBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
752 ScaleARGBSimple(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument
907 ARGBScaleClip(const uint8* src_argb, int src_stride_argb, int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, int dst_width, int dst_height, int clip_x, int clip_y, int clip_width, int clip_height, enum FilterMode filtering) argument
935 ARGBScale(const uint8* src_argb, int src_stride_argb, int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, int dst_width, int dst_height, enum FilterMode filtering) argument
[all...]
H A Dscale_gcc.cc957 // Alignment requirement: src_argb 16 byte aligned, dst_argb 16 byte aligned.
986 void ScaleARGBRowDown2_SSE2(const uint8* src_argb, argument
1002 : "+r"(src_argb), // %0
1009 void ScaleARGBRowDown2Linear_SSE2(const uint8* src_argb, argument
1028 : "+r"(src_argb), // %0
1035 void ScaleARGBRowDown2Box_SSE2(const uint8* src_argb, argument
1057 : "+r"(src_argb), // %0
1068 void ScaleARGBRowDownEven_SSE2(const uint8* src_argb, argument
1093 : "+r"(src_argb), // %0
1105 void ScaleARGBRowDownEvenBox_SSE2(const uint8* src_argb, argument
1151 ScaleARGBCols_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1223 ScaleARGBColsUp2_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1264 ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
[all...]
H A Dscale_msa.cc24 void ScaleARGBRowDown2_MSA(const uint8_t* src_argb, argument
33 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb, 0);
34 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb, 16);
37 src_argb += 32;
42 void ScaleARGBRowDown2Linear_MSA(const uint8_t* src_argb, argument
51 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb, 0);
52 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb, 16);
57 src_argb += 32;
62 void ScaleARGBRowDown2Box_MSA(const uint8_t* src_argb, argument
67 const uint8_t* s = src_argb;
98 ScaleARGBRowDownEven_MSA(const uint8_t* src_argb, ptrdiff_t src_stride, int32_t src_stepx, uint8_t* dst_argb, int dst_width) argument
122 ScaleARGBRowDownEvenBox_MSA(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument
[all...]
H A Dconvert.cc522 int ARGBToI420(const uint8* src_argb, argument
535 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int width) =
537 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) {
543 src_argb = src_argb + (height - 1) * src_stride_argb;
616 ARGBToUVRow(src_argb, src_stride_argb, dst_u, dst_v, width);
617 ARGBToYRow(src_argb, dst_y, width);
618 ARGBToYRow(src_argb + src_stride_argb, dst_y + dst_stride_y, width);
619 src_argb += src_stride_argb * 2;
625 ARGBToUVRow(src_argb,
[all...]
H A Dconvert_argb.cc29 int ARGBCopy(const uint8* src_argb, argument
35 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
41 src_argb = src_argb + (height - 1) * src_stride_argb;
45 CopyPlane(src_argb, src_stride_argb, dst_argb, dst_stride_argb, width * 4,
589 void (*ARGBAttenuateRow)(const uint8* src_argb, uint8* dst_argb, int width) =
H A Dscale_common.cc775 void ScaleARGBRowDown2_C(const uint8* src_argb, argument
779 const uint32* src = (const uint32*)(src_argb);
794 void ScaleARGBRowDown2Linear_C(const uint8* src_argb, argument
801 dst_argb[0] = (src_argb[0] + src_argb[4] + 1) >> 1;
802 dst_argb[1] = (src_argb[1] + src_argb[5] + 1) >> 1;
803 dst_argb[2] = (src_argb[2] + src_argb[6] + 1) >> 1;
804 dst_argb[3] = (src_argb[
810 ScaleARGBRowDown2Box_C(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument
833 ScaleARGBRowDownEven_C(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument
853 ScaleARGBRowDownEvenBox_C(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument
878 ScaleARGBCols_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
898 ScaleARGBCols64_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x32, int dx) argument
920 ScaleARGBColsUp2_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
949 ScaleARGBFilterCols_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
981 ScaleARGBFilterCols64_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x32, int dx) argument
1018 ScalePlaneVertical(int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int y, int dy, int bpp, enum FilterMode filtering) argument
1098 ScalePlaneVertical_16(int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_argb, uint16* dst_argb, int x, int y, int dy, int wpp, enum FilterMode filtering) argument
[all...]
H A Dscale_win.cc994 __declspec(naked) void ScaleARGBRowDown2_SSE2(const uint8* src_argb, argument
999 mov eax, [esp + 4] // src_argb
1019 __declspec(naked) void ScaleARGBRowDown2Linear_SSE2(const uint8* src_argb, argument
1024 mov eax, [esp + 4] // src_argb
1047 __declspec(naked) void ScaleARGBRowDown2Box_SSE2(const uint8* src_argb, argument
1053 mov eax, [esp + 4 + 4] // src_argb
1081 __declspec(naked) void ScaleARGBRowDownEven_SSE2(const uint8* src_argb, argument
1089 mov eax, [esp + 8 + 4] // src_argb
1118 __declspec(naked) void ScaleARGBRowDownEvenBox_SSE2(const uint8* src_argb, argument
1127 mov eax, [esp + 12 + 4] // src_argb
1166 ScaleARGBCols_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1259 ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
1332 ScaleARGBColsUp2_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
[all...]
/external/pdfium/core/fpdfapi/render/
H A Dcpdf_dibtransferfunc.cpp85 FX_ARGB src_argb = pPal[*src_buf]; local
86 (*dest_buf)[index++] = m_RampB[FXARGB_R(src_argb)];
87 (*dest_buf)[index++] = m_RampG[FXARGB_G(src_argb)];
88 (*dest_buf)[index++] = m_RampR[FXARGB_B(src_argb)];
/external/libyuv/files/unit_test/
H A Dscale_argb_test.cc44 align_buffer_page_end(src_argb, src_argb_plane_size);
45 if (!src_argb) {
49 MemRandomize(src_argb, src_argb_plane_size);
65 ARGBScale(src_argb + (src_stride_argb * b) + b * 4, src_stride_argb,
69 ARGBScale(src_argb + (src_stride_argb * b) + b * 4, src_stride_argb,
75 ARGBScale(src_argb + (src_stride_argb * b) + b * 4, src_stride_argb,
84 ARGBScale(src_argb + (src_stride_argb * b) + b * 4, src_stride_argb,
112 free_aligned_buffer_page_end(src_argb);
119 static int TileARGBScale(const uint8* src_argb, argument
138 int r = ARGBScaleClip(src_argb, src_stride_arg
[all...]
/external/libyuv/files/util/
H A Dyuvconvert.cc12 // Usage: yuvconvert src_argb.raw dst_yuv.raw
63 printf("%s [-options] src_argb.raw dst_yuv.raw\n", program);
72 printf(" -skip <src_argb> ....... Number of frame to skip of src_argb\n");
161 static int TileARGBScale(const uint8* src_argb, argument
180 int r = libyuv::ARGBScaleClip(src_argb, src_stride_argb, src_width,

Completed in 990 milliseconds

12