/third_party/boost/libs/geometry/test/util/ |
D | range.cpp | 95 namespace bgr = bg::range; 106 bgr::push_back(v, i); in test_all() 111 BOOST_CHECK(bgr::at(v, i) == i); in test_all() 116 std::copy(v.begin(), v.end(), bgr::back_inserter(w)); in test_all() 120 BOOST_CHECK(bgr::front(v) == 0); in test_all() 121 BOOST_CHECK(bgr::back(v) == 19); in test_all() 124 bgr::resize(v, 15); in test_all() 126 BOOST_CHECK(bgr::back(v) == 14); in test_all() 128 bgr::pop_back(v); in test_all() 130 BOOST_CHECK(bgr::back(v) == 13); in test_all() [all …]
|
/third_party/ffmpeg/libswscale/ |
D | rgb2rgb.c | 191 register uint16_t bgr = *s++; in rgb16tobgr32() local 194 *d++ = ((bgr&0x001F)<<3) | ((bgr&0x001F)>> 2); in rgb16tobgr32() 195 *d++ = ((bgr&0x07E0)>>3) | ((bgr&0x07E0)>> 9); in rgb16tobgr32() 196 *d++ = ((bgr&0xF800)>>8) | ((bgr&0xF800)>>13); in rgb16tobgr32() 198 *d++ = ((bgr&0xF800)>>8) | ((bgr&0xF800)>>13); in rgb16tobgr32() 199 *d++ = ((bgr&0x07E0)>>3) | ((bgr&0x07E0)>> 9); in rgb16tobgr32() 200 *d++ = ((bgr&0x001F)<<3) | ((bgr&0x001F)>> 2); in rgb16tobgr32() 232 register uint16_t bgr = *s++; in rgb16to24() local 233 *d++ = ((bgr&0xF800)>>8) | ((bgr&0xF800)>>13); in rgb16to24() 234 *d++ = ((bgr&0x07E0)>>3) | ((bgr&0x07E0)>> 9); in rgb16to24() [all …]
|
D | rgb2rgb_template.c | 251 register uint16_t bgr = *s++; in rgb15tobgr24_c() local 252 *d++ = ((bgr&0x001F)<<3) | ((bgr&0x001F)>> 2); in rgb15tobgr24_c() 253 *d++ = ((bgr&0x03E0)>>2) | ((bgr&0x03E0)>> 7); in rgb15tobgr24_c() 254 *d++ = ((bgr&0x7C00)>>7) | ((bgr&0x7C00)>>12); in rgb15tobgr24_c() 266 register uint16_t bgr = *s++; in rgb16tobgr24_c() local 267 *d++ = ((bgr&0x001F)<<3) | ((bgr&0x001F)>> 2); in rgb16tobgr24_c() 268 *d++ = ((bgr&0x07E0)>>3) | ((bgr&0x07E0)>> 9); in rgb16tobgr24_c() 269 *d++ = ((bgr&0xF800)>>8) | ((bgr&0xF800)>>13); in rgb16tobgr24_c() 280 register uint16_t bgr = *s++; in rgb15to32_c() local 283 *d++ = ((bgr&0x7C00)>>7) | ((bgr&0x7C00)>>12); in rgb15to32_c() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/detail/ |
D | tupled_output.cpp | 21 namespace bgr = boost::geometry::range; 95 boost::tuples::cons<bgr::back_insert_iterator<multi_linestring>, in test_main() 96 boost::tuples::cons<bgr::back_insert_iterator<multi_point>, in test_main() 99 std::pair<bgr::back_insert_iterator<multi_linestring>, in test_main() 100 bgr::back_insert_iterator<multi_point> > >(); in test_main() 110 std::tuple<bgr::back_insert_iterator<multi_linestring>, in test_main() 111 bgr::back_insert_iterator<multi_point> > >(); in test_main()
|
/third_party/ffmpeg/libswscale/x86/ |
D | rgb2rgb_template.c | 816 register uint16_t bgr; in RENAME() local 817 bgr = *s++; in RENAME() 818 *d++ = ((bgr&0x1F)<<3) | ((bgr&0x1F)>>2); in RENAME() 819 *d++ = ((bgr&0x3E0)>>2) | ((bgr&0x3E0)>>7); in RENAME() 820 *d++ = ((bgr&0x7C00)>>7) | ((bgr&0x7C00)>>12); in RENAME() 923 register uint16_t bgr; in RENAME() local 924 bgr = *s++; in RENAME() 925 *d++ = ((bgr&0x1F)<<3) | ((bgr&0x1F)>>2); in RENAME() 926 *d++ = ((bgr&0x7E0)>>3) | ((bgr&0x7E0)>>9); in RENAME() 927 *d++ = ((bgr&0xF800)>>8) | ((bgr&0xF800)>>13); in RENAME() [all …]
|
D | yuv_2_rgb.asm | 363 yuv2rgb_fn yuv, bgr, 24 365 yuv2rgb_fn yuv, bgr, 32 367 yuv2rgb_fn yuva, bgr, 32 373 yuv2rgb_fn yuv, bgr, 24 377 yuv2rgb_fn yuv, bgr, 24 379 yuv2rgb_fn yuv, bgr, 32 381 yuv2rgb_fn yuva, bgr, 32
|
/third_party/boost/libs/gil/test/extension/io/ |
D | color_space_write_test.hpp | 26 gil::bgr8_image_t bgr(320, 200); in color_space_write_test() local 29 gil::fill_pixels(gil::view(bgr), gil::bgr8_pixel_t(255, 0, 0)); in color_space_write_test() 33 gil::write_view(file_name_2, gil::view(bgr), Tag()); in color_space_write_test()
|
/third_party/boost/boost/gil/ |
D | typedefs.hpp | 138 BOOST_GIL_DEFINE_BASE_TYPEDEFS(8, uint8_t, bgr) 139 BOOST_GIL_DEFINE_BASE_TYPEDEFS(8s, int8_t, bgr) 140 BOOST_GIL_DEFINE_BASE_TYPEDEFS(16, uint16_t, bgr) 141 BOOST_GIL_DEFINE_BASE_TYPEDEFS(16s, int16_t, bgr) 142 BOOST_GIL_DEFINE_BASE_TYPEDEFS(32, uint32_t, bgr) 143 BOOST_GIL_DEFINE_BASE_TYPEDEFS(32s, int32_t, bgr) 144 BOOST_GIL_DEFINE_BASE_TYPEDEFS(32f, float32_t, bgr)
|
/third_party/skia/third_party/externals/libwebp/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()
|
/third_party/flutter/skia/third_party/externals/libwebp/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()
|
/third_party/skia/third_party/externals/libwebp/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);
|
/third_party/flutter/skia/third_party/externals/libwebp/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, 474 WebPPicture* picture, const uint8_t* bgr, int bgr_stride);
|
/third_party/ffmpeg/tests/ref/fate/ |
D | filter-pixdesc-0bgr | 1 pixdesc-0bgr 89fa866f5532548a67b6e742b4d49e03
|
D | filter-pixfmts-kerndeint | 1 0bgr 7de3240bb5ab40dc9b599f7112990439
|
D | sws-pixdesc-query | 372 0bgr 518 0bgr 644 0bgr 817 0bgr
|
/third_party/flutter/skia/src/core/ |
D | SkVMBlitter.cpp | 103 Color unpack_565(skvm::I32 bgr) { in unpack_565() 106 skvm::I32 r = extract(bgr, 11, splat(0b011'111)), in unpack_565() 107 g = extract(bgr, 5, splat(0b111'111)), in unpack_565() 108 b = extract(bgr, 0, splat(0b011'111)); in unpack_565()
|
/third_party/flutter/skia/third_party/externals/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()
|