/external/opencv3/modules/videostab/src/ |
precomp.hpp | 62 inline float intensity(const cv::Point3_<uchar> &bgr) 64 return 0.3f*bgr.x + 0.59f*bgr.y + 0.11f*bgr.z;
|
/external/opencv3/modules/photo/test/ |
test_denoising.cuda.cpp | 62 cv::Mat bgr = readImage("../gpu/denoising/lena_noised_gaussian_sigma=20_multi_0.png", cv::IMREAD_COLOR); 63 ASSERT_FALSE(bgr.empty()); 64 cv::resize(bgr, bgr, cv::Size(256, 256)); 67 cv::cvtColor(bgr, gray, cv::COLOR_BGR2GRAY); 70 cv::cuda::nonLocalMeans(GpuMat(bgr), dbgr, 20); 95 cv::Mat bgr = readImage("../gpu/denoising/lena_noised_gaussian_sigma=20_multi_0.png", cv::IMREAD_COLOR); 96 ASSERT_FALSE(bgr.empty()); 99 cv::cvtColor(bgr, gray, cv::COLOR_BGR2GRAY); 104 cv::cuda::fastNlMeansDenoisingColored(GpuMat(bgr), dbgr, 20, 10) [all...] |
/external/opencv/otherlibs/highgui/ |
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[1] = t1 [all...] |
utils.h | 58 void icvCvt_BGR2Gray_16u_C3C1R( const ushort* bgr, int bgr_step, 61 void icvCvt_BGR2Gray_8u_C3C1R( const uchar* bgr, int bgr_step, 68 uchar* bgr, int bgr_step, CvSize size ); 70 uchar* bgr, int bgr_step, 72 void icvCvt_BGR2RGB_8u_C3R( const uchar* bgr, int bgr_step, 75 void icvCvt_BGR2RGB_16u_C3R( const ushort* bgr, int bgr_step, 88 uchar* bgr, int bgr_step, CvSize size ); 90 uchar* bgr, int bgr_step, CvSize size ); 92 uchar* bgr, int bgr_step, CvSize size );
|
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;
|
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;
|
/external/opencv3/modules/imgcodecs/src/ |
utils.hpp | 58 void icvCvt_BGR2Gray_8u_C3C1R( const uchar* bgr, int bgr_step, 69 uchar* bgr, int bgr_step, CvSize size ); 71 ushort* bgr, int bgr_step, CvSize size ); 74 uchar* bgr, int bgr_step, 77 ushort* bgr, int bgr_step, 80 void icvCvt_BGR2RGB_8u_C3R( const uchar* bgr, int bgr_step, 83 void icvCvt_BGR2RGB_16u_C3R( const ushort* bgr, int bgr_step, 100 uchar* bgr, int bgr_step, CvSize size ); 102 uchar* bgr, int bgr_step, CvSize size ); 104 uchar* bgr, int bgr_step, CvSize size ) [all...] |
utils.cpp | 108 uchar* bgr, int bgr_step, CvSize size ) 113 for( i = 0; i < size.width; i++, bgr += 3 ) 115 bgr[0] = bgr[1] = bgr[2] = gray[i]; 117 bgr += bgr_step - size.width*3; 123 ushort* bgr, int bgr_step, CvSize size ) 128 for( i = 0; i < size.width; i++, bgr += 3 ) 130 bgr[0] = bgr[1] = bgr[2] = gray[i] [all...] |
grfmt_sunras.cpp | 173 uchar* bgr = _bgr; local 337 m_strm.getBytes( color ? data : bgr, src_pitch ); 346 icvCvt_BGR2Gray_8u_C3C1R( bgr, 0, data, 0, cvSize(m_width,1),
|
grfmt_bmp.cpp | 215 uchar *src = _src, *bgr = _bgr; local 228 FillColorRow1( color ? data : bgr, src, m_width, m_palette ); 230 icvCvt_BGR2Gray_8u_C3C1R( bgr, 0, data, 0, cvSize(m_width,1) );
|
/external/opencv3/3rdparty/libwebp/dsp/ |
yuv.h | 84 uint8_t* const bgr) { 88 bgr[0] = VP8kClip[y + b_off - YUV_RANGE_MIN]; 89 bgr[1] = VP8kClip[y + g_off - YUV_RANGE_MIN]; 90 bgr[2] = VP8kClip[y + r_off - YUV_RANGE_MIN]; 170 uint8_t* const bgr) { 171 bgr[0] = VP8Clip8(VP8YUVToB(y, u)); 172 bgr[1] = VP8Clip8(VP8YUVToG(y, u, v)); 173 bgr[2] = VP8Clip8(VP8YUVToR(y, v));
|
/external/libvncserver/webclients/novnc/include/ |
display.js | 353 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/ |
yuv.c | 228 static void ConvertBGR24ToY(const uint8_t* bgr, uint8_t* y, int width) { 230 for (i = 0; i < width; ++i, bgr += 3) { 231 y[i] = VP8RGBToY(bgr[2], bgr[1], bgr[0], YUV_HALF); 248 void (*WebPConvertBGR24ToY)(const uint8_t* bgr, uint8_t* y, int width);
|
yuv_sse2.c | 289 __m128i bgr[6]; local 297 bgr[0] = _mm_packus_epi16(B0, B1); 298 bgr[1] = _mm_packus_epi16(B2, B3); 299 bgr[2] = _mm_packus_epi16(G0, G1); 300 bgr[3] = _mm_packus_epi16(G2, G3); 301 bgr[4] = _mm_packus_epi16(R0, R1); 302 bgr[5] = _mm_packus_epi16(R2, R3); 305 PlanarTo24b(bgr, dst); 415 __m128i bgr[6]; local 423 bgr[0] = _mm_packus_epi16(B0, B1) [all...] |
yuv.h | 101 uint8_t* const bgr) { 102 bgr[0] = VP8YUVToB(y, u); 103 bgr[1] = VP8YUVToG(y, u, v); 104 bgr[2] = VP8YUVToR(y, v);
|
upsampling_mips_dsp_r2.c | 60 static WEBP_INLINE void YuvToBgr(int y, int u, int v, uint8_t* const bgr) { 63 bgr[0] = b; 64 bgr[1] = g; 65 bgr[2] = r;
|
/external/opencv3/samples/python2/ |
opt_flow.py | 37 bgr = cv2.cvtColor(hsv, cv2.COLOR_HSV2BGR) 38 return bgr
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
image_util_numpy_impl.py | 26 return bytearray(np.uint8(image[:, :, ::-1]).flat) # Convert from bgr to rgb. 29 bgr = image[y][x] 30 return rgba_color.RgbaColor(bgr[2], bgr[1], bgr[0]) 50 return img[:, :, ::-1] # Convert from rgb to bgr.
|
/frameworks/av/media/libstagefright/include/ |
SoftVideoEncoderOMXComponent.h | 63 bool bgr);
|
/external/opencv3/3rdparty/libwebp/webp/ |
encode.h | 52 WEBP_EXTERN(size_t) WebPEncodeBGR(const uint8_t* bgr, 68 WEBP_EXTERN(size_t) WebPEncodeLosslessBGR(const uint8_t* bgr, 430 // Variants of the above, but taking BGR(A|X) input. 432 WebPPicture* picture, const uint8_t* bgr, int bgr_stride);
|
/external/webp/include/webp/ |
encode.h | 52 WEBP_EXTERN(size_t) WebPEncodeBGR(const uint8_t* bgr, 68 WEBP_EXTERN(size_t) WebPEncodeLosslessBGR(const uint8_t* bgr, 452 // Variants of the above, but taking BGR(A|X) input. 454 WebPPicture* picture, const uint8_t* bgr, int bgr_stride);
|
/external/webp/src/webp/ |
encode.h | 52 WEBP_EXTERN(size_t) WebPEncodeBGR(const uint8_t* bgr, 68 WEBP_EXTERN(size_t) WebPEncodeLosslessBGR(const uint8_t* bgr, 452 // Variants of the above, but taking BGR(A|X) input. 454 WebPPicture* picture, const uint8_t* bgr, int bgr_stride);
|
/external/ImageMagick/coders/ |
Android.mk | 26 bgr.c\
|
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_tiff.cpp | 201 unsigned char cmyk[4], bgr[3];
local 203 IccLib_TranslateImage(p->icc_ctx, bgr, cmyk, 1);
204 *r = bgr[2], *g = bgr[1], *b = bgr[0];
|
/frameworks/av/media/libstagefright/omx/ |
SoftVideoEncoderOMXComponent.cpp | 462 bool bgr) { 470 bgr = !bgr; 473 const size_t redOffset = bgr ? 2 : 0; 475 const size_t blueOffset = bgr ? 0 : 2;
|