/** * struct v4l2_mbus_framefmt - frame format on the media bus * @width: image width * @height: image height * @code: data format code (from enum v4l2_mbus_pixelcode) * @field: used interlacing type (from enum v4l2_field), zero for metadata * mbus codes * @colorspace: colorspace of the data (from enum v4l2_colorspace), zero on * metadata mbus codes * @ycbcr_enc: YCbCr encoding of the data (from enum v4l2_ycbcr_encoding), zero * for metadata mbus codes * @hsv_enc: HSV encoding of the data (from enum v4l2_hsv_encoding), zero for * metadata mbus codes * @quantization: quantization of the data (from enum v4l2_quantization), zero * for metadata mbus codes * @xfer_func: transfer function of the data (from enum v4l2_xfer_func), zero * for metadata mbus codes * @flags: flags (V4L2_MBUS_FRAMEFMT_*) * @reserved: reserved bytes that can be later used
*/ struct v4l2_mbus_framefmt {
__u32 width;
__u32 height;
__u32 code;
__u32 field;
__u32 colorspace; union { /* enum v4l2_ycbcr_encoding */
__u16 ycbcr_enc; /* enum v4l2_hsv_encoding */
__u16 hsv_enc;
};
__u16 quantization;
__u16 xfer_func;
__u16 flags;
__u16 reserved[10];
};
#ifndef __KERNEL__ /* * enum v4l2_mbus_pixelcode and its definitions are now deprecated, and * MEDIA_BUS_FMT_ definitions (defined in media-bus-format.h) should be * used instead. * * New defines should only be added to media-bus-format.h. The * v4l2_mbus_pixelcode enum is frozen.
*/
#define V4L2_MBUS_FROM_MEDIA_BUS_FMT(name) \
V4L2_MBUS_FMT_ ## name = MEDIA_BUS_FMT_ ## name
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 ist noch experimentell.