Home
last modified time | relevance | path

Searched refs:planes (Results 1 - 25 of 27) sorted by relevance

12

/device/qemu/riscv32_virt/liteos_m/board/hardware/display/
H A Ddisplay_gralloc.c51 const PlaneLayoutInfo *planes; member
90 if ((fmtInfo != NULL) && (fmtInfo->planes != NULL)) { in AdjustStrideFromFormat()
91 uint32_t sum = fmtInfo->planes->radio[0]; in AdjustStrideFromFormat()
92 for (uint32_t i = 1; (i < fmtInfo->planes->numPlanes) && (i < MAX_PLANES); i++) { in AdjustStrideFromFormat()
93 sum += fmtInfo->planes->radio[i]; in AdjustStrideFromFormat()
96 width = DIV_ROUND_UP((width * sum), fmtInfo->planes->radio[0]); in AdjustStrideFromFormat()
/device/soc/rockchip/common/hardware/display/src/display_gralloc/
H A Dhi_gbm.c39 const PlaneLayoutInfo *planes; member
109 if ((fmtInfo != NULL) && (fmtInfo->planes != NULL)) { in AdjustStrideFromFormat()
110 uint32_t sum = fmtInfo->planes->radio[0]; in AdjustStrideFromFormat()
111 for (uint32_t i = 1; (i < fmtInfo->planes->numPlanes) && (i < MAX_PLANES); i++) { in AdjustStrideFromFormat()
112 sum += fmtInfo->planes->radio[i]; in AdjustStrideFromFormat()
115 tmpHeight = DIV_ROUND_UP((height * sum), fmtInfo->planes->radio[0]); in AdjustStrideFromFormat()
/device/soc/rockchip/rk3399/hardware/display/src/display_gralloc/
H A Dhi_gbm.c39 const PlaneLayoutInfo *planes; member
99 if ((fmtInfo != NULL) && (fmtInfo->planes != NULL)) { in AdjustStrideFromFormat()
100 uint32_t sum = fmtInfo->planes->radio[0]; in AdjustStrideFromFormat()
101 for (uint32_t i = 1; (i < fmtInfo->planes->numPlanes) && (i < MAX_PLANES); i++) { in AdjustStrideFromFormat()
102 sum += fmtInfo->planes->radio[i]; in AdjustStrideFromFormat()
105 tmpHeight = DIV_ROUND_UP((height * sum), fmtInfo->planes->radio[0]); in AdjustStrideFromFormat()
/device/soc/rockchip/rk3566/hardware/display/src/display_gralloc/
H A Dhi_gbm.cpp43 const PlaneLayoutInfo *planes; member
103 if ((fmtInfo != nullptr) && (fmtInfo->planes != nullptr)) { in AdjustStrideFromFormat()
104 uint32_t sum = fmtInfo->planes->radio[0]; in AdjustStrideFromFormat()
105 for (uint32_t i = 1; (i < fmtInfo->planes->numPlanes) && (i < MAX_PLANES); i++) { in AdjustStrideFromFormat()
106 sum += fmtInfo->planes->radio[i]; in AdjustStrideFromFormat()
109 tmpHeight = DIV_ROUND_UP((height * sum), fmtInfo->planes->radio[0]); in AdjustStrideFromFormat()
/device/soc/rockchip/rk3568/hardware/display/src/display_gralloc/
H A Dhi_gbm.cpp43 const PlaneLayoutInfo *planes; member
103 if ((fmtInfo != nullptr) && (fmtInfo->planes != nullptr)) { in AdjustStrideFromFormat()
104 uint32_t sum = fmtInfo->planes->radio[0]; in AdjustStrideFromFormat()
105 for (uint32_t i = 1; (i < fmtInfo->planes->numPlanes) && (i < MAX_PLANES); i++) { in AdjustStrideFromFormat()
106 sum += fmtInfo->planes->radio[i]; in AdjustStrideFromFormat()
109 tmpHeight = DIV_ROUND_UP((height * sum), fmtInfo->planes->radio[0]); in AdjustStrideFromFormat()
/device/soc/rockchip/rk3588/hardware/display/src/display_gralloc/
H A Dhi_gbm.cpp43 const PlaneLayoutInfo *planes; member
103 if ((fmtInfo != nullptr) && (fmtInfo->planes != nullptr)) { in AdjustStrideFromFormat()
104 uint32_t sum = fmtInfo->planes->radio[0]; in AdjustStrideFromFormat()
105 for (uint32_t i = 1; (i < fmtInfo->planes->numPlanes) && (i < MAX_PLANES); i++) { in AdjustStrideFromFormat()
106 sum += fmtInfo->planes->radio[i]; in AdjustStrideFromFormat()
109 tmpHeight = DIV_ROUND_UP((height * sum), fmtInfo->planes->radio[0]); in AdjustStrideFromFormat()
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
H A DRockchip_OSAL_RGA_Process.c476 void rga_nv122rgb(RockchipVideoPlane *planes, VPUMemLinear_t *vpumem, uint32_t Width, in rga_nv122rgb() argument
489 rga_set_info(&dst, Width, Height, planes->stride, in rga_nv122rgb()
490 Height, planes->fd, dst_format, (void *)planes->addr, planes->type); in rga_nv122rgb()
510 rga_set_rect(&dst.rect, 0, 0, Width, Height, planes->stride, Height, dst_format); in rga_nv122rgb()
512 dst.fd = planes->fd; in rga_nv122rgb()
H A DRockchip_OSAL_RGA_Process.h43 void rga_nv122rgb(RockchipVideoPlane *planes, VPUMemLinear_t *vpumem, uint32_t mWidth,
/device/soc/hisilicon/common/hal/display/source/display_device/src/drm/
H A Ddrm_device.cpp217 drmModePlanePtr p = drmModeGetPlane(GetDrmFd(), planeRes->planes[i]); in FindAllPlane()
268 std::vector<std::shared_ptr<DrmPlane>> planes; in GetDrmPlane() local
272 planes.push_back(plane); in GetDrmPlane()
275 DISPLAY_LOGD("the planes count %{public}zd", planes.size()); in GetDrmPlane()
276 return planes; in GetDrmPlane()
/device/soc/rockchip/common/hardware/display/src/display_device/
H A Ddrm_device.cpp246 drmModePlanePtr p = drmModeGetPlane(GetDrmFd(), planeRes->planes[i]); in FindAllPlane()
282 std::vector<std::shared_ptr<DrmPlane>> planes; in GetDrmPlane() local
285 planes.push_back(plane); in GetDrmPlane()
288 DISPLAY_DEBUGLOG("the planes count %{public}zd", planes.size()); in GetDrmPlane()
289 return planes; in GetDrmPlane()
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Ddrm_device.cpp241 drmModePlanePtr p = drmModeGetPlane(GetDrmFd(), planeRes->planes[i]); in FindAllPlane()
277 std::vector<std::shared_ptr<DrmPlane>> planes; in GetDrmPlane() local
280 planes.push_back(plane); in GetDrmPlane()
283 DISPLAY_DEBUGLOG("the planes count %{public}zd", planes.size()); in GetDrmPlane()
284 return planes; in GetDrmPlane()
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
H A Ddrm_device.cpp241 drmModePlanePtr p = drmModeGetPlane(GetDrmFd(), planeRes->planes[i]); in FindAllPlane()
277 std::vector<std::shared_ptr<DrmPlane>> planes; in GetDrmPlane() local
280 planes.push_back(plane); in GetDrmPlane()
283 DISPLAY_LOGD("the planes count %{public}zd", planes.size()); in GetDrmPlane()
284 return planes; in GetDrmPlane()
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
H A Ddrm_device.cpp241 drmModePlanePtr p = drmModeGetPlane(GetDrmFd(), planeRes->planes[i]); in FindAllPlane()
277 std::vector<std::shared_ptr<DrmPlane>> planes; in GetDrmPlane() local
280 planes.push_back(plane); in GetDrmPlane()
283 DISPLAY_LOGD("the planes count %{public}zd", planes.size()); in GetDrmPlane()
284 return planes; in GetDrmPlane()
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
H A Ddrm_device.cpp241 drmModePlanePtr p = drmModeGetPlane(GetDrmFd(), planeRes->planes[i]); in FindAllPlane()
277 std::vector<std::shared_ptr<DrmPlane>> planes; in GetDrmPlane() local
282 planes.push_back(plane); in GetDrmPlane()
285 DISPLAY_LOGD("the planes count %{public}zd", planes.size()); in GetDrmPlane()
286 return planes; in GetDrmPlane()
/device/qemu/hardware/display/
H A Ddisplay_gralloc.c54 const PlaneLayoutInfo *planes; member
93 if ((fmtInfo != NULL) && (fmtInfo->planes != NULL)) { in AdjustStrideFromFormat()
94 uint32_t sum = fmtInfo->planes->radio[0]; in AdjustStrideFromFormat()
95 for (uint32_t i = 1; (i < fmtInfo->planes->numPlanes) && (i < MAX_PLANES); i++) { in AdjustStrideFromFormat()
96 sum += fmtInfo->planes->radio[i]; in AdjustStrideFromFormat()
99 width = DIV_ROUND_UP((width * sum), fmtInfo->planes->radio[0]); in AdjustStrideFromFormat()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A Ddmarx.c564 * NOTE: plane_fmt[0].sizeimage is total size of all planes for single in rkisp_buf_queue()
684 unsigned int planes; in rkisp_set_fmt() local
703 planes = fmt->cplanes ? fmt->cplanes : fmt->mplanes; in rkisp_set_fmt()
704 for (i = 0; i < planes; i++) { in rkisp_set_fmt()
H A Dcapture.c916 u32 planes, imagsize = 0; in rkisp_set_fmt() local
977 planes = fmt->cplanes ? fmt->cplanes : fmt->mplanes; in rkisp_set_fmt()
978 for (i = 0; i < planes; i++) { in rkisp_set_fmt()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
H A Ddmarx.c555 * NOTE: plane_fmt[0].sizeimage is total size of all planes for single in rkisp_buf_queue()
689 unsigned int planes; in rkisp_set_fmt() local
711 planes = fmt->cplanes ? fmt->cplanes : fmt->mplanes; in rkisp_set_fmt()
712 for (i = 0; i < planes; i++) { in rkisp_set_fmt()
H A Dcapture.c904 u32 planes, imagsize = 0; in rkisp_set_fmt() local
976 planes = fmt->cplanes ? fmt->cplanes : fmt->mplanes; in rkisp_set_fmt()
977 for (i = 0; i < planes; i++) { in rkisp_set_fmt()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
H A Dstream.c892 * NOTE: plane_fmt[0].sizeimage is total size of all planes for single in rkispp_buf_queue()
1162 unsigned int planes; in rkispp_set_fmt() local
1201 planes = fmt->cplanes ? fmt->cplanes : fmt->mplanes; in rkispp_set_fmt()
1202 for (i = 0; i < planes; i++) { in rkispp_set_fmt()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
H A Dstream.c914 * NOTE: plane_fmt[0].sizeimage is total size of all planes for single in rkispp_buf_queue()
1201 unsigned int planes; in rkispp_set_fmt() local
1242 planes = fmt->cplanes ? fmt->cplanes : fmt->mplanes; in rkispp_set_fmt()
1243 for (i = 0; i < planes; i++) { in rkispp_set_fmt()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_atomic_helper.c755 * only be false for primary planes.
842 * drm_atomic_helper_check_planes - validate state object for planes changes
852 * updated planes.
1218 * PM since planes updates then only happen when the CRTC is actually enabled.
1265 * PM since planes updates then only happen when the CRTC is actually enabled.
1280 /* Need to filter out CRTCs where only planes change. */ in drm_atomic_helper_commit_modeset_enables()
1354 * just uses the atomic state to find the changed planes)
1691 * Only CRTCs and planes have check callbacks, so for any additional (global)
1696 * This just wraps the two parts of the state checking for planes and modeset
1703 * Note that zpos normalization will add all enable planes t
[all...]
/device/soc/rockchip/common/sdk_linux/include/uapi/linux/usb/
H A Dvideodev2.h583 /* two planes -- one Y, one Cr + Cb interleaved */
591 /* two non contiguous planes - one Y, one Cr + Cb interleaved */
599 /* three planes - Y Cb, Cr */
607 /* three non contiguous planes - Y, Cb, Cr */
963 * Multi-planar buffers consist of one or more planes, e.g. an YCbCr buffer
964 * with two planes can have one plane for Y, and another for interleaved CbCr
1001 * @planes: for multiplanar buffers; userspace pointer to the array of plane
1005 * planes array for multi-plane buffers
1030 struct v4l2_plane *planes; member
2165 * @num_planes: number of planes fo
[all...]
/device/soc/rockchip/common/sdk_linux/include/uapi/linux/
H A Dvideodev2.h583 /* two planes -- one Y, one Cr + Cb interleaved */
591 /* two non contiguous planes - one Y, one Cr + Cb interleaved */
599 /* three planes - Y Cb, Cr */
607 /* three non contiguous planes - Y, Cb, Cr */
963 * Multi-planar buffers consist of one or more planes, e.g. an YCbCr buffer
964 * with two planes can have one plane for Y, and another for interleaved CbCr
1001 * @planes: for multiplanar buffers; userspace pointer to the array of plane
1005 * planes array for multi-plane buffers
1030 struct v4l2_plane *planes; member
2165 * @num_planes: number of planes fo
[all...]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
H A Dcapture.c2661 * otherwise, multiple c-planes are in the same m-plane in rkcif_buf_queue()
4066 unsigned int imagesize = 0, ex_imagesize = 0, planes; in rkcif_set_fmt() local
4116 planes = fmt->cplanes ? fmt->cplanes : fmt->mplanes; in rkcif_set_fmt()
4123 for (i = 0; i < planes; i++) { in rkcif_set_fmt()

Completed in 46 milliseconds

12