Home
last modified time | relevance | path

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

/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/pdf/
DSkPDFFormXObject.cpp66 void SkPDFFormXObject::init(const char* colorSpace, in init() argument
78 if (colorSpace != NULL) { in init()
79 group->insertName("CS", colorSpace); in init()
DSkPDFFormXObject.h55 void init(const char* colorSpace,
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFFormXObject.cpp66 void SkPDFFormXObject::init(const char* colorSpace, in init() argument
78 if (colorSpace != NULL) { in init()
79 group->insertName("CS", colorSpace); in init()
DSkPDFFormXObject.h55 void init(const char* colorSpace,
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp106 CGColorSpaceRef colorSpace) { in SkCreateCGImageRefWithColorspace() argument
127 if (NULL == colorSpace) { in SkCreateCGImageRefWithColorspace()
128 colorSpace = CGColorSpaceCreateDeviceRGB(); in SkCreateCGImageRefWithColorspace()
134 bitmap->rowBytes(), colorSpace, info, dataRef, in SkCreateCGImageRefWithColorspace()
138 CGColorSpaceRelease(colorSpace); in SkCreateCGImageRefWithColorspace()
/external/chromium_org/third_party/skia/src/utils/mac/
DSkCreateCGImageRef.cpp106 CGColorSpaceRef colorSpace) { in SkCreateCGImageRefWithColorspace() argument
127 if (NULL == colorSpace) { in SkCreateCGImageRefWithColorspace()
128 colorSpace = CGColorSpaceCreateDeviceRGB(); in SkCreateCGImageRefWithColorspace()
134 bitmap->rowBytes(), colorSpace, info, dataRef, in SkCreateCGImageRefWithColorspace()
138 CGColorSpaceRelease(colorSpace); in SkCreateCGImageRefWithColorspace()
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/jpeg/
DJPEGImageDecoder.cpp70 inline bool turboSwizzled(J_COLOR_SPACE colorSpace) { return colorSpace == JCS_EXT_RGBA || colorSpa… in turboSwizzled() argument
71 inline bool colorSpaceHasAlpha(J_COLOR_SPACE colorSpace) { return turboSwizzled(colorSpace); } in colorSpaceHasAlpha() argument
672 template <J_COLOR_SPACE colorSpace> void setPixel(ImageFrame& buffer, ImageFrame::PixelData* pixel,… in setPixel()
674 JSAMPLE* jsample = *samples + column * (colorSpace == JCS_RGB ? 3 : 4); in setPixel()
676 switch (colorSpace) { in setPixel()
696 template <J_COLOR_SPACE colorSpace> bool outputRows(JPEGImageReader* reader, ImageFrame& buffer) in outputRows()
710 if (reader->colorTransform() && colorSpace == JCS_RGB) in outputRows()
715 setPixel<colorSpace>(buffer, pixel, samples, x); in outputRows()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFilterEffect.h160 … virtual void setOperatingColorSpace(ColorSpace colorSpace) { m_operatingColorSpace = colorSpace; } in setOperatingColorSpace() argument
162 virtual void setResultColorSpace(ColorSpace colorSpace) { m_resultColorSpace = colorSpace; } in setResultColorSpace() argument
DSkiaImageFilterBuilder.cpp60 PassRefPtr<SkImageFilter> SkiaImageFilterBuilder::build(FilterEffect* effect, ColorSpace colorSpace) in build() argument
65 FilterColorSpacePair key(effect, colorSpace); in build()
72 …eFilter> filter = transformColorSpace(origFilter.get(), effect->operatingColorSpace(), colorSpace); in build()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/
DLwjglDisplay.java229 int colorSpace = image.getRGB(j, i); in imageToByteBuffer() local
230 imageBuffer[counter + 0] = (byte) ((colorSpace << 8) >> 24); in imageToByteBuffer()
231 imageBuffer[counter + 1] = (byte) ((colorSpace << 16) >> 24); in imageToByteBuffer()
232 imageBuffer[counter + 2] = (byte) ((colorSpace << 24) >> 24); in imageToByteBuffer()
233 imageBuffer[counter + 3] = (byte) (colorSpace >> 24); in imageToByteBuffer()
/external/chromium_org/skia/ext/
Dskia_utils_mac.mm153 DCHECK([color colorSpace] == [NSColorSpace genericRGBColorSpace] ||
154 [color colorSpace] == [NSColorSpace deviceRGBColorSpace]);
245 CGColorSpaceRef colorSpace) {
248 SkCreateCGImageRefWithColorspace(skiaBitmap, colorSpace));
257 CGColorSpaceRef colorSpace) {
263 SkBitmapToNSBitmapImageRepWithColorSpace(skiaBitmap, colorSpace)];
269 base::ScopedCFTypeRef<CGColorSpaceRef> colorSpace(
271 return SkBitmapToNSImageWithColorSpace(skiaBitmap, colorSpace.get());
389 base::ScopedCFTypeRef<CGColorSpaceRef> colorSpace(
392 bitmap_.height(), 8, bitmap_.rowBytes(), colorSpace,
Dskia_utils_mac.h97 CGColorSpaceRef colorSpace);
101 CGColorSpaceRef colorSpace);
Dskia_utils_mac_unittest.mm208 NSColorSpace* colorSpace = [NSColorSpace deviceRGBColorSpace];
210 imageRep, [image size], false, [colorSpace CGColorSpace]));
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DReferenceFilterBuilder.cpp169 ColorSpace colorSpace = filterColorSpace; in build() local
170 if (useFilterColorSpace || getSVGElementColorSpace(effectElement, colorSpace)) in build()
171 effect->setOperatingColorSpace(colorSpace); in build()
/external/chromium_org/ui/gfx/image/
Dimage_mac.mm78 [[ns_image_rep colorSpace] CGColorSpace]);
/external/clang/test/Analysis/
Dretain-release-gc-only.m204 - (CGImageRef)createCGImage:(CIImage *)im fromRect:(CGRect)r format:(CIFormat)f colorSpace:(CGC…
328 [context createCGImage:img fromRect:rect format:form colorSpace:cs]; // expected-warning{{leak}}
Dretain-release-inline.m208 - (CGImageRef)createCGImage:(CIImage *)im fromRect:(CGRect)r format:(CIFormat)f colorSpace:(CGC…
Dretain-release.mm231 - (CGImageRef)createCGImage:(CIImage *)im fromRect:(CGRect)r format:(CIFormat)f colorSpace:(CGC…
Dretain-release.m263 - (CGImageRef)createCGImage:(CIImage *)im fromRect:(CGRect)r format:(CIFormat)f colorSpace:(CGC…
919 [context createCGImage:img fromRect:rect format:form colorSpace:cs]; // expected-warning{{leak}}
/external/chromium_org/win8/metro_driver/
Dprint_document_source.cc172 print_control_properties.colorSpace = D2D1_COLOR_SPACE_SRGB; in MakeDocument()
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller.mm1347 CGColorSpaceRef colorSpace = base::mac::GetSystemColorSpace();
1351 image = gfx::SkBitmapToNSImageWithColorSpace(*icon, colorSpace);
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller.mm1511 CGColorSpaceRef colorSpace = base::mac::GetSystemColorSpace();
1515 image = gfx::SkBitmapToNSImageWithColorSpace(*icon, colorSpace);
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_mac.mm380 [[screen colorSpace] colorSpaceModel] == NSGrayColorSpaceModel;