summaryrefslogtreecommitdiff
path: root/libavcodec/flacenc.c
Commit message (Collapse)AuthorAge
* flacenc: Load default prediction_order parameters if none is selectedMichael Niedermayer2016-02-08
| | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* flacenc: Restore defaults and range for {min, max}_prediction_orderDerek Buitenhuis2016-02-01
| | | | | | This was broken in 243df1351d2d928caa084a5704ed783f0b83f072. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavc: Move {min,max}_prediction_order to codec private optionsVittorio Giovara2016-01-21
| | | | | | | These options are only used by alac and flac. They are very codec-specific options, so deprecate the global variants. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* flacenc: Clamp user-supplied min/max prediction ordersVittorio Giovara2015-11-16
| | | | | | This mimics what the code does internally for default order values. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Enable side data only packets by defaultVittorio Giovara2015-09-12
| | | | | | | | | Deprecate the now unused option, but temporarily retain the capability to disable the now default behaviour. Mention this change in the AVPacket documentation. 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>
* flacenc: Move a scratch buffer to struct used by the functionVittorio Giovara2015-04-28
| | | | | This avoids allocating/freeing memory at every function call, checking its return value, and carrying the error around.
* flacenc: initialize sums matrixVittorio Giovara2015-01-29
| | | | | CC: libav-stable@libav.org Bug-Id: CID 703821
* dsputil: Split bswap*_buf() off into a separate contextDiego Biurrun2014-06-22
|
* flacenc: send final extradata in packet side dataAnton Khirnov2014-06-01
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* silly typo fixesDiego Biurrun2013-05-03
|
* lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruftAnton Khirnov2013-03-09
|
* flac: change minimum and default of lpc_passes option to 1Janne Grunau2012-12-07
| | | | | | Avoid use of uninitialized and uncomputed linear least square models during ff_lpc_calc_coefs() for FF_LPC_TYPE_CHOLESKY. Fixes running make fate-flac-16-lpc-cholesk with valgrind --undef-value-errors=yes.
* flacenc: ensure the order is within the min/max range in LPC order searchJustin Ruggles2012-11-08
| | | | | | This fixes use of uninitialized values when the FLAC encoder uses the 2-level, 4-level, and 8-level search methods. Fixes failure of the fate-flac-24-comp-8 test when run using valgrind.
* flacenc: use RICE2 entropy coding mode for 24-bitJustin Ruggles2012-11-05
|
* flacenc: add 24-bit encodingJustin Ruggles2012-11-05
|
* flacdsp: move lpc encoding from FLAC encoder to FLACDSPContextJustin Ruggles2012-11-05
| | | | | Also, templatize the functions for 16-bit and 32-bit sample range. This will be used for 24-bit FLAC encoding.
* flacenc: use uint64_t for bit countsJustin Ruggles2012-11-05
| | | | Needed to avoid integer overflows for 24-bit encoding.
* flacenc: remove wasted trailing 0 bitsJustin Ruggles2012-11-05
|
* flacenc: use a separate buffer for byte-swapping for MD5 checksum on big-endianJustin Ruggles2012-11-05
| | | | This is much faster than calculating the MD5 one sample at a time.
* Use the new aes/md5/sha/tree allocation functionsMartin Storsjö2012-10-11
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* flac: make FLAC_CHMODE_* constants consecutiveMans Rullgard2012-07-04
|
* flacenc: add option for forcing stereo decorrelation modeMans Rullgard2012-07-04
| | | | | | This is mainly useful for testing. Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* flacenc: use AVCodec.encode2()Justin Ruggles2012-03-20
|
* doxygen: Do not include license boilerplates in Doxygen comment blocks.Diego Biurrun2012-02-06
|
* lavc: remove disabled FF_API_FLAC_GLOBAL_OPTS cruft.Anton Khirnov2012-01-27
|
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Mark some variables with av_unusedMans Rullgard2011-06-03
| | | | | | | Most of these variables are only used in av_dlog statements, some are required but not used by other macros. Signed-off-by: Mans Rullgard <mans@mansr.com>
* flacenc: use proper initializers for AVOption default values.Anton Khirnov2011-05-11
| | | | | default_val was recently changes from double to a union, current code wasn't updated for that.
* lavc: move some flac-specific options to its private context.Anton Khirnov2011-05-10
|
* lavc: remove the FF_API_USE_LPC cruft.Anton Khirnov2011-04-19
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Separate window function from autocorrelation.Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move lpc_compute_autocorr() from DSPContext to a new struct LPCContext.Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_API_USE_LPC define to disable the deprecated AVCodecContext.use_lpc fieldAurelien Jacobs2010-09-30
| | | | Originally committed as revision 25275 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename output_* to write_*Justin Ruggles2010-07-31
| | | | Originally committed as revision 24634 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify verbatim mode fallback by checking the frame size before writing.Justin Ruggles2010-07-31
| | | | Originally committed as revision 24632 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change max_framesize for small final frame.Justin Ruggles2010-07-31
| | | | Originally committed as revision 24631 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Calculate an exact frame size before writing. Now the buffer size requirementsJustin Ruggles2010-07-31
| | | | | | | can be known exactly, so larger frame sizes can be safely encoded without buffer overwrite. Originally committed as revision 24630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename find_subblock_rice_params() to find_subframe_rice_params()Justin Ruggles2010-07-31
| | | | Originally committed as revision 24629 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reduce number of input parameters to find_subblock_rice_params().Justin Ruggles2010-07-31
| | | | Originally committed as revision 24628 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: fix bit count for frame headerJustin Ruggles2010-07-31
| | | | Originally committed as revision 24627 to svn://svn.ffmpeg.org/ffmpeg/trunk