diff options
author | hans@localhost.localdomain <hans@localhost.localdomain> | 2008-09-03 14:24:30 +0200 |
---|---|---|
committer | hans@localhost.localdomain <hans@localhost.localdomain> | 2008-09-03 14:24:30 +0200 |
commit | d00cfd7d61d0a9cf2b38a816bfd5478f3342a0e4 (patch) | |
tree | 2ed689b61d990bd4731882c26d87f0430a612d93 /v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h | |
parent | fd1a54135c2d7959bf7b78cada95ee9152eedf41 (diff) | |
download | mediapointer-dvb-s2-d00cfd7d61d0a9cf2b38a816bfd5478f3342a0e4.tar.gz mediapointer-dvb-s2-d00cfd7d61d0a9cf2b38a816bfd5478f3342a0e4.tar.bz2 |
libv4l: Prefer compressed pixformats for resolutions > 176x144
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: Prefer compressed pixformats for resolutions > 176x144
Priority: normal
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Diffstat (limited to 'v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h')
-rw-r--r-- | v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h b/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h index efe78bb85..a2086e6fd 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h +++ b/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h @@ -69,8 +69,12 @@ snprintf(data->error_msg, V4LCONVERT_ERROR_MSG_SIZE, \ "v4l-convert: error " __VA_ARGS__) +/* Card flags */ #define V4LCONVERT_UPSIDE_DOWN 0x01 +/* Pixformat flags */ +#define V4LCONVERT_COMPRESSED 0x01 + struct v4lconvert_data { int fd; int flags; /* bitfield */ @@ -85,6 +89,11 @@ struct v4lconvert_flags_info { int flags; }; +struct v4lconvert_pixfmt { + unsigned int fmt; + int flags; +}; + void v4lconvert_yuv420_to_rgb24(const unsigned char *src, unsigned char *dst, int width, int height); |