/ohos5.0/foundation/multimedia/image_framework/plugins/manager/include/image/ |
H A D | abs_image_decoder.h | 83 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 D | hdr_helper.cpp | 320 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 D | image_source.h | 157 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 D | auxiliary_generator.h | 31 ImageHdrType hdrType;
|
H A D | pixel_map.h | 41 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 D | hdr_helper.h | 27 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 D | ext_decoder.h | 69 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 D | vpe_utils.cpp | 320 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 D | image_source.cpp | 742 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 D | hdr_type.h | 21 enum class ImageHdrType : int32_t { enum
|
H A D | vpe_utils.h | 63 static void SetSurfaceBufferInfo(sptr<SurfaceBuffer>& buffer, bool isGainmap, ImageHdrType type,
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/picture/ |
H A D | auxiliary_generator.cpp | 234 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 D | ext_decoder.cpp | 2049 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 D | image_source_hdr_test.cpp | 401 auto metadata = imageSource->jpegGainmapDecoder_->GetHdrMetadata(ImageHdrType::HDR_CUVA);
|
H A D | image_source_test.cpp | 2086 ImageHdrType hdrType = ImageHdrType::UNKNOWN; 2103 ImageHdrType hdrType = ImageHdrType::UNKNOWN;
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/ |
H A D | avmetadatahelper_impl.cpp | 280 pixelMap->SetHdrType(ImageHdrType::HDR_VIVID_SINGLE); in OnCreatePixelMapHdr()
|