[video] Do YV12 conversion on the host with a shader

Doing YV12 conversion in the guest makes gralloc unlock
block for a very long time, which chokes MediaCodec.

Doing YV12 conversion in shader, 1080p60 is achievable
for short bursts, since the conversion is faster by
over 10x (<3ms instead of ~30ms to convert a 1080p
YV12 frame to RGB888).

Still, at 1080p60, there are various stalls/hiccups...

Change-Id: I031c4fd7b1260e89d9bc4398602ea1baea6f5e98
4 files changed
tree: 884725a7fac9a09160c24a752b5cd3a84a177657
  1. android/
  2. host/
  3. .gitignore