/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) { 106 bmp_dump32(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) 116 bmp_header_write(fd, width, height, bgra, false, true); 122 bmp_dump32_noflip(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) 132 bmp_header_write(fd, width, height, bgra, true, true); 138 bmp_dump32_ex(char *buffer, unsigned width, unsigned height, bool flip, bool bgra, bool alpha, const char *filename) 148 bmp_header_write(fd, width, height, bgra, flip, alpha);
|
/external/syslinux/com32/lib/sys/vesa/ |
fmtpixel.c | 65 uint32_t bgra; local 69 bgra = *p++; 71 ((bgra >> 3) & 0x1f) + 72 ((bgra >> (2 + 8 - 5)) & (0x3f << 5)) + 73 ((bgra >> (3 + 16 - 11)) & (0x1f << 11)); 81 uint32_t bgra; local 85 bgra = *p++; 87 ((bgra >> 3) & 0x1f) + 88 ((bgra >> (2 + 8 - 5)) & (0x1f << 5)) + 89 ((bgra >> (3 + 16 - 10)) & (0x1f << 10)) [all...] |
/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 128 // Reference data is BGRA, Vk data is BGRA.
|
/external/opencv/otherlibs/highgui/ |
utils.cpp | 155 void icvCvt_BGRA2BGR_8u_C4C3R( const uchar* bgra, int bgra_step, 163 for( i = 0; i < size.width; i++, bgr += 3, bgra += 4 ) 165 uchar t0 = bgra[swap_rb], t1 = bgra[1]; 167 t0 = bgra[swap_rb^2]; bgr[2] = t0; 170 bgra += bgra_step - size.width*4; 175 void icvCvt_BGRA2RGBA_8u_C4R( const uchar* bgra, int bgra_step, 181 for( i = 0; i < size.width; i++, bgra += 4, rgba += 4 ) 183 uchar t0 = bgra[0], t1 = bgra[1] [all...] |
utils.h | 64 void icvCvt_BGRA2Gray_8u_C4C1R( const uchar* bgra, int bgra_step, 69 void icvCvt_BGRA2BGR_8u_C4C3R( const uchar* bgra, int bgra_step, 79 void icvCvt_BGRA2RGBA_8u_C4R( const uchar* bgra, int bgra_step,
|
/external/swiftshader/src/Main/ |
FrameBuffer.cpp | 215 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); local 217 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | 218 ((bgra & Int4(0x000000FF)) << 16) | 219 (bgra & Int4(0xFF00FF00)); 323 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); local 325 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | 326 ((bgra & Int4(0x000000FF)) << 16) | 327 (bgra & Int4(0xFF00FF00)); 375 Int bgra = *Pointer<Int>(s); local 376 *Pointer<Int>(d) = ((bgra & Int(0x00FF0000)) >> 16) [all...] |
/external/skia/src/ports/ |
SkImageEncoder_WIC.cpp | 71 // First convert to BGRA if necessary. 104 uint32_t bgra = *bitmap.getAddr32(x, y); local 105 dstRow[0] = (uint8_t) (bgra >> 0); 106 dstRow[1] = (uint8_t) (bgra >> 8); 107 dstRow[2] = (uint8_t) (bgra >> 16); 187 //Set the pixel format of the frame. If native encoded format cannot match BGRA,
|
/external/skqp/src/ports/ |
SkImageEncoder_WIC.cpp | 71 // First convert to BGRA if necessary. 104 uint32_t bgra = *bitmap.getAddr32(x, y); local 105 dstRow[0] = (uint8_t) (bgra >> 0); 106 dstRow[1] = (uint8_t) (bgra >> 8); 107 dstRow[2] = (uint8_t) (bgra >> 16); 187 //Set the pixel format of the frame. If native encoded format cannot match BGRA,
|
/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 | 310 static void YuvToBgra(uint8_t y, uint8_t u, uint8_t v, uint8_t* const bgra) { 311 YuvToBgr(y, u, v, bgra); 312 bgra[3] = 0xff;
|
/external/freetype/src/base/ |
ftbitmap.c | 456 ft_gray_for_premultiplied_srgb_bgra( const FT_Byte* bgra ) 458 FT_UInt a = bgra[3]; 480 l = ( 4732UL /* 0.0722 * 65536 */ * bgra[0] * bgra[0] + 481 46871UL /* 0.7152 * 65536 */ * bgra[1] * bgra[1] + 482 13933UL /* 0.2126 * 65536 */ * bgra[2] * bgra[2] ) >> 16;
|
/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/skia/src/core/ |
SkColor.cpp | 154 SkColor4f SkColor4f::FromColor(SkColor bgra) { 156 swizzle_rb(Sk4f_fromS32(bgra)).store(rgba.vec());
|
/external/skqp/src/core/ |
SkColor.cpp | 154 SkColor4f SkColor4f::FromColor(SkColor bgra) { 156 swizzle_rb(Sk4f_fromS32(bgra)).store(rgba.vec());
|
/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/skia/tests/ |
ReadPixelsTest.cpp | 489 static const uint32_t bgra[kNumPixels] = { variable 522 return bgra;
|
/external/skqp/tests/ |
ReadPixelsTest.cpp | 489 static const uint32_t bgra[kNumPixels] = { variable 522 return bgra;
|
/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 | 588 __m128i bgra = _mm_shuffle_epi8(rgba, swapRB); local 589 _mm_storeu_si128((__m128i*) dst, bgra);
|
/external/skqp/src/opts/ |
SkSwizzler_opts.h | 588 __m128i bgra = _mm_shuffle_epi8(rgba, swapRB); local 589 _mm_storeu_si128((__m128i*) dst, bgra);
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir.h | 977 bool bgra; [all...] |
nv50_ir_lowering_nvc0.cpp | [all...] |