Changeset 47687a2f in ffmpeg

Timestamp:
Dec 14, 2017, 3:58:45 PM (7 years ago)
Author:
Luca Barbato <lu_zero@gentoo.org>
Branches:
master
Children:
720cf4e6, 980af9a8
Parents:
50837855
git-author:
wm4 <nfxjfg@googlemail.com> (12/12/17 10:03:43)
git-committer:
Luca Barbato <lu_zero@gentoo.org> (12/14/17 15:58:45)
Message:

avcodec: add metadata to identify wrappers and hardware decoders

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: Luca Barbato <lu_zero@gentoo.org>

(No files)

Note: See TracChangeset for help on using the changeset viewer.