/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/InnerAPI/ |
H A D | api_test.cpp | 244 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 264 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 285 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 307 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 330 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 373 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 395 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 464 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F()
|
H A D | videodec_ndk_inner_sample.cpp | 137 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in Configure()
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/ |
H A D | hencoder_unit_test.cpp | 261 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::RGBA)); in HWTEST_F() 283 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUVI420)); in HWTEST_F() 305 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 326 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 346 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUVI420)); in HWTEST_F() 362 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUVI420)); in HWTEST_F() 395 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUVI420)); in HWTEST_F() 411 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUVI420)); in HWTEST_F() 428 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUVI420)); in HWTEST_F() 445 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cas in HWTEST_F() [all...] |
H A D | hdecoder_unit_test.cpp | 173 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 192 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 209 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 224 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 255 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 288 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 307 ASSERT_TRUE(outputFormat.GetIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, colorFormat)); in HWTEST_F() 409 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in ConfigureDecoder()
|
/foundation/multimedia/player_framework/interfaces/inner_api/native/ |
H A D | media_description.h | 75 static constexpr std::string_view MD_KEY_PIXEL_FORMAT = "pixel_format"; member
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/InnerAPI/ |
H A D | api_test.cpp | 168 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUVI420)); in HWTEST_F() 223 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 242 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 262 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 283 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 305 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 341 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 362 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F() 431 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F()
|
H A D | videoenc_ndk_inner_sample.cpp | 169 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in Configure() 196 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, data % MAX_PIXEL_FMT); in ConfigureFuzz()
|
/foundation/multimedia/av_codec/services/engine/common/ |
H A D | codec_utils.cpp | 54 format.GetIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, fmt); in WriteYuvDataStride() 158 format.GetIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, fmt); in WriteSurfaceData() 191 format.GetIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, fmt); in WriteBufferData()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/ |
H A D | hevc_decoder.cpp | 252 if (formatKey == MediaDescriptionKey::MD_KEY_PIXEL_FORMAT) { in ConfigureSurface() 300 } else if (it.first == MediaDescriptionKey::MD_KEY_PIXEL_FORMAT || in Configure() 560 if (formatKey == MediaDescriptionKey::MD_KEY_PIXEL_FORMAT) { in SetSurfaceParameter() 565 format_.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, val); in SetSurfaceParameter() 606 if (it.first == MediaDescriptionKey::MD_KEY_PIXEL_FORMAT || in SetParameter() 689 format_.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in SetSurfaceCfg() 692 format_.GetIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, val32); in SetSurfaceCfg() 1053 format_.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(targetPixelFmt)); in FillFrameBuffer() 1070 bufferFormat.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(targetPixelFmt)); in FillFrameBuffer()
|
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | media_description.h | 91 static constexpr std::string_view MD_KEY_PIXEL_FORMAT = "pixel_format"; member in OHOS::MediaAVCodec::MediaDescriptionKey
|
/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/ |
H A D | fcodec.cpp | 177 if (formatKey == MediaDescriptionKey::MD_KEY_PIXEL_FORMAT) { in ConfigureSurface() 263 } else if (it.first == MediaDescriptionKey::MD_KEY_PIXEL_FORMAT || in Configure() 532 if (formatKey == MediaDescriptionKey::MD_KEY_PIXEL_FORMAT) { in SetSurfaceParameter() 540 format_.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, val); in SetSurfaceParameter() 579 if (it.first == MediaDescriptionKey::MD_KEY_PIXEL_FORMAT || in SetParameter() 661 format_.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in SetSurfaceCfg() 664 format_.GetIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, val32); in SetSurfaceCfg() 997 format_.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(targetPixelFmt)); in FillFrameBuffer()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hdrcodec/src/InnerAPI/ |
H A D | hdrcodec_inner_ndk_sample.cpp | 214 (void)format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in Configure() 282 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in ReConfigure()
|
/foundation/multimedia/av_codec/services/services/codec/server/post_processing/ |
H A D | post_processing.h | 273 if (!format.GetIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, pixelFormat)) { in CreateConfiguration() 275 (void)format_.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, pixelFormat); in CreateConfiguration()
|
/foundation/multimedia/av_codec/services/services/codec/server/ |
H A D | codec_param_checker.cpp | 240 bool paramExist = format.GetIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, pixelFormat); in PixelFormatChecker() 244 PrintParam(paramExist, MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, pixelFormat); in PixelFormatChecker() 249 MediaDescriptionKey::MD_KEY_PIXEL_FORMAT.data(), pixelFormat); // Invalid pixel format in PixelFormatChecker()
|
H A D | codec_server.cpp | 69 {OHOS::MediaAVCodec::MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, "PixelFormat"}, 785 if (iter.first == MediaDescriptionKey::MD_KEY_PIXEL_FORMAT) { in CheckDrmSvpConsistency() 1033 format.GetIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, videoPixelFormat); in GetCodecDfxInfo()
|
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/ |
H A D | videodec_func_unit_test.cpp | 234 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in SetFormatWithParam() 1133 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUV420P)); in HWTEST_P() 1158 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUV420P)); in HWTEST_P() 1294 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F()
|
H A D | videoenc_func_unit_test.cpp | 258 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in SetFormatWithParam() 506 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F() 724 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F() 741 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F() 1755 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUV420P)); in HWTEST_P() 1780 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUV420P)); in HWTEST_P()
|
H A D | videodec_hdrvivid2sdr_unit_test.cpp | 173 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in SetFormatWithParam() 180 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV21)); in SetHDRFormat() 187 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::RGBA)); in SetAVCFormat()
|
H A D | videoenc_temporal_scalability_unit_test.cpp | 164 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in SetFormatWithParam()
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
H A D | tester_codecbase.cpp | 164 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(opt_.pixFmt)); in ConfigureEncoder() 515 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(opt_.pixFmt)); in ConfigureDecoder()
|
/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | surface_decoder_filter.cpp | 137 configFormat_.PutIntValue(MediaAVCodec::MediaDescriptionKey::MD_KEY_PIXEL_FORMAT,
in Configure()
|
H A D | surface_encoder_adapter.cpp | 647 format.PutIntValue(MediaAVCodec::MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(pixelFormat));
in ConfigureAboutRGBA()
|
/foundation/multimedia/av_codec/test/nativedemo/video_demo/ |
H A D | avcodec_video_decoder_demo.cpp | 111 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_PIXEL_FORMAT.data(), in RunCase()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/InnerAPI/ |
H A D | videodec_ndk_inner_sample.cpp | 181 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, DEFAULT_PIXEL_FORMAT); in Configure()
|
/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/ |
H A D | av_thumbnail_generator.cpp | 113 trackFormat.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, in InitDecoder()
|