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>
This commit is contained in:
Praneeth Paladugu
2012-08-12 01:37:41 -07:00
committed by Stephen Boyd
parent 79829558fb
commit f02f6d59dc

View File

@@ -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)