Home
last modified time | relevance | path

Searched refs:decodeColorSpace (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DGraphics.cpp417 jobject GraphicsJNI::getColorSpace(JNIEnv* env, SkColorSpace* decodeColorSpace, in getColorSpace() argument
419 if (!decodeColorSpace || decodeColorType == kAlpha_8_SkColorType) { in getColorSpace()
429 if (decodeColorSpace->isSRGB()) { in getColorSpace()
432 } else if (decodeColorSpace == srgbLinear.get()) { in getColorSpace()
436 } else if (decodeColorSpace->isSRGB()) { in getColorSpace()
439 } else if (decodeColorSpace == srgbLinear.get()) { in getColorSpace()
451 LOG_ALWAYS_FATAL_IF(!decodeColorSpace->toXYZD50(&xyzMatrix)); in getColorSpace()
455 LOG_ALWAYS_FATAL_IF(!decodeColorSpace->isNumericalTransferFn(&transferParams)); in getColorSpace()
DBitmapRegionDecoder.cpp188 sk_sp<SkColorSpace> decodeColorSpace = brd->computeOutputColorSpace( in nativeDecodeRegion() local
195 decodeColorType, requireUnpremul, decodeColorSpace)) { in nativeDecodeRegion()
219 GraphicsJNI::getColorSpace(env, decodeColorSpace.get(), decodeColorType)); in nativeDecodeRegion()
DBitmapFactory.cpp288 sk_sp<SkColorSpace> decodeColorSpace = codec->computeOutputColorSpace( in doDecode() local
311 GraphicsJNI::getColorSpace(env, decodeColorSpace.get(), decodeColorType)); in doDecode()
362 decodeColorType, alphaType, decodeColorSpace); in doDecode()
DGraphicsJNI.h118 static jobject getColorSpace(JNIEnv* env, SkColorSpace* decodeColorSpace,
/frameworks/native/opengl/tests/lib/include/
DEGLUtils.h63 static inline String8 decodeColorSpace(EGLint colorSpace);
277 String8 EGLUtils::decodeColorSpace(EGLint colorSpace) { in decodeColorSpace() function