Home
last modified time | relevance | path

Searched refs:OH_AVFormat_SetStringValue (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/
H A DNativeAVMuxerParamCheckTest.cpp176 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC);
189 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_MPEG);
193 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, "aaaaaa");
219 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC);
236 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_AUD_CHANNEL_COUNT, "aaaaaa");
279 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC);
296 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, "aaaaaa");
339 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_AVC);
404 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_WIDTH, "aaa");
465 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_HEIGHT, "aaa");
[all …]
H A DNativeAVMuxerNullCheckTest.cpp89 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC);
121 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC);
178 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC);
215 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC);
264 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC);
310 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC);
H A DNativeAVMuxerStablityTest.cpp90OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC); in AddTrack()
154OH_AVFormat_SetStringValue(audioFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_MPEG); in AddAudioTrack()
184OH_AVFormat_SetStringValue(videoFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_MPEG4); in AddVideoTrack()
288OH_AVFormat_SetStringValue(audioFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_MPEG); in AddAudioTrackByFd()
316OH_AVFormat_SetStringValue(audioFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC); in AddAudioTrackAACByFd()
344OH_AVFormat_SetStringValue(videoFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_MPEG4); in AddVideoTrackByFd()
372OH_AVFormat_SetStringValue(videoFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_AVC); in AddVideoTrackH264ByFd()
394OH_AVFormat_SetStringValue(coverFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_JPG); in AddCoverTrack()
396OH_AVFormat_SetStringValue(coverFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_PNG); in AddCoverTrack()
398OH_AVFormat_SetStringValue(coverFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_BMP); in AddCoverTrack()
H A DNativeAVMuxerFuzzTest.cpp143 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, mimeType[typeIndex].c_str());
179 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC);
273 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, mimeType[typeIndex].c_str());
H A DNativeAVMuxerFunctionTest.cpp82 OH_AVFormat_SetStringValue(audioFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_MPEG); in AddAudioTrack()
109 OH_AVFormat_SetStringValue(videoFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_MPEG4); in AddVideoTrack()
130OH_AVFormat_SetStringValue(coverFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_JPG); in AddCoverTrack()
132OH_AVFormat_SetStringValue(coverFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_PNG); in AddCoverTrack()
134OH_AVFormat_SetStringValue(coverFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_BMP); in AddCoverTrack()
278 OH_AVFormat_SetStringValue(audioFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_MPEG); in AddAudioTrackByFd()
304 OH_AVFormat_SetStringValue(audioFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC); in AddAudioTrackAACByFd()
331 OH_AVFormat_SetStringValue(videoFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_MPEG4); in AddVideoTrackByFd()
566 OH_AVFormat_SetStringValue(videoFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_AVC); in AddVideoTrackH264ByFd()
H A DNativeAVMuxerInterfaceDependCheckTest.cpp71OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC); in AddTrack()
/ohos5.0/docs/zh-cn/application-dev/media/avcodec/
H A Daudio-video-muxer.md80OH_AVFormat_SetStringValue(formatAudio, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC); // 必填
119OH_AVFormat_SetStringValue(formatVideo, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_AVC); // 必填
154 OH_AVFormat_SetStringValue(formatCover, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_JPG);
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/
H A DNativeParamCheckTest.cpp123 OH_AVFormat_SetStringValue(format, OH_MD_KEY_BITRATE, "aaa");
177 OH_AVFormat_SetStringValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, "aaa");
236 OH_AVFormat_SetStringValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, "aaa");
301 OH_AVFormat_SetStringValue(format, OH_MD_KEY_BITRATE, "aaa");
362 OH_AVFormat_SetStringValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, "aaa");
423 OH_AVFormat_SetStringValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, "aaa");
734 OH_AVFormat_SetStringValue(format, OH_MD_KEY_BITRATE, "aaa");
788 OH_AVFormat_SetStringValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, "aaa");
846 OH_AVFormat_SetStringValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, "aaa");
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/NativeAPI/
H A DNativeParamCheckTest.cpp143 OH_AVFormat_SetStringValue(format, OH_MD_KEY_BITRATE, "aaa");
193 OH_AVFormat_SetStringValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, "aaa");
248 OH_AVFormat_SetStringValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, "aaa");
309 OH_AVFormat_SetStringValue(format, OH_MD_KEY_BITRATE, "aaa");
366 OH_AVFormat_SetStringValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, "aaa");
423 OH_AVFormat_SetStringValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, "aaa");
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.22/
H A Dchangelogs-multimedia.md69 | OH_AVFormat_SetStringValue | 使用此接口设置非 string 类型参数将会报错 |
/ohos5.0/foundation/multimedia/media_foundation/interface/kits/c/
H A Dnative_avformat.h196 bool OH_AVFormat_SetStringValue(struct OH_AVFormat *format, const char *key, const char *value);
/ohos5.0/docs/en/application-dev/media/avcodec/
H A Daudio-video-muxer.md78OH_AVFormat_SetStringValue(formatAudio, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC); // M…
117OH_AVFormat_SetStringValue(formatVideo, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_AVC); // M…
152 OH_AVFormat_SetStringValue(formatCover, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_JPG);
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/format/capi/
H A Davformat_capi_mock.cpp44 return OH_AVFormat_SetStringValue(format_, key.data(), std::string(value).c_str()); in PutStringValue()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/common/common_mock/avformat/capi/
H A Davformat_capi_mock.cpp47 return OH_AVFormat_SetStringValue(format_, key.data(), std::string(value).c_str()); in PutStringValue()
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/audiomuxer_fuzzer/
H A Daudio_muxer_demo.cpp269 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, param.mimeType); in AddTrack()
297 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, param.mimeType); in AddCoverTrack()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-avcodec-kit/
H A Dnative__avformat_8h.md48 | bool [OH_AVFormat_SetStringValue](_core.md#oh_avformat_setstringvalue) (struct [OH_AVFormat](_cor…
H A D_core.md86 | bool [OH_AVFormat_SetStringValue](#oh_avformat_setstringvalue) (struct [OH_AVFormat](#oh_avformat…
1345 ### OH_AVFormat_SetStringValue()
1348 bool OH_AVFormat_SetStringValue (struct OH_AVFormat *format, const char *key, const char *value)
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.22/
H A Dchangelogs-multimedia.md70 | OH_AVFormat_SetStringValue | If this API is called to set a parameter of the non-string type, an …
/ohos5.0/foundation/multimedia/av_codec/test/unittest/key_type_test/
H A Dkey_type_test.cpp280 ASSERT_EQ(res, OH_AVFormat_SetStringValue(format, key, defaultVal));
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/avmuxer/
H A Dnative_avmuxer_demo.c89 OH_AVFormat_SetStringValue(format, OH_MD_KEY_CREATION_TIME, "2023-12-19T03:16:00.000000Z"); in SetFormat()
192 OH_AVFormat_SetStringValue(formatCover, OH_MD_KEY_CODEC_MIME, param->mimeType); in AddTrackCover()
/ohos5.0/foundation/multimedia/media_foundation/src/capi/
H A Dnative_avformat.cpp114 bool OH_AVFormat_SetStringValue(struct OH_AVFormat *format, const char *key, const char *value) in OH_AVFormat_SetStringValue() function
/ohos5.0/docs/en/application-dev/reference/apis-avcodec-kit/
H A Dnative__avformat_8h.md48 | bool [OH_AVFormat_SetStringValue](_core.md#oh_avformat_setstringvalue) (struct [OH_AVFormat](_cor…
H A D_core.md86 | bool [OH_AVFormat_SetStringValue](#oh_avformat_setstringvalue) (struct [OH_AVFormat](#oh_avformat…
1345 ### OH_AVFormat_SetStringValue()
1348 bool OH_AVFormat_SetStringValue (struct OH_AVFormat *format, const char *key, const char *value)
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avbuffer/
H A Davbuffer_framework_unit_test.cpp529 … EXPECT_TRUE(OH_AVFormat_SetStringValue(format, STRING_CAPI_TESTKEY.data(), STRINGVALUE.c_str()));