/external/libdrm/tests/etnaviv/ |
D | write_bmp.c | 67 bmp_header_write(int fd, int width, int height, int bgra, int noflip, int alpha) in bmp_header_write() argument 94 if (bgra) { in bmp_header_write() 104 bmp_dump32(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) in bmp_dump32() argument 114 bmp_header_write(fd, width, height, bgra, false, true); in bmp_dump32() 120 bmp_dump32_noflip(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) in bmp_dump32_noflip() argument 130 bmp_header_write(fd, width, height, bgra, true, true); in bmp_dump32_noflip() 136 bmp_dump32_ex(char *buffer, unsigned width, unsigned height, bool flip, bool bgra, bool alpha, cons… in bmp_dump32_ex() argument 146 bmp_header_write(fd, width, height, bgra, flip, alpha); in bmp_dump32_ex()
|
D | write_bmp.h | 28 void bmp_dump32(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename); 30 void bmp_dump32_noflip(char *buffer, unsigned width, unsigned height, bool bgra, const char *filena… 32 void bmp_dump32_ex(char *buffer, unsigned width, unsigned height, bool flip, bool bgra, bool alpha,…
|
/external/swiftshader/src/WSI/ |
D | FrameBuffer.cpp | 208 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); in copyRoutine() local 210 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | in copyRoutine() 211 ((bgra & Int4(0x000000FF)) << 16) | in copyRoutine() 212 (bgra & Int4(0xFF00FF00)); in copyRoutine() 310 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); in copyRoutine() local 312 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | in copyRoutine() 313 ((bgra & Int4(0x000000FF)) << 16) | in copyRoutine() 314 (bgra & Int4(0xFF00FF00)); in copyRoutine() 360 Int bgra = *Pointer<Int>(s); in copyRoutine() local 361 *Pointer<Int>(d) = ((bgra & Int(0x00FF0000)) >> 16) | in copyRoutine() [all …]
|
/external/swiftshader/src/Main/ |
D | FrameBuffer.cpp | 211 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); in copyRoutine() local 213 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | in copyRoutine() 214 ((bgra & Int4(0x000000FF)) << 16) | in copyRoutine() 215 (bgra & Int4(0xFF00FF00)); in copyRoutine() 319 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); in copyRoutine() local 321 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | in copyRoutine() 322 ((bgra & Int4(0x000000FF)) << 16) | in copyRoutine() 323 (bgra & Int4(0xFF00FF00)); in copyRoutine() 371 Int bgra = *Pointer<Int>(s); in copyRoutine() local 372 *Pointer<Int>(d) = ((bgra & Int(0x00FF0000)) >> 16) | in copyRoutine() [all …]
|
/external/skia/src/ports/ |
D | SkImageEncoder_WIC.cpp | 85 uint32_t bgra = *bitmap.getAddr32(x, y); in SkEncodeImageWithWIC() local 86 dstRow[0] = (uint8_t) ((bgra >> 0) & 0xFF); in SkEncodeImageWithWIC() 87 dstRow[1] = (uint8_t) ((bgra >> 8) & 0xFF); in SkEncodeImageWithWIC() 88 dstRow[2] = (uint8_t) ((bgra >> 16) & 0xFF); in SkEncodeImageWithWIC()
|
/external/skqp/src/ports/ |
D | SkImageEncoder_WIC.cpp | 85 uint32_t bgra = *bitmap.getAddr32(x, y); in SkEncodeImageWithWIC() local 86 dstRow[0] = (uint8_t) (bgra >> 0); in SkEncodeImageWithWIC() 87 dstRow[1] = (uint8_t) (bgra >> 8); in SkEncodeImageWithWIC() 88 dstRow[2] = (uint8_t) (bgra >> 16); in SkEncodeImageWithWIC()
|
/external/webp/src/dsp/ |
D | upsampling_mips_dsp_r2.c | 112 uint8_t* const bgra) { in YuvToBgra() argument 115 bgra[0] = b; in YuvToBgra() 116 bgra[1] = g; in YuvToBgra() 117 bgra[2] = r; in YuvToBgra() 118 bgra[3] = 0xff; in YuvToBgra()
|
D | yuv.h | 135 uint8_t* const bgra) { in VP8YuvToBgra() argument 136 VP8YuvToBgr(y, u, v, bgra); in VP8YuvToBgra() 137 bgra[3] = 0xff; in VP8YuvToBgra()
|
D | upsampling_msa.c | 312 static void YuvToBgra(uint8_t y, uint8_t u, uint8_t v, uint8_t* const bgra) { in YuvToBgra() argument 313 YuvToBgr(y, u, v, bgra); in YuvToBgra() 314 bgra[3] = 0xff; in YuvToBgra()
|
/external/skqp/tests/ |
D | NonlinearBlendingTest.cpp | 29 auto bgra = skcms_PixelFormat_BGRA_8888, in DEF_TEST() local 35 skcms_Transform(&color, bgra, unpremul, &srgb_profile, in DEF_TEST()
|
D | ReadPixelsTest.cpp | 564 static const uint32_t bgra[kNumPixels] = { variable 597 return bgra; in five_reference_pixels()
|
/external/skia/tests/ |
D | NonlinearBlendingTest.cpp | 29 auto bgra = skcms_PixelFormat_BGRA_8888, in DEF_TEST() local 35 skcms_Transform(&color, bgra, unpremul, &srgb_profile, in DEF_TEST()
|
D | ReadPixelsTest.cpp | 564 static const uint32_t bgra[kNumPixels] = { variable 597 return bgra; in five_reference_pixels()
|
/external/freetype/src/base/ |
D | ftbitmap.c | 468 ft_gray_for_premultiplied_srgb_bgra( const FT_Byte* bgra ) in ft_gray_for_premultiplied_srgb_bgra() argument 470 FT_UInt a = bgra[3]; in ft_gray_for_premultiplied_srgb_bgra() 492 l = ( 4732UL /* 0.0722 * 65536 */ * bgra[0] * bgra[0] + in ft_gray_for_premultiplied_srgb_bgra() 493 46871UL /* 0.7152 * 65536 */ * bgra[1] * bgra[1] + in ft_gray_for_premultiplied_srgb_bgra() 494 13933UL /* 0.2126 * 65536 */ * bgra[2] * bgra[2] ) >> 16; in ft_gray_for_premultiplied_srgb_bgra()
|
/external/webp/src/webp/ |
D | encode.h | 58 WEBP_EXTERN size_t WebPEncodeBGRA(const uint8_t* bgra, 74 WEBP_EXTERN size_t WebPEncodeLosslessBGRA(const uint8_t* bgra, 472 WebPPicture* picture, const uint8_t* bgra, int bgra_stride);
|
/external/webp/include/webp/ |
D | encode.h | 58 WEBP_EXTERN size_t WebPEncodeBGRA(const uint8_t* bgra, 74 WEBP_EXTERN size_t WebPEncodeLosslessBGRA(const uint8_t* bgra, 472 WebPPicture* picture, const uint8_t* bgra, int bgra_stride);
|
/external/skia/src/core/ |
D | SkColor.cpp | 109 SkColor4f SkColor4f::FromColor(SkColor bgra) { in FromColor() argument 111 swizzle_rb(Sk4f_fromL32(bgra)).store(rgba.vec()); in FromColor()
|
/external/skqp/src/core/ |
D | SkColor.cpp | 109 SkColor4f SkColor4f::FromColor(SkColor bgra) { in FromColor() argument 111 swizzle_rb(Sk4f_fromL32(bgra)).store(rgba.vec()); in FromColor()
|
/external/pdfium/testing/image_diff/ |
D | image_diff_png.cpp | 166 unsigned char* bgra, in ConvertRGBtoBGRA() argument 170 unsigned char* pixel_out = &bgra[x * 4]; in ConvertRGBtoBGRA() 424 void ConvertBGRAtoRGB(const unsigned char* bgra, in ConvertBGRAtoRGB() argument 429 const unsigned char* pixel_in = &bgra[x * 4]; in ConvertBGRAtoRGB()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_formats.c | 375 #define VF_x(pf, type, size, bgra) 0 argument 376 #define VF_A(pf, type, size, bgra) \ argument 377 NVXX_3D_VAF_SIZE(size) | NVXX_3D_VAF_TYPE(type) | (bgra << 31) 378 #define VF(c, pf, type, size, bgra) \ argument 380 VF_##c(pf, type, size, bgra), \
|
/external/skia/src/opts/ |
D | SkSwizzler_opts.h | 573 __m128i bgra = _mm_shuffle_epi8(rgba, swapRB); in RGBA_to_BGRA() local 574 _mm_storeu_si128((__m128i*) dst, bgra); in RGBA_to_BGRA()
|
/external/skqp/src/opts/ |
D | SkSwizzler_opts.h | 573 __m128i bgra = _mm_shuffle_epi8(rgba, swapRB); in RGBA_to_BGRA() local 574 _mm_storeu_si128((__m128i*) dst, bgra); in RGBA_to_BGRA()
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir.h | 988 bool bgra; member
|
D | nv50_ir_lowering_nvc0.cpp | 2178 if (format->bgra) { in convertSurfaceFormat()
|
/external/webp/ |
D | README | 562 size_t WebPEncodeBGRA(const uint8_t* bgra, int width, int height, int stride, 576 size_t WebPEncodeLosslessBGRA(const uint8_t* bgra, int width, int height,
|