Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 226) sorted by relevance

12345678910

/drivers/peripheral/display/buffer/test/unittest/
Ddisplay_buffer_ut.cpp50 .width = ALLOC_SIZE_1920,
57 .width = ALLOC_SIZE_1080,
64 .width = ALLOC_SIZE_1280,
71 .width = ALLOC_SIZE_1080,
78 .width = ALLOC_SIZE_1080,
86 .width = ALLOC_SIZE_1080,
93 .width = ALLOC_SIZE_1080,
100 .width = ALLOC_SIZE_1080,
107 .width = ALLOC_SIZE_1080,
114 .width = ALLOC_SIZE_1080,
[all …]
/drivers/peripheral/audio/test/systemtest/
DREADME_zh.md92 <table width="100%" border="0">
95 <th width="20%" align="center">所属类</th>
96 <th align="center" width="30%">接口名</th>
97 <th width="50%" align="center">说明</th>
100 <td width="20%" rowspan ="7">capture</td>
101 <td width="30%">SetSampleAttributes</td>
102 <td width="50%">遍历设置不同的硬件参数</td>
129 <td width="20%" rowspan ="9">render</td>
130 <td width="30%">SetSampleAttributes</td>
131 <td width="50%">遍历设置不同的硬件参数</td>
[all …]
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/
DXDefine.js20 Scr.width = w;
29 if (Scr.logicw == w && Scr.width == w && Scr.logich == h && Scr.height == h) {
34 Scr.width = w;
39 Scr.width = info.windowWidth;
45 Scr.width = 320;
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/heap_buffer_allocator/
Dheap_buffer_allocator.cpp32 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()
99 uint32_t HeapBufferAllocator::CalculateSize(const uint32_t width, in CalculateSize() argument
134 … return width * height * 3 / 2; // 3:Fixed calculated value of yuv 2:Fixed calculated value of yuv in CalculateSize()
148 return width * height * 2; // 2:Fixed calculated value of yuv in CalculateSize()
Dheap_buffer_allocator.h31 std::shared_ptr<IBuffer> AllocBuffer(const uint32_t width,
44 uint32_t CalculateSize(const uint32_t width,
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/
Dindex.js25 canvas.width = window.innerWidth - 420;
30 canvas.width != window.innerWidth - 420 ||
33 canvas.width = window.innerWidth - 420;
36 Scr.setLogicScreenSize(canvas.width, canvas.height);
58 Scr.setLogicScreenSize(canvas.width, canvas.height);
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
Dv4l2_fileformat.cpp50 frmSize.discrete.width, frmSize.discrete.height); in V4L2SearchFormat()
56 fraMival.width = frmSize.discrete.width; in V4L2SearchFormat()
65 currentFormat.fmtdesc.width = frmSize.discrete.width; in V4L2SearchFormat()
162 format.fmtdesc.width = fmt.fmt.pix_mp.width; in V4L2GetFmt()
167 format.fmtdesc.width = fmt.fmt.pix.width; in V4L2GetFmt()
191 fmt.fmt.pix_mp.width = format.fmtdesc.width; in V4L2SetFmt()
197 fmt.fmt.pix.width = format.fmtdesc.width; in V4L2SetFmt()
231 format.crop.width = crop.c.width; in V4L2GetCrop()
252 crop.c.width = format.crop.width; in V4L2SetCrop()
286 format.cropcap.bounds.width = cropcap.bounds.width; in V4L2GetCropCap()
[all …]
/drivers/hdf_core/adapter/uhdf2/hcs/camera/hal/mpp/hispark_taurus/hdi_impl/
Dstream_supported_config.hcs8 width = 1280;
21 width = 640;
34 width = 1280;
47 width = 1280;
/drivers/hdf_core/adapter/uhdf2/hcs/camera/hal/v4l2/rpi4b/hdi_impl/
Dstream_supported_config.hcs8 width = 1280;
21 width = 640;
34 width = 1280;
47 width = 1280;
/drivers/peripheral/display/test/unittest/lite/
Ddisplay_test.c42 .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 + x) = HIFB_RED_1555; in WriteDataToBuf()
90 surface->width = SAMPLE_IMAGE_WIDTH; in PicSourceSurfaceInit()
103 surface->width = (uint32_t)g_displayTest.displayInfo.width; in DestSurfaceInit()
107 surface->stride = g_displayTest.displayInfo.width * bpp / BITS_PER_BYTE; in DestSurfaceInit()
[all …]
Dloadbmp_test.h50 uint16_t width; /* operation width */ member
56 uint32_t width; /* out */ member
66 uint32_t width; member
Dloadbmp_test.c141 videoLogo->width = bmpInfo.header.width; in LoadPicToBuffer()
144 *stride = videoLogo->width * videoLogo->bpp; in LoadPicToBuffer()
173 videoLogo->stride = videoLogo->width * FOUR_BITS_PER_PIXEL; in LoadPicToBuffer()
175 videoLogo->stride = videoLogo->width * TWO_BITS_PER_PIXEL; in LoadPicToBuffer()
192 for (j = 0; j < videoLogo->width; j++) { in LoadRgbData()
214 for (j = 0; j < videoLogo->width; j++) { in LoadData()
260 for (j = 0; j < videoLogo->width; j++) { in Copy2BitsAnd4Bits()
347 pstSurface->width = stLogo.width; in CreateSurfaceByBitMap()
/drivers/liteos/
DREADME_zh.md56 …n="left"><tr id="row1170923910316"><th class="cellrowborder" valign="top" width="11.92%" id="mcps1…
58 …<th class="cellrowborder" valign="top" width="88.08%" id="mcps1.1.3.1.2"><p id="p1970910395313"><a…
62 …<tbody><tr id="row7709113923117"><td class="cellrowborder" valign="top" width="11.92%" headers="mc…
64 …<td class="cellrowborder" valign="top" width="88.08%" headers="mcps1.1.3.1.2 "><p id="p87096391311…
67 …<tr id="row0709163973120"><td class="cellrowborder" valign="top" width="11.92%" headers="mcps1.1.3…
69 …<td class="cellrowborder" valign="top" width="88.08%" headers="mcps1.1.3.1.2 "><p id="p92941821944…
87 …"left"><tr id="row181651335105012"><th class="cellrowborder" valign="top" width="11.92%" id="mcps1…
89 …<th class="cellrowborder" valign="top" width="88.08%" id="mcps1.1.3.1.2"><p id="p6165103514502"><a…
93 …<tbody><tr id="row71650351503"><td class="cellrowborder" valign="top" width="11.92%" headers="mcps…
95 …<td class="cellrowborder" valign="top" width="88.08%" headers="mcps1.1.3.1.2 "><p id="p16165183519…
[all …]
DREADME.md56 …n="left"><tr id="row1170923910316"><th class="cellrowborder" valign="top" width="11.92%" id="mcps1…
58 …<th class="cellrowborder" valign="top" width="88.08%" id="mcps1.1.3.1.2"><p id="p1970910395313"><a…
62 …<tbody><tr id="row7709113923117"><td class="cellrowborder" valign="top" width="11.92%" headers="mc…
64 …<td class="cellrowborder" valign="top" width="88.08%" headers="mcps1.1.3.1.2 "><p id="p87096391311…
67 …<tr id="row0709163973120"><td class="cellrowborder" valign="top" width="11.92%" headers="mcps1.1.3…
69 …<td class="cellrowborder" valign="top" width="88.08%" headers="mcps1.1.3.1.2 "><p id="p92941821944…
87 …"left"><tr id="row181651335105012"><th class="cellrowborder" valign="top" width="11.92%" id="mcps1…
89 …<th class="cellrowborder" valign="top" width="88.08%" id="mcps1.1.3.1.2"><p id="p6165103514502"><a…
93 …<tbody><tr id="row71650351503"><td class="cellrowborder" valign="top" width="11.92%" headers="mcps…
95 …<td class="cellrowborder" valign="top" width="88.08%" headers="mcps1.1.3.1.2 "><p id="p16165183519…
[all …]
/drivers/peripheral/display/composer/test/common/
Ddisplay_test_utils.cpp104 DISPLAY_TEST_CHK_RETURN((x < 0 || x >= handle.width), 0, in GetPixelValue()
105 … DISPLAY_TEST_LOGE("CheckPixel invalid parameter x:%{public}d width:%{public}d", x, handle.width)); in GetPixelValue()
109 int32_t position = y * handle.width + x; in GetPixelValue()
137 DISPLAY_TEST_CHK_RETURN((x < 0 || x >= handle.width), 0, in CheckPixel()
138 … DISPLAY_TEST_LOGE("CheckPixel invalid parameter x:%{public}d width:%{public}d", x, handle.width)); in CheckPixel()
142 int32_t position = y * handle.width + x; in CheckPixel()
151 DISPLAY_TEST_LOGD("x:%{public}d y:%{public}d width:%{public}d", x, y, handle.width); in CheckPixel()
178 DISPLAY_TEST_CHK_RETURN_NOT_VALUE((x < 0 || x >= handle.width), in SetPixel()
179 … DISPLAY_TEST_LOGE("CheckPixel invalid parameter x:%{public}d width:%{public}d", x, handle.width)); in SetPixel()
183 int32_t position = y * handle.width + x; in SetPixel()
[all …]
Dhdi_test_render_utils.cpp37 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()
/drivers/peripheral/display/hal/default/
Ddisplay_layer.c95 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()
351 HDF_LOGD("%s: width = %u, height = %u, rotAngle = %u", __func__, dispInfo->width, in GetDisplayInfo()
374 HDF_LOGD("%s: width = %d, height = %d, pixFormat = %d, pitch = %d", __func__, buffer->width, in Flush()
[all …]
/drivers/peripheral/camera/hal_c/include/
Dcamera_types_c_if.h104 int width; member
199 int width; member
222 int width; member
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/pipeline_core/nodes/uvc_node/
Duvc_node.cpp104 format.fmtdesc.width = it->format_.w_; in Start()
196 void UvcNode::YUV422To420(uint8_t yuv422[], uint8_t yuv420[], int width, int height) in YUV422To420() argument
198 int yCount = width * height; in YUV422To420()
210 for (int j = 0; j < (width / POSITION_INTERVAL); j++) { in YUV422To420()
211 yuv420[yCount + uvGroupIndex * POSITION_INTERVAL * width / U_V_POSITION_INTERVAL + j] = in YUV422To420()
212 … yuv422[i * POSITION_INTERVAL * width + U_V_POSITION_INTERVAL * j + U_START_POSITION]; in YUV422To420()
214 uvGroupIndex * POSITION_INTERVAL * width / U_V_POSITION_INTERVAL + j] = in YUV422To420()
215 … yuv422[i * POSITION_INTERVAL * width + U_V_POSITION_INTERVAL * j + V_START_POSITION]; in YUV422To420()
/drivers/peripheral/camera/hal_c/hdi_cif/src/
Dbuffer_producer_wrapper.cpp39 requestConfig.width = buffer->width; in BufferProducerRequestBuffer()
57 buffer->width = handle->width; in BufferProducerRequestBuffer()
99 flushConfig.damage.w = buffer->width; in BufferProducerFlushBuffer()
/drivers/peripheral/codec/test/demo/jpeg/include/
Djpeg_decoder.h43 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/sensor/
DREADME_zh.md44 <table><thead align="left"><tr id="row22545164911"><th class="cellrowborder" valign="top" width="9.…
46 <th class="cellrowborder" valign="top" width="53.88538853885388%" id="mcps1.2.4.1.2"><p id="p209211…
48 <th class="cellrowborder" valign="top" width="36.26362636263626%" id="mcps1.2.4.1.3"><p id="p109216…
52 <tbody><tr id="row9256564919"><td class="cellrowborder" valign="top" width="9.85098509850985%" head…
54 <td class="cellrowborder" valign="top" width="53.88538853885388%" headers="mcps1.2.4.1.2 "><p id="p…
56 <td class="cellrowborder" valign="top" width="36.26362636263626%" headers="mcps1.2.4.1.3 "><p id="p…
59 <tr id="row1026352493"><td class="cellrowborder" rowspan="5" valign="top" width="9.85098509850985%"…
61 <td class="cellrowborder" valign="top" width="53.88538853885388%" headers="mcps1.2.4.1.2 "><p id="p…
63 <td class="cellrowborder" valign="top" width="36.26362636263626%" headers="mcps1.2.4.1.3 "><p id="p…
86 <tr id="row5261957493"><td class="cellrowborder" rowspan="2" valign="top" width="9.85098509850985%"…
[all …]
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/
Dcamera_fileformat.cpp47 fraMival.width = frmSize.width; in CameraSearchFormat()
56 currentFormat.fmtdesc.width = frmSize.width; in CameraSearchFormat()
146 ctrl.fmtdesc.pixelFormat, ctrl.fmtdesc.width, ctrl.fmtdesc.height); in CameraSetFormat()
148 isFailed |= !HdfSbufWriteUint32(reqData, ctrl.fmtdesc.width); in CameraSetFormat()
186 isFailed |= !HdfSbufReadUint32(respData, &(ctrl.fmtdesc.width)); in CameraGetFormat()
190 … "get sizeImage = %{public}d\n", ctrl.fmtdesc.pixelFormat, ctrl.fmtdesc.width, ctrl.fmtdesc.height, in CameraGetFormat()
214 isFailed |= !HdfSbufWriteUint32(reqData, ctrl.crop.width); in CameraSetCrop()
250 isFailed |= !HdfSbufReadUint32(respData, &(ctrl.crop.width)); in CameraGetCrop()
371 isFailed |= !HdfSbufReadUint32(respData, &(frmSize.width)); in EnumFrmsize()
397 isFailed |= !HdfSbufWriteInt32(reqData, fraMival.width); in Enumfrmivale()
/drivers/peripheral/display/hal/default_standard/src/display_device/core/
Dhdi_layer.cpp27 …: mPhyAddr(hdl.phyAddr), mHeight(hdl.height), mWidth(hdl.width), mStride(hdl.stride), mFormat(hdl.… 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/include/
Dstream.h31 int32_t width; member
47 uint32_t width; member

12345678910