Lines Matching refs:rwpf
79 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()
316 struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; in vsp1_video_complete_buffer()
351 struct vsp1_rwpf *rwpf) in vsp1_video_frame_end() argument
353 struct vsp1_video *video = rwpf->video; in vsp1_video_frame_end()
360 video->rwpf->mem = buf->mem; in vsp1_video_frame_end()
577 struct vsp1_rwpf *rwpf; in vsp1_video_pipeline_build() local
590 rwpf = to_rwpf(subdev); in vsp1_video_pipeline_build()
591 pipe->inputs[rwpf->entity.index] = rwpf; in vsp1_video_pipeline_build()
592 rwpf->video->pipe_index = ++pipe->num_inputs; in vsp1_video_pipeline_build()
596 rwpf = to_rwpf(subdev); in vsp1_video_pipeline_build()
597 pipe->output = rwpf; in vsp1_video_pipeline_build()
598 rwpf->video->pipe_index = 0; in vsp1_video_pipeline_build()
667 if (!video->rwpf->entity.pipe) { in vsp1_video_pipeline_get()
679 pipe = video->rwpf->entity.pipe; in vsp1_video_pipeline_get()
713 const struct v4l2_pix_format_mplane *format = &video->rwpf->format; in vsp1_video_queue_setup()
739 const struct v4l2_pix_format_mplane *format = &video->rwpf->format; in vsp1_video_buffer_prepare()
762 struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; in vsp1_video_buffer_queue()
777 video->rwpf->mem = buf->mem; in vsp1_video_buffer_queue()
866 struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; in vsp1_video_start_streaming()
908 struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; in vsp1_video_stop_streaming()
977 format->fmt.pix_mp = video->rwpf->format; in vsp1_video_get_format()
1017 video->rwpf->format = format->fmt.pix_mp; in vsp1_video_set_format()
1018 video->rwpf->fmtinfo = info; in vsp1_video_set_format()
1234 struct vsp1_rwpf *rwpf) in vsp1_video_create() argument
1244 rwpf->video = video; in vsp1_video_create()
1247 video->rwpf = rwpf; in vsp1_video_create()
1249 if (rwpf->entity.type == VSP1_ENTITY_RPF) { in vsp1_video_create()
1275 rwpf->format.pixelformat = VSP1_VIDEO_DEF_FORMAT; in vsp1_video_create()
1276 rwpf->format.width = VSP1_VIDEO_DEF_WIDTH; in vsp1_video_create()
1277 rwpf->format.height = VSP1_VIDEO_DEF_HEIGHT; in vsp1_video_create()
1278 __vsp1_video_try_format(video, &rwpf->format, &rwpf->fmtinfo); in vsp1_video_create()
1284 rwpf->entity.subdev.name, direction); in vsp1_video_create()