Skip to content

Commit

Permalink
V4L/DVB (12625): Add new V4L2_FMT_FLAG_EMULATED flag to videodev2.h
Browse files Browse the repository at this point in the history
V4L2_FMT_FLAG_EMULATED	0x0002	This format is not native to the device but
emulated through software (usually libv4l2), where possible try to use a
native format instead for better performance.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed Sep 12, 2009
1 parent 823902d commit 1e3c1f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/videodev2.h
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ struct v4l2_fmtdesc {
};

#define V4L2_FMT_FLAG_COMPRESSED 0x0001
#define V4L2_FMT_FLAG_EMULATED 0x0002

#if 1
/* Experimental Frame Size and frame rate enumeration */
Expand Down

0 comments on commit 1e3c1f7

Please sign in to comment.