/test/xts/hats/hdf/camera/cameraMg/v1_0/src/ |
H A D | hdi_stream_uttest.cpp | 55 cameraTest->streamInfo = std::make_shared<StreamInfo>();
in HWTEST_F() 56 cameraTest->streamInfo->streamId_ = 101;
in HWTEST_F() 57 cameraTest->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
in HWTEST_F() 58 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 59 cameraTest->streamInfo->width_ = 640;
in HWTEST_F() 60 cameraTest->streamInfo->dataspace_ = 8;
in HWTEST_F() 64 cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t size) {
in HWTEST_F() 68 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8);
in HWTEST_F() 69 cameraTest->consumerMap_[cameraTest->streamInfo->intent_] = consumer;
in HWTEST_F() 70 cameraTest->streamInfo in HWTEST_F() [all...] |
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/ |
H A D | camera_preview_test.cpp | 84 StreamInfo streamInfo = {}; in HWTEST_F() local 85 streamInfo.streamId_ = 1001; in HWTEST_F() 86 streamInfo.width_ = 640; // 640:picture width in HWTEST_F() 87 streamInfo.height_ = 480; // 480:picture height in HWTEST_F() 88 streamInfo.format_ = -1; in HWTEST_F() 89 streamInfo.dataspace_ = 10; // 10:picture dataspace in HWTEST_F() 90 streamInfo.intent_ = PREVIEW; in HWTEST_F() 91 streamInfo.tunneledMode_ = 5; // 5:tunnel mode in HWTEST_F() 92 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in HWTEST_F() 93 ASSERT_NE(streamInfo in HWTEST_F() 203 StreamInfo streamInfo = {}; HWTEST_F() local 257 StreamInfo streamInfo = {}; HWTEST_F() local 300 StreamInfo streamInfo = {}; HWTEST_F() local 354 StreamInfo streamInfo = {}; HWTEST_F() local 398 StreamInfo streamInfo = {}; HWTEST_F() local 441 StreamInfo streamInfo = {}; HWTEST_F() local 485 StreamInfo streamInfo = {}; HWTEST_F() local 614 StreamInfo streamInfo = {}; HWTEST_F() local 669 StreamInfo streamInfo = {}; HWTEST_F() local 722 StreamInfo streamInfo = {}; HWTEST_F() local 766 StreamInfo streamInfo = {}; HWTEST_F() local 811 StreamInfo streamInfo = {}; HWTEST_F() local 853 StreamInfo streamInfo = {}; HWTEST_F() local 893 StreamInfo streamInfo = {}; HWTEST_F() local 961 StreamInfo streamInfo = {}; HWTEST_F() local 1017 StreamInfo streamInfo = {}; HWTEST_F() local 1086 std::shared_ptr<StreamInfo> streamInfo = std::make_shared<StreamInfo>(); HWTEST_F() local 1105 std::shared_ptr<StreamInfo> streamInfo = std::make_shared<StreamInfo>(); HWTEST_F() local 1135 StreamInfo streamInfo = {}; HWTEST_F() local 1193 StreamInfo streamInfo = {}; HWTEST_F() local 1354 StreamInfo streamInfo = {}; HWTEST_F() local [all...] |
H A D | camera_video_test.cpp | 34 void CameraVideoTest::SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &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 in SetStreamInfo() 68 StreamInfo streamInfo = {}; CreateStream() local [all...] |
H A 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 in SetStreamInfo() 61 StreamInfo streamInfo = {}; CreateStream() local [all...] |
H A D | camera_capture_test.cpp | 294 display_->streamInfo.streamId_ = 1001; in HWTEST_F() 295 display_->streamInfo.width_ = 1280; // picture width in HWTEST_F() 296 display_->streamInfo.height_ = 960; // picture height in HWTEST_F() 297 display_->streamInfo.format_ = PIXEL_FMT_RGBA_8888; in HWTEST_F() 298 display_->streamInfo.dataspace_ = 8; // picture dataspace in HWTEST_F() 299 display_->streamInfo.intent_ = STILL_CAPTURE; in HWTEST_F() 300 display_->streamInfo.tunneledMode_ = 5; // tunnel mode in HWTEST_F() 301 display_->streamInfo.encodeType_ = ENCODE_TYPE_JPEG; in HWTEST_F() 302 display_->streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in HWTEST_F() 303 ASSERT_NE(display_->streamInfo in HWTEST_F() [all...] |
H A D | usb_camera_test.cpp | 891 StreamInfo streamInfo = {}; in HWTEST_F() local 892 streamInfo.streamId_ = display_->STREAM_ID_PREVIEW; in HWTEST_F() 893 streamInfo.width_ = 1280; // 1280:picture width in HWTEST_F() 894 streamInfo.height_ = 720; // 720:picture height in HWTEST_F() 895 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in HWTEST_F() 896 streamInfo.dataspace_ = 8; // 8:picture dataspace in HWTEST_F() 897 streamInfo.intent_ = PREVIEW; in HWTEST_F() 898 streamInfo.tunneledMode_ = 5; // 5:tunnel mode in HWTEST_F() 899 streamInfo.bufferQueue_ = new BufferProducerSequenceable(display_->streamCustomerPreview_->CreateProducer()); in HWTEST_F() 900 ASSERT_NE(streamInfo in HWTEST_F() 1047 StreamInfo streamInfo = {}; HWTEST_F() local 1194 StreamInfo streamInfo = {}; HWTEST_F() local [all...] |
H A 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 in StartStreamUpdate() [all...] |
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/ |
H A D | hdi_stream_uttest.cpp | 156 cameraTest->streamInfo = std::make_shared<StreamInfo>();
in HWTEST_F() 157 cameraTest->streamInfo->streamId_ = -1;
in HWTEST_F() 158 cameraTest->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
in HWTEST_F() 159 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 160 cameraTest->streamInfo->width_ = 640;
in HWTEST_F() 161 cameraTest->streamInfo->dataspace_ = 8;
in HWTEST_F() 165 cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void *addr, uint32_t size) {
in HWTEST_F() 169 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8);
in HWTEST_F() 170 cameraTest->consumerMap_[cameraTest->streamInfo->intent_] = consumer;
in HWTEST_F() 171 cameraTest->streamInfo in HWTEST_F() [all...] |
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/ |
H A D | hdf_camera_benchmark_test.cpp | 446 cameraTest->streamInfo = std::make_shared<StreamInfo>();
in BENCHMARK_F() 447 cameraTest->streamInfo->streamId_ = 101;
in BENCHMARK_F() 448 cameraTest->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
in BENCHMARK_F() 449 cameraTest->streamInfo->height_ = 480;
in BENCHMARK_F() 450 cameraTest->streamInfo->width_ = 640;
in BENCHMARK_F() 451 cameraTest->streamInfo->dataspace_ = 8;
in BENCHMARK_F() 455 cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t size) {
in BENCHMARK_F() 459 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8);
in BENCHMARK_F() 460 cameraTest->consumerMap_[cameraTest->streamInfo->intent_] = consumer;
in BENCHMARK_F() 461 cameraTest->streamInfo in BENCHMARK_F() [all...] |
/test/xts/dcts/distributedhardware/distributedcameratest/ |
H A D | dcamera_hdf_demo.cpp | 39 void DcameraHdfDemo::SetStreamInfo(StreamInfo& streamInfo,
in SetStreamInfo() argument 50 streamInfo.width_ = width;
in SetStreamInfo() 51 streamInfo.height_ = height;
in SetStreamInfo() 56 streamInfo.width_ = width;
in SetStreamInfo() 57 streamInfo.height_ = height;
in SetStreamInfo() 58 streamInfo.encodeType_ = CAMERA_CAPTURE_ENCODE_TYPE;
in SetStreamInfo() 65 streamInfo.width_ = width;
in SetStreamInfo() 66 streamInfo.height_ = height;
in SetStreamInfo() 67 streamInfo.encodeType_ = CAMERA_VIDEO_ENCODE_TYPE;
in SetStreamInfo() 74 streamInfo in SetStreamInfo() 195 StreamInfo streamInfo = {0}; CreateStreamInfo() local [all...] |
H A D | dcamera_hdf_demo.h | 119 void SetStreamInfo(StreamInfo& streamInfo,
|
/test/xts/hats/hdf/camera/cameraHdi/v4l2/include/ |
H A D | double_preview_test.h | 36 void SetStreamInfo(StreamInfo &streamInfo,
|
H A D | camera_video_test.h | 29 void SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &streamCustomer,
|
H A D | test_display.h | 112 StreamInfo streamInfo = {}; member in TestDisplay
|
/test/xts/acts/multimedia/av_codec/audio_decoder/src/ |
H A D | avcodec_audio_avbuffer_decoder_demo.cpp | 682 rendererOptions.streamInfo.samplingRate = AudioSamplingRate(sampleRate_Get); in CreatDeMuxer() 683 rendererOptions.streamInfo.encoding = AudioEncodingType::ENCODING_AUDIOVIVID; in CreatDeMuxer() 684 rendererOptions.streamInfo.format = OHOS::AudioStandard::AudioSampleFormat::SAMPLE_S16LE; in CreatDeMuxer() 685 rendererOptions.streamInfo.channels = AudioChannel(channelNum_Get); in CreatDeMuxer()
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/include/ |
H A D | common.h | 68 std::shared_ptr<StreamInfo> streamInfo = nullptr;
member in OHOS::Camera::Test
|
/test/xts/hats/hdf/camera/cameraMg/v1_0/include/ |
H A D | common.h | 67 std::shared_ptr<StreamInfo> streamInfo = nullptr;
member in OHOS::Camera::Test
|
/test/xts/hats/hdf/camera/cameraMg/v1_1/include/ |
H A D | hdi_common_v1_1.h | 91 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfo = nullptr;
member in OHOS::Camera::Test
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/include/ |
H A D | hdi_common_v1_1.h | 91 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfo = nullptr; member in OHOS::Camera::Test
|
/test/xts/hats/hdf/camera/cameraMg/v1_2/include/ |
H A D | hdi_common_v1_2.h | 135 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfo = nullptr;
member in OHOS::Camera::Test
|
/test/xts/hats/hdf/camera/cameraMg/v1_3/include/ |
H A D | hdi_common_v1_3.h | 125 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfo = nullptr;
member in OHOS::Camera::Test
|