/test/xts/hats/hdf/camera/cameraMg/v1_0/src/ |
D | hdi_stream_uttest.cpp | 55 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/ |
D | camera_preview_test.cpp | 84 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 …]
|
D | camera_video_test.cpp | 34 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 …]
|
D | double_preview_test.cpp | 36 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 …]
|
D | camera_capture_test.cpp | 294 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 …]
|
D | usb_camera_test.cpp | 891 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 899 …streamInfo.bufferQueue_ = new BufferProducerSequenceable(display_->streamCustomerPreview_->CreateP… 900 ASSERT_NE(streamInfo.bufferQueue_, nullptr); [all …]
|
D | test_display.cpp | 104 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/ |
D | hdi_stream_uttest.cpp | 155 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/ |
D | AudioCapturerInterrupt.test.js | 155 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 …]
|
D | AudioRenderCapturerInterrupt.test.js | 154 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 …]
|
D | AudioCapturer.test.js | 497 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 …]
|
D | AudioPlaybackCapturer.test.js | 208 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/ |
D | hdf_camera_benchmark_test.cpp | 448 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/ |
D | AudioRenderInterrupt.test.ets | 117 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 …]
|
D | AudioRenderer.test.ets | 191 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 …]
|
D | AudioEffect.test.ets | 37 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/ |
D | AudioRendererChangeInfo.test.js | 75 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/ |
D | AudioCapturerChangeInfo.test.js | 102 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/ |
D | dcamera_hdf_demo.cpp | 38 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/ |
D | camera_video_test.h | 29 … void SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &streamCustomer,
|
D | double_preview_test.h | 36 void SetStreamInfo(StreamInfo &streamInfo,
|
/test/xts/acts/multimedia/audio/audio_js_standard/AudioCapturereEnhance/src/main/ets/test/ |
D | OnOffInputDeviceChange.test.ets | 87 streamInfo: AudioStreamInfo, 134 streamInfo: AudioStreamInfo, 181 streamInfo: AudioStreamInfo, 228 streamInfo: AudioStreamInfo, 275 streamInfo: AudioStreamInfo, 322 streamInfo: AudioStreamInfo,
|
D | OnOffAudioCapturerChange.test.ets | 206 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/ |
D | AudioVOIP.test.js | 423 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/ |
D | AudioRenderer.ts | 43 streamInfo: audioStreamInfo,
|