v4l2: Adds support for codec config
Adds support for codec config flag to be passed
to driver. This flag indicates that the buffer
associated contains codec specific data.
Change-Id: I80cfedc02dfc1efc8727f97e90ac2100e47d2f2a
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 66b68d0..78b5b84 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -2088,6 +2088,8 @@
};
};
+#define V4L2_QCOM_BUF_FLAG_CODECCONFIG 0x4000
+
/* Decoder commands */
#define V4L2_DEC_CMD_START (0)
#define V4L2_DEC_CMD_STOP (1)