Home
last modified time | relevance | path

Searched refs:colorSpace (Results 1 – 25 of 48) sorted by relevance

12

/external/opencv/otherlibs/highgui/
Dgrfmt_imageio.cpp115 CGColorSpaceRef colorSpace = CGImageGetColorSpace( imageRef ); in ReadHeader() local
116 if( !colorSpace ) in ReadHeader()
119 m_iscolor = ( CGColorSpaceGetNumberOfComponents( colorSpace ) > 1 ); in ReadHeader()
137 CGColorSpaceRef colorSpace = NULL; in ReadData() local
145 colorSpace = CGColorSpaceCreateDeviceGray(); in ReadData()
151 colorSpace = CGColorSpaceCreateDeviceRGB(); in ReadData()
155 if( !colorSpace ) in ReadData()
161 CGColorSpaceRelease( colorSpace ); in ReadData()
170 colorSpace, /* color space */ in ReadData()
173 CGColorSpaceRelease( colorSpace ); in ReadData()
[all …]
/external/skia/src/gpu/effects/
DGrYUVEffect.cpp67 SkYUVColorSpace colorSpace) { in Create() argument
89 colorSpace); in Create()
146 SkYUVColorSpace colorSpace) in YUVtoRGBEffect() argument
153 , fColorSpace(colorSpace) { in YUVtoRGBEffect()
209 RGBToYUVEffect(const GrFragmentProcessor* rgbFP, SkYUVColorSpace colorSpace, in RGBToYUVEffect() argument
211 : fColorSpace(colorSpace) in RGBToYUVEffect()
355 const SkISize sizes[3], SkYUVColorSpace colorSpace) { in CreateYUVToRGB() argument
357 return YUVtoRGBEffect::Create(yTexture, uTexture, vTexture, sizes, colorSpace); in CreateYUVToRGB()
361 GrYUVEffect::CreateRGBToYUV(const GrFragmentProcessor* rgbFP, SkYUVColorSpace colorSpace) { in CreateRGBToYUV() argument
363 return new RGBToYUVEffect(rgbFP, colorSpace, RGBToYUVEffect::kYUV_OutputChannels); in CreateRGBToYUV()
[all …]
DGrYUVEffect.h23 SkYUVColorSpace colorSpace);
31 SkYUVColorSpace colorSpace);
39 SkYUVColorSpace colorSpace);
45 const GrFragmentProcessor* CreateRGBToY(const GrFragmentProcessor*, SkYUVColorSpace colorSpace);
46 const GrFragmentProcessor* CreateRGBToU(const GrFragmentProcessor*, SkYUVColorSpace colorSpace);
47 const GrFragmentProcessor* CreateRGBToV(const GrFragmentProcessor*, SkYUVColorSpace colorSpace);
/external/opencv3/doc/tutorials/ios/image_manipulation/
Dimage_manipulation.markdown19 CGColorSpaceRef colorSpace = CGImageGetColorSpace(image.CGImage);
30 colorSpace, // Colorspace
43 CGColorSpaceRef colorSpace = CGImageGetColorSpace(image.CGImage);
54 colorSpace, // Colorspace
75 CGColorSpaceRef colorSpace;
78 colorSpace = CGColorSpaceCreateDeviceGray();
80 colorSpace = CGColorSpaceCreateDeviceRGB();
91 colorSpace, //colorspace
104 CGColorSpaceRelease(colorSpace);
/external/opencv3/modules/imgcodecs/src/
Dios_conversions.mm58 CGColorSpaceRef colorSpace;
61 colorSpace = CGColorSpaceCreateDeviceGray();
63 colorSpace = CGColorSpaceCreateDeviceRGB();
75 colorSpace,
89 CGColorSpaceRelease(colorSpace);
96 CGColorSpaceRef colorSpace = CGImageGetColorSpace(image.CGImage);
100 if (CGColorSpaceGetModel(colorSpace) == 0)
107 m.step[0], colorSpace,
117 m.step[0], colorSpace,
/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp19 SkYUVColorSpace colorSpace);
23 SkYUVColorSpace colorSpace, CreateFPProc proc) { in convert_texture() argument
39 fp.reset(proc(fp, colorSpace)); in convert_texture()
51 const size_t rowBytes[3], SkYUVColorSpace colorSpace) { in GrTextureToYUVPlanes() argument
124 if (!convert_texture(texture, dc, sizes[0].fWidth, sizes[0].fHeight, colorSpace, in GrTextureToYUVPlanes()
135 if (!convert_texture(texture, dc, sizes[0].fWidth, sizes[0].fHeight, colorSpace, in GrTextureToYUVPlanes()
145 colorSpace, GrYUVEffect::CreateRGBToUV)) { in GrTextureToYUVPlanes()
155 colorSpace, GrYUVEffect::CreateRGBToU)) { in GrTextureToYUVPlanes()
163 colorSpace, GrYUVEffect::CreateRGBToV)) { in GrTextureToYUVPlanes()
/external/skia/tests/
DImageGeneratorTest.cpp55 SkYUVColorSpace colorSpace; in DEF_TEST() local
58 ig.getYUV8Planes(sizes, nullptr, nullptr, &colorSpace); in DEF_TEST()
63 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace); in DEF_TEST()
69 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace); in DEF_TEST()
DYUVTest.cpp47 SkYUVColorSpace colorSpace; in codec_yuv() local
48 success = codec->queryYUV8(&info, &colorSpace); in codec_yuv()
54 REPORTER_ASSERT(reporter, kJPEG_SkYUVColorSpace == colorSpace); in codec_yuv()
/external/skia/src/codec/
DSkJpegCodec.cpp184 J_COLOR_SPACE colorSpace = fDecoderMgr->dinfo()->jpeg_color_space; in setOutputColorSpace() local
185 bool isCMYK = JCS_CMYK == colorSpace || JCS_YCCK == colorSpace; in setOutputColorSpace()
307 J_COLOR_SPACE colorSpace = dinfo->out_color_space; in onGetPixels() local
308 if (JCS_CMYK == colorSpace || JCS_RGB == colorSpace) { in onGetPixels()
473 J_COLOR_SPACE colorSpace = fDecoderMgr->dinfo()->out_color_space; in onStartScanlineDecode() local
474 if (options.fSubset || JCS_CMYK == colorSpace || JCS_RGB == colorSpace) { in onStartScanlineDecode()
596 bool SkJpegCodec::onQueryYUV8(YUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in onQueryYUV8()
612 if (colorSpace) { in onQueryYUV8()
613 *colorSpace = kJPEG_SkYUVColorSpace; in onQueryYUV8()
DSkCodecImageGenerator.cpp55 SkYUVColorSpace* colorSpace) { in onGetYUV8Planes() argument
63 bool result = fCodec->queryYUV8(&sizeInfo, colorSpace); in onGetYUV8Planes()
92 if ((result == SkCodec::kSuccess || result == SkCodec::kIncompleteInput) && colorSpace) { in onGetYUV8Planes()
93 *colorSpace = kJPEG_SkYUVColorSpace; in onGetYUV8Planes()
DSkCodecImageGenerator.h30 SkYUVColorSpace* colorSpace) override;
DSkJpegCodec.h48 bool onQueryYUV8(YUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const override;
/external/skia/src/pdf/
DSkPDFFormXObject.cpp59 void SkPDFFormXObject::init(const char* colorSpace, in init() argument
71 if (colorSpace != nullptr) { in init()
72 group->insertName("CS", colorSpace); in init()
DSkPDFFormXObject.h50 void init(const char* colorSpace,
/external/skia/src/core/
DSkImageGenerator.cpp56 SkYUVColorSpace* colorSpace) { in getYUV8Planes() argument
88 return this->onGetYUV8Planes(sizes, planes, rowBytes, colorSpace); in getYUV8Planes()
96 SkYUVColorSpace* colorSpace) { in onGetYUV8Planes() argument
101 if (colorSpace) { in onGetYUV8Planes()
102 *colorSpace = kJPEG_SkYUVColorSpace; in onGetYUV8Planes()
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp124 CGColorSpaceRef colorSpace) { in SkCreateCGImageRefWithColorspace() argument
145 if (nullptr == colorSpace) { in SkCreateCGImageRefWithColorspace()
146 colorSpace = CGColorSpaceCreateDeviceRGB(); in SkCreateCGImageRefWithColorspace()
152 bitmap->rowBytes(), colorSpace, info, dataRef, in SkCreateCGImageRefWithColorspace()
156 CGColorSpaceRelease(colorSpace); in SkCreateCGImageRefWithColorspace()
/external/skia/src/lazy/
DSkDiscardablePixelRef.h60 SkYUVColorSpace* colorSpace) override { in onGetYUV8Planes() argument
66 return fGenerator->getYUV8Planes(sizes, planes, rowBytes, colorSpace); in onGetYUV8Planes()
/external/skia/src/utils/
DSkRGBAToYUV.cpp16 const size_t rowBytes[3], SkYUVColorSpace colorSpace) { in SkRGBAToYUV() argument
50 const SkScalar* row = kYUVColorSpaceInvMatrices[colorSpace] + rowStartIdx; in SkRGBAToYUV()
/external/skia/include/core/
DSkPixelRef.h224 SkYUVColorSpace* colorSpace) { in getYUV8Planes() argument
225 return this->onGetYUV8Planes(sizes, planes, rowBytes, colorSpace); in getYUV8Planes()
313 SkYUVColorSpace* colorSpace);
DSkImageGenerator.h143 SkYUVColorSpace* colorSpace);
253 SkYUVColorSpace* colorSpace);
/external/opencv3/modules/videoio/src/
Dcap_ios_video_camera.mm440 CGColorSpaceRef colorSpace;
487 colorSpace = CGColorSpaceCreateDeviceGray();
490 colorSpace = CGColorSpaceCreateDeviceRGB();
498 colorSpace = CGColorSpaceCreateDeviceRGB();
508 …text = CGBitmapContextCreate(bufferAddress, width, height, 8, bytesPerRow, colorSpace, bitmapInfo);
522 colorSpace, // colorspace
568 CGColorSpaceRelease(colorSpace);
/external/skia/src/image/
DSkImage.cpp268 const size_t rowBytes[3], SkYUVColorSpace colorSpace) const { in readYUV8Planes()
271 if (GrTextureToYUVPlanes(texture, sizes, planes, rowBytes, colorSpace)) { in readYUV8Planes()
276 return SkRGBAToYUV(this, sizes, planes, rowBytes, colorSpace); in readYUV8Planes()
/external/skia/src/images/
DSkImageDecoder.cpp199 size_t rowBytes[3], SkYUVColorSpace* colorSpace) { in decodeYUV8Planes() argument
203 return this->onDecodeYUV8Planes(stream, componentSizes, planes, rowBytes, colorSpace); in decodeYUV8Planes()
/external/skia/include/codec/
DSkCodec.h311 bool queryYUV8(YUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in queryYUV8() argument
316 return this->onQueryYUV8(sizeInfo, colorSpace); in queryYUV8()
/external/pdfium/core/src/fxge/apple/
Dfx_quartz_device.cpp34 CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); in createGraphics() local
37 pBitmap->GetPitch(), colorSpace, bmpInfo); in createGraphics()
38 CGColorSpaceRelease(colorSpace); in createGraphics()
131 CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); in createContextWithBitmap() local
134 pBitmap->GetPitch(), colorSpace, bitmapInfo); in createContextWithBitmap()
135 CGColorSpaceRelease(colorSpace); in createContextWithBitmap()

12