VIGS: Support planar pixel formats 02/27402/1
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Mon, 16 Jun 2014 15:44:07 +0000 (19:44 +0400)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 12 Sep 2014 08:47:02 +0000 (17:47 +0900)
commit880d8f3f6dc878a4e89e103fe072ed4825cdfa3e
treef204cfc2c977ff937848719914abe93aa4594c8d
parent1073bb7572a27a56460e9aff9a1d78b13c195c65
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