/external/libvpx/libvpx/third_party/libyuv/source/ |
D | format_conversion.cc | 111 uint8* dst_argb, int pix) { in BayerRowBG() argument 117 dst_argb[0] = src_bayer0[0]; in BayerRowBG() 118 dst_argb[1] = AVG(g, src_bayer0[1]); in BayerRowBG() 119 dst_argb[2] = AVG(r, src_bayer1[1]); in BayerRowBG() 120 dst_argb[3] = 255U; in BayerRowBG() 121 dst_argb[4] = AVG(src_bayer0[0], src_bayer0[2]); in BayerRowBG() 122 dst_argb[5] = src_bayer0[1]; in BayerRowBG() 123 dst_argb[6] = src_bayer1[1]; in BayerRowBG() 124 dst_argb[7] = 255U; in BayerRowBG() 129 dst_argb += 8; in BayerRowBG() [all …]
|
D | convert_argb.cc | 30 uint8* dst_argb, int dst_stride_argb, in ARGBCopy() argument 32 if (!src_argb || !dst_argb || in ARGBCopy() 43 CopyPlane(src_argb, src_stride_argb, dst_argb, dst_stride_argb, in ARGBCopy() 53 uint8* dst_argb, int dst_stride_argb, in I444ToARGB() argument 62 !dst_argb || in I444ToARGB() 69 dst_argb = dst_argb + (height - 1) * dst_stride_argb; in I444ToARGB() 86 if (IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) { in I444ToARGB() 101 I444ToARGBRow(src_y, src_u, src_v, dst_argb, width); in I444ToARGB() 102 dst_argb += dst_stride_argb; in I444ToARGB() 115 uint8* dst_argb, int dst_stride_argb, in I422ToARGB() argument [all …]
|
D | planar_functions.cc | 486 uint8* dst_argb, int dst_stride_argb, in ARGBMirror() argument 491 if (!src_argb || !dst_argb || width <= 0 || height == 0) { in ARGBMirror() 504 IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) { in ARGBMirror() 521 ARGBMirrorRow(src_argb, dst_argb, width); in ARGBMirror() 523 dst_argb += dst_stride_argb; in ARGBMirror() 534 uint8* dst_argb, int width) = ARGBBlendRow_C; in GetARGBBlend() 558 uint8* dst_argb, int dst_stride_argb, in ARGBBlend() argument 562 uint8* dst_argb, int width) = GetARGBBlend(); in ARGBBlend() 563 if (!src_argb0 || !src_argb1 || !dst_argb || width <= 0 || height == 0) { in ARGBBlend() 569 dst_argb = dst_argb + (height - 1) * dst_stride_argb; in ARGBBlend() [all …]
|
D | row_common.cc | 73 void RGB24ToARGBRow_C(const uint8* src_rgb24, uint8* dst_argb, int width) { in RGB24ToARGBRow_C() argument 79 dst_argb[0] = b; in RGB24ToARGBRow_C() 80 dst_argb[1] = g; in RGB24ToARGBRow_C() 81 dst_argb[2] = r; in RGB24ToARGBRow_C() 82 dst_argb[3] = 255u; in RGB24ToARGBRow_C() 83 dst_argb += 4; in RGB24ToARGBRow_C() 88 void RAWToARGBRow_C(const uint8* src_raw, uint8* dst_argb, int width) { in RAWToARGBRow_C() argument 94 dst_argb[0] = b; in RAWToARGBRow_C() 95 dst_argb[1] = g; in RAWToARGBRow_C() 96 dst_argb[2] = r; in RAWToARGBRow_C() [all …]
|
D | scale_argb.cc | 36 const uint8* src_argb, uint8* dst_argb, in ScaleARGBDown2() argument 42 uint8* dst_argb, int dst_width) = in ScaleARGBDown2() 58 IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride, 16)) { in ScaleARGBDown2() 75 ScaleARGBRowDown2(src_argb, src_stride, dst_argb, dst_width); in ScaleARGBDown2() 77 dst_argb += dst_stride; in ScaleARGBDown2() 87 const uint8* src_argb, uint8* dst_argb, in ScaleARGBDown4Box() argument 95 uint8* dst_argb, int dst_width) = ScaleARGBRowDown2Box_C; in ScaleARGBDown4Box() 103 IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride, 16)) { in ScaleARGBDown4Box() 116 ScaleARGBRowDown2(row, kRowSize, dst_argb, dst_width); in ScaleARGBDown4Box() 118 dst_argb += dst_stride; in ScaleARGBDown4Box() [all …]
|
D | row_neon.cc | 129 uint8* dst_argb, in I444ToARGBRow_NEON() argument 151 "+r"(dst_argb), // %3 in I444ToARGBRow_NEON() 163 uint8* dst_argb, in I422ToARGBRow_NEON() argument 185 "+r"(dst_argb), // %3 in I422ToARGBRow_NEON() 197 uint8* dst_argb, in I411ToARGBRow_NEON() argument 219 "+r"(dst_argb), // %3 in I411ToARGBRow_NEON() 541 uint8* dst_argb, in YToARGBRow_NEON() argument 561 "+r"(dst_argb), // %1 in YToARGBRow_NEON() 571 uint8* dst_argb, in I400ToARGBRow_NEON() argument 586 "+r"(dst_argb), // %1 in I400ToARGBRow_NEON() [all …]
|
D | row_neon64.cc | 130 uint8* dst_argb, in I444ToARGBRow_NEON() argument 152 "+r"(dst_argb), // %3 in I444ToARGBRow_NEON() 166 uint8* dst_argb, in I422ToARGBRow_NEON() argument 188 "+r"(dst_argb), // %3 in I422ToARGBRow_NEON() 202 uint8* dst_argb, in I411ToARGBRow_NEON() argument 224 "+r"(dst_argb), // %3 in I411ToARGBRow_NEON() 564 uint8* dst_argb, in YToARGBRow_NEON() argument 584 "+r"(dst_argb), // %1 in YToARGBRow_NEON() 596 uint8* dst_argb, in I400ToARGBRow_NEON() argument 611 "+r"(dst_argb), // %1 in I400ToARGBRow_NEON() [all …]
|
D | row_posix.cc | 143 void TestRow_SSE2(const uint8* src_y, uint8* dst_argb, int pix) { in TestRow_SSE2() argument 229 "+r"(dst_argb), // %1 in TestRow_SSE2() 241 void I400ToARGBRow_SSE2(const uint8* src_y, uint8* dst_argb, int pix) { in I400ToARGBRow_SSE2() argument 261 "+r"(dst_argb), // %1 in I400ToARGBRow_SSE2() 271 void I400ToARGBRow_Unaligned_SSE2(const uint8* src_y, uint8* dst_argb, in I400ToARGBRow_Unaligned_SSE2() argument 292 "+r"(dst_argb), // %1 in I400ToARGBRow_Unaligned_SSE2() 304 void RGB24ToARGBRow_SSSE3(const uint8* src_rgb24, uint8* dst_argb, int pix) { in RGB24ToARGBRow_SSSE3() argument 335 "+r"(dst_argb), // %1 in RGB24ToARGBRow_SSSE3() 345 void RAWToARGBRow_SSSE3(const uint8* src_raw, uint8* dst_argb, int pix) { in RAWToARGBRow_SSSE3() argument 376 "+r"(dst_argb), // %1 in RAWToARGBRow_SSSE3() [all …]
|
D | scale_common.cc | 662 uint8* dst_argb, int dst_width) { in ScaleARGBRowDown2_C() argument 664 uint32* dst = (uint32*)(dst_argb); in ScaleARGBRowDown2_C() 680 uint8* dst_argb, int dst_width) { in ScaleARGBRowDown2Linear_C() argument 683 dst_argb[0] = (src_argb[0] + src_argb[4] + 1) >> 1; in ScaleARGBRowDown2Linear_C() 684 dst_argb[1] = (src_argb[1] + src_argb[5] + 1) >> 1; in ScaleARGBRowDown2Linear_C() 685 dst_argb[2] = (src_argb[2] + src_argb[6] + 1) >> 1; in ScaleARGBRowDown2Linear_C() 686 dst_argb[3] = (src_argb[3] + src_argb[7] + 1) >> 1; in ScaleARGBRowDown2Linear_C() 688 dst_argb += 4; in ScaleARGBRowDown2Linear_C() 693 uint8* dst_argb, int dst_width) { in ScaleARGBRowDown2Box_C() argument 696 dst_argb[0] = (src_argb[0] + src_argb[4] + in ScaleARGBRowDown2Box_C() [all …]
|
D | scale_posix.cc | 897 uint8* dst_argb, int dst_width) { in ScaleARGBRowDown2_SSE2() argument 910 "+r"(dst_argb), // %1 in ScaleARGBRowDown2_SSE2() 922 uint8* dst_argb, int dst_width) { in ScaleARGBRowDown2Linear_SSE2() argument 938 "+r"(dst_argb), // %1 in ScaleARGBRowDown2Linear_SSE2() 950 uint8* dst_argb, int dst_width) { in ScaleARGBRowDown2Box_SSE2() argument 971 "+r"(dst_argb), // %1 in ScaleARGBRowDown2Box_SSE2() 988 uint8* dst_argb, int dst_width) { in ScaleARGBRowDownEven_SSE2() argument 1011 "+r"(dst_argb), // %2 in ScaleARGBRowDownEven_SSE2() 1029 uint8* dst_argb, int dst_width) { in ScaleARGBRowDownEvenBox_SSE2() argument 1064 "+r"(dst_argb), // %2 in ScaleARGBRowDownEvenBox_SSE2() [all …]
|
D | rotate_argb.cc | 165 uint8* dst_argb, int dst_stride_argb, in ARGBRotate() argument 168 if (!src_argb || width <= 0 || height == 0 || !dst_argb) { in ARGBRotate() 183 dst_argb, dst_stride_argb, in ARGBRotate() 187 dst_argb, dst_stride_argb, in ARGBRotate() 192 dst_argb, dst_stride_argb, in ARGBRotate() 197 dst_argb, dst_stride_argb, in ARGBRotate()
|
/external/libyuv/files/source/ |
D | format_conversion.cc | 176 uint8* dst_argb, int pix) { in BayerRowBG() argument 181 dst_argb[0] = src_bayer0[0]; in BayerRowBG() 182 dst_argb[1] = AVG(g, src_bayer0[1]); in BayerRowBG() 183 dst_argb[2] = AVG(r, src_bayer1[1]); in BayerRowBG() 184 dst_argb[3] = 255U; in BayerRowBG() 185 dst_argb[4] = AVG(src_bayer0[0], src_bayer0[2]); in BayerRowBG() 186 dst_argb[5] = src_bayer0[1]; in BayerRowBG() 187 dst_argb[6] = src_bayer1[1]; in BayerRowBG() 188 dst_argb[7] = 255U; in BayerRowBG() 193 dst_argb += 8; in BayerRowBG() [all …]
|
D | convert_argb.cc | 32 uint8* dst_argb, int dst_stride_argb, in ARGBCopy() argument 34 if (!src_argb || !dst_argb || in ARGBCopy() 45 CopyPlane(src_argb, src_stride_argb, dst_argb, dst_stride_argb, in ARGBCopy() 55 uint8* dst_argb, int dst_stride_argb, in I444ToARGB() argument 58 !dst_argb || in I444ToARGB() 65 dst_argb = dst_argb + (height - 1) * dst_stride_argb; in I444ToARGB() 78 if (IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) { in I444ToARGB() 86 I444ToARGBRow(src_y, src_u, src_v, dst_argb, width); in I444ToARGB() 87 dst_argb += dst_stride_argb; in I444ToARGB() 100 uint8* dst_argb, int dst_stride_argb, in I422ToARGB() argument [all …]
|
D | row_common.cc | 22 void BGRAToARGBRow_C(const uint8* src_bgra, uint8* dst_argb, int width) { in BGRAToARGBRow_C() argument 29 dst_argb[0] = b; in BGRAToARGBRow_C() 30 dst_argb[1] = g; in BGRAToARGBRow_C() 31 dst_argb[2] = r; in BGRAToARGBRow_C() 32 dst_argb[3] = a; in BGRAToARGBRow_C() 33 dst_argb += 4; in BGRAToARGBRow_C() 38 void ABGRToARGBRow_C(const uint8* src_abgr, uint8* dst_argb, int width) { in ABGRToARGBRow_C() argument 45 dst_argb[0] = b; in ABGRToARGBRow_C() 46 dst_argb[1] = g; in ABGRToARGBRow_C() 47 dst_argb[2] = r; in ABGRToARGBRow_C() [all …]
|
D | planar_functions.cc | 270 uint8* dst_argb, int dst_stride_argb, in ARGBMirror() argument 272 if (!src_argb || !dst_argb || width <= 0 || height == 0) { in ARGBMirror() 287 IS_ALIGNED(dst_argb, 16) && IS_ALIGNED(dst_stride_argb, 16)) { in ARGBMirror() 294 ARGBMirrorRow(src_argb, dst_argb, width); in ARGBMirror() 296 dst_argb += dst_stride_argb; in ARGBMirror() 307 uint8* dst_argb, int width) = ARGBBlendRow_C; in GetARGBBlend() 326 uint8* dst_argb, int dst_stride_argb, in ARGBBlend() argument 328 if (!src_argb0 || !src_argb1 || !dst_argb || width <= 0 || height == 0) { in ARGBBlend() 334 dst_argb = dst_argb + (height - 1) * dst_stride_argb; in ARGBBlend() 338 uint8* dst_argb, int width) = GetARGBBlend(); in ARGBBlend() [all …]
|
D | row_posix.cc | 121 void I400ToARGBRow_SSE2(const uint8* src_y, uint8* dst_argb, int pix) { in I400ToARGBRow_SSE2() argument 141 "+r"(dst_argb), // %1 in I400ToARGBRow_SSE2() 151 void ABGRToARGBRow_SSSE3(const uint8* src_abgr, uint8* dst_argb, int pix) { in ABGRToARGBRow_SSSE3() argument 165 "+r"(dst_argb), // %1 in ABGRToARGBRow_SSSE3() 175 void BGRAToARGBRow_SSSE3(const uint8* src_bgra, uint8* dst_argb, int pix) { in BGRAToARGBRow_SSSE3() argument 188 "+r"(dst_argb), // %1 in BGRAToARGBRow_SSSE3() 198 void RGBAToARGBRow_SSSE3(const uint8* src_rgba, uint8* dst_argb, int pix) { in RGBAToARGBRow_SSSE3() argument 212 "+r"(dst_argb), // %1 in RGBAToARGBRow_SSSE3() 246 void RGB24ToARGBRow_SSSE3(const uint8* src_rgb24, uint8* dst_argb, int pix) { in RGB24ToARGBRow_SSSE3() argument 277 "+r"(dst_argb), // %1 in RGB24ToARGBRow_SSSE3() [all …]
|
D | row_neon.cc | 542 void BGRAToARGBRow_NEON(const uint8* src_bgra, uint8* dst_argb, int pix) { in BGRAToARGBRow_NEON() argument 553 "+r"(dst_argb), // %1 in BGRAToARGBRow_NEON() 562 void ABGRToARGBRow_NEON(const uint8* src_abgr, uint8* dst_argb, int pix) { in ABGRToARGBRow_NEON() argument 572 "+r"(dst_argb), // %1 in ABGRToARGBRow_NEON() 581 void RGBAToARGBRow_NEON(const uint8* src_rgba, uint8* dst_argb, int pix) { in RGBAToARGBRow_NEON() argument 591 "+r"(dst_argb), // %1 in RGBAToARGBRow_NEON() 600 void RGB24ToARGBRow_NEON(const uint8* src_rgb24, uint8* dst_argb, int pix) { in RGB24ToARGBRow_NEON() argument 610 "+r"(dst_argb), // %1 in RGB24ToARGBRow_NEON() 619 void RAWToARGBRow_NEON(const uint8* src_raw, uint8* dst_argb, int pix) { in RAWToARGBRow_NEON() argument 630 "+r"(dst_argb), // %1 in RAWToARGBRow_NEON()
|
D | rotate_argb.cc | 131 uint8* dst_argb, int dst_stride_argb, in ARGBRotate() argument 134 if (!src_argb || width <= 0 || height == 0 || !dst_argb) { in ARGBRotate() 149 dst_argb, dst_stride_argb, in ARGBRotate() 153 dst_argb, dst_stride_argb, in ARGBRotate() 158 dst_argb, dst_stride_argb, in ARGBRotate() 163 dst_argb, dst_stride_argb, in ARGBRotate()
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
D | row.h | 480 uint8* dst_argb, 485 uint8* dst_argb, 490 uint8* dst_argb, 534 uint8* dst_argb, 538 uint8* dst_argb, 549 uint8* dst_argb, 552 uint8* dst_argb, 807 void ARGBCopyAlphaRow_C(const uint8* src_argb, uint8* dst_argb, int width); 808 void ARGBCopyAlphaRow_SSE2(const uint8* src_argb, uint8* dst_argb, int width); 809 void ARGBCopyAlphaRow_AVX2(const uint8* src_argb, uint8* dst_argb, int width); [all …]
|
D | convert_argb.h | 37 uint8* dst_argb, int dst_stride_argb, 45 uint8* dst_argb, int dst_stride_argb, 53 uint8* dst_argb, int dst_stride_argb, 61 uint8* dst_argb, int dst_stride_argb, 69 uint8* dst_argb, int dst_stride_argb, 75 uint8* dst_argb, int dst_stride_argb, 84 uint8* dst_argb, int dst_stride_argb, 91 uint8* dst_argb, int dst_stride_argb, 98 uint8* dst_argb, int dst_stride_argb, 104 uint8* dst_argb, int dst_stride_argb, [all …]
|
D | planar_functions.h | 124 uint8* dst_argb, int dst_stride_argb, 176 int ARGBRect(uint8* dst_argb, int dst_stride_argb, 182 uint8* dst_argb, int dst_stride_argb, 187 int ARGBGray(uint8* dst_argb, int dst_stride_argb, 192 int ARGBSepia(uint8* dst_argb, int dst_stride_argb, 203 uint8* dst_argb, int dst_stride_argb, 214 int RGBColorMatrix(uint8* dst_argb, int dst_stride_argb, 221 int ARGBColorTable(uint8* dst_argb, int dst_stride_argb, 228 int RGBColorTable(uint8* dst_argb, int dst_stride_argb, 237 uint8* dst_argb, int dst_stride_argb, [all …]
|
D | scale_row.h | 69 const uint8* src_argb, uint8* dst_argb, 76 const uint16* src_argb, uint16* dst_argb, 173 uint8* dst_argb, int dst_width); 176 uint8* dst_argb, int dst_width); 178 uint8* dst_argb, int dst_width); 181 uint8* dst_argb, int dst_width); 185 uint8* dst_argb, int dst_width); 186 void ScaleARGBCols_C(uint8* dst_argb, const uint8* src_argb, 188 void ScaleARGBCols64_C(uint8* dst_argb, const uint8* src_argb, 190 void ScaleARGBColsUp2_C(uint8* dst_argb, const uint8* src_argb, [all …]
|
/external/libyuv/files/include/libyuv/ |
D | convert_argb.h | 37 uint8* dst_argb, int dst_stride_argb, 45 uint8* dst_argb, int dst_stride_argb, 53 uint8* dst_argb, int dst_stride_argb, 61 uint8* dst_argb, int dst_stride_argb, 69 uint8* dst_argb, int dst_stride_argb, 75 uint8* dst_argb, int dst_stride_argb, 81 uint8* dst_argb, int dst_stride_argb, 88 uint8* dst_argb, int dst_stride_argb, 95 uint8* dst_argb, int dst_stride_argb, 101 uint8* dst_argb, int dst_stride_argb, [all …]
|
D | planar_functions.h | 75 uint8* dst_argb, int dst_stride_argb, 99 uint8* dst_argb, int dst_stride_argb, 181 int ARGBRect(uint8* dst_argb, int dst_stride_argb, 187 uint8* dst_argb, int dst_stride_argb, 192 int ARGBGray(uint8* dst_argb, int dst_stride_argb, 197 int ARGBSepia(uint8* dst_argb, int dst_stride_argb, 206 int ARGBColorMatrix(uint8* dst_argb, int dst_stride_argb, 213 int ARGBColorTable(uint8* dst_argb, int dst_stride_argb, 222 int ARGBQuantize(uint8* dst_argb, int dst_stride_argb, 229 uint8* dst_argb, int dst_stride_argb, [all …]
|
D | row.h | 288 void BGRAToARGBRow_SSSE3(const uint8* src_bgra, uint8* dst_argb, int pix); 289 void ABGRToARGBRow_SSSE3(const uint8* src_abgr, uint8* dst_argb, int pix); 290 void RGBAToARGBRow_SSSE3(const uint8* src_rgba, uint8* dst_argb, int pix); 291 void RGB24ToARGBRow_SSSE3(const uint8* src_rgb24, uint8* dst_argb, int pix); 292 void RAWToARGBRow_SSSE3(const uint8* src_rgb24, uint8* dst_argb, int pix); 293 void ARGB1555ToARGBRow_SSE2(const uint8* src_argb, uint8* dst_argb, int pix); 294 void RGB565ToARGBRow_SSE2(const uint8* src_argb, uint8* dst_argb, int pix); 295 void ARGB4444ToARGBRow_SSE2(const uint8* src_argb, uint8* dst_argb, int pix); 297 void BGRAToARGBRow_NEON(const uint8* src_bgra, uint8* dst_argb, int pix); 298 void ABGRToARGBRow_NEON(const uint8* src_abgr, uint8* dst_argb, int pix); [all …]
|