/external/opencv/otherlibs/highgui/ |
D | grfmt_imageio.cpp | 115 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/ |
D | GrYUVEffect.cpp | 67 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 …]
|
D | GrYUVEffect.h | 23 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/ |
D | image_manipulation.markdown | 19 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/ |
D | ios_conversions.mm | 58 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/ |
D | GrTextureToYUVPlanes.cpp | 19 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/ |
D | ImageGeneratorTest.cpp | 55 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()
|
D | YUVTest.cpp | 47 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/ |
D | SkJpegCodec.cpp | 184 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()
|
D | SkCodecImageGenerator.cpp | 55 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()
|
D | SkCodecImageGenerator.h | 30 SkYUVColorSpace* colorSpace) override;
|
D | SkJpegCodec.h | 48 bool onQueryYUV8(YUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const override;
|
/external/skia/src/pdf/ |
D | SkPDFFormXObject.cpp | 59 void SkPDFFormXObject::init(const char* colorSpace, in init() argument 71 if (colorSpace != nullptr) { in init() 72 group->insertName("CS", colorSpace); in init()
|
D | SkPDFFormXObject.h | 50 void init(const char* colorSpace,
|
/external/skia/src/core/ |
D | SkImageGenerator.cpp | 56 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/ |
D | SkCreateCGImageRef.cpp | 124 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/ |
D | SkDiscardablePixelRef.h | 60 SkYUVColorSpace* colorSpace) override { in onGetYUV8Planes() argument 66 return fGenerator->getYUV8Planes(sizes, planes, rowBytes, colorSpace); in onGetYUV8Planes()
|
/external/skia/src/utils/ |
D | SkRGBAToYUV.cpp | 16 const size_t rowBytes[3], SkYUVColorSpace colorSpace) { in SkRGBAToYUV() argument 50 const SkScalar* row = kYUVColorSpaceInvMatrices[colorSpace] + rowStartIdx; in SkRGBAToYUV()
|
/external/skia/include/core/ |
D | SkPixelRef.h | 224 SkYUVColorSpace* colorSpace) { in getYUV8Planes() argument 225 return this->onGetYUV8Planes(sizes, planes, rowBytes, colorSpace); in getYUV8Planes() 313 SkYUVColorSpace* colorSpace);
|
D | SkImageGenerator.h | 143 SkYUVColorSpace* colorSpace); 253 SkYUVColorSpace* colorSpace);
|
/external/opencv3/modules/videoio/src/ |
D | cap_ios_video_camera.mm | 440 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/ |
D | SkImage.cpp | 268 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/ |
D | SkImageDecoder.cpp | 199 size_t rowBytes[3], SkYUVColorSpace* colorSpace) { in decodeYUV8Planes() argument 203 return this->onDecodeYUV8Planes(stream, componentSizes, planes, rowBytes, colorSpace); in decodeYUV8Planes()
|
/external/skia/include/codec/ |
D | SkCodec.h | 311 bool queryYUV8(YUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in queryYUV8() argument 316 return this->onQueryYUV8(sizeInfo, colorSpace); in queryYUV8()
|
/external/pdfium/core/src/fxge/apple/ |
D | fx_quartz_device.cpp | 34 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()
|