struct common_obj { /* Pointer pointing to current v4l2_buffer */ struct vpif_cap_buffer *cur_frm; /* Pointer pointing to current v4l2_buffer */ struct vpif_cap_buffer *next_frm; /* Used to store pixel format */ struct v4l2_format fmt; /* Buffer queue used in vb2 */ struct vb2_queue buffer_queue; /* Queue of filled frames */ struct list_head dma_queue; /* Protects the dma_queue field */
spinlock_t irqlock; /* lock used to access this structure */ struct mutex lock; /* Function pointer to set the addresses */ void (*set_addr) (unsignedlong, unsignedlong, unsignedlong, unsignedlong); /* offset where Y top starts from the starting of the buffer */
u32 ytop_off; /* offset where Y bottom starts from the starting of the buffer */
u32 ybtm_off; /* offset where C top starts from the starting of the buffer */
u32 ctop_off; /* offset where C bottom starts from the starting of the buffer */
u32 cbtm_off; /* Indicates width of the image data */
u32 width; /* Indicates height of the image data */
u32 height;
};
struct channel_obj { /* Identifies video device for this channel */ struct video_device video_dev; /* Indicates id of the field which is being displayed */
u32 field_id; /* flag to indicate whether decoder is initialized */
u8 initialized; /* Identifies channel */ enum vpif_channel_id channel_id; /* Current input */
u32 input_idx; /* subdev corresponding to the current input, may be NULL */ struct v4l2_subdev *sd; /* vpif configuration params */ struct vpif_params vpifparams; /* common object array */ struct common_obj common[VPIF_NUMBER_OF_OBJECTS]; /* video object */ struct video_obj video;
};
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.