/drivers/peripheral/display/buffer/test/unittest/ |
H A D | display_buffer_ut.cpp | 70 .width = ALLOC_SIZE_1920, 77 .width = ALLOC_SIZE_1080, 84 .width = ALLOC_SIZE_1280, 91 .width = ALLOC_SIZE_1080, 98 .width = ALLOC_SIZE_1080, 105 .width = ALLOC_SIZE_1080, 112 .width = ALLOC_SIZE_1080, 119 .width = ALLOC_SIZE_1080, 126 .width = ALLOC_SIZE_1080, 133 .width [all...] |
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/ |
H A D | index.js | 26 canvas.width = window.innerWidth - widthOffset;
31 canvas.width !== window.innerWidth - widthOffset ||
34 canvas.width = window.innerWidth - widthOffset;
37 Scr.setLogicScreenSize(canvas.width, canvas.height);
59 Scr.setLogicScreenSize(canvas.width, canvas.height);
|
/drivers/peripheral/display/test/unittest/lite/ |
H A D | display_test.c | 42 .width = bmpInfo.header.width + 1, in LoadBmp() 64 layInfo->width = (uint32_t)g_displayTest.displayInfo.width; in GetLayerInfo() 71 static void WriteDataToBuf(int32_t width, int32_t height, uint16_t *pBuf) in WriteDataToBuf() argument 77 for (x = 0; x < width; x++) { in WriteDataToBuf() 78 *((uint16_t*)pBuf + y * width + x) = HIFB_RED_1555; in WriteDataToBuf() 82 for (x = ((width / LINE_WIDTH) - LINE_WIDTH); x < ((width / LINE_WIDTH) + LINE_WIDTH); x++) { in WriteDataToBuf() 83 *((uint16_t*)pBuf + y * width in WriteDataToBuf() [all...] |
H A D | loadbmp_test.h | 50 uint16_t width; /* operation width */
member 56 uint32_t width; /* out */
member 66 uint32_t width;
member
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/heap_buffer_allocator/ |
H A D | heap_buffer_allocator.cpp | 32 std::shared_ptr<IBuffer> HeapBufferAllocator::AllocBuffer(const uint32_t width, in AllocBuffer() argument 37 uint32_t size = CalculateSize(width, height, cameraUsage, cameraFormat); in AllocBuffer() 51 buffer->SetStride(width); in AllocBuffer() 52 buffer->SetWidth(width); in AllocBuffer() 94 uint32_t HeapBufferAllocator::CalculateSize(const uint32_t width, in CalculateSize() argument 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()
|
H A D | heap_buffer_allocator.h | 31 std::shared_ptr<IBuffer> AllocBuffer(const uint32_t width, 44 uint32_t CalculateSize(const uint32_t width,
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/ |
H A D | v4l2_fileformat.cpp | 32 fraMival.width = frmSize.discrete.width; in V4L2GetCurrentFormat() 41 currentFormat.fmtdesc.width = frmSize.discrete.width; 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() 171 format.fmtdesc.width = fmt.fmt.pix_mp.width; in V4L2GetFmt() 176 format.fmtdesc.width = fmt.fmt.pix.width; in V4L2GetFmt() [all...] |
/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() 121 .width = buffer->GetCurWidth(), in BufferScaleFormatTransform() 129 .width = buffer->GetWidth(), in BufferScaleFormatTransform()
|
/drivers/peripheral/display/composer/test/common/ |
H A D | hdi_test_render_utils.cpp | 37 DISPLAY_TEST_CHK_RETURN_NOT_VALUE((x < 0 || x >= handle.width), in SetPixel() 38 DISPLAY_TEST_LOGE("CheckPixel invalid parameter x:%{public}d width:%{public}d", x, handle.width)); in SetPixel() 42 int32_t position = y * handle.width + x; in SetPixel() 53 for (int32_t x = 0; x < handle.width; x++) { in ClearColor()
|
H A D | display_test_utils.cpp | 103 DISPLAY_TEST_CHK_RETURN((x < 0 || x >= handle.width), 0, in GetPixelValue() 104 DISPLAY_TEST_LOGE("CheckPixel invalid parameter x:%{public}d width:%{public}d", x, handle.width)); in GetPixelValue() 108 int32_t position = y * handle.width + x; in GetPixelValue() 136 DISPLAY_TEST_CHK_RETURN((x < 0 || x >= handle.width), 0, in CheckPixel() 137 DISPLAY_TEST_LOGE("CheckPixel invalid parameter x:%{public}d width:%{public}d", x, handle.width)); in CheckPixel() 141 int32_t position = y * handle.width + x; in CheckPixel() 150 DISPLAY_TEST_LOGD("x:%{public}d y:%{public}d width:%{public}d", x, y, handle.width); in CheckPixel() [all...] |
/drivers/peripheral/display/buffer/vdi_base/src/ |
H A D | hi_gbm.cpp | 116 struct gbm_bo *HdiGbmBoCreate(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in HdiGbmBoCreate() argument 129 bo->width = width; in HdiGbmBoCreate() 135 dumb.width = ALIGN_UP(width, WIDTH_ALIGN); in HdiGbmBoCreate() 139 DISPLAY_LOGD("fmt 0x%{public}x create dumb width: %{public}d height: %{public}d bpp: %{public}u pitch" in HdiGbmBoCreate() 141 format, dumb.width, dumb.height, dumb.bpp, dumb.pitch, dumb.size); in HdiGbmBoCreate() 145 "fmt 0x%{public}x create dumb width: %{public}d height: %{public}d stride %{public}d size %{public}u", format, in HdiGbmBoCreate() 146 bo->width, bo->height, bo->stride, bo->size); in HdiGbmBoCreate() 172 return bo->width; in HdiGbmBoGetWidth() [all...] |
/drivers/peripheral/camera/hal_c/include/ |
H A D | camera_types_c_if.h | 104 int width; member 199 int width; member 222 int width; member
|
/drivers/peripheral/codec/test/demo/jpeg/include/ |
H A D | jpeg_decoder.h | 43 int32_t AllocBuffer(uint32_t width, uint32_t height);
48 uint32_t inline AlignUp(uint32_t width)
in AlignUp() argument 50 return (((width) + alignment_ - 1) & (~(alignment_ - 1)));
in AlignUp()
|
/drivers/peripheral/display/hal/default/ |
H A D | display_layer.c | 95 uint32_t width; member 113 uint32_t width; member 224 .width = DISP_WIDTH, in GetLayerInstance() 232 layerPriv.width = info.width; in GetLayerInstance() 266 for (i = 0; i < priv->width; i++) { in SetBackground() 267 framebuffer[i + j * priv->width] = 0xFF; // Blue background in SetBackground() 290 priv->pitch = layerInfo->width * BITS_PER_PIXEL / BITS_TO_BYTE; in CreateLayer() 348 dispInfo->width = priv->width; in GetDisplayInfo() [all...] |
/drivers/peripheral/camera/hal_c/hdi_cif/src/ |
H A D | buffer_producer_wrapper.cpp | 39 requestConfig.width = buffer->width; in BufferProducerRequestBuffer() 57 buffer->width = handle->width; in BufferProducerRequestBuffer() 99 flushConfig.damage.w = buffer->width; in BufferProducerFlushBuffer()
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/gralloc_buffer_allocator/ |
H A D | gralloc_buffer_allocator.cpp | 44 std::shared_ptr<IBuffer> GrallocBufferAllocator::AllocBuffer(const uint32_t width, in AllocBuffer() argument 62 width, height, usage, format); in AllocBuffer() 66 .width = width, in AllocBuffer() 216 dest.width = static_cast<int32_t>(src->GetWidth()); in CameraBufferToGrallocBuffer() 236 dest->SetWidth(static_cast<uint32_t>(src.width)); in GrallocBufferToCameraBuffer()
|
/drivers/peripheral/display/hal/default_standard/src/display_device/core/ |
H A D | hdi_layer.cpp | 27 : mPhyAddr(hdl.phyAddr), mHeight(hdl.height), mWidth(hdl.width), mStride(hdl.stride), mFormat(hdl.format)
in HdiLayerBuffer() 53 mWidth = right.width;
in operator =() 190 DISPLAY_CHK_RETURN_NOT_VALUE((x < 0 || x >= handle.width),
in SetPixel() 191 DISPLAY_LOGE("CheckPixel invalid parameter x:%{public}d width:%{public}d", x, handle.width));
in SetPixel() 194 int32_t position = y * handle.width + x;
in SetPixel() 206 for (int32_t x = 0; x < handle.width; x++) {
in ClearColor()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/ |
H A D | camera_fileformat.cpp | 31 fraMival.width = frmSize.width; in CameraGetCurrentFormat() 40 currentFormat.fmtdesc.width = frmSize.width; 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() 157 isFailed |= !HdfSbufWriteUint32(reqData, ctrl.fmtdesc.width); in CameraSetFormat() 195 isFailed |= !HdfSbufReadUint32(respData, &(ctrl.fmtdesc.width)); 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, ctr in CameraGetFormat() [all...] |
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/pipeline_core/nodes/uvc_node/ |
H A D | uvc_node.cpp | 105 format.fmtdesc.width = wide_; in Start() 201 void UvcNode::YUV422To420(uint8_t yuv422[], uint8_t yuv420[], int width, int height) in YUV422To420() argument 203 int yCount = width * height; in YUV422To420() 215 for (int j = 0; j < (width / POSITION_INTERVAL); j++) { in YUV422To420() 216 yuv420[yCount + uvGroupIndex * POSITION_INTERVAL * width / U_V_POSITION_INTERVAL + j] = in YUV422To420() 217 yuv422[i * POSITION_INTERVAL * width + U_V_POSITION_INTERVAL * j + U_START_POSITION]; in YUV422To420() 219 uvGroupIndex * POSITION_INTERVAL * width / U_V_POSITION_INTERVAL + j] = in YUV422To420() 220 yuv422[i * POSITION_INTERVAL * width + U_V_POSITION_INTERVAL * j + V_START_POSITION]; in YUV422To420()
|
/drivers/peripheral/camera/vdi_base/common/include/ |
H A D | stream.h | 31 int32_t width; member 47 uint32_t width; member
|
/drivers/peripheral/display/composer/vdi_base/src/ |
H A D | hdi_layer.cpp | 38 : mPhyAddr(hdl.phyAddr), mHeight(hdl.height), mWidth(hdl.width), mStride(hdl.stride), mFormat(hdl.format) in HdiLayerBuffer() 64 mWidth = right.width; in operator =() 173 strStream << "hdi_layer_" << nowStr << "_" << tv.tv_usec << "_" << buffer->width << "_" << buffer->height << ".img"; in GetFileName() 244 DISPLAY_CHK_RETURN_NOT_VALUE((x < 0 || x >= handle.width), in SetPixel() 245 DISPLAY_LOGE("CheckPixel invalid parameter x:%{public}d width:%{public}d", x, handle.width)); in SetPixel() 248 int32_t position = y * handle.width + x; in SetPixel() 260 for (int32_t x = 0; x < handle.width; x++) { in ClearColor()
|
/drivers/peripheral/display/interfaces/include/ |
H A D | display_type.h | 275 uint32_t width; /**< Display width */ member 288 int32_t width; /**< Layer width */ member 323 int32_t width; /**< Buffer width */ member 349 int32_t width; /**< Image width */ member 449 uint32_t phyWidth; /**< Physical width */ 462 int32_t width; /**< Widt member 473 uint32_t width; /**< Width of the requested memory */ global() member 645 uint32_t width; /**< Width 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 | 150 uint32_t width; member 159 uint32_t width; /* frame width */ member 169 uint32_t width; /* Frame width [pixel] */ member 176 uint32_t width; /* Frame width */ member
|
/drivers/peripheral/thermal/test/unittest/ |
H A D | hdf_thermal_log_test.cpp | 91 uint32_t width = hdfLog.GetIntParameter("persist.thermal.log.width", def, minVal); in HWTEST_F() local 92 ASSERT_EQ(def, width); in HWTEST_F() 96 width = hdfLog.GetIntParameter("persist.thermal.log.width", def, minVal); in HWTEST_F() 97 ASSERT_EQ(hdfLog.width_, width); in HWTEST_F()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/ |
H A D | venc_controller.cpp | 62 uint32_t width = 1920;
in ConfigVenc() local 64 vencObject_->ConfigVenc(width, height);
in ConfigVenc()
|