Lines Matching defs:timings
33 #include <linux/v4l2-dv-timings.h>
37 #include <media/v4l2-dv-timings.h>
55 * @timings: current HDTV timings
71 struct v4l2_dv_timings timings;
316 * standard, HDTV timings or the video input would require updating the
331 pix->width = skel->timings.bt.width;
332 pix->height = skel->timings.bt.height;
333 if (skel->timings.bt.interlaced) {
489 struct v4l2_dv_timings *timings)
498 if (!v4l2_valid_dv_timings(timings, &skel_timings_cap, NULL, NULL))
501 /* Check if the timings are part of the CEA-861 timings. */
502 if (!v4l2_find_dv_timings_cap(timings, &skel_timings_cap,
506 /* Return 0 if the new timings are the same as the current timings. */
507 if (v4l2_match_dv_timings(timings, &skel->timings, 0, false))
511 * Changing the timings implies a format change, which is not allowed
517 /* TODO: Configure new timings */
519 /* Save timings */
520 skel->timings = *timings;
528 struct v4l2_dv_timings *timings)
536 *timings = skel->timings;
541 struct v4l2_enum_dv_timings *timings)
549 return v4l2_enum_dv_timings_cap(timings, &skel_timings_cap,
554 * Query the current timings as seen by the hardware. This function shall
555 * never actually change the timings, it just detects and reports.
563 struct v4l2_dv_timings *timings)
573 * Query currently seen timings. This function should look
586 timings, true);
751 * the driver should be complete. So the initial format, standard, timings
756 /* The initial timings are chosen to be 720p60. */
792 skel->timings = timings_def;