• Thomas Guillem's avatar
    hw: vaapi: fix p010 <=> I420_10 conversions · 73e94f48
    Thomas Guillem authored
    P010 is on MSB, and VLC_CODEC_I420_10B/VLC_CODEC_I420_10L are on LSB, so we
    need to shift bits by 6 when doing the conversion. VLC_CODEC_I420_10L should be
    used instead of VLC_CODEC_I420_10B since it's little endian.
    
    It "worked" only because the conversion was tested while downloading and
    uploading, so the download error was canceled by the upload error. This fixes
    screenshot colors.
    73e94f48
Name
Last commit
Last update
autotools Loading commit data...
bin Loading commit data...
compat Loading commit data...
contrib Loading commit data...
doc Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
modules Loading commit data...
po Loading commit data...
share Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
THANKS Loading commit data...
bootstrap Loading commit data...
configure.ac Loading commit data...
make-alias Loading commit data...