Home
last modified time | relevance | path

Searched refs:PutIntValue (Results 1 - 25 of 146) sorted by relevance

123456

/foundation/multimedia/av_codec/test/moduletest/audio_encoder/InnerAPI/
H A DInnerFunctionTest.cpp61 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in runEncode()
62 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE_16000); in runEncode()
64 format.PutIntValue(MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE, AudioSampleFormat::SAMPLE_F32LE); in runEncode()
65 format.PutIntValue(MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT, AudioSampleFormat::SAMPLE_F32LE); in runEncode()
67 format.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, 1); in runEncode()
71 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, CHANNEL_COUNT); in runEncode()
72 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE_16000); in runEncode()
74 format.PutIntValue(MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE, AudioSampleFormat::SAMPLE_S32LE); in runEncode()
75 format.PutIntValue(MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT, AudioSampleFormat::SAMPLE_S32LE); in runEncode()
77 format.PutIntValue(MediaDescriptionKe in runEncode()
[all...]
H A DInnerStablityTest.cpp109 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
110 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); in HWTEST_F()
112 format.PutIntValue(MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE, AudioSampleFormat::SAMPLE_F32LE); in HWTEST_F()
113 format.PutIntValue(MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT, AudioSampleFormat::SAMPLE_F32LE); in HWTEST_F()
142 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
143 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); in HWTEST_F()
145 format.PutIntValue(MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE, AudioSampleFormat::SAMPLE_F32LE); in HWTEST_F()
146 format.PutIntValue(MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT, AudioSampleFormat::SAMPLE_F32LE); in HWTEST_F()
179 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
180 format.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
H A DInnerParamCheckTest.cpp109 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
110 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE_44100); in HWTEST_F()
112 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE, AudioSampleFormat::SAMPLE_F32LE); in HWTEST_F()
113 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT, AudioSampleFormat::SAMPLE_F32LE); in HWTEST_F()
115 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, 1); in HWTEST_F()
159 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
160 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE_44100); in HWTEST_F()
162 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE, AudioSampleFormat::SAMPLE_F32LE); in HWTEST_F()
163 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT, AudioSampleFormat::SAMPLE_F32LE); in HWTEST_F()
169 audioParams.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
H A DInnerFuzzTest.cpp178 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, audioChannels); in HWTEST_F()
179 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, audioSampleRate); in HWTEST_F()
181 format.PutIntValue(MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE, audioSampleKey); in HWTEST_F()
182 format.PutIntValue(MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT, audioSampleFormat); in HWTEST_F()
208 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
209 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); in HWTEST_F()
211 format.PutIntValue(MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE, AudioSampleFormat::SAMPLE_F32LE); in HWTEST_F()
212 format.PutIntValue(MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT, AudioSampleFormat::SAMPLE_F32LE); in HWTEST_F()
240 generalFormat.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, audioChannels); in HWTEST_F()
241 generalFormat.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/
H A Dhencoder_unit_test.cpp259 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, 1024); // 1024 width of the video in HWTEST_F()
260 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, 768); // 768 hight of the video in HWTEST_F()
261 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::RGBA)); in HWTEST_F()
263 format.PutIntValue(MediaDescriptionKey::MD_KEY_VIDEO_ENCODE_BITRATE_MODE, VBR); in HWTEST_F()
265 format.PutIntValue(MediaDescriptionKey::MD_KEY_I_FRAME_INTERVAL, 10.0); // 10.0 I-Frame interval in HWTEST_F()
266 format.PutIntValue(MediaDescriptionKey::MD_KEY_PROFILE, AVC_PROFILE_BASELINE); in HWTEST_F()
267 format.PutIntValue("max-bframes", 1); in HWTEST_F()
281 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, 1024); // 1024 width of the video in HWTEST_F()
282 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, 768); // 768 hight of the video in HWTEST_F()
283 format.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
H A Dhdecoder_unit_test.cpp171 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, 1024); in HWTEST_F()
172 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, 768); in HWTEST_F()
173 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F()
174 format.PutIntValue(MediaDescriptionKey::MD_KEY_MAX_INPUT_SIZE, 1000000); in HWTEST_F()
175 format.PutIntValue(OHOS::Media::Tag::VIDEO_ENABLE_LOW_LATENCY, 1); in HWTEST_F()
176 format.PutIntValue(MediaDescriptionKey::MD_KEY_SCALE_TYPE, 0); in HWTEST_F()
190 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, 1024); in HWTEST_F()
191 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, 768); in HWTEST_F()
192 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F()
194 format.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/
H A DInnerFunctionTest.cpp84 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, CHANNEL_COUNT); in runDecode()
85 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE); in runDecode()
87 format.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_IS_ADTS); in runDecode()
94 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, CHANNEL_COUNT); in runDecode()
95 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE); in runDecode()
104 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, CHANNEL_COUNT); in runDecode()
105 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE); in runDecode()
107 format.PutIntValue(MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE, BITS_PER_CODED_SAMPLE); in runDecode()
114 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, CHANNEL_COUNT); in runDecode()
115 format.PutIntValue(MediaDescriptionKe in runDecode()
[all...]
H A DInnerStablityTest.cpp118 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
119 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); in HWTEST_F()
151 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
152 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); in HWTEST_F()
185 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
186 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); in HWTEST_F()
219 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
220 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); in HWTEST_F()
252 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
253 format.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
H A DInnerFuzzTest.cpp182 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, audioChannels); in HWTEST_F()
183 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, audioSampleRate); in HWTEST_F()
184 format.PutIntValue("bits_per_coded_sample", codedSample); in HWTEST_F()
217 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
218 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); in HWTEST_F()
219 format.PutIntValue("bits_per_coded_sample", 4); in HWTEST_F()
241 generalFormat.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, audioChannels); in HWTEST_F()
242 generalFormat.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, audioSampleRate); in HWTEST_F()
243 generalFormat.PutIntValue("bits_per_coded_sample", codedSample); in HWTEST_F()
266 format.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
H A DInnerParamCheckTest.cpp147 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
148 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); in HWTEST_F()
164 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_BITRATE, 0); in HWTEST_F()
201 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
202 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); in HWTEST_F()
208 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, -1); in HWTEST_F()
255 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1); in HWTEST_F()
256 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); in HWTEST_F()
262 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, -1); in HWTEST_F()
313 audioParams.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/audio_test/
H A Daudio_decoder_codecbase_unit_test.cpp235 format_.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, MAX_CHANNEL_COUNT); in ProceMp3Func()
236 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceMp3Func()
249 format_.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, MAX_CHANNEL_COUNT); in ProceFlacFunc()
250 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceFlacFunc()
263 format_.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, MAX_CHANNEL_COUNT); in ProceAacFunc()
264 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceAacFunc()
266 format_.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_TYPE); in ProceAacFunc()
278 format_.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, MAX_CHANNEL_COUNT); in ProceOpusFunc()
279 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceOpusFunc()
294 format_.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
H A Daudio_decoder_inner_unit_test.cpp217 format_.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, MAX_CHANNEL_COUNT); in ProceMp3Func()
218 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceMp3Func()
231 format_.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, MAX_CHANNEL_COUNT); in ProceFlacFunc()
232 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceFlacFunc()
245 format_.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, MAX_CHANNEL_COUNT); in ProceOpusFunc()
246 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceOpusFunc()
258 format_.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, MAX_CHANNEL_COUNT); in ProceAacFunc()
259 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceAacFunc()
261 format_.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_TYPE); in ProceAacFunc()
286 format_.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/
H A Dvideoenc_temporal_scalability_unit_test.cpp162 format_->PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH_VENC); in SetFormatWithParam()
163 format_->PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT_VENC); in SetFormatWithParam()
164 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in SetFormatWithParam()
230 format_->PutIntValue(Media::Tag::VIDEO_ENCODER_ENABLE_TEMPORAL_SCALABILITY, 0); in HWTEST_P()
249 format_->PutIntValue(Media::Tag::VIDEO_ENCODER_TEMPORAL_GOP_SIZE, -1); in HWTEST_P()
250 format_->PutIntValue(Media::Tag::VIDEO_ENCODER_TEMPORAL_GOP_REFERENCE_MODE, 3); in HWTEST_P()
271 format_->PutIntValue(Media::Tag::VIDEO_ENCODER_ENABLE_TEMPORAL_SCALABILITY, 2); in HWTEST_P()
272 format_->PutIntValue(Media::Tag::VIDEO_ENCODER_TEMPORAL_GOP_SIZE, 2); in HWTEST_P()
273 format_->PutIntValue(Media::Tag::VIDEO_ENCODER_TEMPORAL_GOP_REFERENCE_MODE, in HWTEST_P()
295 format_->PutIntValue(Medi in HWTEST_P()
[all...]
H A Dvideoenc_func_unit_test.cpp256 format_->PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH_VENC); in SetFormatWithParam()
257 format_->PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT_VENC); in SetFormatWithParam()
258 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in SetFormatWithParam()
504 format_->PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH_VENC); in HWTEST_F()
505 format_->PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT_VENC); in HWTEST_F()
506 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F()
722 format_->PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH_VENC); in HWTEST_F()
723 format_->PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT_VENC); in HWTEST_F()
724 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F()
739 format_->PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
H A Dvideodec_hdrvivid2sdr_unit_test.cpp171 format_->PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in SetFormatWithParam()
172 format_->PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in SetFormatWithParam()
173 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in SetFormatWithParam()
178 format_->PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in SetHDRFormat()
179 format_->PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in SetHDRFormat()
180 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV21)); in SetHDRFormat()
185 format_->PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in SetAVCFormat()
186 format_->PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in SetAVCFormat()
187 format_->PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::RGBA)); in SetAVCFormat()
227 format_->PutIntValue(MediaDescriptionKe in ConfigureHdrVivid2Sdr()
[all...]
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/InnerAPI/
H A Dapi_test.cpp242 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
243 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
244 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F()
262 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
263 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
264 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F()
283 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
284 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
285 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F()
305 format.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dtester_codecbase.cpp155 fmt.PutIntValue("frame_rate_adaptive_mode", 1); in EnableHighPerf()
162 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, opt_.dispW); in ConfigureEncoder()
163 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, opt_.dispH); in ConfigureEncoder()
164 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(opt_.pixFmt)); in ConfigureEncoder()
167 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_RANGE_FLAG, opt_.rangeFlag.value()); in ConfigureEncoder()
170 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_COLOR_PRIMARIES, opt_.primary.value()); in ConfigureEncoder()
173 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_TRANSFER_CHARACTERISTICS, opt_.transfer.value()); in ConfigureEncoder()
176 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_MATRIX_COEFFICIENTS, opt_.matrix.value()); in ConfigureEncoder()
179 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_I_FRAME_INTERVAL, opt_.iFrameInterval.value()); in ConfigureEncoder()
182 fmt.PutIntValue(MediaDescriptionKe in ConfigureEncoder()
[all...]
/foundation/multimedia/media_foundation/tests/unittest/format/inner/
H A Davformat_inner_mock.cpp21 bool AVFormatInnerMock::PutIntValue(const std::string_view &key, int32_t value) in PutIntValue() function in OHOS::Media::AVFormatInnerMock
23 return format_.PutIntValue(key, value); in PutIntValue()
98 format_.PutIntValue(Tag::AUDIO_SAMPLE_RATE, sampleRate); in InitAudioTrackFormat()
99 format_.PutIntValue(Tag::AUDIO_CHANNEL_COUNT, channelCount); in InitAudioTrackFormat()
105 format_.PutIntValue(Tag::VIDEO_WIDTH, width); in InitVideoTrackFormat()
106 format_.PutIntValue(Tag::VIDEO_HEIGHT, height); in InitVideoTrackFormat()
/foundation/multimedia/av_codec/test/unittest/codeclist_test/coverage_unit_test/
H A Dcodeclist_core_coverage_unit_test.cpp71 format_.PutIntValue(Tag::VIDEO_WIDTH, 4096); // 4096: valid parameter in SetUp()
72 format_.PutIntValue(Tag::VIDEO_HEIGHT, 4096); // 4096: valid parameter in SetUp()
73 format_.PutIntValue(Tag::VIDEO_PIXEL_FORMAT, 1); in SetUp()
150 format.PutIntValue(Tag::VIDEO_WIDTH, 17); // 17: invalid parameter in HWTEST_F()
151 format.PutIntValue(Tag::VIDEO_HEIGHT, 17); // 17: invalid parameter in HWTEST_F()
187 format.PutIntValue(Tag::VIDEO_PIXEL_FORMAT, -1); // -1: invalid parameter in HWTEST_F()
248 format_.PutIntValue(Tag::AUDIO_CHANNEL_COUNT, channelCount); in HWTEST_F()
261 format_.PutIntValue(Tag::AUDIO_CHANNEL_COUNT, channelCount); in HWTEST_F()
285 format_.PutIntValue(SAMPLE_RATE, samplerate); in HWTEST_F()
298 format_.PutIntValue(SAMPLE_RAT in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/common/common_mock/avformat/inner/
H A Davformat_inner_mock.cpp22 bool AVFormatInnerMock::PutIntValue(const std::string_view &key, int32_t value) in PutIntValue() function in OHOS::MediaAVCodec::AVFormatInnerMock
24 return format_.PutIntValue(key, value); in PutIntValue()
100 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, sampleRate); in InitAudioTrackFormat()
101 format_.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, channelCount); in InitAudioTrackFormat()
107 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, width); in InitVideoTrackFormat()
108 format_.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, height); in InitVideoTrackFormat()
116 format_.PutIntValue(MediaDescriptionKey::MD_KEY_TIMED_METADATA_SRC_TRACK_ID, srcTrackID); in InitMetadataTrackFormat()
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/InnerAPI/
H A Dapi_test.cpp248 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
249 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
267 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
268 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
287 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
288 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
308 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
309 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
330 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
331 format.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/media_manager/
H A Dmpeg_manager.cpp179 videoFormat.PutIntValue(Tag::VIDEO_COLOR_RANGE, static_cast<int32_t>(codecInfo.colorRange)); in InitVideoCodec()
180 videoFormat.PutIntValue(Tag::VIDEO_COLOR_PRIMARIES, static_cast<int32_t>(codecInfo.colorPrimary)); in InitVideoCodec()
181 videoFormat.PutIntValue(Tag::VIDEO_COLOR_TRC, static_cast<int32_t>(codecInfo.colorTransferCharacter)); in InitVideoCodec()
182 videoFormat.PutIntValue(Tag::MEDIA_LEVEL, codecInfo.level); in InitVideoCodec()
183 videoFormat.PutIntValue(Tag::MEDIA_PROFILE, codecInfo.profile); in InitVideoCodec()
185 videoFormat.PutIntValue(Tag::VIDEO_ENCODE_BITRATE_MODE, codecInfo.bitMode); in InitVideoCodec()
186 videoFormat.PutIntValue(Tag::VIDEO_PIXEL_FORMAT, static_cast<int32_t>(PixelFormat::PIX_FMT_NV12)); in InitVideoCodec()
190 videoFormat.PutIntValue(Tag::VIDEO_WIDTH, codecInfo.width); in InitVideoCodec()
191 videoFormat.PutIntValue(Tag::VIDEO_HEIGHT, codecInfo.height); in InitVideoCodec()
192 videoFormat.PutIntValue(Ta in InitVideoCodec()
[all...]
/foundation/multimedia/av_codec/test/unittest/avmuxer_test/
H A Davmuxer_unit_test.cpp281 audioParams->PutIntValue(OH_MD_KEY_AUD_SAMPLE_RATE, TEST_SAMPLE_RATE); in HWTEST_F()
282 audioParams->PutIntValue(OH_MD_KEY_AUD_CHANNEL_COUNT, TEST_CHANNEL_COUNT); in HWTEST_F()
288 audioParams->PutIntValue(OH_MD_KEY_AUD_SAMPLE_RATE, TEST_SAMPLE_RATE); in HWTEST_F()
289 audioParams->PutIntValue(OH_MD_KEY_AUD_CHANNEL_COUNT, TEST_CHANNEL_COUNT); in HWTEST_F()
295 audioParams->PutIntValue(OH_MD_KEY_AUD_CHANNEL_COUNT, TEST_CHANNEL_COUNT); in HWTEST_F()
301 audioParams->PutIntValue(OH_MD_KEY_AUD_SAMPLE_RATE, TEST_SAMPLE_RATE); in HWTEST_F()
323 videoParams->PutIntValue(OH_MD_KEY_WIDTH, TEST_WIDTH); in HWTEST_F()
324 videoParams->PutIntValue(OH_MD_KEY_HEIGHT, TEST_HEIGHT); in HWTEST_F()
330 videoParams->PutIntValue(OH_MD_KEY_WIDTH, TEST_WIDTH); in HWTEST_F()
331 videoParams->PutIntValue(OH_MD_KEY_HEIGH in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_server_test/
H A Dcodec_server_coverage_unit_test.h61 validFormat_.PutIntValue(Tag::VIDEO_WIDTH, DEFAULT_WIDTH); in SetUp()
62 validFormat_.PutIntValue(Tag::VIDEO_HEIGHT, DEFAULT_HEIGHT); in SetUp()
63 validFormat_.PutIntValue(Tag::VIDEO_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUVI420)); in SetUp()
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/InnerAPI/
H A Dapi_test.cpp150 format.PutIntValue(MediaDescriptionKey::MD_KEY_BITRATE, 100000); in HWTEST_F()
166 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, 1080); in HWTEST_F()
167 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, 1080); in HWTEST_F()
168 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::YUVI420)); in HWTEST_F()
221 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
222 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
223 format.PutIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, static_cast<int32_t>(VideoPixelFormat::NV12)); in HWTEST_F()
240 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F()
241 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F()
242 format.PutIntValue(MediaDescriptionKe in HWTEST_F()
[all...]

Completed in 19 milliseconds

123456