Home
last modified time | relevance | path

Searched refs:MD_KEY_PIXEL_FORMAT (Results 1 - 25 of 29) sorted by relevance

12

/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/InnerAPI/
H A Dapi_test.cpp244 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 Dvideodec_ndk_inner_sample.cpp137 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 Dhencoder_unit_test.cpp261 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 Dhdecoder_unit_test.cpp173 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 Dmedia_description.h75 static constexpr std::string_view MD_KEY_PIXEL_FORMAT = "pixel_format"; member
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/InnerAPI/
H A Dapi_test.cpp168 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 Dvideoenc_ndk_inner_sample.cpp169 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 Dcodec_utils.cpp54 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 Dhevc_decoder.cpp252 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 Dmedia_description.h91 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 Dfcodec.cpp177 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 Dhdrcodec_inner_ndk_sample.cpp214 (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 Dpost_processing.h273 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 Dcodec_param_checker.cpp240 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 Dcodec_server.cpp69 {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 Dvideodec_func_unit_test.cpp234 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 Dvideoenc_func_unit_test.cpp258 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 Dvideodec_hdrvivid2sdr_unit_test.cpp173 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 Dvideoenc_temporal_scalability_unit_test.cpp164 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in SetFormatWithParam()
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dtester_codecbase.cpp164 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 Dsurface_decoder_filter.cpp137 configFormat_.PutIntValue(MediaAVCodec::MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, in Configure()
H A Dsurface_encoder_adapter.cpp647 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 Davcodec_video_decoder_demo.cpp111 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_PIXEL_FORMAT.data(), in RunCase()
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/InnerAPI/
H A Dvideodec_ndk_inner_sample.cpp181 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, DEFAULT_PIXEL_FORMAT); in Configure()
/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/
H A Dav_thumbnail_generator.cpp113 trackFormat.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, in InitDecoder()

Completed in 34 milliseconds

12