Lines Matching refs:format
85 * @pix: Current pixel format
94 * @format: media bus frame format
119 struct v4l2_mbus_framefmt format;
881 * tvp514x_get_pad_format() - V4L2 decoder interface handler for get pad format
884 * @format: pointer to v4l2_subdev_format structure
886 * Retrieves pad format which is active or tried based on requirement
890 struct v4l2_subdev_format *format)
893 __u32 which = format->which;
895 if (format->pad)
899 format->format = decoder->format;
903 format->format.code = MEDIA_BUS_FMT_UYVY8_2X8;
904 format->format.width = tvp514x_std_list[decoder->current_std].width;
905 format->format.height = tvp514x_std_list[decoder->current_std].height;
906 format->format.colorspace = V4L2_COLORSPACE_SMPTE170M;
907 format->format.field = V4L2_FIELD_INTERLACED;
913 * tvp514x_set_pad_format() - V4L2 decoder interface handler for set pad format
918 * Set pad format for the output pad
926 if (fmt->format.field != V4L2_FIELD_INTERLACED ||
927 fmt->format.code != MEDIA_BUS_FMT_UYVY8_2X8 ||
928 fmt->format.colorspace != V4L2_COLORSPACE_SMPTE170M ||
929 fmt->format.width != tvp514x_std_list[decoder->current_std].width ||
930 fmt->format.height != tvp514x_std_list[decoder->current_std].height)
933 decoder->format = fmt->format;