projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feac83a
)
xilinx-dp: Add support for the yuy2 video format
author
Edgar E. Iglesias
<edgar.iglesias@xilinx.com>
Tue, 17 Jan 2017 22:31:09 +0000
(14:31 -0800)
committer
Edgar E. Iglesias
<edgar.iglesias@xilinx.com>
Tue, 4 Jul 2017 07:22:20 +0000
(09:22 +0200)
Add support for the yuy2 video format.
Reviewed-by: KONRAD Frederic <frederic.konrad@adacore.com>
Acked-by: Sai Pavan Boddu <saipava@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
hw/display/xlnx_dp.c
patch
|
blob
|
history
diff --git
a/hw/display/xlnx_dp.c
b/hw/display/xlnx_dp.c
index f7b7b80c686194e3265422278feed15709402789..a77d7db22f098f1847f2abf7e30f6e19a5521f53 100644
(file)
--- a/
hw/display/xlnx_dp.c
+++ b/
hw/display/xlnx_dp.c
@@
-624,6
+624,9
@@
static void xlnx_dp_change_graphic_fmt(XlnxDPState *s)
case 0:
s->v_plane.format = PIXMAN_x8b8g8r8;
break;
+ case DP_NL_VID_Y0_CB_Y1_CR:
+ s->v_plane.format = PIXMAN_yuy2;
+ break;
case DP_NL_VID_RGBA8880:
s->v_plane.format = PIXMAN_x8b8g8r8;
break;