Home
last modified time | relevance | path

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

123

/ohos5.0/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Dformat_test.cpp186 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_WIDTH, &currentWidth)); in CheckVideoKey()
191 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_ROTATION, &rotation)); in CheckVideoKey()
267 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_WIDTH, &currentWidth)); in CheckAudioKeyVvc()
272 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_ROTATION, &rotation)); in CheckAudioKeyVvc()
362 ASSERT_TRUE(OH_AVFormat_GetIntValue(paramFormat, OH_MD_KEY_ROTATION, &rotation)); in AvcVideoParam()
364 ASSERT_FALSE(OH_AVFormat_GetIntValue(paramFormat, OH_MD_KEY_PROFILE, &profile)); in AvcVideoParam()
367 ASSERT_FALSE(OH_AVFormat_GetIntValue(paramFormat, OH_MD_KEY_RANGE_FLAG, &flag)); in AvcVideoParam()
400 ASSERT_TRUE(OH_AVFormat_GetIntValue(paramFormat, OH_MD_KEY_ROTATION, &rotation)); in HevcVideoParam()
404 ASSERT_TRUE(OH_AVFormat_GetIntValue(paramFormat, OH_MD_KEY_RANGE_FLAG, &flag)); in HevcVideoParam()
509 ASSERT_FALSE(OH_AVFormat_GetIntValue(paramFormat, OH_MD_KEY_PROFILE, &profile)); in OtherVideoParam()
[all …]
H A Dnet2_test.cpp139 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_HEIGHT, &currentHeight)); in CheckVideoKey()
142 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_WIDTH, &currentWidth)); in CheckVideoKey()
147 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_ROTATION, &rotation)); in CheckVideoKey()
164 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_AAC_IS_ADTS, &aacisAdts)); in CheckAudioKey()
218 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_HEIGHT, &currentHeight)); in CheckAudioKeyVVC()
221 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_WIDTH, &currentWidth)); in CheckAudioKeyVVC()
226 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_ROTATION, &rotation)); in CheckAudioKeyVVC()
229 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType)); in CheckAudioKeyVVC()
851 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
860 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
[all …]
H A Dfunc2_test.cpp149 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
196 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
253 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
309 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
363 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
403 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
432 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount);
437 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
471 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
501 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount);
[all …]
H A Dproc_test.cpp181 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType)); in CheckAudioParam()
236 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
293 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
349 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
403 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
982 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount);
1048 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount);
1142 ASSERT_FALSE(OH_AVFormat_GetIntValue(trackFormatFirst, OH_MD_KEY_PROFILE, &profile));
1568 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
1605 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
[all …]
H A Dfunc_test.cpp250 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
301 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
359 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
418 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
476 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
527 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
1987 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_AUD_CHANNEL_COUNT, &cc));
2010 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, &sr));
2032 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_HEIGHT, &height));
2054 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_WIDTH, &weight));
[all …]
H A Dnet_test.cpp307 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormatV, OH_MD_KEY_TRACK_TYPE, &tarckTypeV)); in MyMapVtt()
742 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
784 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
930 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
972 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
1022 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
1062 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
1119 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
1165 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
1210 ASSERT_TRUE(OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType));
[all …]
H A Dreli_test.cpp481 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
524 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
552 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
597 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
644 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
691 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
738 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
785 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
832 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
882 ASSERT_TRUE(OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount));
[all …]
/ohos5.0/docs/zh-cn/application-dev/media/media/
H A Dusing-ndk-avplayer-for-playback.md186 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_STATE, &demoNdkPlayer->state);
194 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_SEEK_POSITION, &value);
198 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_PLAYBACK_SPEED, &value);
205 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_BITRATE, &value);
213 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_CURRENT_POSITION, &value);
217 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_MESSAGE_TYPE, &value);
225 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_VIDEO_WIDTH, &demoNdkPlayer->width);
226 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_VIDEO_HEIGHT, &demoNdkPlayer->height);
231 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_BUFFERING_TYPE, &value);
273 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_IS_LIVE_STREAM, &value);
[all …]
H A Dusing-ndk-avplayer-for-video-playback.md196 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_STATE, &demoNdkPlayer->state);
204 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_SEEK_POSITION, &value);
208 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_PLAYBACK_SPEED, &value);
215 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_BITRATE, &value);
223 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_CURRENT_POSITION, &value);
227 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_MESSAGE_TYPE, &value);
235 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_VIDEO_WIDTH, &demoNdkPlayer->width);
236 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_VIDEO_HEIGHT, &demoNdkPlayer->height);
241 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_BUFFERING_TYPE, &value);
283 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_IS_LIVE_STREAM, &value);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/
H A Dvideodec_api11_sample.cpp118 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, &currentWidth); in VdecAPI11FormatChanged()
119 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, &currentHeight); in VdecAPI11FormatChanged()
120 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &stride); in VdecAPI11FormatChanged()
121 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecAPI11FormatChanged()
122 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_WIDTH, &picWidth); in VdecAPI11FormatChanged()
123 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_HEIGHT, &picHeight); in VdecAPI11FormatChanged()
768 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_STRIDE, &stride); in CheckOutputDescription()
846 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, &currentWidth); in GetStride()
847 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, &currentHeight); in GetStride()
848 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &stride); in GetStride()
[all …]
H A Dvideodec_ndk_sample.cpp113 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, &current_width); in VdecFormatChanged()
114 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, &current_height); in VdecFormatChanged()
115 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &stride); in VdecFormatChanged()
116 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecFormatChanged()
117 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_WIDTH, &picWidth); in VdecFormatChanged()
118 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_HEIGHT, &picHeight); in VdecFormatChanged()
129 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_BOTTOM, &cropBottom); in VdecFormatChanged()
130 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_RIGHT, &cropRight); in VdecFormatChanged()
696 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_WIDTH, &picWidth); in CheckOutputDescription()
697 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_PIC_HEIGHT, &picHeight); in CheckOutputDescription()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/
H A Dvideodec_api11_sample.cpp124 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, &currentWidth); in VdecAPI11FormatChanged()
125 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, &currentHeight); in VdecAPI11FormatChanged()
126 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &stride); in VdecAPI11FormatChanged()
127 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecAPI11FormatChanged()
128 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_WIDTH, &picWidth); in VdecAPI11FormatChanged()
129 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_HEIGHT, &picHeight); in VdecAPI11FormatChanged()
756 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_STRIDE, &stride); in CheckOutputDescription()
833 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, &currentWidth); in GetStride()
834 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, &currentHeight); in GetStride()
835 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &stride); in GetStride()
[all …]
H A Dvideodec_ndk_sample.cpp104 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, &current_width); in VdecFormatChanged()
105 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, &current_height); in VdecFormatChanged()
114 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_BOTTOM, &cropBottom); in VdecFormatChanged()
115 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_RIGHT, &cropRight); in VdecFormatChanged()
116 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &stride); in VdecFormatChanged()
117 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecFormatChanged()
629 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_TOP, &cropTop); in CheckOutputDescription()
631 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_LEFT, &cropLeft); in CheckOutputDescription()
632 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_RIGHT, &cropRight); in CheckOutputDescription()
633 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_STRIDE, &stride); in CheckOutputDescription()
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/demuxer/
H A Ddemuxer.cpp97 OH_AVFormat_GetIntValue(sourceFormat.get(), OH_MD_KEY_TRACK_COUNT, &trackCount); in GetVideoTrackInfo()
103 OH_AVFormat_GetIntValue(trackFormat.get(), OH_MD_KEY_TRACK_TYPE, &trackType); in GetVideoTrackInfo()
107 OH_AVFormat_GetIntValue(trackFormat.get(), OH_MD_KEY_WIDTH, &sampleInfo_->videoWidth); in GetVideoTrackInfo()
108 OH_AVFormat_GetIntValue(trackFormat.get(), OH_MD_KEY_HEIGHT, &sampleInfo_->videoHeight); in GetVideoTrackInfo()
115 OH_AVFormat_GetIntValue(trackFormat.get(), OH_MD_KEY_PROFILE, &sampleInfo_->profile); in GetVideoTrackInfo()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_codec/
H A Dcodec_callback.cpp41 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_WIDTH, &context->sampleInfo->videoWidth); in OnCodecFormatChange()
42 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_HEIGHT, &context->sampleInfo->videoHeight); in OnCodecFormatChange()
43 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &context->sampleInfo->videoStrideWidth); in OnCodecFormatChange()
44OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &context->sampleInfo->videoSliceHeig… in OnCodecFormatChange()
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/demuxer_fuzzer/
H A Ddemuxer_fuzzer.cpp71 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &trackCount); in RunNormalDemuxer()
81 OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType); in RunNormalDemuxer()
114 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &trackCount); in RunNormalDemuxerApi11()
124 OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &tarckType); in RunNormalDemuxerApi11()
/ohos5.0/docs/zh-cn/application-dev/media/avcodec/
H A Dvideo-decoding.md264 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_WIDTH, &width);
265 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_HEIGHT, &height);
782 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_WIDTH, &width);
783 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_HEIGHT, &height);
784 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &widthStride);
787 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_TOP, &cropTop);
789 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_LEFT, &cropLeft);
790 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_RIGHT, &cropRight);
809 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_WIDTH, &width);
810 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_HEIGHT, &height);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/
H A Dvideodec_api11_sample.cpp102 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, &currentWidth); in VdecAPI11FormatChanged()
103 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, &currentHeight); in VdecAPI11FormatChanged()
112 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_BOTTOM, &cropBottom); in VdecAPI11FormatChanged()
113 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_RIGHT, &cropRight); in VdecAPI11FormatChanged()
114 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &stride); in VdecAPI11FormatChanged()
115 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecAPI11FormatChanged()
629 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_TOP, &cropTop); in CheckOutputDescription()
631 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_LEFT, &cropLeft); in CheckOutputDescription()
632 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_RIGHT, &cropRight); in CheckOutputDescription()
633 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_STRIDE, &stride); in CheckOutputDescription()
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/
H A Davdemuxer_demo_runner.cpp133 OH_AVFormat_GetIntValue(oh_trackformat, OH_MD_KEY_TRACK_TYPE, &trackType); in ShowSourceDescription()
137 OH_AVFormat_GetIntValue(oh_trackformat, OH_MD_KEY_WIDTH, &width); in ShowSourceDescription()
138 OH_AVFormat_GetIntValue(oh_trackformat, OH_MD_KEY_HEIGHT, &height); in ShowSourceDescription()
139 OH_AVFormat_GetIntValue(oh_trackformat, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, &audioSampleFormat); in ShowSourceDescription()
141 OH_AVFormat_GetIntValue(oh_trackformat, OH_MD_KEY_PROFILE, &profile); in ShowSourceDescription()
142 OH_AVFormat_GetIntValue(oh_trackformat, OH_MD_KEY_AUD_CHANNEL_COUNT, &audioChannelCount); in ShowSourceDescription()
143 OH_AVFormat_GetIntValue(oh_trackformat, OH_MD_KEY_AUD_SAMPLE_RATE, &audioSampleRate); in ShowSourceDescription()
176 OH_AVFormat_GetIntValue(oh_avformat, OH_MD_KEY_TRACK_COUNT, &trackCount); // 北向获取sourceformat in RunNativeDemuxer()
222 OH_AVFormat_GetIntValue(oh_avformat, OH_MD_KEY_TRACK_COUNT, &trackCount); // 北向获取sourceformat in RunDrmNativeDemuxer()
/ohos5.0/docs/en/application-dev/media/media/
H A Dusing-ndk-avplayer-for-playback.md186 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_STATE, &demoNdkPlayer->state);
194 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_SEEK_POSITION, &value);
198 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_PLAYBACK_SPEED, &value);
205 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_BITRATE, &value);
213 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_CURRENT_POSITION, &value);
217 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_MESSAGE_TYPE, &value);
225 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_VIDEO_WIDTH, &demoNdkPlayer->width);
226 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_VIDEO_HEIGHT, &demoNdkPlayer->height);
231 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_BUFFERING_TYPE, &value);
273 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_IS_LIVE_STREAM, &value);
[all …]
H A Dusing-ndk-avplayer-for-video-playback.md196 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_STATE, &demoNdkPlayer->state);
204 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_SEEK_POSITION, &value);
208 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_PLAYBACK_SPEED, &value);
215 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_BITRATE, &value);
223 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_CURRENT_POSITION, &value);
227 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_MESSAGE_TYPE, &value);
235 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_VIDEO_WIDTH, &demoNdkPlayer->width);
236 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_VIDEO_HEIGHT, &demoNdkPlayer->height);
241 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_BUFFERING_TYPE, &value);
283 OH_AVFormat_GetIntValue(infoBody, OH_PLAYER_IS_LIVE_STREAM, &value);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/audio_demo/
H A 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()
H A 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()
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/
H A Davcodec_e2e_demo.cpp141 OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &trackCount); in AVCodecE2EDemo()
149 OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_TRACK_TYPE, &trackType); in AVCodecE2EDemo()
153 OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_ROTATION, &rotation); in AVCodecE2EDemo()
H A 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()

123