/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/ffmpeg/tests/fate/ |
D | gif.mak | 2 fate-gif-color: CMD = framecrc -i $(TARGET_SAMPLES)/gif/tc217.gif -pix_fmt bgra -vf scale 5 …background: CMD = framecrc -trans_color 0 -i $(TARGET_SAMPLES)/gif/m4nb.gif -pix_fmt bgra -vf scale 8 fate-gif-disposal-restore: CMD = framecrc -i $(TARGET_SAMPLES)/gif/banner2.gif -pix_fmt bgra -vf sc… 11 …CMD = framecrc -i $(TARGET_SAMPLES)/gif/Newtons_cradle_animation_book_2.gif -pix_fmt bgra -vf scale 14 fate-gif-deal: CMD = framecrc -i $(TARGET_SAMPLES)/gif/deal.gif -vsync cfr -pix_fmt bgra -auto_conv…
|
D | filter-video.mak | 44 …ette: CMD = framecrc -i $(TARGET_SAMPLES)/fli/fli-engines.fli -vf showpalette=3,scale -pix_fmt bgra 47 …gen-1: CMD = framecrc -i $(TARGET_SAMPLES)/filter/anim.mkv -vf scale,palettegen,scale -pix_fmt bgra 48 …m.mkv -vf scale,palettegen=max_colors=128:reserve_transparent=0:stats_mode=diff,scale -pix_fmt bgra 54 …)/filter/anim.mkv -i $(TARGET_SAMPLES)/filter/anim-palette.png -lavfi paletteuse=none -pix_fmt bgra 57 …/filter/anim.mkv -i $(TARGET_SAMPLES)/filter/anim-palette.png -lavfi paletteuse=bayer -pix_fmt bgra 60 …kv -i $(TARGET_SAMPLES)/filter/anim-palette.png -lavfi paletteuse=bayer:bayer_scale=0 -pix_fmt bgra 63 …GET_SAMPLES)/filter/anim-palette.png -lavfi paletteuse=sierra2_4a:diff_mode=rectangle -pix_fmt bgra 329 … framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf scale,format=rgb32,epx=2,scale,format=bgra 330 … framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf scale,format=rgb32,epx=3,scale,format=bgra 335 … framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf scale,format=rgb32,hqx=2,scale,format=bgra [all …]
|
/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/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/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/mesa3d/src/intel/isl/ |
D | isl_format_layout.csv | 112 B8G8R8A8_UNORM , 32, 1, 1, 1, un8, un8, un8, un8, , , , bgra, line… 113 B8G8R8A8_UNORM_SRGB , 32, 1, 1, 1, un8, un8, un8, un8, , , , bgra, sr… 128 B10G10R10A2_UNORM , 32, 1, 1, 1, un10, un10, un10, un2, , , , bgra, line… 129 B10G10R10A2_UNORM_SRGB , 32, 1, 1, 1, un10, un10, un10, un2, , , , bgra, sr… 149 B8G8R8X8_UNORM , 32, 1, 1, 1, un8, un8, un8, x8, , , , bgra, line… 150 B8G8R8X8_UNORM_SRGB , 32, 1, 1, 1, un8, un8, un8, x8, , , , bgra, sr… 154 B10G10R10X2_UNORM , 32, 1, 1, 1, un10, un10, un10, x2, , , , bgra, line… 167 B5G5R5A1_UNORM , 16, 1, 1, 1, un5, un5, un5, un1, , , , bgra, line… 168 B5G5R5A1_UNORM_SRGB , 16, 1, 1, 1, un5, un5, un5, un1, , , , bgra, sr… 169 B4G4R4A4_UNORM , 16, 1, 1, 1, un4, un4, un4, un4, , , , bgra, line… [all …]
|
/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/ffmpeg/libswscale/aarch64/ |
D | swscale_unscaled.c | 59 DECLARE_FF_YUVX_TO_RGBX_FUNCS(yuvx, bgra) \ 90 DECLARE_FF_NVX_TO_RGBX_FUNCS(nvx, bgra) \ 112 SET_FF_NVX_TO_RGBX_FUNC(nvx, NVX, bgra, BGRA, accurate_rnd); \
|
/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/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/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/third_party/externals/angle2/src/image_util/ |
D | loadimage.cpp | 842 uint16_t bgra = source[x]; in LoadBGRA4ToBGRA8() local 844 static_cast<uint8_t>(((bgra & 0xF000) >> 8) | ((bgra & 0xF000) >> 12)); in LoadBGRA4ToBGRA8() 846 static_cast<uint8_t>(((bgra & 0x0F00) >> 4) | ((bgra & 0x0F00) >> 8)); in LoadBGRA4ToBGRA8() 848 static_cast<uint8_t>(((bgra & 0x00F0) << 0) | ((bgra & 0x00F0) >> 4)); in LoadBGRA4ToBGRA8() 850 static_cast<uint8_t>(((bgra & 0x000F) << 4) | ((bgra & 0x000F) >> 0)); in LoadBGRA4ToBGRA8() 1127 uint16_t bgra = source[x]; in LoadBGR5A1ToBGRA8() local 1129 static_cast<uint8_t>(((bgra & 0xF800) >> 8) | ((bgra & 0xF800) >> 13)); in LoadBGR5A1ToBGRA8() 1131 static_cast<uint8_t>(((bgra & 0x07C0) >> 3) | ((bgra & 0x07C0) >> 8)); in LoadBGR5A1ToBGRA8() 1133 static_cast<uint8_t>(((bgra & 0x003E) << 2) | ((bgra & 0x003E) >> 3)); in LoadBGR5A1ToBGRA8() 1134 dest[4 * x + 3] = static_cast<uint8_t>((bgra & 0x0001) ? 0xFF : 0); in LoadBGR5A1ToBGRA8()
|
/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);
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_etc.c | 725 bool bgra) in etc2_unpack_srgb8() argument 748 if (bgra) { in etc2_unpack_srgb8() 811 bool bgra) in etc2_unpack_srgb8_alpha8() argument 835 if (bgra) { in etc2_unpack_srgb8_alpha8() 1071 bool bgra) in etc2_unpack_srgb8_punchthrough_alpha1() argument 1092 if (bgra) { in etc2_unpack_srgb8_punchthrough_alpha1() 1223 bool bgra) in _mesa_unpack_etc2_format() argument 1232 src_width, src_height, bgra); in _mesa_unpack_etc2_format() 1240 src_width, src_height, bgra); in _mesa_unpack_etc2_format() 1264 src_width, src_height, bgra); in _mesa_unpack_etc2_format()
|
/third_party/skia/src/core/ |
D | SkColor.cpp | 110 SkColor4f SkColor4f::FromColor(SkColor bgra) { in FromColor() argument 112 swizzle_rb(Sk4f_fromL32(bgra)).store(rgba.vec()); in FromColor()
|
/third_party/ffmpeg/tests/ref/fate/ |
D | filter-pixdesc-bgra | 1 pixdesc-bgra 0bb08da9936d2efd20351ab4a88e9b10
|
D | filter-pixfmts-histeq | 4 bgra 716e70fdf7413d9a3b83e0365c2b0a99
|
D | filter-pixfmts-kerndeint | 6 bgra 04f4d485067338e181c4c64b4df1246a
|
D | filter-pixfmts-super2xsai | 8 bgra e9cc6644e2f35103c241094ab4bb8fec
|
/third_party/ffmpeg/tests/filtergraphs/ |
D | alphamerge_alphaextract_rgb | 2 format=bgra, split, alphamerge, split [x][y];
|
/third_party/ffmpeg/libswscale/ppc/ |
D | yuv2rgb_altivec.h | 45 YUV2PACKEDX_HEADER(bgra);
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_linear_sampler.c | 605 __m128i bgra = *(__m128i *)&src_row[i]; in fetch_bgrx_axis_aligned_linear() local 606 __m128i bgrx = _mm_or_si128(bgra, mask); in fetch_bgrx_axis_aligned_linear() 625 __m128i bgra = *(__m128i *)&row[i]; in fetch_bgrx_clamp_linear() local 626 __m128i bgrx = _mm_or_si128(bgra, mask); in fetch_bgrx_clamp_linear() 645 __m128i bgra = *(__m128i *)&row[i]; in fetch_bgrx_linear() local 646 __m128i bgrx = _mm_or_si128(bgra, mask); in fetch_bgrx_linear()
|