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.
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
(cherry picked from commit f4bd6a3fbdb5d70b7000cdceb811557876bb7953)
Change-Id: Ib832872717adbc46bd186aa268eaa9cfa402313b
Signed-off-by: Sudhir Sharma <sudsha@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)