commit | 0c079bdd3ab2a67e1976226e0ecedbe53d5a1aff | [log] [tgz] |
---|---|---|
author | Lingfeng Yang <lfy@google.com> | Wed Oct 19 08:26:53 2016 -0700 |
committer | Greg Hartman <ghartman@google.com> | Thu Aug 23 17:24:53 2018 -0700 |
tree | 884725a7fac9a09160c24a752b5cd3a84a177657 | |
parent | bd778f897f201bacbe04bdb865d525616221ed8d [diff] |
[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