summaryrefslogtreecommitdiff
path: root/libavcodec/libopenh264enc.c
Commit message (Collapse)AuthorAge
* Move const qualifier before type nameDiego Biurrun2016-03-23
|
* lavc: Move rtp_payload_size to codec private optionsVittorio Giovara2016-01-21
| | | | | | | | | | This option is only used by mpegvideoenc and openh264. It is a very codec-specific option, so deprecate the global variant. The openh264 option is dropped altogether since it is just a fallback for -max_nal_size anyway. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* openh264: Directly include the deprecation guards headerLuca Barbato2015-12-08
| | | | | Make easier to avoid compile failure when reworking the internal headers.
* lavc: Deprecate coder_type and its symbolsVittorio Giovara2015-12-07
| | | | | | | | | | Most option values are simply unused or ignored and in practice the majory of codecs only need to check whether to enable rle or not. Add appropriate codec private options which better expose the allowed features. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libopenh264enc: export CPB props side dataAnton Khirnov2015-12-06
|
* libopenh264enc: Set AVOption data typeMichael Niedermayer2015-11-06
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libopenh264enc: Count and warn about the number of skipped framesMartin Storsjö2015-10-28
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenh264enc: Add an option for controlling the frame skippingMartin Storsjö2015-10-28
| | | | | | | This allows enabling the frame skipping, which is required for the encoder to properly hit the target bitrate. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenh264enc: Added max_nal_size optionMario Gasparoni2015-10-09
| | | | | | Also added dynamic slice_mode option, needed for the max_nal_size. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libopenh264enc: Use av_log() to log messagesGregory J. Wolfe2015-09-29
| | | | | | | | | | | | | | File libopenh264enc.c has been modified so that the encoder uses av_log() to log messages (error, warning, info, etc.) instead of logging them directly to stderr. At the time the encoder is created, the current libav log level is mapped to an equivalent libopenh264 log level. This log level, and a message logging function that invokes av_log() to actually log messages, are then set on the encoder. This contains further changes and simplifications by Michael Niedermayer and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Replace a few leftover instances of enum PixelFormat with enum AVPixelFormatMartin Storsjö2015-03-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenh264enc: Add support for building with OpenH264 1.4Martin Storsjö2015-03-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenh264: Log debug messages to a non-null contextMartin Storsjö2015-01-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenh264enc: Move a declaration of a variable into an ifdefMartin Storsjö2015-01-20
| | | | | | | This avoids needing an attribute for silencing warnings about it being unused. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenh264enc: Remove a workaround for silencing warnings about unused ↵Martin Storsjö2015-01-20
| | | | | | | | | | variables in the OpenH264 header The 1.3 release branch of OpenH264 (as well as the master branch) have been updated so that GCC no longer warns about this variable as being unused. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenh264enc: Fix a typo and some nitpicksMartin Storsjö2015-01-08
| | | | | | Also move the .long_name entry to below the .name entry. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Add an OpenH264 encoder wrapperMartin Storsjö2015-01-06
Compared to existing, common opensource H264 encoders, this can be useful since it has got a different license (BSD instead of GPL). Performance- and qualitywise it is comparable to x264 in ultrafast mode. Hooking it up as an encoder in libavcodec also simplifies comparing it against other common encoders. This requires OpenH264 1.3 or newer. Since the OpenH264 API and ABI changes frequently, only releases are supported. To take advantage of the OpenH264 patent offer, the OpenH264 library must not be redistributed, but downloaded at runtime at the end-user's system. Signed-off-by: Martin Storsjö <martin@martin.st>