/ohos5.0/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/ |
H A D | NativeAVMuxerParamCheckTest.cpp | 176 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 D | NativeAVMuxerNullCheckTest.cpp | 89 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 D | NativeAVMuxerStablityTest.cpp | 90 … OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC); in AddTrack() 154 … OH_AVFormat_SetStringValue(audioFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_MPEG); in AddAudioTrack() 184 … OH_AVFormat_SetStringValue(videoFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_MPEG4); in AddVideoTrack() 288 … OH_AVFormat_SetStringValue(audioFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_MPEG); in AddAudioTrackByFd() 316 … OH_AVFormat_SetStringValue(audioFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC); in AddAudioTrackAACByFd() 344 … OH_AVFormat_SetStringValue(videoFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_MPEG4); in AddVideoTrackByFd() 372 … OH_AVFormat_SetStringValue(videoFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_AVC); in AddVideoTrackH264ByFd() 394 … OH_AVFormat_SetStringValue(coverFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_JPG); in AddCoverTrack() 396 … OH_AVFormat_SetStringValue(coverFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_PNG); in AddCoverTrack() 398 … OH_AVFormat_SetStringValue(coverFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_BMP); in AddCoverTrack()
|
H A D | NativeAVMuxerFuzzTest.cpp | 143 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 D | NativeAVMuxerFunctionTest.cpp | 82 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() 130 … OH_AVFormat_SetStringValue(coverFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_JPG); in AddCoverTrack() 132 … OH_AVFormat_SetStringValue(coverFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_IMAGE_PNG); in AddCoverTrack() 134 … OH_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 D | NativeAVMuxerInterfaceDependCheckTest.cpp | 71 … OH_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 D | audio-video-muxer.md | 80 …OH_AVFormat_SetStringValue(formatAudio, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC); // 必填 119 …OH_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 D | NativeParamCheckTest.cpp | 123 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 D | NativeParamCheckTest.cpp | 143 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 D | changelogs-multimedia.md | 69 | OH_AVFormat_SetStringValue | 使用此接口设置非 string 类型参数将会报错 |
|
/ohos5.0/foundation/multimedia/media_foundation/interface/kits/c/ |
H A D | native_avformat.h | 196 bool OH_AVFormat_SetStringValue(struct OH_AVFormat *format, const char *key, const char *value);
|
/ohos5.0/docs/en/application-dev/media/avcodec/ |
H A D | audio-video-muxer.md | 78 …OH_AVFormat_SetStringValue(formatAudio, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC); // M… 117 …OH_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 D | avformat_capi_mock.cpp | 44 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 D | avformat_capi_mock.cpp | 47 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 D | audio_muxer_demo.cpp | 269 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 D | native__avformat_8h.md | 48 | bool [OH_AVFormat_SetStringValue](_core.md#oh_avformat_setstringvalue) (struct [OH_AVFormat](_cor…
|
H A D | _core.md | 86 | 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 D | changelogs-multimedia.md | 70 | 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 D | key_type_test.cpp | 280 ASSERT_EQ(res, OH_AVFormat_SetStringValue(format, key, defaultVal));
|
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/avmuxer/ |
H A D | native_avmuxer_demo.c | 89 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 D | native_avformat.cpp | 114 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 D | native__avformat_8h.md | 48 | bool [OH_AVFormat_SetStringValue](_core.md#oh_avformat_setstringvalue) (struct [OH_AVFormat](_cor…
|
H A D | _core.md | 86 | 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 D | avbuffer_framework_unit_test.cpp | 529 … EXPECT_TRUE(OH_AVFormat_SetStringValue(format, STRING_CAPI_TESTKEY.data(), STRINGVALUE.c_str()));
|