History

media: allegro: add control to disable encoder buffer

The encoder buffer can have a negative impact on the quality of the encoded video. Add a control to allow user space to disable the encoder buffer per channel if the VCU supports the encoder buffer but the quality is not sufficient.

Michael Tretter committed 5 years ago

Commit 7aea2c01 parent 98f1cbf2 files · +35 −2Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/v4l2-controls.h+5−0
@@ -211,6 +211,11 @@ enum v4l2_colorfx { · 210 unmodified lines
211211 * We reserve 128 controls for this driver.
212212 */
213213 #define V4L2_CID_USER_CCS_BASE (V4L2_CID_USER_BASE + 0x10f0)
214+/*
215+ * The base for Allegro driver controls.
216+ * We reserve 16 controls for this driver.
217+ */
218+#define V4L2_CID_USER_ALLEGRO_BASE (V4L2_CID_USER_BASE + 0x1170)
214219
215220 /* MPEG-class control IDs */
216221 /* The MPEG controls are applicable to all codec controls