summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorShiju Mathew <shijum@codeaurora.org>2017-08-01 10:34:53 -0400
committerGerrit - the friendly Code Review server <code-review@localhost>2017-09-21 20:45:02 -0700
commit839735375515d0f0f3d87b7214df2a52045fe9f6 (patch)
treec4aa1c453371afeb1a13cc5c63fde1f605728475 /include/uapi/linux
parent6f777b2385c98a17d69bbeead6edbc7ad7470f72 (diff)
vidc: Enable skip output buffers for video encoder
Added feature to configure video h/w to send empty output buffer for skipped frame due to rate control. Change-Id: Id47344c3bae216fec6384ff205bcb658ec27cb06 Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/v4l2-controls.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h
index 0d87fa1e253c..25cb17ca6bf3 100644
--- a/include/uapi/linux/v4l2-controls.h
+++ b/include/uapi/linux/v4l2-controls.h
@@ -1225,6 +1225,13 @@ enum v4l2_mpeg_vidc_video_au_delimiter {
V4L2_MPEG_VIDC_VIDEO_AU_DELIMITER_ENABLED = 1
};
+#define V4L2_CID_MPEG_VIDC_VIDEO_SEND_SKIPPED_FRAME \
+ (V4L2_CID_MPEG_MSM_VIDC_BASE + 103)
+enum v4l2_mpeg_vidc_video_venc_send_skipped_frame {
+ V4L2_MPEG_VIDC_VIDEO_SEND_SKIPPED_FRAME_DISABLE = 0,
+ V4L2_MPEG_VIDC_VIDEO_SEND_SKIPPED_FRAME_ENABLE = 1
+};
+
/* Camera class control IDs */