Home
last modified time | relevance | path

Searched refs:PutLongValue (Results 1 – 25 of 55) sorted by relevance

123

/foundation/multimedia/av_codec/test/moduletest/audio_encoder/InnerAPI/
DInnerFunctionTest.cpp63 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_128000); in runEncode()
66 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); in runEncode()
73 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_112000); in runEncode()
76 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, STEREO); in runEncode()
106 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_128000);
109 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
143 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
146 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, STEREO);
149 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, CH_7POINT1);
152 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, UNKNOWN_CHANNEL_LAYOUT);
[all …]
DInnerStablityTest.cpp111 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000);
114 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
144 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000);
147 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
181 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000);
184 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
220 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000);
223 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
257 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000);
260 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
[all …]
DInnerParamCheckTest.cpp111 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_112000);
114 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
131 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, -1);
171 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_112000);
174 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
191 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE, 0);
229 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_112000);
232 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
249 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT, 0);
286 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_112000);
[all …]
DInnerFuzzTest.cpp180 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate);
183 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, audioChannelLayout);
210 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000);
213 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
242 generalFormat.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate);
245 generalFormat.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, audioChannelLayout);
267 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000);
270 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
334 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000);
337 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO);
[all …]
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/
DInnerFunctionTest.cpp86 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, BITS_RATE); in runDecode()
96 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, BITS_RATE); in runDecode()
106 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, BITS_RATE); in runDecode()
116 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, BITS_RATE); in runDecode()
145 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 128000);
177 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 40000);
208 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 45000);
239 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 199000);
270 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 128000);
302 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
[all …]
DInnerStablityTest.cpp116 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
149 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
183 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
217 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
250 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
283 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
316 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
353 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 128000);
386 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 128000);
416 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 128000);
[all …]
DInnerParamCheckTest.cpp122 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
130 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, -1);
176 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
194 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 0);
230 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
248 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 0);
288 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
334 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
383 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
431 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
DInnerFuzzTest.cpp185 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate);
216 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
244 generalFormat.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate);
268 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 169000);
331 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 169000);
385 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 169000);
/foundation/multimedia/av_codec/test/unittest/audio_test/
Daudio_decoder_codecbase_unit_test.cpp187 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); in ProceMp3Func()
201 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); in ProceFlacFunc()
215 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); in ProceAacFunc()
241 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
252 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
273 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
330 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
365 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
391 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
418 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
[all …]
Daudio_decoder_inner_unit_test.cpp197 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); in ProceMp3Func()
211 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); in ProceFlacFunc()
225 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); in ProceAacFunc()
250 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
261 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
282 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
339 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
374 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
400 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
419 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE);
[all …]
/foundation/multimedia/player_framework/test/unittest/avcodec_test/native/avformat/
Davformat_native_mock.cpp55 bool AVFormatNativeMock::PutLongValue(const std::string_view &key, int64_t value) in PutLongValue() function in OHOS::Media::AVFormatNativeMock
57 return format_.PutLongValue(key, value); in PutLongValue()
Davformat_native_mock.h33 bool PutLongValue(const std::string_view &key, int64_t value) override;
/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/
DInnerAVMuxerDemo.cpp75 trackFormat.PutLongValue(OH_AV_KEY_BIT_RATE, BIT_RATE); in AddTrack()
80 trackFormat.PutLongValue(OH_AV_KEY_AUDIO_CHANNEL_MASK, A_CH_MASK_STEREO); in AddTrack()
DFFmpegAVMuxerDemo.cpp84 trackFormat.PutLongValue(OH_AV_KEY_BIT_RATE, BIT_RATE); in AddTrack()
89 trackFormat.PutLongValue(OH_AV_KEY_AUDIO_CHANNEL_MASK, A_CH_MASK_STEREO); in AddTrack()
/foundation/multimedia/av_codec/test/unittest/format_test/inner/
Davformat_inner_mock.cpp56 bool AVFormatInnerMock::PutLongValue(const std::string_view &key, int64_t value) in PutLongValue() function in OHOS::MediaAVCodec::AVFormatInnerMock
58 return format_.PutLongValue(key, value); in PutLongValue()
Davformat_inner_mock.h33 bool PutLongValue(const std::string_view &key, int64_t value) override;
/foundation/multimedia/av_codec/test/moduletest/muxer/InnerAPI/
DInnerAVMuxerFuzzTest.cpp145 mediaParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate);
182 mediaParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
254 mediaParams->PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate); in HwTest_AddTrack()
/foundation/multimedia/av_codec/test/moduletest/muxer/FFmpegAPI/
DFFmpegAVMuxerFuzzTest.cpp146 mediaParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate);
182 mediaParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
DFFmpegAVMuxerParamCheckTest.cpp152 trackDesc.PutLongValue(MediaDescriptionKey::MD_KEY_CODEC_MIME, 0);
205 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 0);
257 trackDesc.PutLongValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 0);
326 trackDesc.PutLongValue(MediaDescriptionKey::MD_KEY_CODEC_MIME, 0);
380 trackDesc.PutLongValue(MediaDescriptionKey::MD_KEY_WIDTH, 0);
432 trackDesc.PutLongValue(MediaDescriptionKey::MD_KEY_HEIGHT, 0);
/foundation/multimedia/av_codec/test/unittest/format_test/capi/
Davformat_capi_mock.h34 bool PutLongValue(const std::string_view &key, int64_t value) override;
/foundation/multimedia/av_codec/interfaces/inner_api/native/
Dformat.h85 bool PutLongValue(const std::string_view &key, int64_t value);
/foundation/multimedia/media_utils_lite/interfaces/kits/
Dformat.h250 bool PutLongValue(const std::string &key, int64_t value);
/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/
Dhencoder_unit_test.cpp211 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate
250 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate
268 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate
366 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate
383 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate
416 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 0); // invalid bit rate
483 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate
516 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate
575 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate in ConfigureAvcEncoder()
591 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate in ConfigureHevcEncoder()
/foundation/multimedia/av_codec/test/unittest/format_test/
Davformat_mock.h36 virtual bool PutLongValue(const std::string_view &key, int64_t value) = 0;
/foundation/multimedia/av_codec/services/services/sa_avcodec/ipc/
Davcodec_parcel.cpp73 (void)format.PutLongValue(key, parcel.ReadInt64()); in Unmarshalling()

123