Home
last modified time | relevance | path

Searched refs:PutIntValue (Results 1 – 25 of 164) sorted by relevance

1234567

/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/InnerAPI/
H A DInnerFunctionTest.cpp67 format.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, 1); in runEncode()
104 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
110 format.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, 1);
161 format.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, 1);
197 format.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, 1);
353 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
354 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
359 format.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, 1);
384 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
385 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
[all …]
H A DInnerStablityTest.cpp109 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
110 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
142 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
143 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
179 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
180 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
218 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
219 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
255 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
291 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
[all …]
H A DInnerParamCheckTest.cpp109 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
115 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, 1);
159 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
217 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
274 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
292 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, 0);
326 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
379 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
389 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, -1);
397 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 0);
[all …]
H A DInnerFuzzTest.cpp178 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, audioChannels);
179 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, audioSampleRate);
208 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
209 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
240 generalFormat.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, audioChannels);
265 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
266 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
332 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
333 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
390 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/
H A DInnerFunctionTest.cpp146 format.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, 1);
240 format.PutIntValue("bits_per_coded_sample", 24);
334 format.PutIntValue("bits_per_coded_sample", 24);
365 format.PutIntValue("bits_per_coded_sample", 4);
461 format.PutIntValue("bits_per_coded_sample", 24);
522 format.PutIntValue("bits_per_coded_sample", 24);
545 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
548 format.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, 1);
604 format.PutIntValue("bits_per_coded_sample", 24);
651 format.PutIntValue(MediaDescriptionKey::MD_KEY_AAC_IS_ADTS, 1);
[all …]
H A DInnerStablityTest.cpp118 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
119 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000);
151 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
152 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000);
185 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
186 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000);
219 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
252 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
285 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
318 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
[all …]
H A DInnerFuzzTest.cpp184 format.PutIntValue("bits_per_coded_sample", codedSample);
217 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
218 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000);
219 format.PutIntValue("bits_per_coded_sample", 4);
266 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
267 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
269 format.PutIntValue("bits_per_coded_sample", 4);
329 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
332 format.PutIntValue("bits_per_coded_sample", 4);
383 format.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
[all …]
H A DInnerParamCheckTest.cpp147 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
148 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000);
164 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_BITRATE, 0);
201 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
208 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, -1);
255 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
262 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, -1);
313 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
359 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
408 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 1);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/
H A Dhencoder_unit_test.cpp267 format.PutIntValue("max-bframes", 1);
288 format.PutIntValue(MediaDescriptionKey::MD_KEY_PROFILE, AVC_PROFILE_HIGH);
289 format.PutIntValue("max-bframes", 1);
310 format.PutIntValue(MediaDescriptionKey::MD_KEY_PROFILE, HEVC_PROFILE_MAIN);
331 format.PutIntValue(MediaDescriptionKey::MD_KEY_PROFILE, HEVC_PROFILE_MAIN);
528 format.PutIntValue(MediaDescriptionKey::MD_KEY_QUALITY, 10);
567 format.PutIntValue(MediaDescriptionKey::MD_KEY_QUALITY, -1);
788 format.PutIntValue(MediaDescriptionKey::MD_KEY_PROFILE, AVC_PROFILE_HIGH);
789 format.PutIntValue(MediaDescriptionKey::MD_KEY_RANGE_FLAG, 1);
853 format.PutIntValue("profile", OMX_VIDEO_AVCProfileHigh); in ConfigureAvcEncoder()
[all …]
H A Dhdecoder_unit_test.cpp171 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, 1024);
172 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, 768);
190 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, 1024);
191 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, 768);
208 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, 768);
223 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, 1024);
238 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, 1024);
239 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, 768);
253 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, 1024);
254 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, 768);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/
H A Dvideodec_hdrvivid2sdr_unit_test.cpp270 format->PutIntValue(OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE,
295 format_->PutIntValue(OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE,
322 format->PutIntValue(OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE,
348 format_->PutIntValue(OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE,
376 format->PutIntValue(OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE,
401 format_->PutIntValue(OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE,
428 format->PutIntValue(OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE,
457 format_->PutIntValue(OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE,
502 format->PutIntValue(OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE,
683 format->PutIntValue(OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE,
[all …]
H A Dvideoenc_func_unit_test.cpp1020 param->PutIntValue(Tag::VIDEO_COORDINATE_X, -1);
1021 param->PutIntValue(Tag::VIDEO_COORDINATE_Y, 11);
1048 param->PutIntValue(Tag::VIDEO_COORDINATE_X, 10);
1049 param->PutIntValue(Tag::VIDEO_COORDINATE_Y, 11);
1076 param->PutIntValue(Tag::VIDEO_COORDINATE_Y, 11);
1111 param->PutIntValue(Tag::VIDEO_COORDINATE_X, 10);
1112 param->PutIntValue(Tag::VIDEO_COORDINATE_Y, 11);
1137 param->PutIntValue(Tag::VIDEO_COORDINATE_X, 10);
1138 param->PutIntValue(Tag::VIDEO_COORDINATE_Y, 11);
1163 param->PutIntValue(Tag::VIDEO_COORDINATE_X, 10);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/audio_test/
H A Daudio_decoder_codecbase_unit_test.cpp302 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
324 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
406 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
442 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
469 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
553 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
574 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
789 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
811 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
856 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
[all …]
H A Daudio_decoder_inner_unit_test.cpp286 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
308 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
386 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
421 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
447 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
518 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
539 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
749 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
776 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
1043 format_.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
[all …]
/ohos5.0/base/telephony/call_manager/services/telephony_interaction/src/
H A Dcall_status_callback.cpp164 resultInfo.PutIntValue("result", result); in StartDtmfResult()
173 resultInfo.PutIntValue("result", result); in StopDtmfResult()
182 resultInfo.PutIntValue("result", result); in SendUssdResult()
203 resultInfo.PutIntValue("result", result); in GetImsCallDataResult()
226 resultInfo.PutIntValue("result", result); in UpdateSetWaitingResult()
248 resultInfo.PutIntValue("result", result); in UpdateSetRestrictionResult()
257 resultInfo.PutIntValue("result", result); in UpdateSetRestrictionPasswordResult()
284 resultInfo.PutIntValue("result", result); in UpdateSetTransferResult()
317 resultInfo.PutIntValue("result", result); in UpdateSetCallClirResult()
326 resultInfo.PutIntValue("result", result); in StartRttResult()
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/InnerAPI/
H A Dapi_test.cpp242 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
243 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT);
262 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
263 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT);
283 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
284 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT);
305 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
328 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
371 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
393 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dtester_codecbase.cpp172 fmt.PutIntValue("frame_rate_adaptive_mode", 1); in EnableHighPerf()
179 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, opt_.dispW); in ConfigureEncoder()
180 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, opt_.dispH); in ConfigureEncoder()
184 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_RANGE_FLAG, opt_.rangeFlag.value()); in ConfigureEncoder()
199 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_PROFILE, opt_.profile.value()); in ConfigureEncoder()
208 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_QUALITY, opt_.quality.value()); in ConfigureEncoder()
228 fmt.PutIntValue(OHOS::Media::Tag::VIDEO_ENCODER_QP_MIN, opt_.qpRange->qpMin); in ConfigureEncoder()
229 fmt.PutIntValue(OHOS::Media::Tag::VIDEO_ENCODER_QP_MAX, opt_.qpRange->qpMax); in ConfigureEncoder()
530 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, opt_.dispW); in ConfigureDecoder()
531 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, opt_.dispH); in ConfigureDecoder()
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/InnerAPI/
H A Dapi_test.cpp248 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
249 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT);
267 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
268 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT);
287 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
288 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, DEFAULT_HEIGHT);
308 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
330 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
357 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
378 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
[all …]
/ohos5.0/base/telephony/call_manager/frameworks/native/src/
H A Dcall_ability_callback_stub.cpp142 resultInfo.PutIntValue("result", data.ReadInt32()); in OnUpdateAysncResults()
146 resultInfo.PutIntValue("status", data.ReadInt32()); in OnUpdateAysncResults()
150 resultInfo.PutIntValue("status", data.ReadInt32()); in OnUpdateAysncResults()
151 resultInfo.PutIntValue("classx", data.ReadInt32()); in OnUpdateAysncResults()
153 resultInfo.PutIntValue("type", data.ReadInt32()); in OnUpdateAysncResults()
154 resultInfo.PutIntValue("reason", data.ReadInt32()); in OnUpdateAysncResults()
155 resultInfo.PutIntValue("time", data.ReadInt32()); in OnUpdateAysncResults()
158 resultInfo.PutIntValue("action", data.ReadInt32()); in OnUpdateAysncResults()
162 resultInfo.PutIntValue("action", data.ReadInt32()); in OnUpdateAysncResults()
170 resultInfo.PutIntValue("value", data.ReadInt32()); in OnUpdateAysncResults()
[all …]
/ohos5.0/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
151 format.PutIntValue(Tag::VIDEO_HEIGHT, 17); // 17: invalid parameter
248 format_.PutIntValue(Tag::AUDIO_CHANNEL_COUNT, channelCount);
261 format_.PutIntValue(Tag::AUDIO_CHANNEL_COUNT, channelCount);
285 format_.PutIntValue(SAMPLE_RATE, samplerate);
298 format_.PutIntValue(SAMPLE_RATE, samplerate);
363 format_.PutIntValue(CODEC_VENDOR_FLAG, vendorFlag);
[all …]
/ohos5.0/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.colorTransferCharacte… 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(Tag::VIDEO_ROTATION, codecInfo.rotation); in InitVideoCodec()
/ohos5.0/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()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avmuxer_test/
H A Davmuxer_unit_test.cpp323 videoParams->PutIntValue(OH_MD_KEY_WIDTH, TEST_WIDTH);
330 videoParams->PutIntValue(OH_MD_KEY_WIDTH, TEST_WIDTH);
412 avParam->PutIntValue(OH_MD_KEY_WIDTH, TEST_WIDTH);
413 avParam->PutIntValue(OH_MD_KEY_HEIGHT, TEST_HEIGHT);
480 avParam->PutIntValue(OH_MD_KEY_WIDTH, TEST_WIDTH);
481 avParam->PutIntValue(OH_MD_KEY_HEIGHT, TEST_HEIGHT);
521 videoParam->PutIntValue(OH_MD_KEY_HEIGHT, -1);
525 videoParam->PutIntValue(OH_MD_KEY_WIDTH, -1);
540 videoParam->PutIntValue(OH_MD_KEY_WIDTH, 0xFFFF);
541 videoParam->PutIntValue(OH_MD_KEY_HEIGHT, 0xFFFF);
[all …]
/ohos5.0/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()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/InnerAPI/
H A Dapi_test.cpp150 format.PutIntValue(MediaDescriptionKey::MD_KEY_BITRATE, 100000);
166 format.PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, 1080);
167 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, 1080);
221 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
240 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
260 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
281 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
303 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
339 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
360 format.PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, DEFAULT_WIDTH);
[all …]

1234567