int v_offset; /* number of lines of vertical offset before processing */ int v_field; /* number of lines in a field for HPS to process */
int h_offset; /* horizontal offset of processing window */ int h_pixels; /* number of horizontal pixels to process */
int v_max_out; int h_max_out;
};
/* buffer for one video/vbi frame */ struct saa7146_buf { /* common v4l buffer stuff -- must be first */ struct vb2_v4l2_buffer vb; struct list_head list;
/* saa7146 specific */ int (*activate)(struct saa7146_dev *dev, struct saa7146_buf *buf, struct saa7146_buf *next);
/* common: fixme? shouldn't this be in saa7146_fh? (this leads to a more complicated question: shall the driver store the different settings (for example S_INPUT) for every open and restore it appropriately, or should all settings be common for all opens? currently, we do the latter, like all other
drivers do... */ struct saa7146_standard *standard;
int vflip; int hflip; int current_hps_source; int current_hps_sync;
unsignedint resources; /* resource management for device */
};
/* flags */ #define SAA7146_USE_PORT_B_FOR_VBI 0x2 /* use input port b for vbi hardware bug workaround */
struct saa7146_ext_vv
{ /* information about the video capabilities of the device */ int inputs; int audios;
u32 capabilities; int flags;
/* additionally supported transmission standards */ struct saa7146_standard *stds; int num_stds; int (*std_callback)(struct saa7146_dev*, struct saa7146_standard *);
/* the extension can override this */ struct v4l2_ioctl_ops vid_ops; struct v4l2_ioctl_ops vbi_ops; /* pointer to the saa7146 core ops */ conststruct v4l2_ioctl_ops *core_ops;
/* some defines for the various clipping-modes */ #define SAA7146_CLIPPING_RECT 0x4 #define SAA7146_CLIPPING_RECT_INVERTED 0x5 #define SAA7146_CLIPPING_MASK 0x6 #define SAA7146_CLIPPING_MASK_INVERTED 0x7
/* output formats: each entry holds four information */ #define RGB08_COMPOSED 0x0217 /* composed is used in the sense of "not-planar" */ /* this means: planar?=0, yuv2rgb-conversation-mode=2, dither=yes(=1), format-mode = 7 */ #define RGB15_COMPOSED 0x0213 #define RGB16_COMPOSED 0x0210 #define RGB24_COMPOSED 0x0201 #define RGB32_COMPOSED 0x0202
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.