Home
last modified time | relevance | path

Searched refs:codedSample (Results 1 - 4 of 4) sorted by relevance

/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/
H A DNativeFuzzTest.cpp180 int32_t codedSample = getIntRand(); in HWTEST_F() local
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()
195 cout << "bits_per_coded_sample is: " << codedSample << ", OH_MD_KEY_BITRATE is: " << bitrate << endl; in HWTEST_F()
247 int32_t codedSample = getIntRand(); in HWTEST_F() local
254 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, codedSample); in HWTEST_F()
255 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, codedSample); in HWTEST_F()
262 cout << "bits_per_coded_sample is: " << codedSample << ", OH_MD_KEY_BITRATE is: " << bitrate << endl; in HWTEST_F()
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/NativeAPI/
H A DNativeFuzzTest.cpp181 int32_t codedSample = getIntRand(); in HWTEST_F() local
187 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, codedSample); in HWTEST_F()
192 cout << "bits_per_coded_sample is: " << codedSample << ", OH_MD_KEY_BITRATE is: " << bitrate << endl; in HWTEST_F()
242 int32_t codedSample = getIntRand(); in HWTEST_F() local
248 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, codedSample); in HWTEST_F()
253 cout << "bits_per_coded_sample is: " << codedSample << ", OH_MD_KEY_BITRATE is: " << bitrate << endl; in HWTEST_F()
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/
H A DInnerFuzzTest.cpp176 int32_t codedSample = getIntRand(); in HWTEST_F() local
184 format.PutIntValue("bits_per_coded_sample", codedSample); in HWTEST_F()
235 int32_t codedSample = getIntRand(); in HWTEST_F() local
243 generalFormat.PutIntValue("bits_per_coded_sample", codedSample); in HWTEST_F()
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Dformat_test.cpp324 int32_t codedSample = 0; in SetAudioParam() local
333 ASSERT_TRUE(OH_AVFormat_GetIntValue(paramFormat, OH_MD_KEY_BITS_PER_CODED_SAMPLE, &codedSample)); in SetAudioParam()
339 ASSERT_EQ(ACTUAL_CODEDSAMPLE, codedSample); in SetAudioParam()
464 int32_t codedSample = 0; in SetOtherAudioParam() local
473 ASSERT_TRUE(OH_AVFormat_GetIntValue(paramFormat, OH_MD_KEY_BITS_PER_CODED_SAMPLE, &codedSample)); in SetOtherAudioParam()
479 ASSERT_EQ(ACTUAL_CODEDSAMPLE, codedSample); in SetOtherAudioParam()

Completed in 5 milliseconds