/external/opencv/otherlibs/highgui/ |
H A D | grfmt_bmp.cpp | 195 uchar* bgr = bgr_buffer; local 216 if( m_width*3 + 32 > buffer_size ) bgr = new uchar[m_width*3 + 32]; 230 FillColorRow1( color ? data : bgr, src, m_width, m_palette ); 232 icvCvt_BGR2Gray_8u_C3C1R( bgr, 0, data, 0, cvSize(m_width,1) ); 476 if( bgr != bgr_buffer ) delete[] bgr;
|
H A D | grfmt_sunras.cpp | 181 uchar* bgr = bgr_buffer; local 194 bgr = new uchar[m_width*3 + 32]; 358 m_strm.GetBytes( color ? data : bgr, src_pitch ); 367 icvCvt_BGR2Gray_8u_C3C1R( bgr, 0, data, 0, cvSize(m_width,1), 396 if( bgr != bgr_buffer ) delete[] bgr;
|
H A D | utils.cpp | 141 uchar* bgr, int bgr_step, CvSize size ) 146 for( i = 0; i < size.width; i++, bgr += 3 ) 148 bgr[0] = bgr[1] = bgr[2] = gray[i]; 150 bgr += bgr_step - size.width*3; 156 uchar* bgr, int bgr_step, 163 for( i = 0; i < size.width; i++, bgr += 3, bgra += 4 ) 166 bgr[0] = t0; bgr[ 140 icvCvt_Gray2BGR_8u_C1C3R( const uchar* gray, int gray_step, uchar* bgr, int bgr_step, CvSize size ) argument 155 icvCvt_BGRA2BGR_8u_C4C3R( const uchar* bgra, int bgra_step, uchar* bgr, int bgr_step, CvSize size, int _swap_rb ) argument 194 icvCvt_BGR2RGB_8u_C3R( const uchar* bgr, int bgr_step, uchar* rgb, int rgb_step, CvSize size ) argument 211 icvCvt_BGR2RGB_16u_C3R( const ushort* bgr, int bgr_step, ushort* rgb, int rgb_step, CvSize size ) argument 264 icvCvt_BGR5552BGR_8u_C2C3R( const uchar* bgr555, int bgr555_step, uchar* bgr, int bgr_step, CvSize size ) argument 282 icvCvt_BGR5652BGR_8u_C2C3R( const uchar* bgr565, int bgr565_step, uchar* bgr, int bgr_step, CvSize size ) argument 300 icvCvt_CMYK2BGR_8u_C4C3R( const uchar* cmyk, int cmyk_step, uchar* bgr, int bgr_step, CvSize size ) argument [all...] |
/external/webp/src/dsp/ |
H A D | yuv.h | 114 uint8_t* const bgr) { 115 bgr[0] = VP8YUVToB(y, u); 116 bgr[1] = VP8YUVToG(y, u, v); 117 bgr[2] = VP8YUVToR(y, v); 173 uint8_t* const bgr) { 177 bgr[0] = VP8kClip[y + b_off - YUV_RANGE_MIN]; 178 bgr[1] = VP8kClip[y + g_off - YUV_RANGE_MIN]; 179 bgr[2] = VP8kClip[y + r_off - YUV_RANGE_MIN]; 113 VP8YuvToBgr(int y, int u, int v, uint8_t* const bgr) argument 172 VP8YuvToBgr(int y, int u, int v, uint8_t* const bgr) argument
|
H A D | yuv_sse2.c | 116 uint8_t* const bgr) { 122 _mm_storel_epi64((__m128i*)bgr, tmp3); 115 YuvToBgrSSE2(uint8_t y, uint8_t u, uint8_t v, uint8_t* const bgr) argument
|
/external/freetype/src/truetype/ |
H A D | ttinterp.h | 264 FT_Bool bgr; /* bgr instead of rgb? */ member in struct:TT_ExecContextRec_
|
/external/libpng/ |
H A D | pngwrite.c | 1998 const int bgr = (format & PNG_FORMAT_FLAG_BGR) ? 2 : 0; local 2000 # define bgr 0 macro 2026 entry[(2 ^ bgr)]); 2030 entry[bgr]); 2057 palette[i].blue = png_unpremultiply(entry[afirst + (2 ^ bgr)], 2061 palette[i].red = png_unpremultiply(entry[afirst + bgr], alpha, 2085 palette[i].blue = entry[afirst + (2 ^ bgr)]; 2087 palette[i].red = entry[afirst + bgr]; 2109 # ifdef bgr 2110 # undef bgr macro [all...] |
H A D | pngread.c | 2005 const int bgr = (image->format & PNG_FORMAT_FLAG_BGR) ? 2 : 0; local 2007 # define bgr 0 macro 2039 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue; 2041 entry[afirst + bgr] = (png_uint_16)red; 2076 entry[afirst + (2 ^ bgr)] = (png_byte)blue; 2078 entry[afirst + bgr] = (png_byte)red; 2095 # ifdef bgr 2096 # undef bgr macro
|
/external/pdfium/samples/fx_lpng/lpng_v163/ |
H A D | fx_pngwrite.c | 1891 const int bgr = (format & PNG_FORMAT_FLAG_BGR) ? 2 : 0;
local 1893 # define bgr 0
macro 1919 entry[(2 ^ bgr)]);
1923 entry[bgr]);
1950 palette[i].blue = png_unpremultiply(entry[afirst + (2 ^ bgr)],
1954 palette[i].red = png_unpremultiply(entry[afirst + bgr], alpha,
1978 palette[i].blue = entry[afirst + (2 ^ bgr)];
1980 palette[i].red = entry[afirst + bgr];
2002 # ifdef bgr
2003 # undef bgr
macro [all...] |
H A D | fx_pngread.c | 1739 const int bgr = (image->format & PNG_FORMAT_FLAG_BGR) ? 2 : 0;
local 1741 # define bgr 0
macro 1773 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue;
1775 entry[afirst + bgr] = (png_uint_16)red;
1810 entry[afirst + (2 ^ bgr)] = (png_byte)blue;
1812 entry[afirst + bgr] = (png_byte)red;
1829 # ifdef bgr
1830 # undef bgr
macro
|
/external/pdfium/third_party/freetype/src/truetype/ |
H A D | ttinterp.h | 276 FT_Bool bgr; /* bgr instead of rgb? */ member in struct:TT_ExecContextRec_
|