summaryrefslogtreecommitdiffstats
path: root/libavcodec/flacenc.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* flac: make FLAC_CHMODE_* constants consecutiveMans Rullgard2012-07-041-10/+3
|
* flacenc: add option for forcing stereo decorrelation modeMans Rullgard2012-07-041-1/+11
| | | | | | This is mainly useful for testing. Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-4/+5
| | | | | | | 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-201-21/+31
|
* doxygen: Do not include license boilerplates in Doxygen comment blocks.Diego Biurrun2012-02-061-1/+1
|
* lavc: remove disabled FF_API_FLAC_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-68/+0
|
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-121-16/+16
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-291-8/+7
| | | | It's more readable and less prone to breakage.
* Mark some variables with av_unusedMans Rullgard2011-06-031-1/+1
| | | | | | | 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-111-16/+16
| | | | | 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-101-30/+72
|
* lavc: remove the FF_API_USE_LPC cruft.Anton Khirnov2011-04-191-11/+0
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | 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-261-1/+1
| | | | | | | 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-211-4/+6
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move lpc_compute_autocorr() from DSPContext to a new struct LPCContext.Justin Ruggles2011-01-211-4/+3
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-121-2/+2
| | | | | | 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-301-1/+1
| | | | Originally committed as revision 25275 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename output_* to write_*Justin Ruggles2010-07-311-6/+6
| | | | 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-311-11/+7
| | | | Originally committed as revision 24632 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change max_framesize for small final frame.Justin Ruggles2010-07-311-0/+6
| | | | 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-311-14/+79
| | | | | | | 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-311-7/+7
| | | | 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-311-34/+22
| | | | Originally committed as revision 24628 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: fix bit count for frame headerJustin Ruggles2010-07-311-1/+4
| | | | Originally committed as revision 24627 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify fallback to verbatim mode encoding.Justin Ruggles2010-07-311-16/+14
| | | | Originally committed as revision 24626 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: line wrap and vertical alignmentJustin Ruggles2010-07-311-8/+10
| | | | Originally committed as revision 24625 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Combine calc_rice_params_fixed() and calc_rice_params_lpc() into a singleJustin Ruggles2010-07-311-24/+14
| | | | | | function. Originally committed as revision 24624 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unneeded wrapper function.Justin Ruggles2010-07-311-8/+1
| | | | Originally committed as revision 24622 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove duplicate code by adding a flag for encoding in verbatim mode.Justin Ruggles2010-07-311-34/+6
| | | | Originally committed as revision 24621 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Estimate frame size during encoding.Justin Ruggles2010-07-311-3/+51
| | | | Originally committed as revision 24619 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationJustin Ruggles2010-07-301-38/+38
| | | | Originally committed as revision 24612 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Combine output_subframe() and output_subframes().Justin Ruggles2010-07-301-19/+11
| | | | Originally committed as revision 24611 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unneeded variable.Justin Ruggles2010-07-301-4/+1
| | | | Originally committed as revision 24610 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationJustin Ruggles2010-07-301-28/+28
| | | | Originally committed as revision 24609 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Combine output_subframe_verbatim() and output_subframe_lpc().Justin Ruggles2010-07-301-23/+13
| | | | Originally committed as revision 24608 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Combine and simplify output_residual() and output_subframe_lpc().Justin Ruggles2010-07-301-37/+21
| | | | Originally committed as revision 24607 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: reindentJustin Ruggles2010-07-301-5/+5
| | | | Originally committed as revision 24606 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Combine and simplify output_subframe_fixed() and output_subframe_lpc().Justin Ruggles2010-07-301-19/+5
| | | | Originally committed as revision 24605 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Combine and simplify output_subframe_constant() and output_subframe_verbatim().Justin Ruggles2010-07-301-25/+11
| | | | Originally committed as revision 24604 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pass FlacSubframe to output_subframe_* instead of channel number.Justin Ruggles2010-07-301-24/+11
| | | | Originally committed as revision 24603 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: change FlacEncodeContext variable name from ctx to s in severalJustin Ruggles2010-07-301-36/+36
| | | | | | places for consistency. Originally committed as revision 24602 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set coded_frame->pts in the FLAC encoderJustin Ruggles2010-07-301-0/+1
| | | | Originally committed as revision 24601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not need to set coded_frame->key_frame = 1 because it is already set inJustin Ruggles2010-07-301-1/+0
| | | | | | avcodec_alloc_frame(). Originally committed as revision 24600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move debug logging of compression options to a single function.Justin Ruggles2010-07-301-37/+60
| | | | Originally committed as revision 24599 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add 2 failed memory allocation checksJustin Ruggles2010-07-301-0/+4
| | | | Originally committed as revision 24598 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: pretty-print flacenc.cJustin Ruggles2010-07-301-325/+344
| | | | Originally committed as revision 24597 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use "const" qualifier for pointers that point to input data ofReimar Döffinger2010-07-241-4/+4
| | | | | | | 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-111-29/+74
| | | | | | | Add AVLPCType enum. Deprecate AVCodecContext.use_lpc. Originally committed as revision 24199 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud