Home
last modified time | relevance | path

Searched refs:height_ (Results 1 - 25 of 74) sorted by relevance

123

/drivers/peripheral/distributed_camera/hdi_service/include/utils/
H A Dconstants.h126 int32_t height_; member
128 DCResolution() : width_(0), height_(0) {} in DCResolution()
130 DCResolution(int32_t width, int32_t height) : width_(width), height_(height) {} in DCResolution()
134 return (this->width_ == others.width_) && (this->height_ == others.height_); in operator ==()
140 (this->width_ == others.width_ && this->height_ < others.height_); in operator <()
/drivers/peripheral/camera/hdi_service/v1_0/src/
H A Dcamera_service_type_converter.cpp24 dst.height_ = src.height_; in ConvertStreamInfoHdiToVdi()
38 dst.height_ = src.height_; in ConvertStreamAttributeHdiToVdi()
76 dst.height_ = src.height_; in ConvertStreamInfoVdiToHdi()
90 dst.height_ = src.height_; in ConvertStreamAttributeVdiToHdi()
/drivers/peripheral/camera/vdi_base/interfaces/v1_0/
H A Dvdi_types.h114 int32_t height_; member
127 int32_t height_; member
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/
H A Ddcamera_stream.cpp27 if ((info.streamId_ < 0) || (info.width_ < 0) || (info.height_ < 0) || in InitDCameraStream()
36 dcStreamInfo_->height_ = info.height_; in InitDCameraStream()
46 dcStreamAttribute_.height_ = dcStreamInfo_->height_; in InitDCameraStream()
193 .height = dcStreamInfo_->height_, in GetNextRequest()
326 .damage = { .x = 0, .y = 0, .w = dcStreamInfo_->width_, .h = dcStreamInfo_->height_ }, in FlushDCameraBuffer()
360 int32_t size = (dcStreamInfo_->width_) * (dcStreamInfo_->height_) * YUV_WIDTH_RATIO / YUV_HEIGHT_RATIO; in SetSurfaceBuffer()
H A Ddimage_buffer.cpp38 return height_; in GetHeight()
123 height_ = height; in SetHeight()
222 height_ = 0; 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()
175 dstStreamInfo.height_ = streamInfo.second->height_; in ExtractStreamInfo()
324 streamInfo.height_ < 0 || in IsStreamInfosInvalid()
325 streamInfo.height_ > (STREAM_WIDTH_MAX_SIZE * STREAM_HEIGHT_MAX_SIZE) || in IsStreamInfosInvalid()
371 capture.height_ = captureInfo->height_; in ExtractCaptureInfo()
972 dstInfo->height_ = srcInfo.height_; in ConvertStreamInfo()
[all...]
/drivers/peripheral/codec/test/demo/v2.0/src/
H A Dcodec_hdi_encode.cpp48 height_ = 0; in CodecHdiEncode()
90 this->height_ = opt.height; in Init()
93 HDF_LOGI("width[%{public}d], height[%{public}d]", width_, height_); in Init()
287 bufferSize = width_ * height_; in UseBufferOnPort()
288 HDF_LOGI("bufferSize[%{public}d], width[%{public}d], height[%{public}d]", bufferSize, width_, height_); in UseBufferOnPort()
564 .height = this->height_, in CreateBufferHandle()
613 return (width_ * height_ * 3 / 2); // 3:byte alignment, 2:byte alignment in GetInputBufferSize()
615 return (width_ * height_ * 4); // 4: byte alignment for RGBA or BGRA in GetInputBufferSize()
676 param.format.video.nFrameHeight = height_; in ConfigPortDefine()
678 param.format.video.nSliceHeight = height_; in ConfigPortDefine()
[all...]
H A Dcodec_hdi_decode.cpp46 height_ = 0; in CodecHdiDecode()
79 return width_ * height_ * NUMERATOR / DENOMINATOR; in GetYuvSize()
85 this->height_ = opt.height; in Init()
96 height_, stride_, opt.fileInput.c_str(), opt.fileOutput.c_str()); in Init()
156 param.format.video.nFrameHeight = height_; in ConfigPortDefine()
158 param.format.video.nSliceHeight = height_; in ConfigPortDefine()
179 param.format.video.nFrameHeight = height_; in ConfigPortDefine()
181 param.format.video.nSliceHeight = height_; in ConfigPortDefine()
441 .height = this->height_, in UseBufferHandle()
/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dstream_operator/
H A Ddstream_operator_test.cpp130 streamInfo.height_ = TEST_HEIGHT; in HWTEST_F()
158 streamInfo.height_ = TEST_HEIGHT; in HWTEST_F()
184 streamInfo.height_ = TEST_HEIGHT; in HWTEST_F()
218 streamInfo.height_ = TEST_HEIGHT; in HWTEST_F()
255 streamInfo.height_ = TEST_HEIGHT; in HWTEST_F()
289 streamInfo.height_ = TEST_HEIGHT; in HWTEST_F()
330 streamInfo.height_ = TEST_HEIGHT; in HWTEST_F()
/drivers/peripheral/camera/test/ut/v4l2/
H A Dhdi_interfaces_test.cpp63 cameraBase->streamInfo->height_ = 480; // 480:picture height in TEST_F()
116 cameraBase->streamInfo->height_ = 480; // 480:picture height in TEST_F()
161 streamInfo->height_ = 480; // 480:picture height in TEST_F()
207 cameraBase->streamInfo->height_ = 640; // 640:picture height in TEST_F()
251 cameraBase->streamInfo->height_ = 480; // 480:picture height in TEST_F()
305 cameraBase->streamInfo->height_ = -1; in TEST_F()
349 cameraBase->streamInfo->height_ = INVALID_VALUE_TEST; in TEST_F()
393 cameraBase->streamInfo->height_ = 480; // 480:picture height in TEST_F()
437 cameraBase->streamInfo->height_ = 480; // 480:picture height in TEST_F()
491 cameraBase->streamInfo->height_ in TEST_F()
[all...]
H A Dcamera_preview_test.cpp64 streamInfo.height_ = 480; // 480:picture height in HWTEST_F()
107 streamInfo.height_ = 480; // 480:picture height in HWTEST_F()
161 streamInfo.height_ = 480; // 480:picture height in HWTEST_F()
203 streamInfo.height_ = 480; // 480:picture height in HWTEST_F()
306 streamInfo.height_ = 480; // 480:picture height in HWTEST_F()
360 streamInfo.height_ = 480; // 480:picture height in HWTEST_F()
412 streamInfo.height_ = 480; // 480:picture height in HWTEST_F()
456 streamInfo.height_ = 480; // 480:picture height in HWTEST_F()
500 streamInfo.height_ = 480; // 480:picture height in HWTEST_F()
542 streamInfo.height_ in HWTEST_F()
[all...]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/host_stream/include/
H A Dhost_stream_data_structure.h26 int32_t height_; member
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/
H A Ddmetadata_processor.cpp215 static_cast<int32_t>(maxPreviewResolution_.height_)}; in InitDCameraDefaultAbilityKeys()
220 static_cast<int32_t>(maxPreviewResolution_.width_), static_cast<int32_t>(maxPreviewResolution_.height_) in InitDCameraDefaultAbilityKeys()
320 const int32_t jpegMaxSize = maxPhotoResolution_.width_ * maxPhotoResolution_.height_; in UpdateAbilityTag()
335 "%{public}d }", iter->first, resolution.width_, resolution.height_); in InitBasicConfigTag()
338 streamConfigs.push_back(resolution.height_); in InitBasicConfigTag()
352 previewIter->first, resolution.width_, resolution.height_); in InitExtendConfigTag()
353 AddConfigs(extendStreamConfigs, previewIter->first, resolution.width_, resolution.height_, PREVIEW_FPS); in InitExtendConfigTag()
364 videoIter->first, resolution.width_, resolution.height_); in InitExtendConfigTag()
365 AddConfigs(extendStreamConfigs, videoIter->first, resolution.width_, resolution.height_, VIDEO_FPS); in InitExtendConfigTag()
377 photoIter->first, resolution.width_, resolution.height_); in InitExtendConfigTag()
[all...]
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
H A Dimage_buffer.cpp34 height_ = height; in ImageBuffer()
61 return height_; in GetHeight()
203 height_ = height; in SetHeight()
387 height_ = 0; in Free()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/
H A Dbuffer_operator.h81 uint32_t height_ = 0; member in OHOS::Camera::MyBuffer
122 return height_; in GetHeight()
232 height_ = height; in SetHeight()
380 height_ = 0; in Free()
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
H A Dallocator.cpp88 bufferInfo.heightStride_ = AlignUp(bufferInfo.height_, HEIGHT_ALIGN); in UpdateRGBStrideAndSize()
99 bufferInfo.heightStride_ = AlignUp(bufferInfo.height_, HEIGHT_ALIGN); in UpdateYuvStrideAndSize()
135 bufferInfo.height_ = info.height; in ConvertToBufferInfo()
165 priBuffer->height = bufferInfo.height_; in AllocMem()
H A Dallocator.h46 uint32_t height_ = 0; member
/drivers/peripheral/codec/test/demo/idl/src/
H A Dcodec_hdi_encode.cpp52 height_ = 0; in CodecHdiEncode()
82 size_t t = fread(buf, 1, width_ * height_ * NUMERATOR / DENOMINATOR, fp); in ReadOneFrame()
93 this->height_ = opt.height; in Init()
97 HDF_LOGI("width[%{public}d], height[%{public}d]", width_, height_); in Init()
340 bufferSize = width_ * height_ * NUMERATOR / DENOMINATOR; in UseBufferOnPort()
342 bufferSize = width_ * height_; in UseBufferOnPort()
343 HDF_LOGI("bufferSize[%{public}d], width[%{public}d], height[%{public}d]", bufferSize, width_, height_); in UseBufferOnPort()
682 .height = this->height_, in CreateBufferHandle()
788 util_->setParmValue(param, width_, height_, stride_); in ConfigPortDefine()
811 util_->setParmValue(param, width_, height_, stride in ConfigPortDefine()
[all...]
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraconfigurestreams_fuzzer/
H A Ddcameraconfigurestreams_fuzzer.cpp52 streamInfo.height_ = *(reinterpret_cast<const int*>(data)); in DcameraConfigureStreamsFuzzTest()
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dstreamgetstreamattributes_fuzzer/
H A Ddstreamgetstreamattributes_fuzzer.cpp36 attribute.height_ = *(reinterpret_cast<const int*>(data)); in DstreamGetStreamAttributesFuzzTest()
/drivers/peripheral/camera/test/mpi/src/
H A Dresolution_test.cpp59 Test_->streamInfo_pre->height_ = 480; // 480: height of stream in HWTEST_F()
86 Test_->streamInfo_capture->height_ = 960; // 960: height of stream in HWTEST_F()
164 Test_->streamInfo_pre->height_ = 480; // 480: height of stream in HWTEST_F()
192 Test_->streamInfo_video->height_ = 720; // 960: height of stream in HWTEST_F()
271 Test_->streamInfo_pre->height_ = 360; // 360: height of stream in HWTEST_F()
299 Test_->streamInfo_video->height_ = 720; // 960: height of stream in HWTEST_F()
H A Dpipeline_test.cpp122 Test_->streamInfo->height_ = 480; in HWTEST_F()
210 Test_->streamInfo->height_ = 960; in HWTEST_F()
229 Test_->streamInfo2->height_ = 960; in HWTEST_F()
H A Dhdi_stream_test.cpp63 Test_->streamInfo->height_ = 480; // 480:height of stream in HWTEST_F()
115 Test_->streamInfo->height_ = 480; // 480:height of stream in HWTEST_F()
202 Test_->streamInfo->height_ = 480; // 480:height of stream in HWTEST_F()
252 Test_->streamInfo->height_ = 480; in HWTEST_F()
299 Test_->streamInfo->height_ = 480; in HWTEST_F()
339 Test_->streamInfo->height_ = 480; in HWTEST_F()
383 Test_->streamInfo->height_ = 640; in HWTEST_F()
424 Test_->streamInfo->height_ = 640; in HWTEST_F()
469 Test_->streamInfo->height_ = -1; in HWTEST_F()
511 Test_->streamInfo->height_ in HWTEST_F()
[all...]
/drivers/peripheral/camera/hal_c/hdi_cif/src/
H A Dstream_operator.cpp43 si.height = pInfo->height_; in IsStreamsSupported()
87 sis[i].height = streamInfos[i]->height_; in CreateStreams()
171 it->height_ = sa[i].height; in GetStreamAttributes()
/drivers/peripheral/distributed_camera/hdi_service/include/dstream_operator/
H A Ddimage_buffer.h72 uint32_t height_ = 0; member in OHOS::DistributedHardware::DImageBuffer

Completed in 18 milliseconds

123