Searched refs:gainMapCtx (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 3806 gainMapCtx.allocatorType = AllocatorType::DMA_ALLOC; in DecodeJpegGainMap() 3807 errorCode = jpegGainmapDecoder_->Decode(FIRST_FRAME, gainMapCtx); in DecodeJpegGainMap() 3808 if (gainMapInfo.size.width != gainMapCtx.outInfo.size.width || in DecodeJpegGainMap() 3809 gainMapInfo.size.height != gainMapCtx.outInfo.size.height) { in DecodeJpegGainMap() 3811 gainMapInfo.size = gainMapCtx.outInfo.size; in DecodeJpegGainMap() 3813 gainMapCtx.info = gainMapInfo; in DecodeJpegGainMap() 3815 FreeContextBuffer(gainMapCtx.freeFunc, gainMapCtx.allocatorType, gainMapCtx.pixelsBuffer); in DecodeJpegGainMap() 3829 DecodeContext gainMapCtx; in ApplyGainMap() local 3833 if (!mainDecoder_->DecodeHeifGainMap(gainMapCtx)) { in ApplyGainMap() 3838 } else if (!DecodeJpegGainMap(hdrType, scale, gainMapCtx, metadata)) { in ApplyGainMap() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | image_source.h | 317 … ImagePlugin::DecodeContext& gainMapCtx, ImagePlugin::DecodeContext& hdrCtx, HdrMetadata metadata); 323 ImagePlugin::DecodeContext& gainMapCtx, HdrMetadata& metadata);
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_source_test.cpp | 2087 struct ImagePlugin::DecodeContext gainMapCtx; variable 2089 bool result = imageSource->DecodeJpegGainMap(hdrType, scale, gainMapCtx, metadata); 2105 ImagePlugin::DecodeContext gainMapCtx; variable 2113 ret = imageSource->ComposeHdrImage(hdrType, baseCtx, gainMapCtx, hdrCtx, metadata);
|