/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/qemu/distrib/sdl-1.2.15/src/video/ps3/spulibs/ |
yuv2rgb_converter.c | 54 /* A maximum of 4 lines BGRA are stored, 4 byte per pixel */ 55 unsigned char bgra[4 * MAX_HDTV_WIDTH * 4] __attribute__((aligned(128))); variable 182 // BGRA 231 // Convert YUV to BGRA, store it back (first two lines) 232 yuv_to_rgb_w16_line(y_plane[buf_idx], v_plane[buf_idx], u_plane[buf_idx], bgra, width); 238 bgra + size_2lines_bgra, 245 spu_mfcdma32(bgra, (unsigned int) ram_addr_bgra, size_2lines_bgra, STR_BUF, MFC_PUT_CMD); 247 spu_mfcdma32(bgra+size_2lines_bgra, (unsigned int) ram_addr_bgra, size_2lines_bgra, STR_BUF, MFC_PUT_CMD); 258 // Convert YUV to BGRA, store it back (first two lines) 259 yuv_to_rgb_w16_line(y_plane[buf_idx], v_plane[buf_idx], u_plane[buf_idx], bgra, width) [all...] |
/external/chromium_org/ui/gfx/codec/ |
png_codec.h | 36 // 4 bytes per pixel, in BGRA order in memory regardless of endianness. 93 // to be BGRA, 32 bits per pixel. The params |discard_transparency| and 123 // Create a SkBitmap from a decoded BGRA DIB. The caller owns the returned 126 std::vector<unsigned char>& bgra, int width, int height);
|
png_codec.cc | 21 // Converts BGRA->RGBA and RGBA->BGRA. 475 std::vector<unsigned char>& bgra, int width, int height) { 484 unsigned char alpha = bgra[i + 3]; 489 bitmap_data[i] = (bgra[i] * alpha) >> 8; 490 bitmap_data[i + 1] = (bgra[i + 1] * alpha) >> 8; 491 bitmap_data[i + 2] = (bgra[i + 2] * alpha) >> 8; 527 void ConvertBGRAtoRGB(const unsigned char* bgra, int pixel_width, 530 const unsigned char* pixel_in = &bgra[x * 4];
|
jpeg_codec.cc | 162 // Converts BGRA to RGB by reordering the color components and dropping the 166 void BGRAtoRGB(const unsigned char* bgra, int pixel_width, unsigned char* rgb) 169 const unsigned char* pixel_in = &bgra[x * 4]; 244 // and BGRA), we just map the input parameters to a colorspace used by 419 // Converts one row of RGB data to BGRA by reordering the color components and 421 void RGBtoBGRA(const unsigned char* bgra, int pixel_width, unsigned char* rgb) 424 const unsigned char* pixel_in = &bgra[x * 3]; 510 // used by Chromium (i.e. RGB, RGBA, and BGRA) and we just map the input
|
/external/chromium_org/third_party/libwebp/webp/ |
encode.h | 58 WEBP_EXTERN(size_t) WebPEncodeBGRA(const uint8_t* bgra, 74 WEBP_EXTERN(size_t) WebPEncodeLosslessBGRA(const uint8_t* bgra, 434 WebPPicture* picture, const uint8_t* bgra, int bgra_stride);
|
/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, 434 WebPPicture* picture, const uint8_t* bgra, int bgra_stride);
|
/external/chromium_org/third_party/libwebp/dsp/ |
yuv.h | 217 uint8_t* const bgra) { 218 VP8YuvToBgr(y, u, v, bgra); 219 bgra[3] = 0xff;
|
/external/webp/src/dsp/ |
yuv.h | 217 uint8_t* const bgra) { 218 VP8YuvToBgr(y, u, v, bgra); 219 bgra[3] = 0xff;
|
/external/freetype/src/base/ |
ftbitmap.c | 379 ft_gray_for_premultiplied_srgb_bgra( const FT_Byte* bgra ) 381 FT_Long a = bgra[3]; 382 FT_Long b = bgra[0]; 383 FT_Long g = bgra[1]; 384 FT_Long r = bgra[2];
|
/external/chromium_org/tools/imagediff/ |
image_diff_png.cc | 29 // 4 bytes per pixel, in BGRA order in memory regardless of endianness. 51 // Converts BGRA->RGBA and RGBA->BGRA. 139 unsigned char* bgra, bool* is_opaque) { 142 unsigned char* pixel_out = &bgra[x * 4]; 393 void ConvertBGRAtoRGB(const unsigned char* bgra, int pixel_width, 396 const unsigned char* pixel_in = &bgra[x * 4]; 638 // Encode an BGRA pixel array into a PNG.
|
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
GraphicsContext3DImagePacking.cpp | 312 uint32_t bgra = source32[i]; local 320 uint32_t rgba = (((bgra >> 16) | (bgra << 16)) & brMask) | (bgra & gaMask); [all...] |
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
Renderer11.cpp | 296 // BGRA texture support is optional in feature levels 10 and 10_1 301 ERR("Error checking BGRA format support: 0x%08X", result); 3123 unsigned int bgra = *reinterpret_cast<const unsigned int*>(data + 4 * x + y * inputPitch); local [all...] |