| /linux/drivers/gpu/drm/ |
| H A D | drm_fourcc.c | 178 { .format = DRM_FORMAT_C1, .depth = 1, .num_planes = 1, in __drm_format_info() 180 { .format = DRM_FORMAT_C2, .depth = 2, .num_planes = 1, in __drm_format_info() 182 { .format = DRM_FORMAT_C4, .depth = 4, .num_planes = 1, in __drm_format_info() 184 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 185 { .format = DRM_FORMAT_D1, .depth = 1, .num_planes = 1, in __drm_format_info() 187 { .format = DRM_FORMAT_D2, .depth = 2, .num_planes = 1, in __drm_format_info() 189 { .format = DRM_FORMAT_D4, .depth = 4, .num_planes = 1, in __drm_format_info() 191 …{ .format = DRM_FORMAT_D8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 192 { .format = DRM_FORMAT_R1, .depth = 1, .num_planes = 1, in __drm_format_info() 194 { .format = DRM_FORMAT_R2, .depth = 2, .num_planes = 1, in __drm_format_info() [all …]
|
| H A D | drm_gem_framebuffer_helper.c | 74 struct drm_gem_object **obj, unsigned int num_planes, in drm_gem_fb_init() argument 82 for (i = 0; i < num_planes; i++) in drm_gem_fb_init() 104 for (i = 0; i < fb->format->num_planes; i++) in drm_gem_fb_destroy() 174 for (i = 0; i < info->num_planes; i++) { in drm_gem_fb_init_with_funcs() 363 for (i = 0; i < fb->format->num_planes; ++i) { in drm_gem_fb_vmap() 375 for (i = 0; i < fb->format->num_planes; ++i) { in drm_gem_fb_vmap() 408 unsigned int i = fb->format->num_planes; in drm_gem_fb_vunmap() 424 unsigned int num_planes) in __drm_gem_fb_end_cpu_access() argument 430 while (num_planes) { in __drm_gem_fb_end_cpu_access() 431 --num_planes; in __drm_gem_fb_end_cpu_access() [all …]
|
| /linux/drivers/media/platform/raspberrypi/pisp_be/ |
| H A D | pisp_be_formats.h | 23 unsigned int num_planes; member 64 .num_planes = 1, 74 .num_planes = 1, 83 .num_planes = 1, 92 .num_planes = 1, 101 .num_planes = 1, 110 .num_planes = 1, 119 .num_planes = 1, 128 .num_planes = 1, 138 .num_planes = 3, [all …]
|
| /linux/drivers/media/platform/mediatek/mdp3/ |
| H A D | mdp_cfg_data.c | 826 .num_planes = 1, 833 .num_planes = 1, 840 .num_planes = 1, 847 .num_planes = 1, 854 .num_planes = 1, 861 .num_planes = 1, 868 .num_planes = 1, 875 .num_planes = 1, 883 .num_planes = 1, 891 .num_planes = 1, [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_fb.c | 43 { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, 45 { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, 47 { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, 49 { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, 51 { .format = DRM_FORMAT_XRGB2101010, .depth = 30, .num_planes = 2, 53 { .format = DRM_FORMAT_XBGR2101010, .depth = 30, .num_planes = 2, 55 { .format = DRM_FORMAT_ARGB2101010, .depth = 30, .num_planes = 2, 57 { .format = DRM_FORMAT_ABGR2101010, .depth = 30, .num_planes = 2, 69 { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, 72 { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, [all …]
|
| H A D | intel_bw.c | 484 bi->num_planes = (ipqdepth - clpchgroup) / clpchgroup + 1; in icl_get_bw_info() 508 i, j, bi->num_planes, bi->deratedbw[j]); in icl_get_bw_info() 583 bi_next->num_planes = (ipqdepth - clpchgroup) / in tgl_get_bw_info() 586 bi_next->num_planes = 0; in tgl_get_bw_info() 614 i, j, bi->num_planes, bi->deratedbw[j], in tgl_get_bw_info() 625 i, j, bi->num_planes, bi->psf_bw[j]); in tgl_get_bw_info() 658 bi->num_planes = 1; in dg2_get_bw_info() 700 display->bw.max[0].num_planes = 1; in xe2_hpd_get_bw_info() 717 int num_planes, int qgv_point) in icl_max_bw_index() argument 724 num_planes = max(1, num_planes); in icl_max_bw_index() [all …]
|
| /linux/include/drm/ |
| H A D | drm_fourcc.h | 75 u8 num_planes; member 157 return info->is_yuv && info->num_planes == 1; in drm_format_info_is_yuv_packed() 171 return info->is_yuv && info->num_planes == 2; in drm_format_info_is_yuv_semiplanar() 185 return info->is_yuv && info->num_planes == 3; in drm_format_info_is_yuv_planar() 276 if (!info || plane >= info->num_planes) in drm_format_info_plane_width() 298 if (!info || plane >= info->num_planes) in drm_format_info_plane_height()
|
| /linux/drivers/media/platform/samsung/exynos-gsc/ |
| H A D | gsc-core.c | 32 .num_planes = 1, 38 .num_planes = 1, 46 .num_planes = 1, 55 .num_planes = 1, 64 .num_planes = 1, 73 .num_planes = 1, 82 .num_planes = 1, 90 .num_planes = 1, 98 .num_planes = 1, 106 .num_planes = 2, [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_display.c | 582 { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, 584 { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, 586 { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, 589 { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, 592 { .format = DRM_FORMAT_BGRA8888, .depth = 32, .num_planes = 2, 595 { .format = DRM_FORMAT_XRGB2101010, .depth = 30, .num_planes = 2, 597 { .format = DRM_FORMAT_XBGR2101010, .depth = 30, .num_planes = 2, 599 { .format = DRM_FORMAT_ARGB2101010, .depth = 30, .num_planes = 2, 602 { .format = DRM_FORMAT_ABGR2101010, .depth = 30, .num_planes = 2, 605 { .format = DRM_FORMAT_RGB565, .depth = 16, .num_planes = 2, [all …]
|
| /linux/drivers/media/common/videobuf2/ |
| H A D | videobuf2-core.c | 234 for (plane = 0; plane < vb->num_planes; ++plane) { in __vb2_buf_mem_alloc() 274 for (plane = 0; plane < vb->num_planes; ++plane) { in __vb2_buf_mem_free() 290 for (plane = 0; plane < vb->num_planes; ++plane) { in __vb2_buf_userptr_put() 338 for (plane = vb->num_planes - 1; plane >= 0; --plane) in __vb2_buf_dmabuf_put() 354 for (plane = 0; plane < vb->num_planes; ++plane) in __vb2_buf_mem_prepare() 370 for (plane = 0; plane < vb->num_planes; ++plane) in __vb2_buf_mem_finish() 400 for (plane = 0; plane < vb->num_planes; ++plane) { in __setup_offsets() 466 unsigned int num_buffers, unsigned int num_planes, in __vb2_queue_alloc() argument 509 vb->num_planes = num_planes; in __vb2_queue_alloc() 513 for (plane = 0; plane < num_planes; ++plane) { in __vb2_queue_alloc() [all …]
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fb.c | 262 int ret, i, n = fb->format->num_planes; in omap_framebuffer_pin() 302 int i, n = fb->format->num_planes; in omap_framebuffer_unpin() 325 int i, n = fb->format->num_planes; in omap_framebuffer_describe() 342 unsigned int num_planes = info->num_planes; in omap_framebuffer_create() local 347 for (i = 0; i < num_planes; i++) { in omap_framebuffer_create() 408 if (info->num_planes == 2 && pitch != mode_cmd->pitches[1]) { in omap_framebuffer_init() 422 for (i = 0; i < info->num_planes; i++) { in omap_framebuffer_init()
|
| /linux/drivers/gpu/drm/renesas/rcar-du/ |
| H A D | rcar_du_vsp.c | 265 for (i = 0; i < fb->format->num_planes; ++i) { in rcar_du_vsp_map_fb() 346 for (i = 0; i < fb->format->num_planes; ++i) { in rcar_du_vsp_unmap_fb() 453 for (i = 0; i < vsp->num_planes; ++i) { in rcar_du_vsp_cleanup() 470 unsigned int num_planes; in rcar_du_vsp_init() local 489 num_planes = rcdu->info->num_rpf; in rcar_du_vsp_init() 491 vsp->planes = kzalloc_objs(*vsp->planes, num_planes); in rcar_du_vsp_init() 495 for (i = 0; i < num_planes; ++i) { in rcar_du_vsp_init() 526 num_planes - 1); in rcar_du_vsp_init() 533 vsp->num_planes++; in rcar_du_vsp_init()
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A D | vdec.c | 35 .num_planes = 1, 40 .num_planes = 1, 45 .num_planes = 1, 50 .num_planes = 1, 55 .num_planes = 1, 61 .num_planes = 1, 67 .num_planes = 1, 73 .num_planes = 1, 79 .num_planes = 1, 85 .num_planes = 1, [all …]
|
| H A D | venc.c | 37 .num_planes = 1, 42 .num_planes = 1, 47 .num_planes = 1, 52 .num_planes = 1, 57 .num_planes = 1, 62 .num_planes = 1, 212 pixmp->num_planes = fmt->num_planes; in venc_try_fmt_common() 1083 unsigned int *num_buffers, unsigned int *num_planes, in venc_queue_setup() argument 1091 if (*num_planes) { in venc_queue_setup() 1093 *num_planes != inst->fmt_out->num_planes) in venc_queue_setup() [all …]
|
| /linux/drivers/media/platform/nvidia/tegra-vde/ |
| H A D | v4l2.c | 85 unsigned int *num_planes, in tegra_queue_setup() argument 98 if (*num_planes) { in tegra_queue_setup() 99 if (*num_planes != f->fmt.pix_mp.num_planes) in tegra_queue_setup() 102 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) { in tegra_queue_setup() 107 *num_planes = f->fmt.pix_mp.num_planes; in tegra_queue_setup() 109 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) in tegra_queue_setup() 159 if (V4L2_TYPE_IS_CAPTURE(vq->type) && vb->num_planes > 1) { in tegra_buf_init() 175 for (i = 0; i < vb->num_planes; i++) { in tegra_buf_init() 214 __tegra_buf_cleanup(vb, vb->num_planes); in tegra_buf_cleanup() 235 for (i = 0; i < vb->num_planes; i++) { in tegra_buf_prepare() [all …]
|
| /linux/drivers/gpu/drm/tidss/ |
| H A D | tidss_kms.c | 213 u32 hw_plane_id = feat->vid_order[tidss->num_planes]; in tidss_dispc_modeset_init() 224 tidss->planes[tidss->num_planes++] = &tplane->plane; in tidss_dispc_modeset_init() 246 while (tidss->num_planes < max_planes) { in tidss_dispc_modeset_init() 248 u32 hw_plane_id = feat->vid_order[tidss->num_planes]; in tidss_dispc_modeset_init() 259 tidss->planes[tidss->num_planes++] = &tplane->plane; in tidss_dispc_modeset_init()
|
| /linux/drivers/media/platform/mediatek/mdp/ |
| H A D | mtk_mdp_m2m.c | 53 .num_planes = 2, 61 .num_planes = 2, 69 .num_planes = 3, 77 .num_planes = 1, 239 pix_mp->num_planes = fmt->num_planes; in mtk_mdp_try_fmt_mplane() 241 for (i = 0; i < pix_mp->num_planes; ++i) { in mtk_mdp_try_fmt_mplane() 434 planes = min_t(u32, frame->fmt->num_planes, ARRAY_SIZE(addr->addr)); in mtk_mdp_prepare_addr() 541 unsigned int *num_buffers, unsigned int *num_planes, in mtk_mdp_m2m_queue_setup() argument 549 *num_planes = frame->fmt->num_planes; in mtk_mdp_m2m_queue_setup() 550 for (i = 0; i < frame->fmt->num_planes; i++) in mtk_mdp_m2m_queue_setup() [all …]
|
| /linux/drivers/media/platform/chips-media/wave5/ |
| H A D | wave5-vpu-dec.c | 266 for (i = 0; i < vb->vb2_buf.num_planes; i++) in flag_last_buffer_done() 412 if (inst->dst_fmt.num_planes == 1) { in wave5_vpu_dec_finish_decode() 415 } else if (inst->dst_fmt.num_planes == 2) { in wave5_vpu_dec_finish_decode() 420 } else if (inst->dst_fmt.num_planes == 3) { in wave5_vpu_dec_finish_decode() 528 f->fmt.pix_mp.num_planes, f->fmt.pix_mp.colorspace, f->fmt.pix_mp.field); in wave5_vpu_dec_try_fmt_cap() 566 f->fmt.pix_mp.num_planes, f->fmt.pix_mp.colorspace, f->fmt.pix_mp.field); in wave5_vpu_dec_s_fmt_cap() 577 inst->dst_fmt.num_planes = f->fmt.pix_mp.num_planes; in wave5_vpu_dec_s_fmt_cap() 578 for (i = 0; i < inst->dst_fmt.num_planes; i++) { in wave5_vpu_dec_s_fmt_cap() 627 f->fmt.pix_mp.num_planes = inst->dst_fmt.num_planes; in wave5_vpu_dec_g_fmt_cap() 628 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) { in wave5_vpu_dec_g_fmt_cap() [all …]
|
| H A D | wave5-vpu-enc.c | 175 if (inst->src_fmt.num_planes == 1) { in start_encode() 180 } else if (inst->src_fmt.num_planes == 2) { in start_encode() 186 } else if (inst->src_fmt.num_planes == 3) { in start_encode() 387 f->fmt.pix_mp.num_planes, f->fmt.pix_mp.field); in wave5_vpu_enc_try_fmt_cap() 419 f->fmt.pix_mp.num_planes, f->fmt.pix_mp.field); in wave5_vpu_enc_s_fmt_cap() 437 inst->dst_fmt.num_planes = f->fmt.pix_mp.num_planes; in wave5_vpu_enc_s_fmt_cap() 438 for (i = 0; i < inst->dst_fmt.num_planes; i++) { in wave5_vpu_enc_s_fmt_cap() 456 f->fmt.pix_mp.num_planes = inst->dst_fmt.num_planes; in wave5_vpu_enc_g_fmt_cap() 457 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) { in wave5_vpu_enc_g_fmt_cap() 496 f->fmt.pix_mp.num_planes, f->fmt.pix_mp.field); in wave5_vpu_enc_try_fmt_out() [all …]
|
| /linux/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_framebuffer.c | 22 for (i = 0; i < fb->format->num_planes; i++) in komeda_fb_destroy() 125 for (i = 0; i < info->num_planes; i++) { in komeda_fb_none_afbc_size_check() 149 if (fb->format->num_planes == 3) { in komeda_fb_none_afbc_size_check() 203 for (i = 0; i < kfb->base.format->num_planes; i++) in komeda_fb_create() 247 if (plane >= fb->format->num_planes) { in komeda_fb_get_pixel_addr()
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_fb.c | 63 int i, n = fb->format->num_planes; in msm_framebuffer_describe() 84 int ret, i, n = fb->format->num_planes; in msm_framebuffer_prepare() 109 int i, n = fb->format->num_planes; in msm_framebuffer_cleanup() 148 int ret, i, n = info->num_planes; in msm_framebuffer_create() 187 n = info->num_planes; in msm_framebuffer_init()
|
| /linux/drivers/media/platform/imagination/ |
| H A D | e5010-jpeg-enc.c | 49 .num_planes = 1, 58 .num_planes = 2, 67 .num_planes = 1, 76 .num_planes = 2, 85 .num_planes = 1, 94 .num_planes = 2, 104 .num_planes = 1, 113 .num_planes = 2, 122 .num_planes = 1, 295 pix_mp->num_planes = queue->fmt->num_planes; in e5010_g_fmt() [all …]
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | fb.c | 109 unsigned int num_planes) in tegra_fb_alloc() argument 121 for (i = 0; i < fb->format->num_planes; i++) in tegra_fb_alloc() 146 for (i = 0; i < info->num_planes; i++) { in tegra_fb_create()
|
| /linux/include/media/ |
| H A D | videobuf2-core.h | 245 * @num_planes: number of planes in the buffer 257 unsigned int num_planes; member 341 * buffer in \*num_planes, the size of each plane should be 344 * When called from VIDIOC_REQBUFS(), \*num_planes == 0, 348 * from VIDIOC_CREATE_BUFS(), \*num_planes != 0 and it 352 * the buffers already allocated. If either \*num_planes 429 unsigned int *num_buffers, unsigned int *num_planes, 1217 if (plane_no < vb->num_planes) { 1233 if (plane_no < vb->num_planes) in vb2_set_plane_payload() 1247 if (plane_no < vb->num_planes) in vb2_get_plane_payload() [all...] |
| /linux/drivers/gpu/drm/armada/ |
| H A D | armada_plane.c | 43 unsigned int num_planes = format->num_planes; in armada_drm_plane_calc() local 52 if (num_planes > 3) in armada_drm_plane_calc() 53 num_planes = 3; in armada_drm_plane_calc() 62 for (i = 1; i < num_planes; i++) { in armada_drm_plane_calc()
|