Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmapRegionDecoder.cpp93 sk_sp<SkColorSpace> decodeColorSpace = in decodeGainmapRegion() local
110 outWidth, outHeight, decodeColorType, kPremul_SkAlphaType, decodeColorSpace)); in decodeGainmapRegion()
117 requireUnpremul, decodeColorSpace)) { in decodeGainmapRegion()
289 sk_sp<SkColorSpace> decodeColorSpace = brd->computeOutputColorSpace( in nativeDecodeRegion() local
296 decodeColorType, requireUnpremul, decodeColorSpace)) { in nativeDecodeRegion()
320 GraphicsJNI::getColorSpace(env, decodeColorSpace.get(), decodeColorType)); in nativeDecodeRegion()
DGraphics.cpp540 jobject GraphicsJNI::getColorSpace(JNIEnv* env, SkColorSpace* decodeColorSpace, in getColorSpace() argument
542 if (!decodeColorSpace || decodeColorType == kAlpha_8_SkColorType) { in getColorSpace()
552 if (decodeColorSpace->isSRGB()) { in getColorSpace()
555 } else if (decodeColorSpace == srgbLinear.get()) { in getColorSpace()
559 } else if (decodeColorSpace->isSRGB()) { in getColorSpace()
562 } else if (decodeColorSpace == srgbLinear.get()) { in getColorSpace()
574 LOG_ALWAYS_FATAL_IF(!decodeColorSpace->toXYZD50(&xyzMatrix)); in getColorSpace()
577 decodeColorSpace->transferFn(&transferParams); in getColorSpace()
DBitmapFactory.cpp199 sk_sp<SkColorSpace> decodeColorSpace = codec->computeOutputColorSpace(decodeColorType, nullptr); in decodeGainmap() local
219 alphaType, decodeColorSpace); in decodeGainmap()
417 sk_sp<SkColorSpace> decodeColorSpace = codec->computeOutputColorSpace( in doDecode() local
439 GraphicsJNI::getColorSpace(env, decodeColorSpace.get(), decodeColorType)); in doDecode()
490 decodeColorType, alphaType, decodeColorSpace); in doDecode()
DGraphicsJNI.h153 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