Home
last modified time | relevance | path

Searched refs:streamInfo (Results 1 – 25 of 43) sorted by relevance

12

/test/xts/hats/hdf/camera/cameraMg/v1_0/src/
Dhdi_stream_uttest.cpp55 cameraTest->streamInfo = std::make_shared<StreamInfo>();
56 cameraTest->streamInfo->streamId_ = 101;
57 cameraTest->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
58 cameraTest->streamInfo->height_ = 480;
59 cameraTest->streamInfo->width_ = 640;
60 cameraTest->streamInfo->dataspace_ = 8;
64 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t si… in __anon39891d000102()
68 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8);
69 cameraTest->consumerMap_[cameraTest->streamInfo->intent_] = consumer;
70 cameraTest->streamInfo->intent_ = PREVIEW;
[all …]
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/
Dcamera_preview_test.cpp84 StreamInfo streamInfo = {}; variable
85 streamInfo.streamId_ = 1001;
86 streamInfo.width_ = 640; // 640:picture width
87 streamInfo.height_ = 480; // 480:picture height
88 streamInfo.format_ = -1;
89 streamInfo.dataspace_ = 10; // 10:picture dataspace
90 streamInfo.intent_ = PREVIEW;
91 streamInfo.tunneledMode_ = 5; // 5:tunnel mode
92 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer);
93 ASSERT_NE(streamInfo.bufferQueue_, nullptr);
[all …]
Dcamera_video_test.cpp34 void CameraVideoTest::SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &… in SetStreamInfo() argument
44 streamInfo.width_ = PREVIEW_WIDTH; in SetStreamInfo()
45 streamInfo.height_ = PREVIEW_HEIGHT; in SetStreamInfo()
47 streamInfo.width_ = WIDTH; in SetStreamInfo()
48 streamInfo.height_ = HEIGHT; in SetStreamInfo()
49 streamInfo.encodeType_ = ENCODE_TYPE_JPEG; in SetStreamInfo()
51 streamInfo.width_ = WIDTH; in SetStreamInfo()
52 streamInfo.height_ = HEIGHT; in SetStreamInfo()
53 streamInfo.encodeType_ = ENCODE_TYPE_H264; in SetStreamInfo()
55 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in SetStreamInfo()
[all …]
Ddouble_preview_test.cpp36 void DoublePreviewTest::SetStreamInfo(StreamInfo &streamInfo, in SetStreamInfo() argument
45 streamInfo.width_ = PREVIEW_WIDTH; in SetStreamInfo()
46 streamInfo.height_ = PREVIEW_HEIGHT; in SetStreamInfo()
47 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in SetStreamInfo()
49 streamInfo.streamId_ = streamId; in SetStreamInfo()
50 streamInfo.dataspace_ = DATA_SPACE; in SetStreamInfo()
51 streamInfo.intent_ = intent; in SetStreamInfo()
52 streamInfo.tunneledMode_ = TUNNEL_MODE; in SetStreamInfo()
54 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in SetStreamInfo()
55 ASSERT_NE(streamInfo.bufferQueue_, nullptr); in SetStreamInfo()
[all …]
Dcamera_capture_test.cpp294 display_->streamInfo.streamId_ = 1001;
295 display_->streamInfo.width_ = 1280; // picture width
296 display_->streamInfo.height_ = 960; // picture height
297 display_->streamInfo.format_ = PIXEL_FMT_RGBA_8888;
298 display_->streamInfo.dataspace_ = 8; // picture dataspace
299 display_->streamInfo.intent_ = STILL_CAPTURE;
300 display_->streamInfo.tunneledMode_ = 5; // tunnel mode
301 display_->streamInfo.encodeType_ = ENCODE_TYPE_JPEG;
302 display_->streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer);
303 ASSERT_NE(display_->streamInfo.bufferQueue_, nullptr);
[all …]
Dusb_camera_test.cpp891 StreamInfo streamInfo = {}; variable
892 streamInfo.streamId_ = display_->STREAM_ID_PREVIEW;
893 streamInfo.width_ = 1280; // 1280:picture width
894 streamInfo.height_ = 720; // 720:picture height
895 streamInfo.format_ = PIXEL_FMT_RGBA_8888;
896 streamInfo.dataspace_ = 8; // 8:picture dataspace
897 streamInfo.intent_ = PREVIEW;
898 streamInfo.tunneledMode_ = 5; // 5:tunnel mode
899streamInfo.bufferQueue_ = new BufferProducerSequenceable(display_->streamCustomerPreview_->CreateP…
900 ASSERT_NE(streamInfo.bufferQueue_, nullptr);
[all …]
Dtest_display.cpp104 StreamInfo streamInfo = {}; in StartStreamUpdate() local
105 streamInfo.streamId_ = STREAM_ID_PREVIEW; in StartStreamUpdate()
106 streamInfo.width_ = wide; // 320:picture width in StartStreamUpdate()
107 streamInfo.height_ = hight; // 240:picture height in StartStreamUpdate()
108 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in StartStreamUpdate()
109 streamInfo.dataspace_ = 8; // 8:picture dataspace in StartStreamUpdate()
110 streamInfo.intent_ = PREVIEW; in StartStreamUpdate()
111 streamInfo.tunneledMode_ = 5; // 5:tunnel mode in StartStreamUpdate()
112 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in StartStreamUpdate()
113 ASSERT_NE(streamInfo.bufferQueue_, nullptr); in StartStreamUpdate()
[all …]
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/
Dhdi_stream_uttest.cpp155 cameraTest->streamInfo = std::make_shared<StreamInfo>();
156 cameraTest->streamInfo->streamId_ = -1;
157 cameraTest->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
158 cameraTest->streamInfo->height_ = 480;
159 cameraTest->streamInfo->width_ = 640;
160 cameraTest->streamInfo->dataspace_ = 8;
164 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void *addr, uint32_t siz… in __anon35e33d580102()
168 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8);
169 cameraTest->consumerMap_[cameraTest->streamInfo->intent_] = consumer;
170 cameraTest->streamInfo->intent_ = PREVIEW;
[all …]
/test/xts/acts/multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/
DAudioCapturerInterrupt.test.js155 let streamInfo = { variable
180 streamInfo: AudioStreamInfo, property
228 streamInfo: AudioStreamInfo, property
300 …ole.info('capturerInfo[MIC] is ' + capturerInfo['MIC'] + 'streamInfo[16000]' + streamInfo['16000'])
301 let capture1 = await createAudioCapturer(capturerInfo['MIC'], streamInfo['16000'])
310 let capture2 = await createAudioCapturer(capturerInfo['MIC'], streamInfo['16000'])
340 let capture1 = await createAudioCapturer(capturerInfo['MIC'], streamInfo['16000'])
347 … let capture2 = await createAudioCapturer(capturerInfo['VOICE_RECOGNITION'], streamInfo['16000'])
370 let capture1 = await createAudioCapturer(capturerInfo['MIC'], streamInfo['16000'])
377 … let capture2 = await createAudioCapturer(capturerInfo['VOICE_COMMUNICATION'], streamInfo['16000'])
[all …]
DAudioRenderCapturerInterrupt.test.js154 let streamInfo = { variable
179 streamInfo: AudioStreamInfo, property
227 streamInfo: AudioStreamInfo, property
299 … let render = await createAudioRenderer(renderInfo['VOICE_ASSISTANT'], streamInfo['44100'])
307 let capture = await createAudioCapturer(capturerInfo['MIC'], streamInfo['16000'])
335 … let render = await createAudioRenderer(renderInfo['VOICE_ASSISTANT'], streamInfo['44100'])
343 … let capture = await createAudioCapturer(capturerInfo['PLAYBACK_CAPTURE'], streamInfo['16000'])
373 … let render = await createAudioRenderer(renderInfo['VOICE_ASSISTANT'], streamInfo['44100'])
381 … let capture = await createAudioCapturer(capturerInfo['VOICE_COMMUNICATION'], streamInfo['16000'])
409 … let render = await createAudioRenderer(renderInfo['VOICE_ASSISTANT'], streamInfo['44100'])
[all …]
DAudioCapturer.test.js497 let sampleFormat = AudioRendererOptions.streamInfo.sampleFormat;
604 streamInfo: AudioStreamInfo, property
634 streamInfo: AudioStreamInfo, property
663 streamInfo: AudioStreamInfo, property
692 streamInfo: AudioStreamInfo, property
722 streamInfo: AudioStreamInfo, property
751 streamInfo: AudioStreamInfo, property
787 streamInfo: AudioStreamInfo, property
824 streamInfo: AudioStreamInfo, property
863 streamInfo: AudioStreamInfo, property
[all …]
DAudioPlaybackCapturer.test.js208 let sampleFormat = AudioCapturerOptions.streamInfo.sampleFormat;
306 let sampleFormat = AudioCapturerOptions.streamInfo.sampleFormat;
406 let sampleFormat = AudioCapturerOptions.streamInfo.sampleFormat;
513 let sampleFormat = AudioCapturerOptions.streamInfo.sampleFormat;
637 streamInfo: audioStreamInfo, property
659 streamInfo: AudioStreamInfo, property
698 streamInfo: audioStreamInfo, property
720 streamInfo: AudioStreamInfo, property
759 streamInfo: audioStreamInfo, property
781 streamInfo: AudioStreamInfo1, property
[all …]
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/
Dhdf_camera_benchmark_test.cpp448 cameraTest->streamInfo = std::make_shared<StreamInfo>(); in BENCHMARK_F()
449 cameraTest->streamInfo->streamId_ = 101; in BENCHMARK_F()
450 cameraTest->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP; in BENCHMARK_F()
451 cameraTest->streamInfo->height_ = 480; in BENCHMARK_F()
452 cameraTest->streamInfo->width_ = 640; in BENCHMARK_F()
453 cameraTest->streamInfo->dataspace_ = 8; in BENCHMARK_F()
457 …cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t si… in BENCHMARK_F()
461 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8); in BENCHMARK_F()
462 cameraTest->consumerMap_[cameraTest->streamInfo->intent_] = consumer; in BENCHMARK_F()
463 cameraTest->streamInfo->intent_ = PREVIEW; in BENCHMARK_F()
[all …]
/test/xts/acts/multimedia/audio/audio_js_standard/audioRenderer/src/main/ets/test/
DAudioRenderInterrupt.test.ets117 let streamInfo = {
136 streamInfo: AudioStreamInfo,
220 let render1 = await createAudioRenderer(renderInfo['MUSIC'], streamInfo['44100'],done)
230 let render2 = await createAudioRenderer(renderInfo['MUSIC'], streamInfo['48000'],done)
253 let render1 = await createAudioRenderer(renderInfo['MUSIC'], streamInfo['44100'],done)
265 let render2 = await createAudioRenderer(renderInfo['VOICE_CALL'], streamInfo['48000'],done)
284 let render1 = await createAudioRenderer(renderInfo['MUSIC'], streamInfo['44100'],done)
296 let render2 = await createAudioRenderer(renderInfo['RINGTONE'], streamInfo['48000'],done)
315 let render1 = await createAudioRenderer(renderInfo['MUSIC'], streamInfo['44100'],done)
327 … let render2 = await createAudioRenderer(renderInfo['VOICE_ASSISTANT'], streamInfo['48000'],done)
[all …]
DAudioRenderer.test.ets191 let sampleFormat = AudioRendererOptions.streamInfo.sampleFormat;
352 let sampleFormat = AudioRendererOptions.streamInfo.sampleFormat;
476 let sampleFormat = AudioRendererOptions.streamInfo.sampleFormat;
617 let sampleFormat = AudioRendererOptions.streamInfo.sampleFormat;
734 let sampleFormat = AudioRendererOptions.streamInfo.sampleFormat;
850 let sampleFormat = AudioRendererOptions.streamInfo.sampleFormat;
956 let sampleFormat = AudioRendererOptions.streamInfo.sampleFormat;
1051 let sampleFormat = AudioRendererOptions.streamInfo.sampleFormat;
1147 let sampleFormat = AudioRendererOptions.streamInfo.sampleFormat;
1242 let sampleFormat = AudioRendererOptions.streamInfo.sampleFormat;
[all …]
DAudioEffect.test.ets37 streamInfo: {
198 let sr = audioRendererOptionsList[index].streamInfo.samplingRate;
199 let chn = audioRendererOptionsList[index].streamInfo.channels;
252 let sr = audioRendererOptionsList[index].streamInfo.samplingRate;
253 let chn = audioRendererOptionsList[index].streamInfo.channels;
328 let sr = audioRendererOptionsList[index].streamInfo.samplingRate;
329 let chn = audioRendererOptionsList[index].streamInfo.channels;
1127 streamInfo: audioStreamInfo,
1174 streamInfo: audioStreamInfo,
1221 streamInfo: audioStreamInfo,
[all …]
/test/xts/acts/multimedia/audio/audio_js_standard/AudioRendererChangeInfo/src/main/js/test/
DAudioRendererChangeInfo.test.js75 streamInfo: AudioStreamInfo, property
159 streamInfo: AudioStreamInfo, property
244 streamInfo: AudioStreamInfo, property
329 streamInfo: AudioStreamInfo, property
414 streamInfo: AudioStreamInfo, property
505 streamInfo: AudioStreamInfo, property
573 streamInfo: AudioStreamInfo, property
641 streamInfo: AudioStreamInfo, property
709 streamInfo: AudioStreamInfo, property
777 streamInfo: AudioStreamInfo, property
[all …]
/test/xts/acts/multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/src/main/js/test/
DAudioCapturerChangeInfo.test.js102 streamInfo: AudioStreamInfo, property
165 streamInfo: AudioStreamInfo, property
233 streamInfo: AudioStreamInfo, property
317 streamInfo: AudioStreamInfo, property
400 streamInfo: AudioStreamInfo, property
452 streamInfo: AudioStreamInfo, property
523 streamInfo: AudioStreamInfo, property
574 streamInfo: AudioStreamInfo, property
626 streamInfo: AudioStreamInfo, property
683 streamInfo: AudioStreamInfo, property
[all …]
/test/xts/dcts/distributedhardware/distributedcameratest/
Ddcamera_hdf_demo.cpp38 void DcameraHdfDemo::SetStreamInfo(StreamInfo& streamInfo, in SetStreamInfo() argument
49 streamInfo.width_ = width; in SetStreamInfo()
50 streamInfo.height_ = height; in SetStreamInfo()
55 streamInfo.width_ = width; in SetStreamInfo()
56 streamInfo.height_ = height; in SetStreamInfo()
57 streamInfo.encodeType_ = CAMERA_CAPTURE_ENCODE_TYPE; in SetStreamInfo()
64 streamInfo.width_ = width; in SetStreamInfo()
65 streamInfo.height_ = height; in SetStreamInfo()
66 streamInfo.encodeType_ = CAMERA_VIDEO_ENCODE_TYPE; in SetStreamInfo()
73 streamInfo.streamId_ = streamId; in SetStreamInfo()
[all …]
/test/xts/hats/hdf/camera/cameraHdi/v4l2/include/
Dcamera_video_test.h29 … void SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &streamCustomer,
Ddouble_preview_test.h36 void SetStreamInfo(StreamInfo &streamInfo,
/test/xts/acts/multimedia/audio/audio_js_standard/AudioCapturereEnhance/src/main/ets/test/
DOnOffInputDeviceChange.test.ets87 streamInfo: AudioStreamInfo,
134 streamInfo: AudioStreamInfo,
181 streamInfo: AudioStreamInfo,
228 streamInfo: AudioStreamInfo,
275 streamInfo: AudioStreamInfo,
322 streamInfo: AudioStreamInfo,
DOnOffAudioCapturerChange.test.ets206 streamInfo: AudioStreamInfo,
254 streamInfo: AudioStreamInfo,
302 streamInfo: AudioStreamInfo,
349 streamInfo: AudioStreamInfo,
397 streamInfo: AudioStreamInfo,
445 streamInfo: AudioStreamInfo,
493 streamInfo: AudioStreamInfo,
549 streamInfo: AudioStreamInfo,
608 streamInfo: AudioStreamInfo,
667 streamInfo: AudioStreamInfo,
/test/xts/acts/multimedia/audio/audio_js_standard/audioVoip/src/main/js/test/
DAudioVOIP.test.js423 streamInfo: AudioStreamInfo, property
459 streamInfo: AudioStreamInfo, property
494 streamInfo: AudioStreamInfoCap, property
512 streamInfo: AudioStreamInfoRen, property
/test/xts/acts/validator/acts_validator/src/main/ets/pages/model/
DAudioRenderer.ts43 streamInfo: audioStreamInfo,

12