Home
last modified time | relevance | path

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

/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_rwpf.c45 struct vsp1_rwpf *rwpf = to_rwpf(subdev); in vsp1_rwpf_enum_frame_size() local
49 RWPF_MIN_HEIGHT, rwpf->max_width, in vsp1_rwpf_enum_frame_size()
50 rwpf->max_height); in vsp1_rwpf_enum_frame_size()
57 struct vsp1_rwpf *rwpf = to_rwpf(subdev); in vsp1_rwpf_set_format() local
62 mutex_lock(&rwpf->entity.lock); in vsp1_rwpf_set_format()
64 state = vsp1_entity_get_state(&rwpf->entity, sd_state, fmt->which); in vsp1_rwpf_set_format()
90 RWPF_MIN_WIDTH, rwpf->max_width); in vsp1_rwpf_set_format()
92 RWPF_MIN_HEIGHT, rwpf->max_height); in vsp1_rwpf_set_format()
98 if (rwpf->entity.type == VSP1_ENTITY_RPF) { in vsp1_rwpf_set_format()
113 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()
197 struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; in vsp1_video_complete_buffer()
232 struct vsp1_rwpf *rwpf) in vsp1_video_frame_end() argument
234 struct vsp1_video *video = rwpf->video; in vsp1_video_frame_end()
241 video->rwpf->mem = buf->mem; in vsp1_video_frame_end()
457 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_rwpf.h84 int vsp1_rwpf_init_ctrls(struct vsp1_rwpf *rwpf, unsigned int ncontrols);
H A Dvsp1_drm.c588 struct vsp1_rwpf *rwpf, in vsp1_du_pipeline_set_rwpf_format() argument
609 rwpf->fmtinfo = fmtinfo; in vsp1_du_pipeline_set_rwpf_format()
610 rwpf->format.num_planes = fmtinfo->planes; in vsp1_du_pipeline_set_rwpf_format()
611 rwpf->format.plane_fmt[0].bytesperline = pitch; in vsp1_du_pipeline_set_rwpf_format()
612 rwpf->format.plane_fmt[1].bytesperline = pitch / chroma_hsub; in vsp1_du_pipeline_set_rwpf_format()