Home
last modified time | relevance | path

Searched refs:toSRGB (Results 1 - 2 of 2) sorted by relevance

/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dpixel_map.h306 // If toSRGB is false, pixelmap will be converted to display_p3
307 NATIVEEXPORT uint32_t ToSdr(PixelFormat format, bool toSRGB);
489 AllocatorType dstType, uint32_t errorCode, bool toSRGB);
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map.cpp3836 AllocatorType dstType, uint32_t errorCode, bool toSRGB) in CreateSdrMemory()
3863 if (!DecomposeImage(hdrSurfaceBuffer, sdrSurfaceBuffer, toSRGB)) { in CreateSdrMemory()
3939 bool toSRGB = toSdrColorIsSRGB_; in ToSdr() local
3940 return ToSdr(outFormat, toSRGB); in ToSdr()
3943 uint32_t PixelMap::ToSdr(PixelFormat format, bool toSRGB) in ToSdr() argument
3958 auto sdrMemory = CreateSdrMemory(imageInfo, format, dstType, ret, toSRGB); in ToSdr()
3969 InnerSetColorSpace(OHOS::ColorManager::ColorSpace(toSRGB ? ColorManager::SRGB : ColorManager::DISPLAY_P3)); in ToSdr()
3835 CreateSdrMemory(ImageInfo &imageInfo, PixelFormat format, AllocatorType dstType, uint32_t errorCode, bool toSRGB) CreateSdrMemory() argument

Completed in 8 milliseconds