summaryrefslogtreecommitdiffstats
path: root/libavcodec/libwebpenc.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: add metadata to identify wrappers and hardware decoderswm42017-12-141-0/+1
| | | | | | | | | | | | | | | | | | | | | 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>. Merges Libav commit 47687a2f8aca3f65b6fdd117b1cb66a7409a7fd1.
* avcodec/libwebpenc: Use ff_alloc_packet2()Michael Niedermayer2015-08-021-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libwebp: simplify AVCodec.close functionsJames Almer2015-05-231-1/+4
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* libwebp: use a separate AVClass for each encoderJames Almer2015-05-231-0/+7
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* WebP encoder: extract out some methods into a separate helper library.Urvang Joshi2015-05-221-270/+9
| | | | | | | This is the 2nd patch in preparation for using WebPAnimEncoder API for encoding and muxing WebP images. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/libwebpenc: add quality optionMichael Niedermayer2014-11-031-4/+4
| | | | | | | | | | | | previously quality could only be set through qscale/global_quality but the scale was inverted. Using a separate option avoids the confusion from qscale working backward. Reviewed-by: Benoit Fouet <benoit.fouet@free.fr> Reviewed-by: Clément Bœsch <u@pkh.me> Reviewed-by: Nicolas George <george@nsup.org> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/libwebpenc: support "P" frames in webp animationsMichael Niedermayer2014-11-011-3/+77
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavc/libwebpenc: use WebPMemoryWriterClear()James Almer2014-08-271-0/+4
| | | | | | | WebPMemoryWriterClear() must be used instead of free() when libwebp ABI version is > 0x0203 Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-02-241-3/+1
|\ | | | | | | | | | | | | | | | | | | * qatar/master: Use av_frame_copy() to simplify code where appropriate. Conflicts: libavfilter/vf_copy.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Use av_frame_copy() to simplify code where appropriate.Anton Khirnov2014-02-241-3/+1
| |
* | Merge commit 'be7c323176e2e5fcf30e3d2ff20975b2f936811b'Michael Niedermayer2013-12-221-4/+4
|/ | | | | | | | | | | | | | * commit 'be7c323176e2e5fcf30e3d2ff20975b2f936811b': Add a libwebp encoder Conflicts: Changelog doc/encoders.texi doc/general.texi libavcodec/version.h libavformat/img2enc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Add a libwebp encoderJustin Ruggles2013-12-211-0/+287
OpenPOWER on IntegriCloud