• wm4's avatar
    avcodec: add metadata to identify wrappers and hardware decoders · 47687a2f
    wm4 authored
    Explicitly identify decoder/encoder wrappers with a common name. This
    saves API users from guessing by the name suffix. For example, they
    don't have to guess that "h264_qsv" is the h264 QSV implementation, and
    instead they can just check the AVCodec .codec and .wrapper_name fields.
    
    Explicitly mark AVCodec entries that are hardware decoders or most
    likely hardware decoders with new AV_CODEC_CAPs. The purpose is allowing
    API users listing hardware decoders in a more generic way. The proposed
    AVCodecHWConfig does not provide this information fully, because it's
    concerned with decoder configuration, not information about the fact
    whether the hardware is used or not.
    
    AV_CODEC_CAP_HYBRID exists specifically for QSV, which can have software
    implementations in case the hardware is not capable.
    
    Based on a patch by Philip Langdale <philipl@overt.org>.
    Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
    47687a2f
Name
Last commit
Last update
avbuild Loading commit data...
avtools Loading commit data...
compat Loading commit data...
doc Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...