V4L/DVB (12625): Add new V4L2_FMT_FLAG_EMULATED flag to videodev2.h
authorHans de Goede <hdegoede@redhat.com>
Mon, 31 Aug 2009 14:32:46 +0000 (11:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:20:00 +0000 (12:20 -0300)
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>
include/linux/videodev2.h

index 5758066..3689d7d 100644 (file)
@@ -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 */