From f02f6d59dcc91b0d08964392a5147ae19edd2b3f Mon Sep 17 00:00:00 2001 From: Praneeth Paladugu Date: Sun, 12 Aug 2012 01:37:41 -0700 Subject: [PATCH] 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 (cherry picked from commit f4bd6a3fbdb5d70b7000cdceb811557876bb7953) Change-Id: Ib832872717adbc46bd186aa268eaa9cfa402313b Signed-off-by: Sudhir Sharma --- include/linux/videodev2.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index fcd5bd1c45a..446b24e1176 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -2088,6 +2088,8 @@ struct v4l2_encoder_cmd { }; }; +#define V4L2_QCOM_BUF_FLAG_CODECCONFIG 0x4000 + /* Decoder commands */ #define V4L2_DEC_CMD_START (0) #define V4L2_DEC_CMD_STOP (1)