Home
last modified time | relevance | path

Searched refs:OH_AVFormat_GetIntValue (Results 1 – 23 of 23) sorted by relevance

/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
Dreli_test.cpp481 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
491 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
523 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
551 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
596 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
643 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
690 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
737 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
784 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
831 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
[all …]
Dfunc_test.cpp240 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
251 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
288 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
301 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
345 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
358 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
403 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
416 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
460 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
511 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
[all …]
/foundation/multimedia/av_codec/test/unittest/video_test/video_perf_test/common/
Dsample_callback.cpp42 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, &codecUserData->sampleInfo->videoWidth); in OnCodecFormatChange()
43 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, &codecUserData->sampleInfo->videoHeight); in OnCodecFormatChange()
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/
Davcodec_audio_g711mu_encoder_demo.cpp107 OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), &channels); in RunCase()
108 OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), &sampleRate); in RunCase()
110OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), &sampleFormat… in RunCase()
112OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLES_PER_FRAME.data(), &frameSiz… in RunCase()
Davcodec_audio_aac_encoder_demo.cpp107 OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), &channels); in RunCase()
108 OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), &sampleRate); in RunCase()
110OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), &sampleFormat… in RunCase()
112OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLES_PER_FRAME.data(), &frameSiz… in RunCase()
Davcodec_audio_avbuffer_aac_encoder_demo.cpp107 OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), &channels); in RunCase()
108 OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), &sampleRate); in RunCase()
110OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), &sampleFormat… in RunCase()
112OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLES_PER_FRAME.data(), &frameSiz… in RunCase()
Davcodec_audio_avbuffer_g711mu_encoder_demo.cpp108 OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), &channels); in RunCase()
109 OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), &sampleRate); in RunCase()
111OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), &sampleFormat… in RunCase()
113OH_AVFormat_GetIntValue(fmt, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLES_PER_FRAME.data(), &frameSiz… in RunCase()
/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/
Davcodec_e2e_demo.cpp165 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &trackCount); in AVCodecE2EDemo()
172 OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &trackType); in AVCodecE2EDemo()
176 OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_ROTATION, &rotation); in AVCodecE2EDemo()
Davcodec_e2e_demo_api10.cpp164 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &trackCount); in AVCodecE2EDemoAPI10()
171 OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &trackType); in AVCodecE2EDemoAPI10()
175 OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_ROTATION, &rotation); in AVCodecE2EDemoAPI10()
/foundation/multimedia/media_foundation/interface/kits/c/
Dnative_avformat.h199 bool OH_AVFormat_GetIntValue(struct OH_AVFormat *format, const char *key, int32_t *out);
/foundation/multimedia/av_codec/test/unittest/common/common_mock/avformat/capi/
Davformat_capi_mock.cpp39 return OH_AVFormat_GetIntValue(format_, key.data(), &value); in GetIntValue()
/foundation/multimedia/media_foundation/tests/unittest/format/capi/
Davformat_capi_mock.cpp36 return OH_AVFormat_GetIntValue(format_, key.data(), &value); in GetIntValue()
/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/
Davdemuxer_demo_runner.cpp76 OH_AVFormat_GetIntValue(oh_avformat, OH_MD_KEY_TRACK_COUNT, &trackCount); // 北向获取sourceformat in RunNativeDemuxer()
131 OH_AVFormat_GetIntValue(oh_avformat, OH_MD_KEY_TRACK_COUNT, &trackCount); // 北向获取sourceformat in RunDrmNativeDemuxer()
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Common/src/
DAudioEncoderDemoCommon.cpp480 OH_AVFormat_GetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, &inputBufSize); in NativeCreateToStart()
483 OH_AVFormat_GetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, &channels); in NativeCreateToStart()
570 OH_AVFormat_GetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, &inputBufSize); in NativeRunCaseWithoutCreate()
573 OH_AVFormat_GetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, &channels); in NativeRunCaseWithoutCreate()
818 OH_AVFormat_GetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, &inputBufSize); in TestRunCase()
821 OH_AVFormat_GetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, &channels); in TestRunCase()
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/
Davcodec_audio_avbuffer_decoder_demo.cpp657 int ret = OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount); in CreatDeMuxer()
666 OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType); in CreatDeMuxer()
683OH_AVFormat_GetIntValue(trackFormat, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), &channelNum… in CreatDeMuxer()
684OH_AVFormat_GetIntValue(trackFormat, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), &sampleRate_G… in CreatDeMuxer()
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
Dtester_capi.cpp326 OH_AVFormat_GetIntValue(inputFmt_.get(), "stride", &inputStride_); in GetInputFormat()
348 if (OH_AVFormat_GetIntValue(inputFmt_.get(), "stride", &stride)) { in GetInputStride()
/foundation/multimedia/media_foundation/src/capi/
Dnative_avformat.cpp131 bool OH_AVFormat_GetIntValue(struct OH_AVFormat *format, const char *key, int32_t *out) in OH_AVFormat_GetIntValue() function
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/
Dvideodec_ndk_sample.cpp110 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, &current_width); in VdecFormatChanged()
111 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, &current_height); in VdecFormatChanged()
/foundation/multimedia/media_foundation/tests/unittest/avbuffer/
Davbuffer_framework_unit_test.cpp541 EXPECT_TRUE(OH_AVFormat_GetIntValue(getFormat, INT_CAPI_TESTKEY.data(), &getIntValue));
579 EXPECT_TRUE(OH_AVFormat_GetIntValue(getFormat, INT_CAPI_TESTKEY.data(), &getIntValue));
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/
Dvideodec_ndk_sample.cpp95 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, &current_width); in VdecFormatChanged()
96 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, &current_height); in VdecFormatChanged()
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/
DNativeFunctionTest.cpp645 OH_AVFormat_GetIntValue(formatGet, OH_MD_KEY_AUD_CHANNEL_COUNT, &channelNum_Get);
646 OH_AVFormat_GetIntValue(formatGet, OH_MD_KEY_AUD_SAMPLE_RATE, &sampleRate_Get);
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/
Dvideoenc_ndk_sample.cpp239 OH_AVFormat_GetIntValue(format, "stride", &inputStride); in GetStride()
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/NativeAPI/
DNativeFunctionTest.cpp1315 OH_AVFormat_GetIntValue(formatGet, OH_MD_KEY_AUD_CHANNEL_COUNT, &channelNum_Get);
1316 OH_AVFormat_GetIntValue(formatGet, OH_MD_KEY_AUD_SAMPLE_RATE, &sampleRate_Get);