VIGS: Support planar pixel formats 61/26361/1
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Mon, 16 Jun 2014 15:44:07 +0000 (19:44 +0400)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Tue, 19 Aug 2014 08:35:59 +0000 (12:35 +0400)
commit6850615bbe0a496183e9639b498fe6cc8d7487dd
tree59d53dfea2e81690fa809565aead7619d6a4c9a3
parent640412d5d14491cb683e0b49291feb1b5d1b2c8f
VIGS: Support planar pixel formats

Planar pixel formats such as NV21 need to be
supported in order to be able to play video right
from decoder's output buffer, i.e. without
converting it to RGB. This is implemented via fragment
shader that takes Y and CbCr channels from two different
textures and combines them into a single RGB image

Change-Id: Ic4ba78fda7f077a05c1524313a31b1ba79e46f72
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
14 files changed:
hw/vigs/vigs_comm.c
hw/vigs/vigs_comm.h
hw/vigs/vigs_gl_backend.c
hw/vigs/vigs_gl_backend.h
hw/vigs/vigs_gl_backend_cgl.c
hw/vigs/vigs_gl_backend_glx.c
hw/vigs/vigs_gl_backend_wgl.c
hw/vigs/vigs_plane.h
hw/vigs/vigs_protocol.h
hw/vigs/vigs_server.c
hw/vigs/vigs_surface.h
hw/vigs/vigs_sw_backend.c
hw/vigs/vigs_utils.c
hw/vigs/vigs_utils.h