mirror of https://github.com/xemu-project/xemu.git
xilinx-dp: Add support for the yuy2 video format
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>
This commit is contained in:
parent
feac83af3b
commit
31cf950ea2
hw/display
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue