Home
last modified time | relevance | path

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

12

/external/libvncserver/webclients/novnc/include/
Ddisplay.js353 var bgr;
355 bgr = color;
357 bgr = this._colourMap[color[0]];
359 var red = bgr[2];
360 var green = bgr[1];
361 var blue = bgr[0];
378 var bgr;
380 bgr = color;
382 bgr = this._colourMap[color[0]];
384 var red = bgr[2];
[all …]
/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_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.h464 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/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/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/swiftshader/src/Renderer/
DSurface.cpp436 unsigned int bgr = palette[((unsigned char*)element)[0]]; in read() local
438 r = (bgr & 0x000000FF) * (1.0f / 0x000000FF); in read()
439 g = (bgr & 0x0000FF00) * (1.0f / 0x0000FF00); in read()
440 b = (bgr & 0x00FF0000) * (1.0f / 0x00FF0000); in read()
610 signed char* bgr = (signed char*)element; in read() local
612 r = max(bgr[0] * (1.0f / 0x7F), -1.0f); in read()
613 g = max(bgr[1] * (1.0f / 0x7F), -1.0f); in read()
614 b = max(bgr[2] * (1.0f / 0x7F), -1.0f); in read()
629 signed char* bgr = (signed char*)element; in read() local
631 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, -
DAndroid.mk26 bgr.c\
DMakefile.am98 coders/bgr.c \
226 coders/bgr.la \
369 coders_bgr_la_SOURCES = coders/bgr.c
/external/freetype/src/truetype/
Dttinterp.h407 FT_Bool bgr; /* bgr instead of rgb? */ member
Dttgload.c2395 FT_Bool bgr; in tt_loader_init()
2475 exec->bgr = FALSE; in tt_loader_init()
2486 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/honggfuzz/examples/apache-httpd/corpus_http2/
D8698144860dea0fde404429b64a4720f.00001e86.honggfuzz.cov53 J��a��� s�V=O9�wf$q��6�:���h�$ 8[�N��;nS��K��ʡf~�l�~$��<,���_ �=�,bgr~�⇔��[[^���ߒ�S��…
/external/webp/
DREADME545 size_t WebPEncodeBGR(const uint8_t* bgr, int width, int height, int stride,
559 size_t WebPEncodeLosslessBGR(const uint8_t* bgr, int width, int height,
/external/ImageMagick/
DMakefile.in498 coders/bgr.c coders/bmp.c coders/braille.c coders/cals.c \
644 coders/MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la-bgr.lo \
825 am_coders_bgr_la_OBJECTS = coders/coders_bgr_la-bgr.lo
3098 coders/bgr.c \
3226 @WITH_MODULES_TRUE@ coders/bgr.la \
3367 coders_bgr_la_SOURCES = coders/bgr.c
5746 coders/MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la-bgr.lo: \
6101 coders/coders_bgr_la-bgr.lo: coders/$(am__dirstamp) \
6104 coders/bgr.la: $(coders_bgr_la_OBJECTS) $(coders_bgr_la_DEPENDENCIES) $(EXTRA_coders_bgr_la_DEPENDE…
7199 …$(DEPDIR)/MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la-bgr.Plo@am__quote@
[all …]

12