Home
last modified time | relevance | path

Searched refs:OH_AVFormat_SetIntValue (Results 1 - 25 of 112) sorted by relevance

12345

/foundation/multimedia/av_codec/test/fuzztest/audiodecoderconfigure_fuzzer/
H A DaudiodecoderConfigure_fuzzer.cpp36 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()
39 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, intData); in AudioAACConfigureFuzzTest()
40 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, 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()
62 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, intData); in AudioAACConfigureFuzzTest()
63 OH_AVFormat_SetIntValue(forma in AudioAACConfigureFuzzTest()
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecodersetparameter_fuzzer/
H A DaudiodecoderSetParameter_fuzzer.cpp35 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()
38 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, intData); in AudioAACSetParameterFuzzTest()
39 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, 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()
61 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, intData); in AudioAACSetParameterFuzzTest()
62 OH_AVFormat_SetIntValue(forma in AudioAACSetParameterFuzzTest()
[all...]
/foundation/multimedia/av_codec/test/unittest/audio_test/
H A Daudio_encoder_capi_unit_test.cpp340 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), OPUS_CHANNEL_COUNT); in HWTEST_F()
341 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), OPUS_SAMPLE_RATE); in HWTEST_F()
343 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in HWTEST_F()
345 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_COMPLIANCE_LEVEL.data(), OPUS_COMPLIANCE_LEVEL); in HWTEST_F()
357 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), OPUS_CHANNEL_COUNT); in HWTEST_F()
358 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), OPUS_SAMPLE_RATE); in HWTEST_F()
360 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in HWTEST_F()
362 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_COMPLIANCE_LEVEL.data(), OPUS_COMPLIANCE_LEVEL); in HWTEST_F()
379 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), OPUS_CHANNEL_COUNT); in HWTEST_F()
380 OH_AVFormat_SetIntValue(forma in HWTEST_F()
[all...]
H A Daudio_encoder_avbuffer_capi_unit_test.cpp545 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F()
546 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in HWTEST_F()
549 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_MAX_INPUT_SIZE.data(), 0); in HWTEST_F()
550 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), CHANNEL_COUNT); in HWTEST_F()
571 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F()
572 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in HWTEST_F()
575 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_MAX_INPUT_SIZE.data(), 1); in HWTEST_F()
576 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), CHANNEL_COUNT); in HWTEST_F()
595 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE_48K); in HWTEST_F()
596 OH_AVFormat_SetIntValue(forma in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/
H A DNativeNullCheckTest.cpp155 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); in HWTEST_F()
156 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 44100); in HWTEST_F()
157 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_F32LE); in HWTEST_F()
158 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, OH_BitsPerSample::SAMPLE_F32LE); in HWTEST_F()
160 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); in HWTEST_F()
203 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); in HWTEST_F()
204 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 44100); in HWTEST_F()
205 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_F32LE); in HWTEST_F()
206 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, OH_BitsPerSample::SAMPLE_F32LE); in HWTEST_F()
208 OH_AVFormat_SetIntValue(forma in HWTEST_F()
[all...]
H A DNativeFunctionTest.cpp109 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, CHANNEL_COUNT_AAC); in getAVFormatByEncoder()
110 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE_AAC); in getAVFormatByEncoder()
111 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_F32LE); in getAVFormatByEncoder()
112 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, OH_BitsPerSample::SAMPLE_F32LE); in getAVFormatByEncoder()
114 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_TYPE); in getAVFormatByEncoder()
117 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, CHANNEL_COUNT_FLAC); in getAVFormatByEncoder()
118 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE_FLAC); in getAVFormatByEncoder()
119 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_S16LE); in getAVFormatByEncoder()
120 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, OH_BitsPerSample::SAMPLE_S16LE); in getAVFormatByEncoder()
144 OH_AVFormat_SetIntValue(forma in getAVFormatAAC()
[all...]
H A DNativeParamCheckTest.cpp101 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); in HWTEST_F()
102 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 44100); in HWTEST_F()
103 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_F32LE); in HWTEST_F()
104 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, OH_BitsPerSample::SAMPLE_F32LE); in HWTEST_F()
106 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); in HWTEST_F()
118 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, 1); in HWTEST_F()
160 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); in HWTEST_F()
161 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 44100); in HWTEST_F()
162 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_F32LE); in HWTEST_F()
163 OH_AVFormat_SetIntValue(forma in HWTEST_F()
[all...]
H A DNativeFuzzTest.cpp185 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, channel); in HWTEST_F()
186 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, sampleRate); in HWTEST_F()
187 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, codedSample); in HWTEST_F()
188 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, codedSample); in HWTEST_F()
190 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); in HWTEST_F()
224 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); in HWTEST_F()
225 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 44100); in HWTEST_F()
226 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_F32P); in HWTEST_F()
227 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, OH_BitsPerSample::SAMPLE_F32P); in HWTEST_F()
229 OH_AVFormat_SetIntValue(forma in HWTEST_F()
[all...]
H A DNativeStablityTest.cpp59 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, CHANNEL_COUNT_AAC); in GetAVFormatByEncoder()
60 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE_AAC); in GetAVFormatByEncoder()
61 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_F32LE); in GetAVFormatByEncoder()
62 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, OH_BitsPerSample::SAMPLE_F32LE); in GetAVFormatByEncoder()
64 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_TYPE); in GetAVFormatByEncoder()
67 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, CHANNEL_COUNT_FLAC); in GetAVFormatByEncoder()
68 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE_FLAC); in GetAVFormatByEncoder()
69 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_S16LE); in GetAVFormatByEncoder()
70 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, OH_BitsPerSample::SAMPLE_S16LE); in GetAVFormatByEncoder()
73 OH_AVFormat_SetIntValue(forma in GetAVFormatByEncoder()
[all...]
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/
H A Dconfigure_test.cpp85 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
86 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
87 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F()
88 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, -1); in HWTEST_F()
105 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
106 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
107 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F()
108 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, 0); in HWTEST_F()
125 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
126 (void)OH_AVFormat_SetIntValue(forma in HWTEST_F()
[all...]
H A Dhwh265_hdr2sdr_test.cpp95 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE, in HWTEST_F()
104 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT)); in HWTEST_F()
105 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH)); in HWTEST_F()
106 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE, in HWTEST_F()
124 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE, in HWTEST_F()
126 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_RGBA)); in HWTEST_F()
134 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT)); in HWTEST_F()
135 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH)); in HWTEST_F()
136 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE, in HWTEST_F()
138 ASSERT_EQ(true, OH_AVFormat_SetIntValue(forma in HWTEST_F()
[all...]
H A Dapi_test.cpp223 (void)OH_AVFormat_SetIntValue(format, widthStr.c_str(), DEFAULT_WIDTH); in HWTEST_F()
237 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
238 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
239 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F()
327 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
328 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
329 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F()
525 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
526 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
527 (void)OH_AVFormat_SetIntValue(forma in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/codec_param_checker_test/
H A Dcodec_param_checker_test.cpp111 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH)); in SetFormatBasicParam()
112 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT)); in SetFormatBasicParam()
114 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_PIXEL_FORMAT, ENCODER_PIXEL_FORMAT)); in SetFormatBasicParam()
125 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT)); in HWTEST_F()
126 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_PIXEL_FORMAT, ENCODER_PIXEL_FORMAT)); in HWTEST_F()
138 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT)); in HWTEST_F()
139 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_PIXEL_FORMAT, ENCODER_PIXEL_FORMAT)); in HWTEST_F()
140 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_WIDTH, INT32_MIN)); in HWTEST_F()
152 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT)); in HWTEST_F()
153 ASSERT_EQ(true, OH_AVFormat_SetIntValue(g_forma in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/fuzztest/swdecodersetparameter_fuzzer/
H A Dswdecodersetparameter_fuzzer.cpp49 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()
/foundation/multimedia/av_codec/test/fuzztest/hevcswdecodersetparameter_fuzzer/
H A Dhevcswdecodersetparameter_fuzzer.cpp48 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, intData); in DoSomethingInterestingWithMyAPI()
49 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, intData); in DoSomethingInterestingWithMyAPI()
50 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, intData); in DoSomethingInterestingWithMyAPI()
51 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, intData); in DoSomethingInterestingWithMyAPI()
52 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, intData); in DoSomethingInterestingWithMyAPI()
53 OH_AVFormat_SetIntValue(format, OH_MD_KEY_VIDEO_ENCODE_BITRATE_MODE, intData); in DoSomethingInterestingWithMyAPI()
54 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PROFILE, intData); in DoSomethingInterestingWithMyAPI()
55 OH_AVFormat_SetIntValue(format, OH_MD_KEY_I_FRAME_INTERVAL, intData); in DoSomethingInterestingWithMyAPI()
56 OH_AVFormat_SetIntValue(format, OH_MD_KEY_ROTATION, intData); in DoSomethingInterestingWithMyAPI()
/foundation/multimedia/av_codec/test/fuzztest/encodersetparameter_fuzzer/
H A Dencodersetparameter_fuzzer.cpp53 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()
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/
H A Dfunc_test.cpp196 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_RANGE_FLAG, 1)); in HWTEST_F()
197 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_COLOR_PRIMARIES, OH_ColorPrimary::COLOR_PRIMARY_BT709)); in HWTEST_F()
198 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_TRANSFER_CHARACTERISTICS, in HWTEST_F()
200 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_MATRIX_COEFFICIENTS, in HWTEST_F()
202 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
203 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
204 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_YUVI420); in HWTEST_F()
218 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_I_FRAME_INTERVAL, SECOND)); in HWTEST_F()
219 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
220 (void)OH_AVFormat_SetIntValue(forma in HWTEST_F()
[all...]
H A Dconfigure_test.cpp103 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
105 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F()
106 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, range.maxVal + 1); in HWTEST_F()
111 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, range.minVal - 1); in HWTEST_F()
136 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
138 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F()
139 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, range.maxVal + 1); in HWTEST_F()
144 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, range.minVal - 1); in HWTEST_F()
169 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
171 (void)OH_AVFormat_SetIntValue(forma in HWTEST_F()
[all...]
H A Dapi_test.cpp255 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, 100000); in HWTEST_F()
339 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
381 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
382 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_HEIGHT); in HWTEST_F()
383 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_YUVI420); in HWTEST_F()
519 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
520 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
521 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F()
540 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
541 (void)OH_AVFormat_SetIntValue(forma in HWTEST_F()
[all...]
H A Dvideoenc_api11_sample.cpp107 OH_AVFormat_SetIntValue(parameter, OH_MD_KEY_VIDEO_ENCODER_PER_FRAME_MARK_LTR, 1); in onEncInputParam()
127 OH_AVFormat_SetIntValue(parameter, OH_MD_KEY_VIDEO_ENCODER_PER_FRAME_USE_LTR, useLtrIndex); in onEncInputParam()
130 OH_AVFormat_SetIntValue(parameter, OH_MD_KEY_VIDEO_ENCODER_PER_FRAME_USE_LTR, useLtrIndex); in onEncInputParam()
136 OH_AVFormat_SetIntValue(parameter, OH_MD_KEY_VIDEO_ENCODER_PER_FRAME_USE_LTR, useLtrIndex - sampleInterval); in onEncInputParam()
186 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in ConfigureVideoEncoder()
187 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in ConfigureVideoEncoder()
188 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, DEFAULT_PIX_FMT); in ConfigureVideoEncoder()
190 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_I_FRAME_INTERVAL, DEFAULT_KEY_FRAME_INTERVAL); in ConfigureVideoEncoder()
192 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PROFILE, avcProfile); in ConfigureVideoEncoder()
194 (void)OH_AVFormat_SetIntValue(forma in ConfigureVideoEncoder()
[all...]
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/NativeAPI/
H A DNativeNullCheckTest.cpp155 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); in HWTEST_F()
156 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 44100); in HWTEST_F()
157 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, 4); in HWTEST_F()
200 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); in HWTEST_F()
201 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 44100); in HWTEST_F()
202 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, 4); in HWTEST_F()
234 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, 2); in HWTEST_F()
235 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, 44100); in HWTEST_F()
236 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, 4); in HWTEST_F()
271 OH_AVFormat_SetIntValue(forma in HWTEST_F()
[all...]
H A DNativeFunctionTest.cpp178 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, channelCount); in runDecode()
179 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, sampleRate); in runDecode()
180 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_TYPE); in runDecode()
186 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, channelCount); in runDecode()
187 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, sampleRate); in runDecode()
194 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, channelCount); in runDecode()
195 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, sampleRate); in runDecode()
196 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_S16P); in runDecode()
204 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, AMRWB_CHANNEL_COUNT); in runDecode()
205 OH_AVFormat_SetIntValue(forma in runDecode()
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/fcodec_test/
H A Dvideo_decoder_capi_unit_test.cpp417 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
418 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
425 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
426 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
434 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
435 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
444 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
445 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
453 OH_AVFormat_SetIntValue(format_, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
454 OH_AVFormat_SetIntValue(format in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/
H A DNativeAVMuxerParamCheckTest.cpp179 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_S16LE); in HWTEST_F()
180 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_CHANNEL_COUNT, CHANNEL_COUNT); in HWTEST_F()
181 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F()
182 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_PROFILE, PROFILE); in HWTEST_F()
222 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_S16LE); in HWTEST_F()
223 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_CHANNEL_COUNT, CHANNEL_COUNT); in HWTEST_F()
224 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F()
225 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_PROFILE, PROFILE); in HWTEST_F()
232 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_CHANNEL_COUNT, -1); in HWTEST_F()
282 OH_AVFormat_SetIntValue(trackForma in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiomuxer_fuzzer/
H A Daudio_muxer_demo.cpp268 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, param.sampleRate); in AddTrack()
269 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_CHANNEL_COUNT, param.channels); in AddTrack()
270 OH_AVFormat_SetIntValue(trackFormat, "audio_samples_per_frame", param.frameSize); in AddTrack()
272 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_WIDTH, param.width); in AddTrack()
273 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_HEIGHT, param.height); in AddTrack()
275 OH_AVFormat_SetIntValue(trackFormat, "video_delay", param.videoDelay); in AddTrack()
277 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_COLOR_PRIMARIES, param.colorPrimaries); in AddTrack()
278 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_TRANSFER_CHARACTERISTICS, param.colorTransfer); in AddTrack()
279 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_MATRIX_COEFFICIENTS, param.colorMatrixCoeff); in AddTrack()
280 OH_AVFormat_SetIntValue(trackForma in AddTrack()
[all...]

Completed in 20 milliseconds

12345