Home
last modified time | relevance | path

Searched refs:rwpf (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_rwpf.c51 struct vsp1_rwpf *rwpf = to_rwpf(subdev); in vsp1_rwpf_enum_frame_size() local
55 RWPF_MIN_HEIGHT, rwpf->max_width, in vsp1_rwpf_enum_frame_size()
56 rwpf->max_height); in vsp1_rwpf_enum_frame_size()
63 struct vsp1_rwpf *rwpf = to_rwpf(subdev); in vsp1_rwpf_set_format() local
68 mutex_lock(&rwpf->entity.lock); in vsp1_rwpf_set_format()
70 state = vsp1_entity_get_state(&rwpf->entity, sd_state, fmt->which); in vsp1_rwpf_set_format()
129 RWPF_MIN_WIDTH, rwpf->max_width); in vsp1_rwpf_set_format()
131 RWPF_MIN_HEIGHT, rwpf->max_height); in vsp1_rwpf_set_format()
143 if (rwpf->entity.type == VSP1_ENTITY_RPF) { in vsp1_rwpf_set_format()
158 if (rwpf->flip.rotate) { in vsp1_rwpf_set_format()
[all …]
H A Dvsp1_video.c79 if (video->rwpf->fmtinfo->mbus != fmt.format.code || in vsp1_video_verify_format()
80 video->rwpf->format.height != fmt.format.height || in vsp1_video_verify_format()
81 video->rwpf->format.width != fmt.format.width) { in vsp1_video_verify_format()
84 video->rwpf->fmtinfo->mbus, video->rwpf->format.width, in vsp1_video_verify_format()
85 video->rwpf->format.height, fmt.format.code, in vsp1_video_verify_format()
209 struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; in vsp1_video_complete_buffer()
244 struct vsp1_rwpf *rwpf) in vsp1_video_frame_end() argument
246 struct vsp1_video *video = rwpf->video; in vsp1_video_frame_end()
253 video->rwpf->mem = buf->mem; in vsp1_video_frame_end()
469 struct vsp1_rwpf *rwpf; in vsp1_video_pipeline_build() local
[all …]
H A Dvsp1_video.h34 struct vsp1_rwpf *rwpf; member
58 struct vsp1_rwpf *rwpf);
H A Dvsp1_vspx.c86 struct vsp1_rwpf *rwpf, in vsp1_vspx_rwpf_set_subdev_fmt() argument
91 struct vsp1_entity *ent = &rwpf->entity; in vsp1_vspx_rwpf_set_subdev_fmt()
114 rwpf->fmtinfo = vsp1_get_format_info(vsp1, vspx_fourcc); in vsp1_vspx_rwpf_set_subdev_fmt()
121 format.format.code = rwpf->fmtinfo->mbus; in vsp1_vspx_rwpf_set_subdev_fmt()
H A Dvsp1_rwpf.h84 int vsp1_rwpf_init_ctrls(struct vsp1_rwpf *rwpf, unsigned int ncontrols);
H A Dvsp1_drm.c589 struct vsp1_rwpf *rwpf, in vsp1_du_pipeline_set_rwpf_format() argument
610 rwpf->fmtinfo = fmtinfo; in vsp1_du_pipeline_set_rwpf_format()
611 rwpf->format.num_planes = fmtinfo->planes; in vsp1_du_pipeline_set_rwpf_format()
612 rwpf->format.plane_fmt[0].bytesperline = pitch; in vsp1_du_pipeline_set_rwpf_format()
613 rwpf->format.plane_fmt[1].bytesperline = pitch / chroma_hsub; in vsp1_du_pipeline_set_rwpf_format()