/external/libdrm/tests/etnaviv/ |
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 *filename); 32 void bmp_dump32_ex(char *buffer, unsigned width, unsigned height, bool flip, bool bgra, bool alpha, const char *filename);
|
write_bmp.c | 67 bmp_header_write(int fd, int width, int height, int bgra, int noflip, int alpha) 94 if (bgra) { 104 bmp_dump32(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) 114 bmp_header_write(fd, width, height, bgra, false, true); 120 bmp_dump32_noflip(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) 130 bmp_header_write(fd, width, height, bgra, true, true); 136 bmp_dump32_ex(char *buffer, unsigned width, unsigned height, bool flip, bool bgra, bool alpha, const char *filename) 146 bmp_header_write(fd, width, height, bgra, flip, alpha);
|
/cts/tests/tests/graphics/jni/ |
android_graphics_cts_MediaVulkanGpuTest.cpp | 53 uint32_t swizzleBgraToRgba(uint32_t bgra) { 55 result |= (bgra & 0xFF000000) >> 0; // Alpha 56 result |= (bgra & 0x00FF0000) >> 16; // Red 57 result |= (bgra & 0x0000FF00) >> 0; // Green 58 result |= (bgra & 0x000000FF) << 16; // Blue 140 // Reference data is BGRA, Vk data is BGRA.
|
/external/skia/src/ports/ |
SkImageEncoder_WIC.cpp | 52 // First convert to BGRA if necessary. 85 uint32_t bgra = *bitmap.getAddr32(x, y); local 86 dstRow[0] = (uint8_t) ((bgra >> 0) & 0xFF); 87 dstRow[1] = (uint8_t) ((bgra >> 8) & 0xFF); 88 dstRow[2] = (uint8_t) ((bgra >> 16) & 0xFF); 168 //Set the pixel format of the frame. If native encoded format cannot match BGRA,
|
/external/skqp/src/ports/ |
SkImageEncoder_WIC.cpp | 52 // First convert to BGRA if necessary. 85 uint32_t bgra = *bitmap.getAddr32(x, y); local 86 dstRow[0] = (uint8_t) (bgra >> 0); 87 dstRow[1] = (uint8_t) (bgra >> 8); 88 dstRow[2] = (uint8_t) (bgra >> 16); 168 //Set the pixel format of the frame. If native encoded format cannot match BGRA,
|
/external/skia/tests/ |
NonlinearBlendingTest.cpp | 29 auto bgra = skcms_PixelFormat_BGRA_8888, local 35 skcms_Transform(&color, bgra, unpremul, &srgb_profile,
|
ReadPixelsTest.cpp | 564 static const uint32_t bgra[kNumPixels] = { variable 597 return bgra;
|
/external/skqp/tests/ |
NonlinearBlendingTest.cpp | 29 auto bgra = skcms_PixelFormat_BGRA_8888, local 35 skcms_Transform(&color, bgra, unpremul, &srgb_profile,
|
ReadPixelsTest.cpp | 564 static const uint32_t bgra[kNumPixels] = { variable 597 return bgra;
|
/external/swiftshader/src/Main/ |
FrameBuffer.cpp | 211 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); local 213 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | 214 ((bgra & Int4(0x000000FF)) << 16) | 215 (bgra & Int4(0xFF00FF00)); 319 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); local 321 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | 322 ((bgra & Int4(0x000000FF)) << 16) | 323 (bgra & Int4(0xFF00FF00)); 371 Int bgra = *Pointer<Int>(s); local 372 *Pointer<Int>(d) = ((bgra & Int(0x00FF0000)) >> 16) [all...] |
/external/swiftshader/src/WSI/ |
FrameBuffer.cpp | 208 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); local 210 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | 211 ((bgra & Int4(0x000000FF)) << 16) | 212 (bgra & Int4(0xFF00FF00)); 310 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); local 312 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | 313 ((bgra & Int4(0x000000FF)) << 16) | 314 (bgra & Int4(0xFF00FF00)); 360 Int bgra = *Pointer<Int>(s); local 361 *Pointer<Int>(d) = ((bgra & Int(0x00FF0000)) >> 16) [all...] |
/external/webp/src/dsp/ |
upsampling_mips_dsp_r2.c | 112 uint8_t* const bgra) { 115 bgra[0] = b; 116 bgra[1] = g; 117 bgra[2] = r; 118 bgra[3] = 0xff;
|
yuv.h | 135 uint8_t* const bgra) { 136 VP8YuvToBgr(y, u, v, bgra); 137 bgra[3] = 0xff;
|
upsampling_msa.c | 312 static void YuvToBgra(uint8_t y, uint8_t u, uint8_t v, uint8_t* const bgra) { 313 YuvToBgr(y, u, v, bgra); 314 bgra[3] = 0xff;
|
/external/skia/src/core/ |
SkColor.cpp | 109 SkColor4f SkColor4f::FromColor(SkColor bgra) { 111 swizzle_rb(Sk4f_fromL32(bgra)).store(rgba.vec());
|
/external/skqp/src/core/ |
SkColor.cpp | 109 SkColor4f SkColor4f::FromColor(SkColor bgra) { 111 swizzle_rb(Sk4f_fromL32(bgra)).store(rgba.vec());
|
/external/webp/include/webp/ |
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/src/webp/ |
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/freetype/src/base/ |
ftbitmap.c | 468 ft_gray_for_premultiplied_srgb_bgra( const FT_Byte* bgra ) 470 FT_UInt a = bgra[3]; 492 l = ( 4732UL /* 0.0722 * 65536 */ * bgra[0] * bgra[0] + 493 46871UL /* 0.7152 * 65536 */ * bgra[1] * bgra[1] + 494 13933UL /* 0.2126 * 65536 */ * bgra[2] * bgra[2] ) >> 16;
|
/external/pdfium/testing/image_diff/ |
image_diff_png.cpp | 43 // 4 bytes per pixel, in BGRA order in memory regardless of endianness. 57 // Converts BGRA->RGBA and RGBA->BGRA. 166 unsigned char* bgra, 170 unsigned char* pixel_out = &bgra[x * 4]; 424 void ConvertBGRAtoRGB(const unsigned char* bgra, 429 const unsigned char* pixel_in = &bgra[x * 4]; 697 // Encode an BGRA pixel array into a PNG.
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv50_formats.c | 375 #define VF_x(pf, type, size, bgra) 0 376 #define VF_A(pf, type, size, bgra) \ 377 NVXX_3D_VAF_SIZE(size) | NVXX_3D_VAF_TYPE(type) | (bgra << 31) 378 #define VF(c, pf, type, size, bgra) \ 380 VF_##c(pf, type, size, bgra), \
|
/external/skia/src/opts/ |
SkSwizzler_opts.h | 573 __m128i bgra = _mm_shuffle_epi8(rgba, swapRB); local 574 _mm_storeu_si128((__m128i*) dst, bgra);
|
/external/skqp/src/opts/ |
SkSwizzler_opts.h | 573 __m128i bgra = _mm_shuffle_epi8(rgba, swapRB); local 574 _mm_storeu_si128((__m128i*) dst, bgra);
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir.h | 988 bool bgra; [all...] |
nv50_ir_lowering_nvc0.cpp | [all...] |