/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...] |
/external/skia/src/ports/ |
SkImageEncoder_WIC.cpp | 71 // First convert to BGRA if necessary. 102 uint32_t bgra = *bitmap.getAddr32(x, y); local 103 dstRow[0] = (uint8_t) (bgra >> 0); 104 dstRow[1] = (uint8_t) (bgra >> 8); 105 dstRow[2] = (uint8_t) (bgra >> 16); 184 //Set the pixel format of the frame. If native encoded format cannot match 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 | 251 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); local 253 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | 254 ((bgra & Int4(0x000000FF)) << 16) | 255 (bgra & Int4(0xFF00FF00)); 360 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); local 362 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | 363 ((bgra & Int4(0x000000FF)) << 16) | 364 (bgra & Int4(0xFF00FF00)); 412 Int bgra = *Pointer<Int>(s); local 413 *Pointer<Int>(d) = ((bgra & Int(0x00FF0000)) >> 16) [all...] |
/external/webp/src/dsp/ |
upsampling_mips_dsp_r2.c | 111 uint8_t* const bgra) { 114 bgra[0] = b; 115 bgra[1] = g; 116 bgra[2] = r; 117 bgra[3] = 0xff;
|
yuv.h | 149 uint8_t* const bgra) { 150 VP8YuvToBgr(y, u, v, bgra); 151 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 | 431 ft_gray_for_premultiplied_srgb_bgra( const FT_Byte* bgra ) 433 FT_UInt a = bgra[3]; 455 l = ( 4732UL /* 0.0722 * 65536 */ * bgra[0] * bgra[0] + 456 46871UL /* 0.7152 * 65536 */ * bgra[1] * bgra[1] + 457 13933UL /* 0.2126 * 65536 */ * bgra[2] * bgra[2] ) >> 16;
|
/external/pdfium/third_party/freetype/src/base/ |
ftbitmap.c | 431 ft_gray_for_premultiplied_srgb_bgra( const FT_Byte* bgra ) 433 FT_UInt a = bgra[3]; 455 l = ( 4732UL /* 0.0722 * 65536 */ * bgra[0] * bgra[0] + 456 46871UL /* 0.7152 * 65536 */ * bgra[1] * bgra[1] + 457 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, 469 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, 469 WebPPicture* picture, const uint8_t* bgra, int bgra_stride);
|
/external/pdfium/samples/ |
image_diff_png.cc | 35 // 4 bytes per pixel, in BGRA order in memory regardless of endianness. 46 // Converts BGRA->RGBA and RGBA->BGRA. 134 unsigned char* bgra, bool* is_opaque) { 137 unsigned char* pixel_out = &bgra[x * 4]; 385 void ConvertBGRAtoRGB(const unsigned char* bgra, int pixel_width, 388 const unsigned char* pixel_in = &bgra[x * 4]; 632 // Encode an BGRA pixel array into a PNG.
|
/external/skia/src/core/ |
SkColor.cpp | 154 SkColor4f SkColor4f::FromColor(SkColor bgra) { 156 swizzle_rb(Sk4f_fromS32(bgra)).store(rgba.vec());
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
wmesa.c | 450 } BGRA; 451 BGRA *bgra, c; local 473 bgra=malloc(n*sizeof(BGRA)); 474 if (!bgra) { 486 bgra[i]=c; 489 bgra[i].i=0; 498 bgra[i]=c; 501 bmp=CreateBitmap(n, 1, 1, 32, bgra); [all...] |
/external/skia/src/opts/ |
SkSwizzler_opts.h | 588 __m128i bgra = _mm_shuffle_epi8(rgba, swapRB); local 589 _mm_storeu_si128((__m128i*) dst, bgra);
|
/external/skia/tests/ |
ReadPixelsTest.cpp | 502 static const uint32_t bgra[kNumPixels] = { variable 545 return bgra;
|