Home
last modified time | relevance | path

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

12

/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_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()
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()
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.h503 extern void (*WebPConvertBGR24ToY)(const uint8_t* bgr, uint8_t* y, int width);
/external/webp/include/webp/
Dencode.h52 WEBP_EXTERN size_t WebPEncodeBGR(const uint8_t* bgr,
68 WEBP_EXTERN size_t WebPEncodeLosslessBGR(const uint8_t* bgr,
470 WebPPicture* picture, const uint8_t* bgr, int bgr_stride);
/external/webp/src/webp/
Dencode.h52 WEBP_EXTERN size_t WebPEncodeBGR(const uint8_t* bgr,
68 WEBP_EXTERN size_t WebPEncodeLosslessBGR(const uint8_t* bgr,
470 WebPPicture* picture, const uint8_t* bgr, int bgr_stride);
/external/pdfium/third_party/libpng16/
Dpngwrite.c1791 const int bgr = (format & PNG_FORMAT_FLAG_BGR) != 0 ? 2 : 0; in png_image_set_PLTE() local
1793 # define bgr 0 in png_image_set_PLTE() macro
1819 entry[(2 ^ bgr)]); in png_image_set_PLTE()
1823 entry[bgr]); in png_image_set_PLTE()
1850 palette[i].blue = png_unpremultiply(entry[afirst + (2 ^ bgr)], in png_image_set_PLTE()
1854 palette[i].red = png_unpremultiply(entry[afirst + bgr], alpha, in png_image_set_PLTE()
1878 palette[i].blue = entry[afirst + (2 ^ bgr)]; in png_image_set_PLTE()
1880 palette[i].red = entry[afirst + bgr]; in png_image_set_PLTE()
1902 # ifdef bgr in png_image_set_PLTE()
1903 # undef bgr in png_image_set_PLTE()
Dpngread.c1866 const int bgr = (image->format & PNG_FORMAT_FLAG_BGR) != 0 ? 2 : 0; in png_create_colormap_entry() local
1868 # define bgr 0 in png_create_colormap_entry() macro
1900 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue; in png_create_colormap_entry()
1902 entry[afirst + bgr] = (png_uint_16)red; in png_create_colormap_entry()
1937 entry[afirst + (2 ^ bgr)] = (png_byte)blue; in png_create_colormap_entry()
1939 entry[afirst + bgr] = (png_byte)red; in png_create_colormap_entry()
1956 # ifdef bgr in png_create_colormap_entry()
1957 # undef bgr in png_create_colormap_entry()
/external/libpng/
Dpngwrite.c1804 const 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.c1878 const int bgr = (image->format & PNG_FORMAT_FLAG_BGR) != 0 ? 2 : 0; in png_create_colormap_entry() local
1880 # define bgr 0 in png_create_colormap_entry() macro
1912 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue; in png_create_colormap_entry()
1914 entry[afirst + bgr] = (png_uint_16)red; in png_create_colormap_entry()
1950 entry[afirst + (2 ^ bgr)] = (png_byte)blue; in png_create_colormap_entry()
1952 entry[afirst + bgr] = (png_byte)red; in png_create_colormap_entry()
1970 # ifdef bgr in png_create_colormap_entry()
1971 # 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
152 $library/create libCoders.olb aai,art,avs,bgr,bmp,braille,clip,clipboard,cip, -
DMakefile.am103 coders/bgr.c \
232 coders/bgr.h \
368 coders/bgr.la \
513 coders_bgr_la_SOURCES = coders/bgr.c
/external/freetype/src/truetype/
Dttinterp.h407 FT_Bool bgr; /* bgr instead of rgb? */ member
Dttgload.c2403 FT_Bool bgr; in tt_loader_init()
2483 exec->bgr = FALSE; in tt_loader_init()
2494 exec->bgr = in tt_loader_init()
/external/pdfium/testing/image_diff/
Dimage_diff_png.cpp72 void ConvertBGRtoRGB(const unsigned char* bgr, in ConvertBGRtoRGB() argument
77 const unsigned char* pixel_in = &bgr[x * 3]; in ConvertBGRtoRGB()
/external/clang/test/CodeGen/
Dext-vector.c333 vec4.rgb = vec4.bgr; in test_rgba()
/external/webp/
DREADME558 size_t WebPEncodeBGR(const uint8_t* bgr, int width, int height, int stride,
572 size_t WebPEncodeLosslessBGR(const uint8_t* bgr, int width, int height,
/external/ImageMagick/
DMakefile.in522 coders/bgr.c coders/bmp.c coders/braille.c coders/cals.c \
669 coders/MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la-bgr.lo \
851 am_coders_bgr_la_OBJECTS = coders/bgr_la-bgr.lo
2161 coders/$(DEPDIR)/MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la-bgr.Plo \
2290 coders/$(DEPDIR)/bgr_la-bgr.Plo \
3569 coders/bgr.c \
3698 coders/bgr.h \
3834 @WITH_MODULES_TRUE@ coders/bgr.la \
3977 coders_bgr_la_SOURCES = coders/bgr.c
6441 coders/MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la-bgr.lo: \
[all …]
/external/deqp/data/gles2/shaders/
Dswizzles.test1113 out0 = in0.bgr;
3381 out0 = in0.bgr;
5649 out0 = in0.bgr;
/external/deqp/data/gles3/shaders/
Dswizzles.test1219 out0 = in0.bgr;
3703 out0 = in0.bgr;
6187 out0 = in0.bgr;

12