diff options
author | Boyuan Zhang <[email protected]> | 2016-07-21 19:40:16 -0400 |
---|---|---|
committer | Christian König <[email protected]> | 2016-07-25 13:39:51 +0200 |
commit | 34f46348438b29e20d06cca312616cfba8ee05f6 (patch) | |
tree | bf3c5ee0bd013419380822c236a06e09f767e4ac /src/compiler | |
parent | 23b4ab1738f0f4470449c848b37b43568df4a60c (diff) |
st/va: add conversion for yv12 to nv12in putimage v2
For putimage call, if image format is yv12 (or IYUV with U V field swap) and
surface format is nv12, then we need to convert yv12 to nv12 and then copy
the converted data from image to surface. We can't use the existing logic
where surface is destroyed and re-created with yv12 format.
v2 (chk): fix some compiler warnings and commit message
Signed-off-by: Boyuan Zhang <[email protected]>
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions