Home
last modified time | relevance | path

Searched refs:sourceFormat (Results 1 - 16 of 16) sorted by relevance

/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Dproc_test.cpp47 static OH_AVFormat *sourceFormat = nullptr; member
80 if (sourceFormat != nullptr) { in TearDown()
81 OH_AVFormat_Destroy(sourceFormat); in TearDown()
82 sourceFormat = nullptr; in TearDown()
235 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
236 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
292 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
293 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
348 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
349 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUN in HWTEST_F()
[all...]
H A Dfunc_test.cpp48 static OH_AVFormat *sourceFormat = nullptr; member
70 if (sourceFormat != nullptr) { in TearDown()
71 OH_AVFormat_Destroy(sourceFormat); in TearDown()
72 sourceFormat = nullptr; in TearDown()
249 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
250 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
300 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
301 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
358 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
359 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUN in HWTEST_F()
[all...]
H A Dnet2_test.cpp66 static OH_AVFormat *sourceFormat = nullptr; member
108 if (sourceFormat != nullptr) { in TearDown()
109 OH_AVFormat_Destroy(sourceFormat); in TearDown()
110 sourceFormat = nullptr; in TearDown()
850 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
851 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
892 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
893 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
943 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
944 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUN in HWTEST_F()
[all...]
H A Dnet_test.cpp63 static OH_AVFormat *sourceFormat = nullptr; member
179 if (sourceFormat != nullptr) { in TearDown()
180 OH_AVFormat_Destroy(sourceFormat); in TearDown()
181 sourceFormat = nullptr; in TearDown()
491 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
492 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
516 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
517 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
733 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
738 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUN in HWTEST_F()
[all...]
H A Dformat_test.cpp47 static OH_AVFormat *sourceFormat = nullptr; member
84 if (sourceFormat != nullptr) { in TearDown()
85 OH_AVFormat_Destroy(sourceFormat); in TearDown()
86 sourceFormat = nullptr; in TearDown()
543 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
544 SetAllParam(sourceFormat); in HWTEST_F()
545 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
600 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
601 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
603 SetAllParam(sourceFormat); in HWTEST_F()
[all...]
H A Dreli_test.cpp47 static OH_AVFormat *sourceFormat = nullptr; member
75 if (sourceFormat != nullptr) { in TearDown()
76 OH_AVFormat_Destroy(sourceFormat); in TearDown()
77 sourceFormat = nullptr; in TearDown()
480 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
481 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
523 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
524 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
551 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
552 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUN in HWTEST_F()
[all...]
H A Drandomseek_test.cpp48 static OH_AVFormat *sourceFormat = nullptr; member
71 if (sourceFormat != nullptr) { in TearDown()
72 OH_AVFormat_Destroy(sourceFormat); in TearDown()
73 sourceFormat = nullptr; in TearDown()
129 sourceFormat = OH_AVSource_GetSourceFormat(source); in CheckSeekResult()
130 ASSERT_NE(sourceFormat, nullptr); in CheckSeekResult()
131 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in CheckSeekResult()
133 ASSERT_TRUE(OH_AVFormat_GetLongValue(sourceFormat, OH_MD_KEY_DURATION, &duration)); in CheckSeekResult()
H A Dfunc2_test.cpp56 static OH_AVFormat *sourceFormat = nullptr; member
81 if (sourceFormat != nullptr) { in TearDown()
82 OH_AVFormat_Destroy(sourceFormat); in TearDown()
83 sourceFormat = nullptr; in TearDown()
140 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
145 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
187 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
192 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount)); in HWTEST_F()
244 sourceFormat = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
249 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUN in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/fuzztest/demuxer_fuzzer/
H A Ddemuxer_fuzzer.cpp73 OH_AVFormat *sourceFormat = OH_AVSource_GetSourceFormat(source); in RunNormalDemuxer() local
74 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &trackCount); in RunNormalDemuxer()
95 if (sourceFormat) { in RunNormalDemuxer()
96 OH_AVFormat_Destroy(sourceFormat); in RunNormalDemuxer()
124 OH_AVFormat *sourceFormat = OH_AVSource_GetSourceFormat(source); in RunNormalDemuxerApi11() local
125 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &trackCount); in RunNormalDemuxerApi11()
147 if (sourceFormat) { in RunNormalDemuxerApi11()
148 OH_AVFormat_Destroy(sourceFormat); in RunNormalDemuxerApi11()
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/demuxer/
H A Ddemuxer.cpp53 auto sourceFormat = std::shared_ptr<OH_AVFormat>(OH_AVSource_GetSourceFormat(source_.get()), OH_AVFormat_Destroy); in Init() local
54 CHECK_AND_RETURN_RET_LOG(sourceFormat != nullptr, AVCODEC_SAMPLE_ERR_ERROR, "Get source format failed"); in Init()
56 int32_t ret = GetVideoTrackInfo(sourceFormat); in Init()
94 int32_t Demuxer::GetVideoTrackInfo(std::shared_ptr<OH_AVFormat> sourceFormat) in GetVideoTrackInfo() argument
97 OH_AVFormat_GetIntValue(sourceFormat.get(), OH_MD_KEY_TRACK_COUNT, &trackCount); in GetVideoTrackInfo()
118 OH_AVFormat_GetLongValue(sourceFormat.get(), OH_MD_KEY_DURATION, &sampleInfo_->videoDuration); in GetVideoTrackInfo()
H A Ddemuxer.h35 int32_t GetVideoTrackInfo(std::shared_ptr<OH_AVFormat> sourceFormat);
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/media_manager/
H A Dreader.cpp65 Format sourceFormat; in GetSourceFormat() local
66 auto ret = source_->GetSourceFormat(sourceFormat); in GetSourceFormat()
68 sourceFormat_ = std::make_shared<Format>(sourceFormat); in GetSourceFormat()
/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/
H A Davcodec_e2e_demo_api10.cpp163 OH_AVFormat *sourceFormat = OH_AVSource_GetSourceFormat(inSource); in AVCodecE2EDemoAPI10() local
164 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &trackCount); in AVCodecE2EDemoAPI10()
191 OH_AVFormat_Destroy(sourceFormat); in AVCodecE2EDemoAPI10()
H A Davcodec_e2e_demo.cpp140 OH_AVFormat *sourceFormat = OH_AVSource_GetSourceFormat(inSource); in AVCodecE2EDemo() local
141 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &trackCount); in AVCodecE2EDemo()
170 OH_AVFormat_Destroy(sourceFormat); in AVCodecE2EDemo()
/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dsound_parser.cpp92 MediaAVCodec::Format sourceFormat; in DoDemuxer() local
98 int32_t ret = source_->GetSourceFormat(sourceFormat); in DoDemuxer()
102 sourceFormat.GetIntValue(MediaAVCodec::MediaDescriptionKey::MD_KEY_TRACK_COUNT, sourceTrackCountInfo); in DoDemuxer()
103 sourceFormat.GetLongValue(MediaAVCodec::MediaDescriptionKey::MD_KEY_DURATION, sourceDurationInfo); in DoDemuxer()
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/
H A Davcodec_audio_avbuffer_decoder_demo.cpp652 OH_AVFormat *sourceFormat = OH_AVSource_GetSourceFormat(avsource_); in CreatDeMuxer() local
654 int ret = OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount); in CreatDeMuxer()
672 if (sourceFormat != nullptr) { in CreatDeMuxer()
673 OH_AVFormat_Destroy(sourceFormat); in CreatDeMuxer()
674 sourceFormat = nullptr; in CreatDeMuxer()

Completed in 17 milliseconds