summaryrefslogtreecommitdiff
path: root/libavcodec/alacenc.c
Commit message (Collapse)AuthorAge
* Move const qualifier before type nameDiego Biurrun2016-03-23
|
* libavcodec: Add missing AVClass pointersMartin Storsjö2016-01-22
| | | | | | This fixes crashes since 243df1351. Signed-off-by: Martin Storsjö <martin@martin.st>
* 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>
* 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>
* Gather all coded_frame allocations and free functions to a single placeVittorio Giovara2015-07-20
| | | | | | | | | | | | | | Allocating coded_frame is what most encoders do anyway, so it makes sense to always allocate and free it in a single place. Moreover a lot of encoders freed the frame with av_freep() instead of the correct API av_frame_free(). This bring uniformity to encoder behaviour and prevents applications from erroneusly accessing this field when not allocated. Additionally this helps isolating encoders that export information with coded_frame, and heavily simplifies its deprecation. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Replace all instances of avcodec_alloc_frame() with av_frame_alloc().Anton Khirnov2013-11-16
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* Remove unnecessary dsputil.h #includesDiego Biurrun2013-02-26
|
* alacenc: add support for multi-channel encodingJustin Ruggles2012-12-05
|
* alacenc: support 24-bit encodingJustin Ruggles2012-11-20
|
* alacenc: use s16p sample format as inputJustin Ruggles2012-08-22
|
* alacenc: remove unneeded sample_fmt checkJustin Ruggles2012-08-22
|
* alacenc: fix max_frame_size calculation for the final frameJustin Ruggles2012-08-22
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* alacenc: use AVCodec.encode2()Justin Ruggles2012-02-11
|
* alacenc: cosmetics: indentationJustin Ruggles2012-02-11
|
* alacenc: consolidate bitstream writing into a single function.Justin Ruggles2012-02-11
| | | | Simplifies use of verbatim mode.
* alacenc: only encode frame size in header for a final smaller frameJustin Ruggles2012-02-11
| | | | | Otherwise it is not needed because it matches the frame size as encoded in the extradata.
* alacenc: store current frame size in AlacEncodeContext.Justin Ruggles2012-02-11
| | | | This avoids an indirection and will simplify implementation of encode2()
* alacenc: return AVERROR codes in alac_encode_frame()Justin Ruggles2012-02-11
|
* alacenc: calculate a new max frame size for the final small frameJustin Ruggles2012-02-11
| | | | | Gives a better estimate of buffer requirements and a better decision of whether or not to use verbatim mode.
* alacenc: pretty-printing and other cosmeticsJustin Ruggles2012-02-11
|
* alacenc: fix error handling and potential memleaks in alac_encode_init()Justin Ruggles2012-02-11
|
* alacenc: do not set coded_frame->key_frameJustin Ruggles2012-02-11
| | | | It is already set in avcodec_alloc_frame()
* alacenc: do not set bits_per_coded_sampleJustin Ruggles2012-02-11
| | | | encoded ALAC does not have a fixed number of bits per sample
* alacenc: remove unneeded frame_size check in alac_encode_frame()Justin Ruggles2012-02-11
|
* doxygen: Do not include license boilerplates in Doxygen comment blocks.Diego Biurrun2012-02-06
|
* alacenc: implement the 2-pass prediction type.Justin Ruggles2012-01-03
| | | | This isn't used by the reference encoder, but it is supported by the decoder.
* alacenc: do not generate invalid multi-channel ALAC filesJustin Ruggles2012-01-03
|
* Cleaned up alacenc.cNathan Adil Maxson2011-12-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* lavc: move some flac-specific options to its private context.Anton Khirnov2011-05-10
|
* 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
* Use "const" qualifier for pointers that point to input data ofReimar Döffinger2010-07-24
| | | | | | | audio encoders. This is purely for clarity/documentation purposes. Originally committed as revision 24481 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVCodecContext.lpc_type and Add AVCodecContext.lpc_passes fields.Justin Ruggles2010-07-11
| | | | | | | Add AVLPCType enum. Deprecate AVCodecContext.use_lpc. Originally committed as revision 24199 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless header inclusion.Jai Menon2010-04-12
| | | | Originally committed as revision 22851 to svn://svn.ffmpeg.org/ffmpeg/trunk
* alacenc : Report supported input sample formats.Jai Menon2010-04-10
| | | | Originally committed as revision 22829 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* alacenc : use private compression_level value consistently.Jai Menon2009-10-17
| | | | Originally committed as revision 20261 to svn://svn.ffmpeg.org/ffmpeg/trunk
* alacenc : Move some code around for clarity.Jai Menon2009-10-16
| | | | Originally committed as revision 20256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: reindent and line wrap after last commitJustin Ruggles2009-10-05
| | | | Originally committed as revision 20174 to svn://svn.ffmpeg.org/ffmpeg/trunk
* alacenc: add a fixed LPC coefficient mode as compression level 1. oldJustin Ruggles2009-10-05
| | | | | | compression level 1 is now compression level 2 and is still the default. Originally committed as revision 20173 to svn://svn.ffmpeg.org/ffmpeg/trunk
* put_bits can only reliably write up to 31 bit bits, above it relies onReimar Döffinger2009-10-01
| | | | | | | | undefined shift behaviour. Document this, fix the assert and add a put_bits32 to handle writing 32 bits and use that where necessary. Originally committed as revision 20124 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix max_coded_frame_size computation to account for byte alignment.Jai Menon2009-09-15
| | | | | | Fixes issue 1386. Originally committed as revision 19859 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk