/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/audiodecoderconfigure_fuzzer/ |
H A D | audiodecoderConfigure_fuzzer.cpp | 36 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, intData); in AudioAACConfigureFuzzTest() 37 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, intData); in AudioAACConfigureFuzzTest() 41 OH_AVFormat_SetIntValue(format, OH_MD_KEY_COMPLIANCE_LEVEL, intData); in AudioAACConfigureFuzzTest() 42 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); //aactest in AudioAACConfigureFuzzTest() 59 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, intData); in AudioAACConfigureFuzzTest() 60 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, intData); in AudioAACConfigureFuzzTest() 64 OH_AVFormat_SetIntValue(format, OH_MD_KEY_COMPLIANCE_LEVEL, intData); in AudioAACConfigureFuzzTest() 90 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, intData); in AudioFlacConfigureFuzzTest() 94 OH_AVFormat_SetIntValue(format, OH_MD_KEY_COMPLIANCE_LEVEL, intData); in AudioFlacConfigureFuzzTest() 112 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, intData); in AudioFlacConfigureFuzzTest() [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/audiodecodersetparameter_fuzzer/ |
H A D | audiodecoderSetParameter_fuzzer.cpp | 35 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, intData); in AudioAACSetParameterFuzzTest() 36 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, intData); in AudioAACSetParameterFuzzTest() 40 OH_AVFormat_SetIntValue(format, OH_MD_KEY_COMPLIANCE_LEVEL, intData); in AudioAACSetParameterFuzzTest() 41 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); //aactest in AudioAACSetParameterFuzzTest() 58 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, intData); in AudioAACSetParameterFuzzTest() 59 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, intData); in AudioAACSetParameterFuzzTest() 63 OH_AVFormat_SetIntValue(format, OH_MD_KEY_COMPLIANCE_LEVEL, intData); in AudioAACSetParameterFuzzTest() 89 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, intData); in AudioFlacSetParameterFuzzTest() 93 OH_AVFormat_SetIntValue(format, OH_MD_KEY_COMPLIANCE_LEVEL, intData); in AudioFlacSetParameterFuzzTest() 111 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, intData); in AudioFlacSetParameterFuzzTest() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/media/avcodec/ |
H A D | video-encoding-configuration-typical-scenarios.md | 74 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, 1920); // 视频宽 75 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, 1080); // 视频高 84 OH_AVFormat_SetIntValue(format, OH_MD_KEY_I_FRAME_INTERVAL, -1); 120 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, 1920); // 视频宽,必须配置 121 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, 1080); // 视频高,必须配置 166 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, 1920); // 视频宽 167 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, 1080); // 视频高 176 OH_AVFormat_SetIntValue(format, OH_MD_KEY_I_FRAME_INTERVAL, 2000); // 关键帧间隔2s 207 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, 1920); // 视频宽 208 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, 1080); // 视频高 [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/ |
H A D | NativeFunctionTest.cpp | 498 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 530 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 537 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, 564 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 596 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 603 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, 630 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 734 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 1); 765 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 1); 771 OH_AVFormat_SetIntValue(format, OH_MD_KEY_COMPLIANCE_LEVEL, -2); [all …]
|
H A D | NativeNullCheckTest.cpp | 160 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 208 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 245 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 285 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 328 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 390 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 433 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 476 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 519 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 568 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); [all …]
|
H A D | NativeParamCheckTest.cpp | 106 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 118 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, 1); 165 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 224 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 283 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 305 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, 0); 344 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 405 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 466 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 517 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); [all …]
|
H A D | NativeFuzzTest.cpp | 190 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 224 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 225 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 44100); 229 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 257 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 290 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 295 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 345 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 350 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); 404 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); [all …]
|
H A D | NativeStablityTest.cpp | 297 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 298 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 16000); 340 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 385 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 432 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 481 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 558 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 588 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 641 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 673 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codec_param_checker_test/ |
H A D | codec_param_checker_test.cpp | 111 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH)); in SetFormatBasicParam() 140 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_WIDTH, INT32_MIN)); 154 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_WIDTH, INT32_MAX)); 168 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH)); 180 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH)); 195 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_HEIGHT, INT32_MIN)); 209 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_HEIGHT, INT32_MAX)); 712 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, 861 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_WIDTH, INT32_MIN)); 875 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_WIDTH, INT32_MAX)); [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/audio_test/ |
H A D | audio_encoder_avbuffer_capi_unit_test.cpp | 546 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), 549 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_MAX_INPUT_SIZE.data(), 0); 572 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), 575 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_MAX_INPUT_SIZE.data(), 1); 596 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), 623 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), 628 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), 641 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), 663 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), 684 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), [all …]
|
H A D | audio_encoder_capi_unit_test.cpp | 495 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PROFILE, profile); in HeAACSampleRateTest() 503 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, rate); in HeAACSampleRateTest() 508 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, rate); in HeAACSampleRateTest() 521 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in ChannelCountTest() 522 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PROFILE, profile); in ChannelCountTest() 524 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, cnt); in ChannelCountTest() 529 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, cnt); in ChannelCountTest() 543 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PROFILE, profile); in ChannelLayoutTest() 1756 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PROFILE, AAC_PROFILE_HE); 2026 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PROFILE, profile); [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/ |
H A D | configure_test.cpp | 85 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 86 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); 88 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, -1); 105 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 106 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); 108 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, 0); 125 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 126 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); 128 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, -1); 145 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); [all …]
|
H A D | hwh265_hdr2sdr_test.cpp | 104 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT)); 105 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH)); 134 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT)); 135 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH)); 165 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT)); 166 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH)); 185 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT)); 186 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH)); 197 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH)); 543 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT)); [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/NativeAPI/ |
H A D | NativeFunctionTest.cpp | 1506 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 1507 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 48000); 1533 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 1); 1534 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 48000); 1559 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 1); 1560 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 48000); 1586 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 1); 1587 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 96000); 1612 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 1); 1638 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 1); [all …]
|
H A D | NativeNullCheckTest.cpp | 155 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 156 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 44100); 200 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 201 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 44100); 234 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 271 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 311 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 370 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 410 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); 450 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/ |
H A D | configure_test.cpp | 103 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); 106 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, range.maxVal + 1); 111 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, range.minVal - 1); 136 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); 139 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, range.maxVal + 1); 144 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, range.minVal - 1); 169 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 202 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 235 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); 301 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); [all …]
|
H A D | func_test.cpp | 202 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 219 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 230 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 241 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 252 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 268 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 279 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 290 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 301 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 318 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); [all …]
|
H A D | api_test.cpp | 255 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, 100000); 341 (void)OH_AVFormat_SetIntValue(format, widthStr.c_str(), DEFAULT_WIDTH); 383 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); 384 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_HEIGHT); 524 (void)OH_AVFormat_SetIntValue(format, widthStr.c_str(), DEFAULT_WIDTH); 548 (void)OH_AVFormat_SetIntValue(format, widthStr.c_str(), DEFAULT_WIDTH); 572 (void)OH_AVFormat_SetIntValue(format, widthStr.c_str(), DEFAULT_WIDTH); 598 (void)OH_AVFormat_SetIntValue(format, widthStr.c_str(), DEFAULT_WIDTH); 623 (void)OH_AVFormat_SetIntValue(format, widthStr.c_str(), DEFAULT_WIDTH); 803 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); [all …]
|
H A D | videoenc_api11_sample.cpp | 186 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in ConfigureVideoEncoder() 232 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in ConfigureVideoEncoder_Temporal() 273 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, data); in ConfigureVideoEncoder_fuzz() 275 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, data); in ConfigureVideoEncoder_fuzz() 281 OH_AVFormat_SetIntValue(format, OH_MD_KEY_RANGE_FLAG, data); in ConfigureVideoEncoder_fuzz() 282 OH_AVFormat_SetIntValue(format, OH_MD_KEY_COLOR_PRIMARIES, data); in ConfigureVideoEncoder_fuzz() 284 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MATRIX_COEFFICIENTS, data); in ConfigureVideoEncoder_fuzz() 285 OH_AVFormat_SetIntValue(format, OH_MD_KEY_I_FRAME_INTERVAL, data); in ConfigureVideoEncoder_fuzz() 288 OH_AVFormat_SetIntValue(format, OH_MD_KEY_QUALITY, data); in ConfigureVideoEncoder_fuzz() 365 OH_AVFormat_SetIntValue(format, OH_MD_KEY_REQUEST_I_FRAME, 1); in testApi() [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/ |
H A D | NativeAVMuxerParamCheckTest.cpp | 182 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_PROFILE, PROFILE); 343 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_WIDTH, WIDTH); 344 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_HEIGHT, HEIGHT); 390 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_WIDTH, WIDTH); 391 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_HEIGHT, HEIGHT); 400 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_WIDTH, -1); 451 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_WIDTH, WIDTH); 452 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_HEIGHT, HEIGHT); 461 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_HEIGHT, -1); 860 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_WIDTH, WIDTH); [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/swdecodersetparameter_fuzzer/ |
H A D | swdecodersetparameter_fuzzer.cpp | 49 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, intData); in DoSomethingInterestingWithMyAPI() 50 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, intData); in DoSomethingInterestingWithMyAPI() 51 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, intData); in DoSomethingInterestingWithMyAPI() 52 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, intData); in DoSomethingInterestingWithMyAPI() 53 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, intData); in DoSomethingInterestingWithMyAPI() 54 OH_AVFormat_SetIntValue(format, OH_MD_KEY_VIDEO_ENCODE_BITRATE_MODE, intData); in DoSomethingInterestingWithMyAPI() 55 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PROFILE, intData); in DoSomethingInterestingWithMyAPI() 56 OH_AVFormat_SetIntValue(format, OH_MD_KEY_I_FRAME_INTERVAL, intData); in DoSomethingInterestingWithMyAPI() 57 OH_AVFormat_SetIntValue(format, OH_MD_KEY_ROTATION, intData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/fcodec_test/ |
H A D | video_decoder_capi_unit_test.cpp | 417 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 425 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 434 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 444 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 453 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 468 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 478 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 488 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 497 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 788 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, 1920); [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/encodersetparameter_fuzzer/ |
H A D | encodersetparameter_fuzzer.cpp | 53 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, intData); in DoSomethingInterestingWithMyAPI() 54 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, intData); in DoSomethingInterestingWithMyAPI() 55 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, intData); in DoSomethingInterestingWithMyAPI() 56 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, intData); in DoSomethingInterestingWithMyAPI() 57 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, intData); in DoSomethingInterestingWithMyAPI() 58 OH_AVFormat_SetIntValue(format, OH_MD_KEY_VIDEO_ENCODE_BITRATE_MODE, intData); in DoSomethingInterestingWithMyAPI() 59 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PROFILE, intData); in DoSomethingInterestingWithMyAPI() 60 OH_AVFormat_SetIntValue(format, OH_MD_KEY_I_FRAME_INTERVAL, intData); in DoSomethingInterestingWithMyAPI() 61 OH_AVFormat_SetIntValue(format, OH_MD_KEY_ROTATION, intData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/ |
H A D | api_test.cpp | 232 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 247 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 248 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); 352 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 575 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 596 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 618 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); 2002 (void)OH_AVFormat_SetIntValue( 2062 (void)OH_AVFormat_SetIntValue( 2438 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, 0); [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/audiomuxer_fuzzer/ |
H A D | audio_muxer_demo.cpp | 271 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, param.sampleRate); in AddTrack() 273 OH_AVFormat_SetIntValue(trackFormat, "audio_samples_per_frame", param.frameSize); in AddTrack() 275 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_WIDTH, param.width); in AddTrack() 276 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_HEIGHT, param.height); in AddTrack() 278 OH_AVFormat_SetIntValue(trackFormat, "video_delay", param.videoDelay); in AddTrack() 283 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_RANGE_FLAG, param.colorRange); in AddTrack() 301 OH_AVFormat_SetIntValue(trackFormat, "audio_samples_per_frame", param.frameSize); in AddCoverTrack() 303 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_WIDTH, param.width); in AddCoverTrack() 304 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_HEIGHT, param.height); in AddCoverTrack() 306 OH_AVFormat_SetIntValue(trackFormat, "video_delay", param.videoDelay); in AddCoverTrack() [all …]
|