aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/media/vsp1.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/vsp1.h')
-rw-r--r--include/media/vsp1.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/vsp1.h b/include/media/vsp1.h
index cc1b0d42ce95..4ea6352fd63f 100644
--- a/include/media/vsp1.h
+++ b/include/media/vsp1.h
@@ -51,6 +51,9 @@ int vsp1_du_setup_lif(struct device *dev, unsigned int pipe_index,
* @dst: destination rectangle on the display (integer coordinates)
* @alpha: alpha value (0: fully transparent, 255: fully opaque)
* @zpos: Z position of the plane (from 0 to number of planes minus 1)
+ * @premult: true for premultiplied alpha
+ * @color_encoding: color encoding (valid for YUV formats only)
+ * @color_range: color range (valid for YUV formats only)
*/
struct vsp1_du_atomic_config {
u32 pixelformat;
@@ -60,6 +63,9 @@ struct vsp1_du_atomic_config {
struct v4l2_rect dst;
unsigned int alpha;
unsigned int zpos;
+ bool premult;
+ enum v4l2_ycbcr_encoding color_encoding;
+ enum v4l2_quantization color_range;
};
/**