/external/pdfium/core/fxge/ |
D | fx_dib.h | 87 constexpr uint8_t FXSYS_GetRValue(uint32_t bgr) { in FXSYS_GetRValue() argument 88 return bgr & 0xff; in FXSYS_GetRValue() 91 constexpr uint8_t FXSYS_GetGValue(uint32_t bgr) { in FXSYS_GetGValue() argument 92 return (bgr >> 8) & 0xff; in FXSYS_GetGValue() 95 constexpr uint8_t FXSYS_GetBValue(uint32_t bgr) { in FXSYS_GetBValue() argument 96 return (bgr >> 16) & 0xff; in FXSYS_GetBValue()
|
/external/webp/src/dsp/ |
D | yuv.c | 178 static void ConvertBGR24ToY_C(const uint8_t* bgr, uint8_t* y, int width) { in ConvertBGR24ToY_C() argument 180 for (i = 0; i < width; ++i, bgr += 3) { in ConvertBGR24ToY_C() 181 y[i] = VP8RGBToY(bgr[2], bgr[1], bgr[0], YUV_HALF); in ConvertBGR24ToY_C() 242 void (*WebPConvertBGR24ToY)(const uint8_t* bgr, uint8_t* y, int width);
|
D | yuv.h | 87 uint8_t* const bgr) { in VP8YuvToBgr() argument 88 bgr[0] = VP8YUVToB(y, u); in VP8YuvToBgr() 89 bgr[1] = VP8YUVToG(y, u, v); in VP8YuvToBgr() 90 bgr[2] = VP8YUVToR(y, v); in VP8YuvToBgr()
|
D | yuv_neon.c | 61 static void ConvertBGR24ToY_NEON(const uint8_t* bgr, uint8_t* y, int width) { in ConvertBGR24ToY_NEON() argument 63 for (i = 0; i + 8 <= width; i += 8, bgr += 3 * 8) { in ConvertBGR24ToY_NEON() 64 const uint8x8x3_t BGR = vld3_u8(bgr); in ConvertBGR24ToY_NEON() 68 for (; i < width; ++i, bgr += 3) { // left-over in ConvertBGR24ToY_NEON() 69 y[i] = VP8RGBToY(bgr[2], bgr[1], bgr[0], YUV_HALF); in ConvertBGR24ToY_NEON()
|
D | upsampling_mips_dsp_r2.c | 57 static WEBP_INLINE void YuvToBgr(int y, int u, int v, uint8_t* const bgr) { in YuvToBgr() argument 60 bgr[0] = b; in YuvToBgr() 61 bgr[1] = g; in YuvToBgr() 62 bgr[2] = r; in YuvToBgr()
|
D | yuv_sse41.c | 442 static void ConvertBGR24ToY_SSE41(const uint8_t* bgr, uint8_t* y, int width) { in ConvertBGR24ToY_SSE41() argument 445 for (i = 0; i < max_width; bgr += 3 * 16 * 2) { in ConvertBGR24ToY_SSE41() 449 RGB24PackedToPlanar_SSE41(bgr, bgr_plane); in ConvertBGR24ToY_SSE41() 471 for (; i < width; ++i, bgr += 3) { // left-over in ConvertBGR24ToY_SSE41() 472 y[i] = VP8RGBToY(bgr[2], bgr[1], bgr[0], YUV_HALF); in ConvertBGR24ToY_SSE41()
|
D | yuv_sse2.c | 596 static void ConvertBGR24ToY_SSE2(const uint8_t* bgr, uint8_t* y, int width) { in ConvertBGR24ToY_SSE2() argument 599 for (i = 0; i < max_width; bgr += 3 * 16 * 2) { in ConvertBGR24ToY_SSE2() 603 RGB24PackedToPlanar_SSE2(bgr, bgr_plane); in ConvertBGR24ToY_SSE2() 625 for (; i < width; ++i, bgr += 3) { // left-over in ConvertBGR24ToY_SSE2() 626 y[i] = VP8RGBToY(bgr[2], bgr[1], bgr[0], YUV_HALF); in ConvertBGR24ToY_SSE2()
|
D | upsampling_msa.c | 257 static void YuvToBgr(int y, int u, int v, uint8_t* const bgr) { in YuvToBgr() argument 262 bgr[0] = Clip8(b1 >> 6); in YuvToBgr() 263 bgr[1] = Clip8(g1 >> 6); in YuvToBgr() 264 bgr[2] = Clip8(r1 >> 6); in YuvToBgr()
|
D | dsp.h | 509 extern void (*WebPConvertBGR24ToY)(const uint8_t* bgr, uint8_t* y, int width);
|
/external/igt-gpu-tools/lib/ |
D | igt_chamelium.c | 101 unsigned char *bgr; member 222 free(dump->bgr); in chamelium_destroy_frame_dump() 874 (void*)&ret->bgr); in frame_from_xml() 1419 uint32_t *bits_bgr = (uint32_t *) dump->bgr; in convert_frame_dump_argb32() 1512 eq = memcmp(dump->bgr, pixman_image_get_data(reference_bgr), in chamelium_assert_frame_eq() 1652 unsigned char *bgr; in chamelium_crop_analog_frame() local 1674 p = &dump->bgr[(x + y * dump->width) * 3]; in chamelium_crop_analog_frame() 1687 p = &dump->bgr[(xx + yy * dump->width) * 3]; in chamelium_crop_analog_frame() 1712 bgr = malloc(width * height * 3); in chamelium_crop_analog_frame() 1715 p = &dump->bgr[(left + (top + y) * dump->width) * 3]; in chamelium_crop_analog_frame() [all …]
|
/external/webp/src/webp/ |
D | encode.h | 52 WEBP_EXTERN size_t WebPEncodeBGR(const uint8_t* bgr, 72 WEBP_EXTERN size_t WebPEncodeLosslessBGR(const uint8_t* bgr, 477 WebPPicture* picture, const uint8_t* bgr, int bgr_stride);
|
/external/webp/include/webp/ |
D | encode.h | 52 WEBP_EXTERN size_t WebPEncodeBGR(const uint8_t* bgr, 72 WEBP_EXTERN size_t WebPEncodeLosslessBGR(const uint8_t* bgr, 477 WebPPicture* picture, const uint8_t* bgr, int bgr_stride);
|
/external/pdfium/third_party/libpng16/ |
D | pngwrite.c | 1804 int bgr = (format & PNG_FORMAT_FLAG_BGR) != 0 ? 2 : 0; in png_image_set_PLTE() local 1806 # define bgr 0 in png_image_set_PLTE() macro 1832 entry[(2 ^ bgr)]); in png_image_set_PLTE() 1836 entry[bgr]); in png_image_set_PLTE() 1863 palette[i].blue = png_unpremultiply(entry[afirst + (2 ^ bgr)], in png_image_set_PLTE() 1867 palette[i].red = png_unpremultiply(entry[afirst + bgr], alpha, in png_image_set_PLTE() 1891 palette[i].blue = entry[afirst + (2 ^ bgr)]; in png_image_set_PLTE() 1893 palette[i].red = entry[afirst + bgr]; in png_image_set_PLTE() 1915 # ifdef bgr in png_image_set_PLTE() 1916 # undef bgr in png_image_set_PLTE()
|
D | pngread.c | 1884 int bgr = (image->format & PNG_FORMAT_FLAG_BGR) != 0 ? 2 : 0; in png_create_colormap_entry() local 1886 # define bgr 0 in png_create_colormap_entry() macro 1918 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue; in png_create_colormap_entry() 1920 entry[afirst + bgr] = (png_uint_16)red; in png_create_colormap_entry() 1956 entry[afirst + (2 ^ bgr)] = (png_byte)blue; in png_create_colormap_entry() 1958 entry[afirst + bgr] = (png_byte)red; in png_create_colormap_entry() 1976 # ifdef bgr in png_create_colormap_entry() 1977 # undef bgr in png_create_colormap_entry()
|
/external/libpng/ |
D | pngwrite.c | 1804 int bgr = (format & PNG_FORMAT_FLAG_BGR) != 0 ? 2 : 0; in png_image_set_PLTE() local 1806 # define bgr 0 in png_image_set_PLTE() macro 1832 entry[(2 ^ bgr)]); in png_image_set_PLTE() 1836 entry[bgr]); in png_image_set_PLTE() 1863 palette[i].blue = png_unpremultiply(entry[afirst + (2 ^ bgr)], in png_image_set_PLTE() 1867 palette[i].red = png_unpremultiply(entry[afirst + bgr], alpha, in png_image_set_PLTE() 1891 palette[i].blue = entry[afirst + (2 ^ bgr)]; in png_image_set_PLTE() 1893 palette[i].red = entry[afirst + bgr]; in png_image_set_PLTE() 1915 # ifdef bgr in png_image_set_PLTE() 1916 # undef bgr in png_image_set_PLTE()
|
D | pngread.c | 1884 int bgr = (image->format & PNG_FORMAT_FLAG_BGR) != 0 ? 2 : 0; in png_create_colormap_entry() local 1886 # define bgr 0 in png_create_colormap_entry() macro 1918 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue; in png_create_colormap_entry() 1920 entry[afirst + bgr] = (png_uint_16)red; in png_create_colormap_entry() 1956 entry[afirst + (2 ^ bgr)] = (png_byte)blue; in png_create_colormap_entry() 1958 entry[afirst + bgr] = (png_byte)red; in png_create_colormap_entry() 1976 # ifdef bgr in png_create_colormap_entry() 1977 # undef bgr in png_create_colormap_entry()
|
/external/swiftshader/src/Renderer/ |
D | Surface.cpp | 450 unsigned int bgr = palette[((unsigned char*)element)[0]]; in read() local 452 r = (bgr & 0x000000FF) * (1.0f / 0x000000FF); in read() 453 g = (bgr & 0x0000FF00) * (1.0f / 0x0000FF00); in read() 454 b = (bgr & 0x00FF0000) * (1.0f / 0x00FF0000); in read() 624 signed char* bgr = (signed char*)element; in read() local 626 r = max(bgr[0] * (1.0f / 0x7F), -1.0f); in read() 627 g = max(bgr[1] * (1.0f / 0x7F), -1.0f); in read() 628 b = max(bgr[2] * (1.0f / 0x7F), -1.0f); in read() 643 signed char* bgr = (signed char*)element; in read() local 645 r = bgr[0]; in read() [all …]
|
/external/ImageMagick/coders/ |
D | Make.com | 27 $call Make bgr.c 154 $library/create libCoders.olb aai,art,avs,bgr,bmp,braille,clip,clipboard,cip, -
|
D | Makefile.am | 113 coders/bgr.c \ 114 coders/bgr.h \ 389 coders/bgr.h \ 535 coders/bgr.la \ 693 coders_bgr_la_SOURCES = coders/bgr.c
|
/external/freetype/src/truetype/ |
D | ttinterp.h | 406 FT_Bool bgr; /* bgr instead of rgb? */ member
|
D | ttgload.c | 2516 FT_Bool bgr; in tt_loader_init() 2596 exec->bgr = FALSE; in tt_loader_init() 2607 exec->bgr = in tt_loader_init()
|
/external/pdfium/testing/image_diff/ |
D | image_diff_png.cpp | 78 void ConvertBGRtoRGB(const uint8_t* bgr, in ConvertBGRtoRGB() argument 83 const uint8_t* pixel_in = &bgr[x * 3]; in ConvertBGRtoRGB()
|
/external/llvm-project/clang/test/CodeGen/ |
D | ext-vector.c | 333 vec4.rgb = vec4.bgr; in test_rgba()
|
/external/clang/test/CodeGen/ |
D | ext-vector.c | 333 vec4.rgb = vec4.bgr; in test_rgba()
|
/external/mesa3d/src/intel/isl/ |
D | isl_format_layout.csv | 165 B5G6R5_UNORM , 16, 1, 1, 1, un5, un6, un5, , , , , bgr, line… 166 B5G6R5_UNORM_SRGB , 16, 1, 1, 1, un5, un6, un5, , , , , bgr, sr…
|