Home
last modified time | relevance | path

Searched refs:ImageHdrType (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/plugins/manager/include/image/
H A Dabs_image_decoder.h83 Media::ImageHdrType hdrType = Media::ImageHdrType::UNKNOWN;
221 virtual Media::ImageHdrType CheckHdrType() in CheckHdrType()
223 return Media::ImageHdrType::SDR; in CheckHdrType()
231 virtual Media::HdrMetadata GetHdrMetadata(Media::ImageHdrType type) in GetHdrMetadata()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hdr/
H A Dhdr_helper.cpp320 return ImageHdrType::HDR_CUVA; in CheckJpegGainMapHdrType()
323 return ImageHdrType::HDR_ISO_DUAL; in CheckJpegGainMapHdrType()
325 return ImageHdrType::SDR; in CheckJpegGainMapHdrType()
332 return ImageHdrType::UNKNOWN; in CheckHeifHdrType()
340 return ImageHdrType::UNKNOWN; in CheckHeifHdrType()
349 ImageHdrType type = ImageHdrType::SDR; in CheckHdrType()
373 type = ImageHdrType::SDR; in CheckHdrType()
822 case ImageHdrType::HDR_CUVA: in GetJpegGainMapMetadata()
824 case ImageHdrType::HDR_ISO_DUAL: in GetJpegGainMapMetadata()
879 if (type == ImageHdrType::HDR_VIVID_DUAL || type == ImageHdrType::HDR_VIVID_SINGLE) { in GetHeifMetadata()
[all …]
/ohos5.0/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dimage_source.h157 enum class ImageHdrType; variable
314 bool ApplyGainMap(ImageHdrType hdrType, ImagePlugin::DecodeContext& baseCtx,
316 bool ComposeHdrImage(ImageHdrType hdrType, ImagePlugin::DecodeContext& baseCtx,
322 bool DecodeJpegGainMap(ImageHdrType hdrType, float scale,
352 bool IsSingleHdrImage(ImageHdrType type);
353 bool IsDualHdrImage(ImageHdrType type);
354 ImagePlugin::DecodeContext HandleSingleHdrImage(ImageHdrType decodedHdrType,
356 ImagePlugin::DecodeContext HandleDualHdrImage(ImageHdrType decodedHdrType, ImageInfo info,
401 ImageHdrType sourceHdrType_; // source image hdr type;
H A Dauxiliary_generator.h31 ImageHdrType hdrType;
H A Dpixel_map.h41 enum class ImageHdrType : int32_t;
312 NATIVEEXPORT ImageHdrType GetHdrType() in GetHdrType()
317 NATIVEEXPORT void SetHdrType(ImageHdrType hdrType) in SetHdrType()
526 ImageHdrType hdrType_;
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hdr/
H A Dhdr_helper.h27 static Media::ImageHdrType CheckHdrType(SkCodec* codec, uint32_t& offset);
28 static bool GetMetadata(SkCodec* codec, Media::ImageHdrType type, Media::HdrMetadata& metadata);
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/
H A Dext_decoder.h69 Media::ImageHdrType CheckHdrType() override;
71 Media::HdrMetadata GetHdrMetadata(Media::ImageHdrType type) override;
166 Media::ImageHdrType hdrType_ = Media::ImageHdrType::UNKNOWN;
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dvpe_utils.cpp320 static CM_HDR_Metadata_Type ConvertHdrType(ImageHdrType hdrType, bool isGainmap) in ConvertHdrType()
323 case ImageHdrType::HDR_VIVID_DUAL : in ConvertHdrType()
324 case ImageHdrType::HDR_CUVA : in ConvertHdrType()
326 case ImageHdrType::HDR_ISO_DUAL : in ConvertHdrType()
334 void VpeUtils::SetSurfaceBufferInfo(sptr<SurfaceBuffer>& buffer, bool isGainmap, ImageHdrType type, in SetSurfaceBufferInfo()
340 if (type == ImageHdrType::HDR_CUVA) { in SetSurfaceBufferInfo()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp742 ImageHdrType hdrType = sourceHdrType_; in InitDecodeContext()
745 hdrType = ImageHdrType::SDR; in InitDecodeContext()
747 if (hdrType > ImageHdrType::SDR) { in InitDecodeContext()
1829 return sourceHdrType_ > ImageHdrType::SDR; in IsHdrImage()
1834 return type == ImageHdrType::HDR_VIVID_SINGLE || type == ImageHdrType::HDR_ISO_SINGLE; in IsSingleHdrImage()
1839 …return type == ImageHdrType::HDR_VIVID_DUAL || type == ImageHdrType::HDR_ISO_DUAL || type == Image… in IsDualHdrImage()
1907 sourceHdrType_ = ImageHdrType::UNKNOWN; in ImageSource()
3652 sdrCtx.hdrType = ImageHdrType::SDR; in HandleSingleHdrImage()
3689 context.hdrType = ImageHdrType::SDR; in HandleDualHdrImage()
3903 if (hdrType == ImageHdrType::HDR_VIVID_DUAL || hdrType == ImageHdrType::HDR_CUVA) { in AllocHdrSurfaceBuffer()
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/
H A Dhdr_type.h21 enum class ImageHdrType : int32_t { enum
H A Dvpe_utils.h63 static void SetSurfaceBufferInfo(sptr<SurfaceBuffer>& buffer, bool isGainmap, ImageHdrType type,
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/picture/
H A Dauxiliary_generator.cpp234 if (context.hdrType > ImageHdrType::SDR) { in CreatePixelMapByContext()
243 static uint32_t DecodeHdrMetadata(ImageHdrType hdrType, std::unique_ptr<AbsImageDecoder> &extDecode… in DecodeHdrMetadata()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp2049 ImageHdrType ExtDecoder::CheckHdrType() in HeapMemAlloc()
2052 return Media::ImageHdrType::SDR; in HeapMemAlloc()
2055 return Media::ImageHdrType::UNKNOWN; in HeapMemAlloc()
2059 hdrType_ = Media::ImageHdrType::SDR; in HeapMemAlloc()
2076 if (hdrType_ == Media::ImageHdrType::UNKNOWN) { in HeapMemAlloc()
2083 HdrMetadata ExtDecoder::GetHdrMetadata(Media::ImageHdrType type) in HeapMemAlloc()
2089 if (type > Media::ImageHdrType::SDR && HdrHelper::GetMetadata(codec_.get(), type, metadata)) { in HeapMemAlloc()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_hdr_test.cpp401 auto metadata = imageSource->jpegGainmapDecoder_->GetHdrMetadata(ImageHdrType::HDR_CUVA);
H A Dimage_source_test.cpp2086 ImageHdrType hdrType = ImageHdrType::UNKNOWN;
2103 ImageHdrType hdrType = ImageHdrType::UNKNOWN;
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/
H A Davmetadatahelper_impl.cpp280 pixelMap->SetHdrType(ImageHdrType::HDR_VIVID_SINGLE); in OnCreatePixelMapHdr()