/foundation/multimedia/av_codec/test/nativedemo/avmuxer/ |
H A D | avmuxer_demo_common.c | 75 .colorPrimaries = 2, 89 .colorPrimaries = 2, 103 .colorPrimaries = 2, 117 .colorPrimaries = 9,
|
H A D | avmuxer_demo_common.h | 37 int colorPrimaries; member
|
H A D | avmuxer_demo_base.cpp | 548 videoParams->Set<Tag::VIDEO_COLOR_PRIMARIES>(static_cast<Plugins::ColorPrimary>(param->colorPrimaries)); in AddVideoTrack()
|
H A D | native_avmuxer_demo.c | 138 OH_AVFormat_SetIntValue(formatVideo, OH_MD_KEY_COLOR_PRIMARIES, param->colorPrimaries); in AddTrackVideo()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/heif_parser/box/ |
H A D | item_property_color_box.h | 50 HeifNclxColorProfile(uint16_t colorPrimaries, uint16_t transferCharacteristics, in HeifNclxColorProfile() argument 52 : colorPrimaries_(colorPrimaries), transferCharacteristics_(transferCharacteristics), in HeifNclxColorProfile()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/ |
H A D | item_property_color_box.cpp | 41 uint16_t colorPrimaries = reader.Read16(); in ParseContent() local 45 colorProfile_ = std::make_shared<HeifNclxColorProfile>(colorPrimaries, transferCharacteristics, in ParseContent()
|
/foundation/multimedia/av_codec/test/fuzztest/audiomuxer_fuzzer/ |
H A D | audio_muxer_demo.cpp | 170 param.colorPrimaries = COLOR_PRIMARIES_2; in InitFormatParam() 190 param.colorPrimaries = COLOR_PRIMARIES_9; in InitFormatParam() 277 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_COLOR_PRIMARIES, param.colorPrimaries); in AddTrack() 305 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_COLOR_PRIMARIES, param.colorPrimaries); in AddCoverTrack()
|
H A D | audio_muxer_demo.h | 54 int32_t colorPrimaries; member
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/ |
H A D | HeifDecoder.h | 49 uint16_t colorPrimaries = 0; member
|
/foundation/multimedia/av_codec/services/services/codec/server/ |
H A D | codec_param_checker.cpp | 499 int32_t colorPrimaries; 500 bool colorPrimariesExist = format.GetIntValue(Tag::VIDEO_COLOR_PRIMARIES, colorPrimaries); 504 PrintParam(colorPrimariesExist, Tag::VIDEO_COLOR_PRIMARIES, colorPrimaries); 506 if (colorPrimaries < static_cast<int32_t>(ColorPrimary::COLOR_PRIMARY_BT709) || 507 colorPrimaries > static_cast<int32_t>(ColorPrimary::COLOR_PRIMARY_P3D65)) { 508 AVCODEC_LOGE("Param invalid, %{public}s: %{public}d", Tag::VIDEO_COLOR_PRIMARIES, colorPrimaries);
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_format_helper.h | 52 uint8_t colorPrimaries = 0x02; member
|
H A D | ffmpeg_format_helper.cpp | 720 ColorPrimary colorPrimaries = FFMpegConverter::ConvertFFMpegToOHColorPrimaries(avStream.codecpar->color_primaries); in ParseColorBoxInfo() local 721 format.Set<Tag::VIDEO_COLOR_PRIMARIES>(colorPrimaries); in ParseColorBoxInfo() 741 ColorPrimary colorPrimaries = FFMpegConverter::ConvertFFMpegToOHColorPrimaries( in ParseHevcInfo() local 742 static_cast<AVColorPrimaries>(parse.colorPrimaries)); in ParseHevcInfo() 743 format.Set<Tag::VIDEO_COLOR_PRIMARIES>(colorPrimaries); in ParseHevcInfo()
|
H A D | ffmpeg_demuxer_plugin.cpp | 1198 parse.colorPrimaries = streamParser_->GetColorPrimaries(); in ParseHEVCMetadataInfo()
|
/foundation/multimedia/av_codec/test/unittest/avsource_test/ |
H A D | avsource_unit_test.h | 93 int32_t colorPrimaries = 0; member
|
H A D | avsource_unit_test.cpp | 175 formatVal_.colorPrimaries = 0; in ResetFormatValue()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/muxer/ |
H A D | ffmpeg_muxer_plugin.cpp | 430 ColorPrimary colorPrimaries = ColorPrimary::UNSPECIFIED; in SetCodecParameterColor() local 434 trackDesc->Get<Tag::VIDEO_COLOR_PRIMARIES>(colorPrimaries); in SetCodecParameterColor() 439 " range %{public}d,", colorPrimaries, colorTransfer, colorMatrixCoeff, colorRange); in SetCodecParameterColor() 441 auto colorPri = ColorPrimary2AVColorPrimaries(colorPrimaries); in SetCodecParameterColor() 443 "failed to match color primary %{public}d", colorPrimaries); in SetCodecParameterColor() 492 uint8_t colorPrimaries = hevcParser_->GetColorPrimaries(); in SetCodecParameterColorByParser() local 496 " range %{public}d,", colorPrimaries, colorTransfer, colorMatrixCoeff, colorRange); in SetCodecParameterColorByParser() 498 auto colorPri = ColorPrimary2AVColorPrimaries(static_cast<ColorPrimary>(colorPrimaries)); in SetCodecParameterColorByParser() 500 "failed to match color primary %{public}d", colorPrimaries); in SetCodecParameterColorByParser()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/ |
H A D | HeifDecoderImpl.cpp | 388 info->nclxColor.colorPrimaries = nclx->GetColorPrimaries(); in SetColorSpaceInfo() 1140 imageInfo_.nclxColor.colorPrimaries == BT2020_PRIMARIES) { in getHdrType()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_decoder.cpp | 1533 return ColorUtils::CicpToColorSpace(info.nclxColor.colorPrimaries, info.nclxColor.transferCharacteristics,
in HeapMemAlloc() 2069 gainmap = ColorUtils::CicpToColorSpace(gainmapInfo.nclxColor.colorPrimaries,
in HeapMemAlloc() 2076 hdr = ColorUtils::CicpToColorSpace(tmapInfo.nclxColor.colorPrimaries,
in HeapMemAlloc()
|
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/ |
H A D | proc_test.cpp | 1115 int32_t colorPrimaries; in HWTEST_F() local 1143 ASSERT_FALSE(OH_AVFormat_GetIntValue(trackFormatFirst, OH_MD_KEY_COLOR_PRIMARIES, &colorPrimaries)); in HWTEST_F()
|