Fix YV12 to NV12 conversion. Allow YV12/NV12 compression for input buffer.