[media] media: ti-vpe: vpdma: Add helper to set a background color
Add a helper to set the background color during vpdma transfer. This is needed when VPDMA is generating 32 bits RGB format to have the Alpha channel set to an appropriate value. Signed-off-by: Benoit Parrot <bparrot@ti.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
2f88703a0b
commit
3f43554c0a
@@ -221,7 +221,8 @@ void vpdma_set_line_mode(struct vpdma_data *vpdma, int line_mode,
|
||||
enum vpdma_channel chan);
|
||||
void vpdma_set_frame_start_event(struct vpdma_data *vpdma,
|
||||
enum vpdma_frame_start_event fs_event, enum vpdma_channel chan);
|
||||
|
||||
void vpdma_set_bg_color(struct vpdma_data *vpdma,
|
||||
struct vpdma_data_format *fmt, u32 color);
|
||||
void vpdma_dump_regs(struct vpdma_data *vpdma);
|
||||
|
||||
/* initialize vpdma, passed with VPE's platform device pointer */
|
||||
|
Reference in New Issue
Block a user