Home
last modified time | relevance | path

Searched refs:format_ (Results 1 - 25 of 71) sorted by relevance

123

/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/
H A Dfork_node.cpp46 if (out->format_.streamId_ != in->format_.streamId_) { in Start()
47 id = out->format_.streamId_; in Start()
48 bufferPoolId = out->format_.bufferPoolId_; in Start()
49 CAMERA_LOGI("fork buffer get buffer streamId = %{public}d", out->format_.streamId_); in Start()
171 CAMERA_LOGI("PcForkNode::Capture in->format_.streamId_ = %{public}d", in->format_.streamId_); in Capture()
172 if (streamId == in->format_.streamId_) { in Capture()
204 if (it->format_.streamId_ == streamId_) { in DrainForkBufferPool()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/fork_node/
H A Dfork_node.cpp47 if (out->format_.streamId_ != in->format_.streamId_) { in Start()
48 id = out->format_.streamId_; in Start()
49 bufferPoolId = out->format_.bufferPoolId_; in Start()
50 CAMERA_LOGI("fork buffer get buffer streamId = %{public}d", out->format_.streamId_); in Start()
183 CAMERA_LOGI("ForkNode::Capture in->format_.streamId_ = %{public}d", in->format_.streamId_); in Capture()
184 if (streamId == in->format_.streamId_) { in Capture()
255 if (it->format_.streamId_ == streamId_) { in DrainForkBufferPool()
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
H A Dallocator.cpp52 DISPLAY_LOGD("format is %{public}d", bufferInfo.format_); in UpdatePixelInfo()
53 if (IsYuv(bufferInfo.format_)) { in UpdatePixelInfo()
56 switch (bufferInfo.format_) { in UpdatePixelInfo()
76 DISPLAY_LOGE("the format can not support %{public}d", bufferInfo.format_); in UpdatePixelInfo()
100 switch (bufferInfo.format_) { in UpdateYuvStrideAndSize()
124 if (IsYuv(bufferInfo.format_)) { in UpdateStrideAndSize()
136 bufferInfo.format_ = info.format; in ConvertToBufferInfo()
168 priBuffer->format = bufferInfo.format_; in AllocMem()
H A Dallocator.h53 PixelFormat format_ = PIXEL_FMT_BUTT; member
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/strategy/
H A Dstream_pipeline_strategy.cpp76 format = peerPort->format_; in SetUpBasicOutPortFormat()
90 format = (*outPort).format_; in SetUpBasicInPortFormat()
103 .format_ = hostStreamInfo.format_, in SetPortFormat()
159 .format_ = format, in SetNodeSpec()
203 n.name_.c_str(), it.info_.name_.c_str(), it.format_.w_, it.format_.h_, it.format_.format_, in PrintConnection()
204 it.format_ in PrintConnection()
[all...]
/drivers/peripheral/camera/hdi_service/v1_0/src/
H A Dcamera_service_type_converter.cpp25 dst.format_ = src.format_; in ConvertStreamInfoHdiToVdi()
77 dst.format_ = src.format_; in ConvertStreamInfoVdiToHdi()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/builder/
H A Dstream_pipeline_builder.cpp63 vectorSize.push_back(portSpec.format_.w_); in Build()
64 vectorSize.push_back(portSpec.format_.h_); in Build()
72 re = peerPort->SetFormat(portSpec.format_); in Build()
75 re = port->SetFormat(portSpec.format_); in Build()
/drivers/peripheral/camera/test/mpi/src/
H A Dresolution_test.cpp61 Test_->streamInfo_pre->format_ = IMAGE_PIXEL_FORMAT_NV21; in HWTEST_F()
63 Test_->streamInfo_pre->format_ = PIXEL_FMT_YCRCB_420_SP; in HWTEST_F()
88 Test_->streamInfo_capture->format_ = IMAGE_PIXEL_FORMAT_NV21; in HWTEST_F()
90 Test_->streamInfo_capture->format_ = PIXEL_FMT_YCRCB_420_SP; in HWTEST_F()
166 Test_->streamInfo_pre->format_ = IMAGE_PIXEL_FORMAT_NV21; in HWTEST_F()
168 Test_->streamInfo_pre->format_ = PIXEL_FMT_YCRCB_420_SP; in HWTEST_F()
194 Test_->streamInfo_video->format_ = IMAGE_PIXEL_FORMAT_NV21; in HWTEST_F()
196 Test_->streamInfo_video->format_ = PIXEL_FMT_YCRCB_420_SP; in HWTEST_F()
273 Test_->streamInfo_pre->format_ = IMAGE_PIXEL_FORMAT_NV21; in HWTEST_F()
275 Test_->streamInfo_pre->format_ in HWTEST_F()
[all...]
H A Dcommon.cpp58 streamInfo->format_ = IMAGE_PIXEL_FORMAT_NV21; in StreamInfoFormat()
60 streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP; in StreamInfoFormat()
308 streamInfo_video->format_ = IMAGE_PIXEL_FORMAT_NV21; in StartStream()
310 streamInfo_video->format_ = PIXEL_FMT_YCRCB_420_SP; in StartStream()
338 streamInfo_capture->format_ = IMAGE_PIXEL_FORMAT_NV21; in StartStream()
340 streamInfo_capture->format_ = PIXEL_FMT_YCRCB_420_SP; in StartStream()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/include/
H A Dstream_pipeline_data_structure.h38 int32_t format_; variable
48 PortFormat format_;
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/
H A Ddimage_buffer.cpp48 return format_; in GetFormat()
137 format_ = format; in SetFormat()
224 format_ = OHOS_CAMERA_FORMAT_INVALID; in Free()
H A Ddstream_operator.cpp78 info.streamId_, info.width_, info.height_, info.format_, info.dataspace_, info.encodeType_); in CreateStreams()
100 dcStreamInfo->height_, dcStreamInfo->format_, dcStreamInfo->dataspace_, dcStreamInfo->encodeType_); in CreateStreams()
177 dstStreamInfo.format_ = streamInfo.second->format_; in ExtractStreamInfo()
326 streamInfo.format_ < 0 || in IsStreamInfosInvalid()
373 capture.format_ = captureInfo->format_; in ExtractCaptureInfo()
978 if (srcInfo.format_ == PIXEL_FMT_RGBA_8888) { in ConvertStreamInfo()
979 dstInfo->format_ = OHOS_CAMERA_FORMAT_RGBA_8888; in ConvertStreamInfo()
980 } else if (srcInfo.format_ in ConvertStreamInfo()
[all...]
H A Ddcamera_stream.cpp28 (info.format_ < 0) || (info.dataspace_ < 0)) { in InitDCameraStream()
37 dcStreamInfo_->format_ = info.format_; in InitDCameraStream()
47 dcStreamAttribute_.overrideFormat_ = dcStreamInfo_->format_; in InitDCameraStream()
195 .format = dcStreamInfo_->format_, in GetNextRequest()
/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dstream_operator/
H A Ddstream_operator_test.cpp129 streamInfo.format_ = PIXEL_FMT_YCRCB_420_SP; in HWTEST_F()
159 streamInfo.format_ = PIXEL_FMT_YCRCB_420_SP; in HWTEST_F()
185 streamInfo.format_ = PIXEL_FMT_YCRCB_420_SP; in HWTEST_F()
219 streamInfo.format_ = PIXEL_FMT_YCRCB_420_SP; in HWTEST_F()
256 streamInfo.format_ = PIXEL_FMT_YCRCB_420_SP; in HWTEST_F()
290 streamInfo.format_ = PIXEL_FMT_YCRCB_420_SP; in HWTEST_F()
331 streamInfo.format_ = PIXEL_FMT_YCRCB_420_SP; in HWTEST_F()
/drivers/peripheral/camera/test/ut/v4l2/
H A Dhdi_interfaces_test.cpp64 cameraBase->streamInfo->format_ = CAMERA_FORMAT_YUYV_422_PKG; in TEST_F()
117 cameraBase->streamInfo->format_ = CAMERA_FORMAT_YUYV_422_PKG; in TEST_F()
162 streamInfo->format_ = CAMERA_FORMAT_YUYV_422_PKG; in TEST_F()
208 cameraBase->streamInfo->format_ = CAMERA_FORMAT_YUYV_422_PKG; in TEST_F()
252 cameraBase->streamInfo->format_ = CAMERA_FORMAT_YUYV_422_PKG; in TEST_F()
306 cameraBase->streamInfo->format_ = CAMERA_FORMAT_YUYV_422_PKG; in TEST_F()
350 cameraBase->streamInfo->format_ = CAMERA_FORMAT_YUYV_422_PKG; in TEST_F()
394 cameraBase->streamInfo->format_ = -1; in TEST_F()
438 cameraBase->streamInfo->format_ = INVALID_VALUE_TEST; in TEST_F()
492 cameraBase->streamInfo->format_ in TEST_F()
[all...]
H A Dcamera_preview_test.cpp65 streamInfo.format_ = -1; in HWTEST_F()
108 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in HWTEST_F()
162 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in HWTEST_F()
204 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in HWTEST_F()
307 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in HWTEST_F()
361 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in HWTEST_F()
413 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in HWTEST_F()
457 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in HWTEST_F()
501 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in HWTEST_F()
543 streamInfo.format_ in HWTEST_F()
[all...]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/host_stream/include/
H A Dhost_stream_data_structure.h27 int32_t format_; member
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/merge_node/
H A Dmerge_node.cpp92 return port->format_.bufferPoolId_ != fs->bufferPoolId_; in DealSecondBuffer()
127 return it->format_.bufferPoolId_ == fs->bufferPoolId_; in MergeBuffers()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/pipeline_core/nodes/v4l2_source_node/
H A Dv4l2_source_node.cpp80 static_cast<OHOS::Camera::CameraBufferFormat>(it->format_.format_)); in Start()
86 int bufCnt = it->format_.bufferCount_; in Start()
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
H A Dimage_buffer.cpp36 format_ = format; in ImageBuffer()
76 return format_; in GetFormat()
224 format_ = format; in SetFormat()
389 format_ = CAMERA_FORMAT_INVALID; in Free()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/
H A Dbuffer_operator.h83 uint32_t format_ = CAMERA_FORMAT_INVALID; member in OHOS::Camera::MyBuffer
132 return format_; in GetFormat()
246 format_ = format; in SetFormat()
382 format_ = CAMERA_FORMAT_INVALID; in Free()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/node_base/
H A Dnode_base.cpp24 format_ = format; in SetFormat()
30 format = format_; in GetFormat()
237 [&buffer](const auto &port) { return port->format_.bufferPoolId_ == buffer->GetPoolId(); }); in DeliverBuffer()
253 [&buffers](const auto &port) { return port->format_.bufferPoolId_ == buffers[0]->GetPoolId(); }); in DeliverBuffers()
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraconfigurestreams_fuzzer/
H A Ddcameraconfigurestreams_fuzzer.cpp54 streamInfo.format_ = *(reinterpret_cast<const int*>(data)); in DcameraConfigureStreamsFuzzTest()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/
H A Dv4l2_uvc.h66 std::vector<DeviceFormat> format_; member in OHOS::Camera::HosV4L2UVC
/drivers/peripheral/camera/vdi_base/interfaces/v1_0/
H A Dvdi_types.h115 int32_t format_; member

Completed in 14 milliseconds

123