Home
last modified time | relevance | path

Searched refs:bgr (Results 1 – 25 of 39) sorted by relevance

12

/external/pdfium/core/fxge/
Dfx_dib.h87 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/
Dyuv.c178 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);
Dyuv.h87 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()
Dyuv_neon.c61 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()
Dupsampling_mips_dsp_r2.c57 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()
Dyuv_sse41.c442 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()
Dyuv_sse2.c596 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()
Dupsampling_msa.c257 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()
Ddsp.h509 extern void (*WebPConvertBGR24ToY)(const uint8_t* bgr, uint8_t* y, int width);
/external/igt-gpu-tools/lib/
Digt_chamelium.c101 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/
Dencode.h52 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/
Dencode.h52 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/
Dpngwrite.c1804 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()
Dpngread.c1884 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/
Dpngwrite.c1804 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()
Dpngread.c1884 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/
DSurface.cpp450 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/
DMake.com27 $call Make bgr.c
154 $library/create libCoders.olb aai,art,avs,bgr,bmp,braille,clip,clipboard,cip, -
DMakefile.am113 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/
Dttinterp.h406 FT_Bool bgr; /* bgr instead of rgb? */ member
Dttgload.c2516 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/
Dimage_diff_png.cpp78 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/
Dext-vector.c333 vec4.rgb = vec4.bgr; in test_rgba()
/external/clang/test/CodeGen/
Dext-vector.c333 vec4.rgb = vec4.bgr; in test_rgba()
/external/mesa3d/src/intel/isl/
Disl_format_layout.csv165 B5G6R5_UNORM , 16, 1, 1, 1, un5, un6, un5, , , , , bgr, line…
166 B5G6R5_UNORM_SRGB , 16, 1, 1, 1, un5, un6, un5, , , , , bgr, sr…

12