Home
last modified time | relevance | path

Searched refs:height (Results 1 - 25 of 329) sorted by relevance

12345678910>>...14

/device/soc/rockchip/rk3566/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c165 imRect.height = rect->h; in rkFillRect()
181 dst.height = iSurface->height; in rkFillRect()
183 dst.hstride = ALIGN_UP(iSurface->height, 2); in rkFillRect()
313 dstRgaBuffer.height = dstSurface->height; in doFlit()
315 dstRgaBuffer.hstride = ALIGN_UP(dstSurface->height, 2); in doFlit()
327 srcRgaBuffer.height = srcSurface->height; in doFlit()
329 srcRgaBuffer.hstride = ALIGN_UP(srcSurface->height, in doFlit()
[all...]
/device/soc/rockchip/rk3568/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c165 imRect.height = rect->h; in rkFillRect()
181 dst.height = iSurface->height; in rkFillRect()
183 dst.hstride = ALIGN_UP(iSurface->height, 2); in rkFillRect()
313 dstRgaBuffer.height = dstSurface->height; in doFlit()
315 dstRgaBuffer.hstride = ALIGN_UP(dstSurface->height, 2); in doFlit()
327 srcRgaBuffer.height = srcSurface->height; in doFlit()
329 srcRgaBuffer.hstride = ALIGN_UP(srcSurface->height, in doFlit()
[all...]
/device/soc/rockchip/rk3588/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c165 imRect.height = rect->h; in rkFillRect()
181 dst.height = iSurface->height; in rkFillRect()
183 dst.hstride = ALIGN_UP(iSurface->height, 2); in rkFillRect()
313 dstRgaBuffer.height = dstSurface->height; in doFlit()
315 dstRgaBuffer.hstride = ALIGN_UP(dstSurface->height, 2); in doFlit()
327 srcRgaBuffer.height = srcSurface->height; in doFlit()
329 srcRgaBuffer.hstride = ALIGN_UP(srcSurface->height, in doFlit()
[all...]
/device/soc/rockchip/common/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c167 imRect.height = rect->h; in rkFillRect()
183 dst.height = iSurface->height; in rkFillRect()
185 dst.hstride = ALIGN_UP(iSurface->height, 16); in rkFillRect()
323 dstRgaBuffer.height = dstSurface->height; in doFlit()
325 dstRgaBuffer.hstride = ALIGN_UP(dstSurface->height, 16); in doFlit()
337 srcRgaBuffer.height = srcSurface->height; in doFlit()
339 srcRgaBuffer.hstride = ALIGN_UP(srcSurface->height, 1 in doFlit()
[all...]
/device/soc/rockchip/rk3399/hardware/display/src/display_gfx/
H A Ddisplay_gfx.c167 imRect.height = rect->h; in rkFillRect()
183 dst.height = iSurface->height; in rkFillRect()
185 dst.hstride = ALIGN_UP(iSurface->height, 16); in rkFillRect()
321 dstRgaBuffer.height = dstSurface->height; in doFlit()
323 dstRgaBuffer.hstride = ALIGN_UP(dstSurface->height, 16); in doFlit()
335 srcRgaBuffer.height = srcSurface->height; in doFlit()
337 srcRgaBuffer.hstride = ALIGN_UP(srcSurface->height, 1 in doFlit()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/panel/
H A Dpanel-simple.c87 * @height: height (in millimeters) of the panel's active display area
91 unsigned int height; member
381 if (panel->desc->size.height) { in panel_simple_get_non_edid_modes()
382 connector->display_info.height_mm = panel->desc->size.height; in panel_simple_get_non_edid_modes()
690 of_property_read_u32(np, "height-mm", &desc->size.height); in panel_dpi_probe()
997 .height = 136,
1024 .height = 67,
1049 .height
[all...]
/device/soc/rockchip/common/hardware/display/src/display_gralloc/
H A Dhi_gbm.c105 static uint32_t AdjustStrideFromFormat(uint32_t format, uint32_t height) in AdjustStrideFromFormat() argument
107 uint32_t tmpHeight = height; in AdjustStrideFromFormat()
115 tmpHeight = DIV_ROUND_UP((height * sum), fmtInfo->planes->radio[0]); in AdjustStrideFromFormat()
117 DISPLAY_DEBUGLOG("height adjust to : %{public}d", tmpHeight); in AdjustStrideFromFormat()
122 struct gbm_bo *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in hdi_gbm_bo_create() argument
135 bo->height = height; in hdi_gbm_bo_create()
139 dumb.height = ALIGN_UP(height, HEIGHT_ALIGN); in hdi_gbm_bo_create()
144 DISPLAY_DEBUGLOG("fmt 0x%{public}x create dumb width: %{public}d height in hdi_gbm_bo_create()
[all...]
/device/soc/rockchip/rk3399/hardware/display/src/display_gralloc/
H A Dhi_gbm.c95 static uint32_t AdjustStrideFromFormat(uint32_t format, uint32_t height) in AdjustStrideFromFormat() argument
97 uint32_t tmpHeight = height; in AdjustStrideFromFormat()
105 tmpHeight = DIV_ROUND_UP((height * sum), fmtInfo->planes->radio[0]); in AdjustStrideFromFormat()
107 DISPLAY_DEBUGLOG("height adjust to : %{public}d", tmpHeight); in AdjustStrideFromFormat()
112 struct gbm_bo *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in hdi_gbm_bo_create() argument
125 bo->height = height; in hdi_gbm_bo_create()
129 dumb.height = ALIGN_UP(height, HEIGHT_ALIGN); in hdi_gbm_bo_create()
134 DISPLAY_DEBUGLOG("fmt 0x%{public}x create dumb width: %{public}d height in hdi_gbm_bo_create()
[all...]
/device/soc/rockchip/rk3566/hardware/display/src/display_gralloc/
H A Dhi_gbm.cpp99 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 *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in hdi_gbm_bo_create() argument
130 bo->height = height; in hdi_gbm_bo_create()
134 dumb.height = ALIGN_UP(AdjustStrideFromFormat(format, height), HEIGHT_ALIGN); in hdi_gbm_bo_create()
139 DISPLAY_LOGD("fmt 0x%{public}x create dumb width: %{public}d height in hdi_gbm_bo_create()
[all...]
/device/soc/rockchip/rk3568/hardware/display/src/display_gralloc/
H A Dhi_gbm.cpp99 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 *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in hdi_gbm_bo_create() argument
130 bo->height = height; in hdi_gbm_bo_create()
134 dumb.height = ALIGN_UP(AdjustStrideFromFormat(format, height), HEIGHT_ALIGN); in hdi_gbm_bo_create()
139 DISPLAY_LOGD("fmt 0x%{public}x create dumb width: %{public}d height in hdi_gbm_bo_create()
[all...]
/device/soc/rockchip/rk3588/hardware/display/src/display_gralloc/
H A Dhi_gbm.cpp99 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 *hdi_gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, in hdi_gbm_bo_create() argument
130 bo->height = height; in hdi_gbm_bo_create()
134 dumb.height = ALIGN_UP(AdjustStrideFromFormat(format, height), HEIGHT_ALIGN); in hdi_gbm_bo_create()
139 DISPLAY_LOGD("fmt 0x%{public}x create dumb width: %{public}d height in hdi_gbm_bo_create()
[all...]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A Dregs.c73 rkisp_unite_write(dev, reg, tmp.height, false, is_unite); in rkisp_config_dcrop()
96 v4l2_dbg(1, rkisp_debug, &dev->v4l2_dev, "left dcrop (%d, %d) %dx%d\n", tmp.left, tmp.top, left_w, tmp.height); in rkisp_config_dcrop()
98 right_w, tmp.height); in rkisp_config_dcrop()
178 if (in_y->height < out_y->height) { in set_scale()
180 scale_vy = ((in_y->height - 1) * CIF_RSZ_SCALER_FACTOR) / (out_y->height - 1); in set_scale()
182 } else if (in_y->height > out_y->height) { in set_scale()
184 scale_vy = ((out_y->height in set_scale()
[all...]
H A Dcapture.c273 if (pixm.width && pixm.height) { in hdr_config_dmatx()
274 rkisp_rawrd_set_pic_size(dev, pixm.width, pixm.height); in hdr_config_dmatx()
908 max_rsz->height = min_t(int, input_win->height, config->max_rsz_height); in restrict_rsz_resolution()
953 pixm->height = clamp_t(u32, pixm->height, config->min_rsz_height, max_rsz.height); in rkisp_set_fmt()
956 pixm->height != dev->isp_sdev.out_crop.height) { in rkisp_set_fmt()
957 v4l2_warn(&dev->v4l2_dev, "fullpath %dx%d no equal to isp output %dx%d\n", pixm->width, pixm->height, in rkisp_set_fmt()
980 unsigned int width, height, bytesperline, w, h; rkisp_set_fmt() local
1081 rkisp_set_stream_def_fmt(struct rkisp_device *dev, u32 id, u32 width, u32 height, u32 pixelformat) rkisp_set_stream_def_fmt() argument
1223 u32 height = dev->isp_sdev.out_crop.height; rkisp_set_cmsk() local
[all...]
H A Ddev.c413 u32 i, width, height, code; in _set_pipeline_default_fmt() local
430 height = sel.r.height; in _set_pipeline_default_fmt()
445 fmt.format.height = height; in _set_pipeline_default_fmt()
452 rkisp_set_stream_def_fmt(dev, RKISP_STREAM_MP, width, height, V4L2_PIX_FMT_NV12); in _set_pipeline_default_fmt()
454 rkisp_set_stream_def_fmt(dev, RKISP_STREAM_SP, width, height, V4L2_PIX_FMT_NV12); in _set_pipeline_default_fmt()
458 height = dev->active_sensor->fmt[1].format.height; in _set_pipeline_default_fmt()
460 rkisp_set_stream_def_fmt(dev, RKISP_STREAM_DMATX0, width, height, rkisp_mbus_pixelcode_to_v4l in _set_pipeline_default_fmt()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
H A Dregs.c74 rkisp_unite_write(dev, reg, tmp.height, false, is_unite); in rkisp_config_dcrop()
98 tmp.left, tmp.top, left_w, tmp.height); in rkisp_config_dcrop()
101 RKMOUDLE_UNITE_EXTEND_PIXEL, tmp.top, right_w, tmp.height); in rkisp_config_dcrop()
197 if (in_y->height < out_y->height) { in set_scale()
200 scale_vy = ((in_y->height - 1) * CIF_RSZ_SCALER_FACTOR) / in set_scale()
201 (out_y->height - 1); in set_scale()
203 } else if (in_y->height > out_y->height) { in set_scale()
205 scale_vy = ((out_y->height in set_scale()
[all...]
H A Dcapture_v1x.c33 dcrop->height == input_win->height && in rkisp_stream_config_dcrop()
45 input_win->width, input_win->height, in rkisp_stream_config_dcrop()
46 dcrop->width, dcrop->height); in rkisp_stream_config_dcrop()
68 in_y.height = stream->dcrop.height; in rkisp_stream_config_rsz()
70 out_y.height = output_fmt.height; in rkisp_stream_config_rsz()
78 in_c.height = in_y.height / ysubs_i in rkisp_stream_config_rsz()
[all...]
H A Dcapture.c284 if (pixm.width && pixm.height) in hdr_config_dmatx()
285 rkisp_rawrd_set_pic_size(dev, pixm.width, pixm.height); in hdr_config_dmatx()
894 max_rsz->height = min_t(int, input_win->height, config->max_rsz_height); in restrict_rsz_resolution()
944 pixm->height = clamp_t(u32, pixm->height, in rkisp_set_fmt()
945 config->min_rsz_height, max_rsz.height); in rkisp_set_fmt()
949 pixm->height != dev->isp_sdev.out_crop.height) { in rkisp_set_fmt()
952 pixm->width, pixm->height, in rkisp_set_fmt()
979 unsigned int width, height, bytesperline, w, h; rkisp_set_fmt() local
1084 rkisp_set_stream_def_fmt(struct rkisp_device *dev, u32 id, u32 width, u32 height, u32 pixelformat) rkisp_set_stream_def_fmt() argument
1225 u32 height = dev->isp_sdev.out_crop.height; rkisp_set_cmsk() local
[all...]
/device/qemu/hardware/display/
H A Ddisplay_layer.c36 uint32_t height; member
49 .height = DISP_HEIGHT, in GetLayerInstance()
79 for (j = 0; j < priv->height; j++) { in SetBackground()
103 priv->fbSize = ((priv->pitch * priv->height) + 0xfff) & (~0xfff); in CreateLayer()
156 dispInfo->height = priv->height; in GetDisplayInfo()
158 HDF_LOGD("%s: width = %u, height = %u, rotAngle = %u", __func__, dispInfo->width, in GetDisplayInfo()
159 dispInfo->height, dispInfo->rotAngle); in GetDisplayInfo()
209 buffer->height = priv->height; in GetLayerBuffer()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_debugfs.c42 static int get_afbc_size(uint32_t width, uint32_t height, uint32_t bpp) in get_afbc_size() argument
49 height = ALIGN(height, h_alignment); in get_afbc_size()
50 n_blocks = width * height / AFBC_SUPERBLK_PIXELS; in get_afbc_size()
82 uv_size = (width * dump_info->height * bpp >> 0x3) * 0x2 / hsub / vsub; in rockchip_drm_dump_plane_buffer()
83 snprintf(file_name, 0x64, "%s/video%d_%d_%s.%s", DUMP_BUF_PATH, width, dump_info->height, format, "bin"); in rockchip_drm_dump_plane_buffer()
88 dump_info->area_id, width, dump_info->height, format, dump_info->AFBC_flag ? "_AFBC_" : "_", in rockchip_drm_dump_plane_buffer()
99 size = get_afbc_size(width, dump_info->height, bpp); in rockchip_drm_dump_plane_buffer()
101 size = (width * dump_info->height * bpp >> 0x3) + uv_size; in rockchip_drm_dump_plane_buffer()
/device/board/hisilicon/hispark_taurus/camera/pipeline_core/src/
H A Dipp_algo_example.c51 printf("in buffer addr = %p, width = %u, height = %u, stride = %u, size = %u, id = %d\n", inBuffer[i]->addr, in Process()
52 inBuffer[i]->width, inBuffer[i]->height, inBuffer[i]->stride, inBuffer[i]->size, inBuffer[i]->id); in Process()
82 char *startBuffer1 = (char*)(inBuffer[0]->addr) + inBuffer[0]->stride * inBuffer[0]->height; in Process()
83 char *startBuffer2 = (char*)(inBuffer[1]->addr) + inBuffer[1]->stride * inBuffer[1]->height; in Process()
84 if (memcpy_s(startBuffer1, inBuffer[0]->size - inBuffer[0]->stride * inBuffer[0]->height, in Process()
85 startBuffer2, inBuffer[0]->stride * inBuffer[0]->height) != 0) { in Process()
/device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core/src/ipp_algo_example/
H A Dipp_algo_example.c50 printf("in buffer addr = %p, width = %u, height = %u, stride = %u, size = %u, id = %d\n", inBuffer[i]->addr, in Process()
51 inBuffer[i]->width, inBuffer[i]->height, inBuffer[i]->stride, inBuffer[i]->size, inBuffer[i]->id); in Process()
81 char *startBuffer1 = (char*)(inBuffer[0]->addr) + inBuffer[0]->stride * inBuffer[0]->height; in Process()
82 char *startBuffer2 = (char*)(inBuffer[1]->addr) + inBuffer[1]->stride * inBuffer[1]->height; in Process()
83 if (memcpy_s(startBuffer1, inBuffer[0]->size - inBuffer[0]->stride * inBuffer[0]->height, in Process()
84 startBuffer2, inBuffer[0]->stride * inBuffer[0]->height) != 0) { in Process()
/device/board/hihope/rk3568/camera/vdi_impl/v4l2/pipeline_core/src/ipp_algo_example/
H A Dipp_algo_example.c50 printf("in buffer addr = %p, width = %u, height = %u, stride = %u, size = %u, id = %d\n", inBuffer[i]->addr, in Process()
51 inBuffer[i]->width, inBuffer[i]->height, inBuffer[i]->stride, inBuffer[i]->size, inBuffer[i]->id); in Process()
81 char *startBuffer1 = (char*)(inBuffer[0]->addr) + inBuffer[0]->stride * inBuffer[0]->height; in Process()
82 char *startBuffer2 = (char*)(inBuffer[1]->addr) + inBuffer[1]->stride * inBuffer[1]->height; in Process()
83 if (memcpy_s(startBuffer1, inBuffer[0]->size - inBuffer[0]->stride * inBuffer[0]->height, in Process()
84 startBuffer2, inBuffer[0]->stride * inBuffer[0]->height) != 0) { in Process()
/device/soc/rockchip/rk3588/hardware/rga/include/
H A Dim2d.h87 * @param height
92 * Height pixel stride, default (height = hstride).
98 #define wrapbuffer_handle(handle, width, height, format, ...) \
104 im2d_api_buffer = wrapbuffer_handle_t(handle, width, height, width, height, format); \
106 im2d_api_buffer = wrapbuffer_handle_t(handle, width, height, __args[0], __args[1], format); \
112 IM_API rga_buffer_t wrapbuffer_handle_t(rga_buffer_handle_t handle, int width, int height, int wstride, int hstride, int format);
115 #define wrapbuffer_virtualaddr(vir_addr, width, height, format, ...) \
121 im2d_api_buffer = wrapbuffer_virtualaddr_t(vir_addr, width, height, width, height, forma
[all...]
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
H A DRockchip_OSAL_OHOS.cpp62 OMX_U32 Get_Video_HorAlign(OMX_VIDEO_CODINGTYPE codecId, OMX_U32 width, OMX_U32 height, OMX_U32 codecProfile) in Get_Video_HorAlign() argument
92 if (width > 1920 || height > 1088) { // 1920:Resolution size, 1088:Resolution size in Get_Video_HorAlign()
107 OMX_U32 Get_Video_VerAlign(OMX_VIDEO_CODINGTYPE codecId, OMX_U32 height, OMX_U32 codecProfile) in Get_Video_HorAlign() argument
112 stride = (height + 15) & (~15); // 15:byte alignment in Get_Video_HorAlign()
114 stride = (height + 7) & (~7); // 7:byte alignment in Get_Video_HorAlign()
116 stride = (height + 63) & (~63); // 63:byte alignment in Get_Video_HorAlign()
118 stride = ((height + 15) & (~15)); // 15:byte alignment in Get_Video_HorAlign()
128 OMX_U32 width, height; in Get_Video_HorAlign() local
140 height = pPort->portDefinition.format.video.nFrameHeight; in Get_Video_HorAlign()
144 if ((depth == OMX_DEPTH_BIT_10) || ((width * height > 192 in Get_Video_HorAlign()
457 OMX_U32 height = pRockchipPort->portDefinition.format.video.nSliceHeight; Get_Video_HorAlign() local
579 Rockchip_OSAL_PowerControl( ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent, int32_t width, int32_t height, int32_t mHevc, int32_t frameRate, OMX_BOOL mFlag, int bitDepth) Get_Video_HorAlign() argument
705 GetDataSize(OMX_U32 width, OMX_U32 height, OMX_COLOR_FORMATTYPE format) Get_Video_HorAlign() argument
856 Rockchip_OSAL_CalculateTotalRefFrames( OMX_VIDEO_CODINGTYPE codecId, OMX_U32 width, OMX_U32 height, OMX_BOOL isSecure) Get_Video_HorAlign() argument
[all...]
/device/qemu/riscv32_virt/liteos_m/board/hardware/display/
H A Ddisplay_layer.c34 uint32_t height; member
48 .height = DISP_HEIGHT, in GetLayerInstance()
78 for (j = 0; j < priv->height; j++) { in SetBackground()
103 priv->fbSize = ((priv->pitch * priv->height) + 0xfff) & (~0xfff); in CreateLayer()
166 dispInfo->height = priv->height; in GetDisplayInfo()
168 HDF_LOGD("%s: width = %u, height = %u, rotAngle = %u", __func__, dispInfo->width, in GetDisplayInfo()
169 dispInfo->height, dispInfo->rotAngle); in GetDisplayInfo()
221 buffer->height = priv->height; in GetLayerBuffer()
[all...]

Completed in 19 milliseconds

12345678910>>...14