summaryrefslogtreecommitdiff
path: root/libavcodec/libvpxenc.c
Commit message (Collapse)AuthorAge
...
* | Merge commit '05bf3f54e6078716f6267df530bf1d474ca3d606'Michael Niedermayer2015-06-21
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '05bf3f54e6078716f6267df530bf1d474ca3d606': libvpx: Do not set vp8 only parameters when encoding in vp9 Conflicts: libavcodec/libvpxenc.c See: 238ec505e263e7d0363798a05c1c28f494a6300a See: ae330070ee8b985abb011835502b03baacfbb18c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libvpx: Do not set vp8 only parameters when encoding in vp9Luca Barbato2015-06-20
| |
* | libvpxenc: support setting colorspace for vp9James Zern2015-06-20
| | | | | | | | | | | | | | | | | | the vp9 bitstream supports 8 values: unknown (default), bt601, bt709, smpte170, smpte240, bt2020, reserved and sRGB. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Zern <jzern@google.com>
* | libvpxenc: remove stray '\'sJames Zern2015-06-15
| | | | | | | | Signed-off-by: James Zern <jzern@google.com>
* | libvpxenc: cosmetics: reindent after 2c70436James Zern2015-06-15
| | | | | | | | Signed-off-by: James Zern <jzern@google.com>
* | libvpxenc: add overshoot-pct optionJames Zern2015-06-10
| | | | | | | | | | | | | | balances the presence of undershoot-pct Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Zern <jzern@google.com>
* | libvpxenc: add undershoot-pct optionJames Zern2015-06-10
| | | | | | | | | | | | | | replaces deprecated rc_buffer_aggressivity Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Zern <jzern@google.com>
* | libvpx: add support for yuv440p and yuv440p10/12 encodingJames Almer2015-05-20
| | | | | | | | | | Reviewed-by: James Zern <jzern@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | libvpxenc: cosmetics: reindentJames Zern2015-04-24
| | | | | | | | Signed-off-by: James Zern <jzern@google.com>
* | libvpxenc: only set noise reduction w/vp8James Zern2015-04-23
| | | | | | | | | | | | | | | | | | this quiets a warning: Failed to set VP8E_SET_NOISE_SENSITIVITY codec control: Unspecified internal error Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Zern <jzern@google.com>
* | Support for VP9 high-color/high-bit-depth encodingDeb Mukherjee2015-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch to support VP9 encoding with new profiles 1-3. Profile 1 (8-bit 422/444) should work with default libvpx configuration. However you will need to configure libvpx with --enable-vp9-highbitdepth before building and linking with ffmpeg for profile 2 (10-/12-bit 420) and profile 3 (10-/12-bit 422/444) encoding. You may use the appropriate profile option on the command line: -profile:v 1 for 422/444 8-bit encoding -profile:v 2 for 420 10-/12- bit encoding -profile:v 3 for 422/444 10-/12-bit encoding If you do not use the -profile:v option, it will be deduced from the source format. Signed-off-by: James Zern <jzern@google.com>
* | avcodec/libvpxenc: Set min/max quantizer to 0 for lossless modeMichael Niedermayer2015-03-20
| | | | | | | | | | | | | | Fixes Ticket4246 Reviewed-by: James Zern <jzern@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/libvpxenc: Clear twopass_stats.sz on deallocationMichael Niedermayer2015-03-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '93f7948136fcda8ddbbc44a6c24418f11ca829b8'Michael Niedermayer2015-03-09
|\| | | | | | | | | | | | | * commit '93f7948136fcda8ddbbc44a6c24418f11ca829b8': libvpx: Fix mixed use of av_malloc() and av_reallocp() Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libvpx: Fix mixed use of av_malloc() and av_reallocp()Vittorio Giovara2015-03-09
| | | | | | | | | | | | | | | | This buffer is resized when vpx_codec_get_cx_data() returns a VPX_CODEC_STATS_PKT packet. CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avcodec: use av_frame_free() for coded_frameClément Bœsch2015-03-02
| |
* | avcodec/libvpxenc: Check for av_malloc() failureMichael Niedermayer2015-02-22
| | | | | | | | | | | | Fixes CID1271045 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/libvpxenc.c: Fix linking with codec interface with msvc.Matt Oliver2015-01-10
| | | | | | | | | | | | | | | | | | Default libvpx msvc buils used module definition to export symbols. These symbols are exported as pointers to data which dont link when referenced directly. Reviewed-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '771656bd85416cd6308b11aed6f2c69a8db9c21b'Michael Niedermayer2014-11-18
|\| | | | | | | | | | | | | | | | | | | | | * commit '771656bd85416cd6308b11aed6f2c69a8db9c21b': libvpxenc: clean memory on error Conflicts: libavcodec/libvpxenc.c See: 104b1d9e103f90485e894b20dd5bb3f1964fe5f3 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libvpxenc: clean memory on errorVittorio Giovara2014-11-18
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 733795
* | avcodec/libvpxenc: use av_freep(), do not leave stale pointers in memoryMichael Niedermayer2014-10-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '685be3d1aecf965281128f3b631ed965bcfa754d'Michael Niedermayer2014-10-18
|\| | | | | | | | | | | | | | | | | | | * commit '685be3d1aecf965281128f3b631ed965bcfa754d': libvpxenc: add static-thresh private option Conflicts: libavcodec/libvpxenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libvpxenc: add static-thresh private optionAnton Khirnov2014-10-18
| | | | | | | | | | | | | | | | Currently, this option is accessed through AVCodecContext.mb_threshold, which originally controlled reusing MB data when transcoding mpeg to mpeg. Since the libvpx meaning is completely different from the original mpegvideo meaning, it is better to use a separate private option for this.
* | lavc/libvpxenc: show crf CQ value in error messageStefano Sabatini2014-09-05
| |
* | avcodec/libvpxenc: Adds support for constant quality mode in VP9.Deb Mukherjee2014-08-28
| | | | | | | | | | | | | | | | | | | | | | Changes in the parameter mapping for libvpx to support the constant quality mode in VP9. The assumption in the patch is that if crf is provided but bitrate is 0, then the 'constant quality' mode of VP9 is used. However if both are present, the 'constrained quality' mode is used as before. Reviewed-by: James Zern <jzern@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Adds support for setting aq_mode in libvpx encoderDeb Mukherjee2014-08-27
| | | | | | | | | | Reviewed-by: James Zern <jzern@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '4b1f5e5090abed6c618c8ba380cd7d28d140f867'Michael Niedermayer2014-08-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '4b1f5e5090abed6c618c8ba380cd7d28d140f867': cosmetics: Write NULL pointer inequality checks more compactly Conflicts: libavcodec/dvdsubdec.c libavcodec/h263dec.c libavcodec/libxvid.c libavcodec/rv10.c libavcodec/utils.c libavformat/format.c libavformat/matroskadec.c libavformat/segment.c libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: Write NULL pointer inequality checks more compactlyGabriel Dume2014-08-15
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39'Michael Niedermayer2014-08-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39': cosmetics: Write NULL pointer equality checks more compactly Conflicts: cmdutils.c ffmpeg_opt.c ffplay.c libavcodec/dvbsub.c libavcodec/dvdsubdec.c libavcodec/dvdsubenc.c libavcodec/dxa.c libavcodec/libxvid_rc.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/rv10.c libavcodec/tiffenc.c libavcodec/utils.c libavcodec/vc1dec.c libavcodec/zmbv.c libavdevice/v4l2.c libavformat/matroskadec.c libavformat/movenc.c libavformat/sdp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vp9 encoder: use a decent default speed settingRafaël Carré2014-06-17
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avcodec/libvpxenc: update the ranges for "cpu_used" so it matches the ↵Michael Niedermayer2014-06-06
| | | | | | | | | | | | | | "speed" alias Reviewed-by: James Zern <jzern@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/libvpxenc: Update the "cpu-used" options default to match the ↵Rafaël Carré2014-06-06
| | | | | | | | | | | | | | "speed" alias Reviewed-by: James Zern <jzern@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Use correct msvc type specifiers for ptrdiff_t and size_t.Carl Eugen Hoyos2014-04-24
| | | | | | | | | | | | | | The Windows runtime aborts if it finds %t or %z. Fixes ticket #3472. Reviewed-by: Ronald Bultje
* | avcodec/libvpx: set CODEC_CAP_EXPERIMENTAL correctly instead of testing at ↵Michael Niedermayer2013-12-10
| | | | | | | | | | | | | | codec open time Reviewed-by: James Zern <jzern@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '9b8d11a76ae7bca8bbb58abb822138f8b42c776c'Michael Niedermayer2013-12-09
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9b8d11a76ae7bca8bbb58abb822138f8b42c776c': avcodec: Use av_reallocp where suitable Conflicts: libavcodec/bitstream.c libavcodec/eatgv.c libavcodec/flashsv.c libavcodec/libtheoraenc.c libavcodec/libvpxenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Use av_reallocp where suitableAlexandra Khirnova2013-12-09
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-12-08
|\| | | | | | | | | | | | | | | | | | | | | * qatar/master: libvpx: do not mark VP9 as experimental when using libvpx >= 1.3.0 Conflicts: libavcodec/libvpxdec.c libavcodec/libvpxenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libvpx: do not mark VP9 as experimental when using libvpx >= 1.3.0Guillaume Martres2013-12-08
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | libvpxenc: token_parts is VP8 specificJames Almer2013-12-08
| | | | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Reviewed-by: James Zern <jzern@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libvpxenc: update cpu-used defaultJames Zern2013-11-23
| | | | | | | | | | | | | | 3 -> 1. vp8 encoding speed has improved since the initial release and 1 is a reasonable default for vp9 as well. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '5b9c3b4505206143d85398c1410949319fa1180f'Michael Niedermayer2013-11-16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5b9c3b4505206143d85398c1410949319fa1180f': Replace all instances of avcodec_alloc_frame() with av_frame_alloc(). Conflicts: doc/examples/decoding_encoding.c doc/examples/muxing.c ffmpeg.c libavcodec/alacenc.c libavcodec/libopenjpegenc.c libavcodec/libvpxenc.c libavcodec/pcm.c libavcodec/xbmenc.c libavcodec/xwdenc.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Replace all instances of avcodec_alloc_frame() with av_frame_alloc().Anton Khirnov2013-11-16
| |
* | libvpxenc: allow qmax of 0James Zern2013-11-03
| | | | | | | | | | | | | | this is valid for both vp8 & vp9 and necessary for lossless in the latter Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libvpxenc: add VP9 optionsJames Zern2013-11-03
| | | | | | | | | | | | | | | | | | | | same as their vpxenc equivalents: -lossless -tile-columns -tile-rows -frame-parallel Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libvpxenc: split vp8/vp9 options arrayJames Zern2013-11-02
| | | | | | | | | | | | the current options are left for both to provide command line compatibility Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b2bed9325dbd6be0da1d91ffed3f513c40274fd2'Michael Niedermayer2013-10-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b2bed9325dbd6be0da1d91ffed3f513c40274fd2': cosmetics: Group .name and .long_name together in codec/format declarations Conflicts: libavcodec/8svx.c libavcodec/alac.c libavcodec/cljr.c libavcodec/dnxhddec.c libavcodec/dnxhdenc.c libavcodec/dpxenc.c libavcodec/dvdec.c libavcodec/dvdsubdec.c libavcodec/dvdsubenc.c libavcodec/ffv1dec.c libavcodec/flacdec.c libavcodec/flvdec.c libavcodec/fraps.c libavcodec/frwu.c libavcodec/g726.c libavcodec/gif.c libavcodec/gifdec.c libavcodec/h261dec.c libavcodec/h263dec.c libavcodec/iff.c libavcodec/imc.c libavcodec/libopencore-amr.c libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libspeexenc.c libavcodec/libvo-amrwbenc.c libavcodec/libvorbisenc.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/libxavs.c libavcodec/libxvid.c libavcodec/ljpegenc.c libavcodec/mjpegbdec.c libavcodec/mjpegdec.c libavcodec/mpeg12dec.c libavcodec/mpeg4videodec.c libavcodec/msmpeg4dec.c libavcodec/pgssubdec.c libavcodec/pngdec.c libavcodec/pngenc.c libavcodec/proresdec_lgpl.c libavcodec/proresenc_kostya.c libavcodec/ra144enc.c libavcodec/rawdec.c libavcodec/rv10.c libavcodec/sp5xdec.c libavcodec/takdec.c libavcodec/tta.c libavcodec/v210dec.c libavcodec/vp6.c libavcodec/wavpack.c libavcodec/xbmenc.c libavcodec/yop.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
| |
* | Fixing a stride issue in VP8 Alpha encodeVignesh Venkatasubramanian2013-07-17
| | | | | | | | | | | | | | | | When encoding alpha channel in libvpx, the stride isn't set properly for the alpha encoder. Fixing it. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/libvpxenc: make class names uniqueMichael Niedermayer2013-07-09
| | | | | | | | | | | | | | This should fix an infinite loop with -h full Found-by: <Foofie> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Adding support for encoding VP8 AlphaVignesh Venkatasubramanian2013-05-17
| | | | | | | | | | | | | | | | | | | | This patch adds support for encoding VP8 files with alpha. The alpha channel is encoded separately and the output is placed in AVPacket's side_data. The muxer then muxes it into the BlockAdditional element of the matroska container. More details on spec here: http://goo.gl/wCP1y Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>