/third_party/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,…
|
/third_party/skia/gm/ |
D | skbug_9819.cpp | 18 bgra; variable 20 bgra.allocPixels(info.makeColorType(kBGRA_8888_SkColorType)); 24 bgra.eraseColor(yellow); 29 c->drawImage(bgra.asImage(), 0,1);
|
/third_party/flutter/skia/third_party/externals/wuffs/script/bench-go-gif/ |
D | main.go | 115 bgra := strings.HasSuffix(tc.benchname, "_bgra") 116 numBytes, err := decode(src, bgra) 121 decode(src, bgra) 140 func decode(src []byte, bgra bool) (numBytes uint64, retErr error) { 153 if bgra {
|
/third_party/ffmpeg/tests/fate/ |
D | gif.mak | 2 fate-gif-color: CMD = framecrc -i $(TARGET_SAMPLES)/gif/tc217.gif -pix_fmt bgra 5 …-disposal-background: CMD = framecrc -trans_color 0 -i $(TARGET_SAMPLES)/gif/m4nb.gif -pix_fmt bgra 8 fate-gif-disposal-restore: CMD = framecrc -i $(TARGET_SAMPLES)/gif/banner2.gif -pix_fmt bgra 11 …gif-gray: CMD = framecrc -i $(TARGET_SAMPLES)/gif/Newtons_cradle_animation_book_2.gif -pix_fmt bgra 14 fate-gif-deal: CMD = framecrc -i $(TARGET_SAMPLES)/gif/deal.gif -vsync cfr -pix_fmt bgra
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
D | FrameBuffer.cpp | 207 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); in copyRoutine() local 209 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | in copyRoutine() 210 ((bgra & Int4(0x000000FF)) << 16) | in copyRoutine() 211 (bgra & Int4(0xFF00FF00)); in copyRoutine() 315 Int4 bgra = *Pointer<Int4>(s, sStride % 16 ? 1 : 16); in copyRoutine() local 317 *Pointer<Int4>(d, 1) = ((bgra & Int4(0x00FF0000)) >> 16) | in copyRoutine() 318 ((bgra & Int4(0x000000FF)) << 16) | in copyRoutine() 319 (bgra & Int4(0xFF00FF00)); in copyRoutine() 367 Int bgra = *Pointer<Int>(s); in copyRoutine() local 368 *Pointer<Int>(d) = ((bgra & Int(0x00FF0000)) >> 16) | in copyRoutine() [all …]
|
/third_party/flutter/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()
|
/third_party/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()
|
/third_party/boost/boost/gil/ |
D | typedefs.hpp | 162 BOOST_GIL_DEFINE_BASE_TYPEDEFS(8, uint8_t, bgra) 163 BOOST_GIL_DEFINE_BASE_TYPEDEFS(8s, int8_t, bgra) 164 BOOST_GIL_DEFINE_BASE_TYPEDEFS(16, uint16_t, bgra) 165 BOOST_GIL_DEFINE_BASE_TYPEDEFS(16s, int16_t, bgra) 166 BOOST_GIL_DEFINE_BASE_TYPEDEFS(32, uint32_t, bgra) 167 BOOST_GIL_DEFINE_BASE_TYPEDEFS(32s, int32_t, bgra) 168 BOOST_GIL_DEFINE_BASE_TYPEDEFS(32f, float32_t, bgra)
|
/third_party/boost/boost/compute/interop/qt/ |
D | qimage.hpp | 30 return image_format(image_format::bgra, image_format::unorm_int8); in qt_qimage_format_to_image_format() 38 if(format == image_format(image_format::bgra, image_format::unorm_int8)){ in qt_image_format_to_qimage_format()
|
/third_party/skia/third_party/externals/libwebp/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()
|
/third_party/flutter/skia/third_party/externals/libwebp/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()
|
/third_party/ffmpeg/libswscale/aarch64/ |
D | swscale_unscaled.c | 60 DECLARE_FF_YUVX_TO_RGBX_FUNCS(yuvx, bgra) \ 93 DECLARE_FF_NVX_TO_RGBX_FUNCS(nvx, bgra) \ 115 SET_FF_NVX_TO_RGBX_FUNC(nvx, NVX, bgra, BGRA, accurate_rnd); \
|
/third_party/flutter/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()
|
/third_party/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()
|
/third_party/ffmpeg/libswscale/arm/ |
D | swscale_unscaled.c | 102 DECLARE_FF_YUVX_TO_RGBX_FUNCS(yuvx, bgra) \ 135 DECLARE_FF_NVX_TO_RGBX_FUNCS(nvx, bgra) \ 158 SET_FF_NVX_TO_RGBX_FUNC(nvx, NVX, bgra, BGRA, accurate_rnd); \
|
/third_party/flutter/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftbitmap.c | 467 ft_gray_for_premultiplied_srgb_bgra( const FT_Byte* bgra ) in ft_gray_for_premultiplied_srgb_bgra() argument 469 FT_UInt a = bgra[3]; in ft_gray_for_premultiplied_srgb_bgra() 491 l = ( 4732UL /* 0.0722 * 65536 */ * bgra[0] * bgra[0] + in ft_gray_for_premultiplied_srgb_bgra() 492 46871UL /* 0.7152 * 65536 */ * bgra[1] * bgra[1] + in ft_gray_for_premultiplied_srgb_bgra() 493 13933UL /* 0.2126 * 65536 */ * bgra[2] * bgra[2] ) >> 16; in ft_gray_for_premultiplied_srgb_bgra()
|
/third_party/freetype/src/base/ |
D | ftbitmap.c | 467 ft_gray_for_premultiplied_srgb_bgra( const FT_Byte* bgra ) in ft_gray_for_premultiplied_srgb_bgra() argument 469 FT_UInt a = bgra[3]; in ft_gray_for_premultiplied_srgb_bgra() 491 l = ( 4732UL /* 0.0722 * 65536 */ * bgra[0] * bgra[0] + in ft_gray_for_premultiplied_srgb_bgra() 492 46871UL /* 0.7152 * 65536 */ * bgra[1] * bgra[1] + in ft_gray_for_premultiplied_srgb_bgra() 493 13933UL /* 0.2126 * 65536 */ * bgra[2] * bgra[2] ) >> 16; in ft_gray_for_premultiplied_srgb_bgra()
|
/third_party/ffmpeg/tests/ref/fate/ |
D | filter-pixdesc-bgra | 1 pixdesc-bgra 0bb08da9936d2efd20351ab4a88e9b10
|
/third_party/flutter/skia/third_party/externals/angle2/src/image_util/ |
D | loadimage.cpp | 811 uint16_t bgra = source[x]; in LoadBGRA4ToBGRA8() local 813 static_cast<uint8_t>(((bgra & 0xF000) >> 8) | ((bgra & 0xF000) >> 12)); in LoadBGRA4ToBGRA8() 815 static_cast<uint8_t>(((bgra & 0x0F00) >> 4) | ((bgra & 0x0F00) >> 8)); in LoadBGRA4ToBGRA8() 817 static_cast<uint8_t>(((bgra & 0x00F0) << 0) | ((bgra & 0x00F0) >> 4)); in LoadBGRA4ToBGRA8() 819 static_cast<uint8_t>(((bgra & 0x000F) << 4) | ((bgra & 0x000F) >> 0)); in LoadBGRA4ToBGRA8() 1001 uint16_t bgra = source[x]; in LoadBGR5A1ToBGRA8() local 1003 static_cast<uint8_t>(((bgra & 0xF800) >> 8) | ((bgra & 0xF800) >> 13)); in LoadBGR5A1ToBGRA8() 1005 static_cast<uint8_t>(((bgra & 0x07C0) >> 3) | ((bgra & 0x07C0) >> 8)); in LoadBGR5A1ToBGRA8() 1007 static_cast<uint8_t>(((bgra & 0x003E) << 2) | ((bgra & 0x003E) >> 3)); in LoadBGR5A1ToBGRA8() 1008 dest[4 * x + 3] = static_cast<uint8_t>((bgra & 0x0001) ? 0xFF : 0); in LoadBGR5A1ToBGRA8()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/webp/ |
D | encode.h | 58 WEBP_EXTERN size_t WebPEncodeBGRA(const uint8_t* bgra, 78 WEBP_EXTERN size_t WebPEncodeLosslessBGRA(const uint8_t* bgra, 476 WebPPicture* picture, const uint8_t* bgra, int bgra_stride);
|
/third_party/skia/third_party/externals/libwebp/src/webp/ |
D | encode.h | 58 WEBP_EXTERN size_t WebPEncodeBGRA(const uint8_t* bgra, 78 WEBP_EXTERN size_t WebPEncodeLosslessBGRA(const uint8_t* bgra, 479 WebPPicture* picture, const uint8_t* bgra, int bgra_stride);
|