/drivers/peripheral/display/buffer/test/unittest/ |
H A D | display_buffer_ut.cpp | 71 .height = ALLOC_SIZE_1080, 78 .height = ALLOC_SIZE_1920, 85 .height = ALLOC_SIZE_720, 92 .height = ALLOC_SIZE_1920, 99 .height = ALLOC_SIZE_1920, 106 .height = ALLOC_SIZE_1920, 113 .height = ALLOC_SIZE_1920, 120 .height = ALLOC_SIZE_1920, 127 .height = ALLOC_SIZE_1920, 134 .height [all...] |
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/ |
H A D | index.js | 27 canvas.height = window.innerHeight;
32 canvas.height !== window.innerHeight
35 canvas.height = window.innerHeight;
37 Scr.setLogicScreenSize(canvas.width, canvas.height);
59 Scr.setLogicScreenSize(canvas.width, canvas.height);
|
/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/ |
H A D | node_utils.cpp | 59 srcBufferInfo.width, srcBufferInfo.height, dstBufferInfo.width, dstBufferInfo.height, in ImageFormatConvert() 78 srcAVFmt, srcBufferInfo.width, srcBufferInfo.height, 1); in ImageFormatConvert() 80 dstAVFmt, dstBufferInfo.width, dstBufferInfo.height, 1); in ImageFormatConvert() 83 srcBufferInfo.width, srcBufferInfo.height, srcAVFmt, in ImageFormatConvert() 84 dstBufferInfo.width, dstBufferInfo.height, dstAVFmt, in ImageFormatConvert() 87 auto ret = sws_scale(imgCtx, pFrameSrc->data, pFrameSrc->linesize, 0, srcBufferInfo.height, in ImageFormatConvert() 122 .height = buffer->GetCurHeight(), in BufferScaleFormatTransform() 130 .height = buffer->GetHeight(), in BufferScaleFormatTransform()
|
/drivers/peripheral/display/buffer/vdi_base/src/ |
H A D | hi_gbm.cpp | 99 static uint32_t AdjustStrideFromFormat(uint32_t format, uint32_t height) in AdjustStrideFromFormat() argument 101 uint32_t tmpHeight = height; in AdjustStrideFromFormat() 109 tmpHeight = DIV_ROUND_UP((height * sum), fmtInfo->planes->radio[0]); in AdjustStrideFromFormat() 111 DISPLAY_LOGD("height adjust to : %{public}d", tmpHeight); in AdjustStrideFromFormat() 116 struct gbm_bo *HdiGbmBoCreate(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in HdiGbmBoCreate() argument 130 bo->height = height; in HdiGbmBoCreate() 134 dumb.height = ALIGN_UP(AdjustStrideFromFormat(format, height), HEIGHT_ALIGN); in HdiGbmBoCreate() 139 DISPLAY_LOGD("fmt 0x%{public}x create dumb width: %{public}d height in HdiGbmBoCreate() [all...] |
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/ |
H A D | v4l2_fileformat.cpp | 33 fraMival.height = frmSize.discrete.height; in V4L2GetCurrentFormat() 42 currentFormat.fmtdesc.height = frmSize.discrete.height; in V4L2GetCurrentFormat() 78 CAMERA_LOGD("V4L2_FRMSIZE_TYPE_DISCRETE width %{public}d x height %{public}d\n\n", in V4L2SearchFormat() 79 frmSize.discrete.width, frmSize.discrete.height); in V4L2SearchFormat() 172 format.fmtdesc.height = fmt.fmt.pix_mp.height; in V4L2GetFmt() 177 format.fmtdesc.height = fmt.fmt.pix.height; in V4L2GetFmt() [all...] |
/drivers/peripheral/display/test/unittest/lite/ |
H A D | display_test.c | 43 .height = bmpInfo.header.height + 1, in LoadBmp() 65 layInfo->height = (uint32_t)g_displayTest.displayInfo.height; in GetLayerInfo() 71 static void WriteDataToBuf(int32_t width, int32_t height, uint16_t *pBuf) in WriteDataToBuf() argument 76 for (y = ((height / LINE_WIDTH) - LINE_WIDTH); y < ((height / LINE_WIDTH) + LINE_WIDTH); y++) { in WriteDataToBuf() 81 for (y = 0; y < height; y++) { in WriteDataToBuf() 91 surface->height = SAMPLE_IMAGE_HEIGHT; in PicSourceSurfaceInit() 104 surface->height in DestSurfaceInit() [all...] |
H A D | loadbmp_test.c | 107 if (bmpInfo->header.height == 0) { in CheckBmpInfo() 108 HDF_LOGE("%s: bmpInfo.header.height is 0", __func__); in CheckBmpInfo() 148 videoLogo->height = ((bmpInfo.header.height > 0) ? bmpInfo.header.height : in LoadPicToBuffer() 149 (-bmpInfo.header.height)); in LoadPicToBuffer() 155 byteNum = videoLogo->height * (*stride); in LoadPicToBuffer() 170 HDF_LOGE("%s: fread %u*%u error", __func__, videoLogo->height, *stride); in LoadPicToBuffer() 194 h = videoLogo->height; in LoadRgbData() 195 for (i = 0; i < videoLogo->height; in LoadRgbData() [all...] |
H A D | loadbmp_test.h | 49 uint16_t height; /* operation height */
member 57 uint32_t height; /* out */
member 67 uint32_t height;
member
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/heap_buffer_allocator/ |
H A D | heap_buffer_allocator.cpp | 33 const uint32_t height, in AllocBuffer() 37 uint32_t size = CalculateSize(width, height, cameraUsage, cameraFormat); in AllocBuffer() 53 buffer->SetHeight(height); in AllocBuffer() 95 const uint32_t height, in CalculateSize() 129 return width * height * 3 / 2; // 3:Fixed calculated value of yuv 2:Fixed calculated value of yuv in CalculateSize() 142 return width * height * 2; // 2:Fixed calculated value of yuv in CalculateSize() 32 AllocBuffer(const uint32_t width, const uint32_t height, const uint64_t cameraUsage, const uint32_t cameraFormat) AllocBuffer() argument 94 CalculateSize(const uint32_t width, const uint32_t height, const uint64_t usage, const uint32_t format) const CalculateSize() argument
|
H A D | heap_buffer_allocator.h | 32 const uint32_t height, 45 const uint32_t height,
|
/drivers/peripheral/camera/hal_c/include/ |
H A D | camera_types_c_if.h | 108 int height; member 201 int height; member 223 int height; member
|
/drivers/peripheral/display/composer/test/common/ |
H A D | hdi_test_render_utils.cpp | 39 DISPLAY_TEST_CHK_RETURN_NOT_VALUE((y < 0 || y >= handle.height), in SetPixel() 40 DISPLAY_TEST_LOGE("CheckPixel invalid parameter y:%{public}d height:%{public}d", y, handle.height)); in SetPixel() 54 for (int32_t y = 0; y < handle.height; y++) { in ClearColor()
|
H A D | display_test_utils.cpp | 105 DISPLAY_TEST_CHK_RETURN((y < 0 || y >= handle.height), 0, in GetPixelValue() 106 DISPLAY_TEST_LOGE("CheckPixel invalid parameter y:%{public}d height:%{public}d", y, handle.height)); in GetPixelValue() 138 DISPLAY_TEST_CHK_RETURN((y < 0 || y >= handle.height), 0, in CheckPixel() 139 DISPLAY_TEST_LOGE("CheckPixel invalid parameter y:%{public}d height:%{public}d", y, handle.height)); in CheckPixel() 179 DISPLAY_TEST_CHK_RETURN_NOT_VALUE((y < 0 || y >= handle.height), in SetPixel() 180 DISPLAY_TEST_LOGE("CheckPixel invalid parameter y:%{public}d height:%{public}d", y, handle.height)); in SetPixel() 195 for (int32_t y = 0; y < handle.height; in ClearColor() [all...] |
/drivers/hdf_core/adapter/khdf/linux/platform/mipi_csi/ |
H A D | mipi_v4l2_adapter.c | 171 u32 height; in LinuxSetPadFormat() local 191 height = rect->height; in LinuxSetPadFormat() 192 vblank_def = camera->cur_mode->fll_def - height; in LinuxSetPadFormat() 193 vblank_min = camera->cur_mode->fll_min - height; in LinuxSetPadFormat() 194 height = SENSOR_FLL_MAX - height; in LinuxSetPadFormat() 195 __v4l2_ctrl_modify_range(camera->vblank, vblank_min, height, 1, vblank_def); in LinuxSetPadFormat() 297 vblank_def = mode->fll_def - rect->height; in LinuxInitControls() 298 vblank_min = mode->fll_min - rect->height; in LinuxInitControls() [all...] |
/drivers/peripheral/display/hal/default/ |
H A D | display_layer.c | 99 uint32_t height; member 114 uint32_t height; member 225 .height = DISP_HEIGHT, in GetLayerInstance() 233 layerPriv.height = info.height; in GetLayerInstance() 265 for (j = 0; j < priv->height; j++) { in SetBackground() 291 priv->fbSize = ((priv->pitch * priv->height) + 0xfff) & (~0xfff); in CreateLayer() 349 dispInfo->height = priv->height; in GetDisplayInfo() 351 HDF_LOGD("%s: width = %u, height in GetDisplayInfo() [all...] |
/drivers/peripheral/camera/hal_c/hdi_cif/src/ |
H A D | buffer_producer_wrapper.cpp | 40 requestConfig.height = buffer->height; in BufferProducerRequestBuffer() 59 buffer->height = handle->height; in BufferProducerRequestBuffer() 100 flushConfig.damage.h = buffer->height; in BufferProducerFlushBuffer()
|
/drivers/peripheral/codec/test/demo/idl/include/ |
H A D | codec_utils.h | 72 void setParmValue(OMX_PARAM_PORTDEFINITIONTYPE ¶m, uint32_t width, uint32_t height, uint32_t stride)
in setParmValue() argument 75 param.format.video.nFrameHeight = height;
in setParmValue() 77 param.format.video.nSliceHeight = height;
in setParmValue()
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/gralloc_buffer_allocator/ |
H A D | gralloc_buffer_allocator.cpp | 45 const uint32_t height, in AllocBuffer() 62 width, height, usage, format); in AllocBuffer() 67 .height = height, in AllocBuffer() 217 dest.height = static_cast<int32_t>(src->GetHeight()); in CameraBufferToGrallocBuffer() 237 dest->SetHeight(static_cast<uint32_t>(src.height)); in GrallocBufferToCameraBuffer() 44 AllocBuffer(const uint32_t width, const uint32_t height, const uint64_t cameraUsage, const uint32_t cameraFormat) AllocBuffer() argument
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/ |
H A D | camera_fileformat.cpp | 32 fraMival.height = frmSize.height; in CameraGetCurrentFormat() 41 currentFormat.fmtdesc.height = frmSize.height; in CameraGetCurrentFormat() 154 CAMERA_LOGD("set pixelFormat = %{public}d, set width = %{public}d, set height = %{public}d\n", in CameraSetFormat() 155 ctrl.fmtdesc.pixelFormat, ctrl.fmtdesc.width, ctrl.fmtdesc.height); in CameraSetFormat() 158 isFailed |= !HdfSbufWriteUint32(reqData, ctrl.fmtdesc.height); in CameraSetFormat() 196 isFailed |= !HdfSbufReadUint32(respData, &(ctrl.fmtdesc.height)); in CameraGetFormat() 198 CAMERA_LOGD("get pixelFormat = %{public}d, get width = %{public}d, get height = %{public}d, " in CameraGetFormat() 199 "get sizeImage = %{public}d\n", ctrl.fmtdesc.pixelFormat, ctrl.fmtdesc.width, ctrl.fmtdesc.height, in CameraGetFormat() [all...] |
/drivers/peripheral/camera/vdi_base/common/include/ |
H A D | stream.h | 32 int32_t height; member 48 uint32_t height; member
|
/drivers/peripheral/display/interfaces/include/ |
H A D | display_type.h | 276 uint32_t height; /**< Display height */ member 289 int32_t height; /**< Layer height */ member 324 int32_t height; /**< Buffer height */ member 348 int32_t height; /**< Image height */ member 450 uint32_t phyHeight; /**< Physical height */ 463 int32_t height; /**< Heigh member 474 uint32_t height; /**< Height of the requested memory */ global() member 646 uint32_t height; /**< Height of the memory to allocate */ global() member [all...] |
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/ |
H A D | camera_common.h | 151 uint32_t height; member 160 uint32_t height; /* frame height */ member 170 uint32_t height; /* Frame height [pixel] */ member 177 uint32_t height; /* Frame height */ member
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/ |
H A D | venc_controller.cpp | 63 uint32_t height = 1080;
in ConfigVenc() local 64 vencObject_->ConfigVenc(width, height);
in ConfigVenc()
|
/drivers/peripheral/codec/test/demo/jpeg/src/ |
H A D | command_parse.cpp | 22 {"height", required_argument, nullptr, static_cast<int>(MyOptIndex::OPT_INDEX_HEIGHT)}, 49 opt.height = std::stoi(optarg); in Parse() 56 if (opt.fileInput == "" || opt.fileOutput == "" || opt.width == 0 || opt.height == 0) { in Parse() 67 std::cout << " -h, --height=height The video height." << std::endl; in ShowUsage()
|
/drivers/peripheral/display/hdi_service/gralloc/include/ |
H A D | parcel_utils.h | 36 pAllocInfo->height = data.ReadUint32();
in UnpackAllocInfo() 52 if (!data.WriteUint32(pAllocInfo->height)) {
in PackAllocInfo() 53 HDF_LOGE("%{public}s: write AllocInfo height failed", __func__);
in PackAllocInfo()
|