Lines Matching refs:format
128 struct v4l2_mbus_framefmt format; member
912 struct v4l2_subdev_format *format) in tvp514x_get_pad_format() argument
915 __u32 which = format->which; in tvp514x_get_pad_format()
917 if (format->pad) in tvp514x_get_pad_format()
921 format->format = decoder->format; in tvp514x_get_pad_format()
925 format->format.code = MEDIA_BUS_FMT_YUYV8_2X8; in tvp514x_get_pad_format()
926 format->format.width = tvp514x_std_list[decoder->current_std].width; in tvp514x_get_pad_format()
927 format->format.height = tvp514x_std_list[decoder->current_std].height; in tvp514x_get_pad_format()
928 format->format.colorspace = V4L2_COLORSPACE_SMPTE170M; in tvp514x_get_pad_format()
929 format->format.field = V4L2_FIELD_INTERLACED; in tvp514x_get_pad_format()
948 if (fmt->format.field != V4L2_FIELD_INTERLACED || in tvp514x_set_pad_format()
949 fmt->format.code != MEDIA_BUS_FMT_YUYV8_2X8 || in tvp514x_set_pad_format()
950 fmt->format.colorspace != V4L2_COLORSPACE_SMPTE170M || in tvp514x_set_pad_format()
951 fmt->format.width != tvp514x_std_list[decoder->current_std].width || in tvp514x_set_pad_format()
952 fmt->format.height != tvp514x_std_list[decoder->current_std].height) in tvp514x_set_pad_format()
955 decoder->format = fmt->format; in tvp514x_set_pad_format()