update original msm_vidc_enc.h
Updated kernel headers to support a video encoder ioctl to preprend each IDR
frame with SPS/PPS.
related-to-bug: 7245308
Change-Id: I77c623f36923ea4b32d166cfd3336fae637fef1e
Signed-off-by: Iliyan Malchev <malchev@google.com>
diff --git a/original/linux/msm_vidc_enc.h b/original/linux/msm_vidc_enc.h
index 519c537..b70ba97 100644
--- a/original/linux/msm_vidc_enc.h
+++ b/original/linux/msm_vidc_enc.h
@@ -458,6 +458,10 @@
#define VEN_IOCTL_SET_SLICE_DELIVERY_MODE \
_IO(VEN_IOCTLBASE_ENC, 50)
+/*IOCTL params:SET: InputData - unsigned int, OutputData - NULL*/
+#define VEN_IOCTL_SET_SPS_PPS_FOR_IDR \
+ _IOW(VEN_IOCTLBASE_ENC, 51, struct venc_ioctl_msg)
+
struct venc_switch{
unsigned char status;
};