Home
last modified time | relevance | path

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

/drivers/media/platform/vsp1/
Dvsp1_rwpf.c19 struct v4l2_rect *vsp1_rwpf_get_crop(struct vsp1_rwpf *rwpf, in vsp1_rwpf_get_crop() argument
22 return v4l2_subdev_get_try_crop(&rwpf->entity.subdev, sd_state, in vsp1_rwpf_get_crop()
52 struct vsp1_rwpf *rwpf = to_rwpf(subdev); in vsp1_rwpf_enum_frame_size() local
56 RWPF_MIN_HEIGHT, rwpf->max_width, in vsp1_rwpf_enum_frame_size()
57 rwpf->max_height); in vsp1_rwpf_enum_frame_size()
64 struct vsp1_rwpf *rwpf = to_rwpf(subdev); in vsp1_rwpf_set_format() local
69 mutex_lock(&rwpf->entity.lock); in vsp1_rwpf_set_format()
71 config = vsp1_entity_get_pad_config(&rwpf->entity, sd_state, in vsp1_rwpf_set_format()
84 format = vsp1_entity_get_pad_format(&rwpf->entity, config, fmt->pad); in vsp1_rwpf_set_format()
98 RWPF_MIN_WIDTH, rwpf->max_width); in vsp1_rwpf_set_format()
[all …]
Dvsp1_video.c78 if (video->rwpf->fmtinfo->mbus != fmt.format.code || in vsp1_video_verify_format()
79 video->rwpf->format.height != fmt.format.height || in vsp1_video_verify_format()
80 video->rwpf->format.width != fmt.format.width) in vsp1_video_verify_format()
315 struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; in vsp1_video_complete_buffer()
350 struct vsp1_rwpf *rwpf) in vsp1_video_frame_end() argument
352 struct vsp1_video *video = rwpf->video; in vsp1_video_frame_end()
359 video->rwpf->mem = buf->mem; in vsp1_video_frame_end()
576 struct vsp1_rwpf *rwpf; in vsp1_video_pipeline_build() local
589 rwpf = to_rwpf(subdev); in vsp1_video_pipeline_build()
590 pipe->inputs[rwpf->entity.index] = rwpf; in vsp1_video_pipeline_build()
[all …]
Dvsp1_video.h34 struct vsp1_rwpf *rwpf; member
58 struct vsp1_rwpf *rwpf);
Dvsp1_rwpf.h82 int vsp1_rwpf_init_ctrls(struct vsp1_rwpf *rwpf, unsigned int ncontrols);
86 struct v4l2_rect *vsp1_rwpf_get_crop(struct vsp1_rwpf *rwpf,
Dvsp1_drm.c574 struct vsp1_rwpf *rwpf, in vsp1_du_pipeline_set_rwpf_format() argument
595 rwpf->fmtinfo = fmtinfo; in vsp1_du_pipeline_set_rwpf_format()
596 rwpf->format.num_planes = fmtinfo->planes; in vsp1_du_pipeline_set_rwpf_format()
597 rwpf->format.plane_fmt[0].bytesperline = pitch; in vsp1_du_pipeline_set_rwpf_format()
598 rwpf->format.plane_fmt[1].bytesperline = pitch / chroma_hsub; in vsp1_du_pipeline_set_rwpf_format()