tvp5150.c (cb7a01ac324bf2ee2c666f37ac867e4135f9785a) | tvp5150.c (4f996594ceaf6c3f9bc42b40c40b0f7f87b79c86) |
---|---|
1/* 2 * tvp5150 - Texas Instruments TVP5150A/AM1 video decoder driver 3 * 4 * Copyright (c) 2005,2006 Mauro Carvalho Chehab (mchehab@infradead.org) 5 * This code is placed under the terms of the GNU General Public License v2 6 */ 7 8#include <linux/i2c.h> --- 851 unchanged lines hidden (view full) --- 860 f->field = V4L2_FIELD_SEQ_TB; 861 f->colorspace = V4L2_COLORSPACE_SMPTE170M; 862 863 v4l2_dbg(1, debug, sd, "width = %d, height = %d\n", f->width, 864 f->height); 865 return 0; 866} 867 | 1/* 2 * tvp5150 - Texas Instruments TVP5150A/AM1 video decoder driver 3 * 4 * Copyright (c) 2005,2006 Mauro Carvalho Chehab (mchehab@infradead.org) 5 * This code is placed under the terms of the GNU General Public License v2 6 */ 7 8#include <linux/i2c.h> --- 851 unchanged lines hidden (view full) --- 860 f->field = V4L2_FIELD_SEQ_TB; 861 f->colorspace = V4L2_COLORSPACE_SMPTE170M; 862 863 v4l2_dbg(1, debug, sd, "width = %d, height = %d\n", f->width, 864 f->height); 865 return 0; 866} 867 |
868static int tvp5150_s_crop(struct v4l2_subdev *sd, struct v4l2_crop *a) | 868static int tvp5150_s_crop(struct v4l2_subdev *sd, const struct v4l2_crop *a) |
869{ 870 struct v4l2_rect rect = a->c; 871 struct tvp5150 *decoder = to_tvp5150(sd); 872 v4l2_std_id std; 873 int hmax; 874 875 v4l2_dbg(1, debug, sd, "%s left=%d, top=%d, width=%d, height=%d\n", 876 __func__, rect.left, rect.top, rect.width, rect.height); --- 398 unchanged lines hidden --- | 869{ 870 struct v4l2_rect rect = a->c; 871 struct tvp5150 *decoder = to_tvp5150(sd); 872 v4l2_std_id std; 873 int hmax; 874 875 v4l2_dbg(1, debug, sd, "%s left=%d, top=%d, width=%d, height=%d\n", 876 __func__, rect.left, rect.top, rect.width, rect.height); --- 398 unchanged lines hidden --- |