Lines Matching refs:vid_ch
430 struct video_obj *vid_ch = &ch->video; in vpif_update_std_info() local
441 if (config->stdid & vid_ch->stdid) { in vpif_update_std_info()
459 struct video_obj *vid_ch = &ch->video; in vpif_update_resolution() local
463 if (!vid_ch->stdid && !vid_ch->dv_timings.bt.height) in vpif_update_resolution()
466 if (vid_ch->stdid) { in vpif_update_resolution()
482 if (vid_ch->stdid) in vpif_update_resolution()
504 struct video_obj *vid_ch = &ch->video; in vpif_calculate_offsets() local
509 vid_ch->buf_field = V4L2_FIELD_NONE; in vpif_calculate_offsets()
511 vid_ch->buf_field = V4L2_FIELD_INTERLACED; in vpif_calculate_offsets()
513 vid_ch->buf_field = common->fmt.fmt.pix.field; in vpif_calculate_offsets()
519 if ((V4L2_FIELD_NONE == vid_ch->buf_field) || in vpif_calculate_offsets()
520 (V4L2_FIELD_INTERLACED == vid_ch->buf_field)) { in vpif_calculate_offsets()
525 } else if (V4L2_FIELD_SEQ_TB == vid_ch->buf_field) { in vpif_calculate_offsets()
530 } else if (V4L2_FIELD_SEQ_BT == vid_ch->buf_field) { in vpif_calculate_offsets()
537 if ((V4L2_FIELD_NONE == vid_ch->buf_field) || in vpif_calculate_offsets()
538 (V4L2_FIELD_INTERLACED == vid_ch->buf_field)) { in vpif_calculate_offsets()
919 struct video_obj *vid_ch = &ch->video; in vpif_s_dv_timings() local
920 struct v4l2_bt_timings *bt = &vid_ch->dv_timings.bt; in vpif_s_dv_timings()
965 vid_ch->dv_timings = *timings; in vpif_s_dv_timings()
1003 vid_ch->stdid = 0; in vpif_s_dv_timings()
1021 struct video_obj *vid_ch = &ch->video; in vpif_g_dv_timings() local
1033 *timings = vid_ch->dv_timings; in vpif_g_dv_timings()