summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1.c
Commit message (Collapse)AuthorAge
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* ffv1: remove unused tablesMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffv1: fix undefined behavior with insane widths.Michael Niedermayer2011-06-13
| | | | | | | The new tables is large enough to prevent this together with our image size checks. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace int_fast integer types with their sized standard posix counterparts.Diego Biurrun2011-05-12
| | | | | The _fast integer types provide no realworld benefits, but may introduce portability issues and are just plain ugly.
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Introduce slice threads flag.Ronald S. Bultje2011-04-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ffv1: allocate correct size for sample bufferMans Rullgard2011-03-20
| | | | | | | This fixes a typo in the size calculation for the sample buffer introduced in cbabccc367424. Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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>
* Fix indention of one forgotten line in ffv1.cMichael Niedermayer2010-12-12
| | | | Originally committed as revision 25935 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix FFv1 decoder buffer releasing.Stefano Sabatini2010-11-04
| | | | | | | Previously it was releasing the buffer which was returned to the user, which was resulting in a crash in case of direct rendering. Originally committed as revision 25678 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix 10l leak in ffv1.Michael Niedermayer2010-10-28
| | | | Originally committed as revision 25595 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to find a bit better initial states in ffv1 2pass.Michael Niedermayer2010-10-28
| | | | | | | | | | | | Difference in filesizes to foreman ffv1 version=2, context=1 coder=1 18637016 adv-pass2-g300.avi 18638806 adv-pass1-g300.avi 18640534 ref-pass2-g300.avi 18918214 adv-pass2-g1.avi 18982048 ref-pass2-g1.avi 21516230 adv-pass1-g1.avi Originally committed as revision 25594 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Keep track of how many slices*gops where encoded in ffv1 2 pass.Michael Niedermayer2010-10-28
| | | | Originally committed as revision 25593 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize variable declaration in ffv1.Michael Niedermayer2010-10-28
| | | | Originally committed as revision 25592 to svn://svn.ffmpeg.org/ffmpeg/trunk
* FFV1 initial state 2pass code.Michael Niedermayer2010-10-26
| | | | Originally committed as revision 25584 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Read & write initial_states for ffv1Michael Niedermayer2010-10-26
| | | | Originally committed as revision 25583 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add initial_states array to ffv1.Michael Niedermayer2010-10-26
| | | | Originally committed as revision 25582 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add rc_stat2 to ffv1 this will be needed for finding good initial contexts ↵Michael Niedermayer2010-10-26
| | | | | | in 2 pass mode. Originally committed as revision 25581 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize state initialization in ffv1 clear_state().Michael Niedermayer2010-10-26
| | | | Originally committed as revision 25580 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only allocate stats_out when needed in ffv1Michael Niedermayer2010-10-26
| | | | Originally committed as revision 25579 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize litteral constents in ffv1 into STATS_OUT_SIZE.Michael Niedermayer2010-10-26
| | | | Originally committed as revision 25578 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make 1pass statistic collection in ffv1 put_symbol_inline() conditional to ↵Michael Niedermayer2010-10-26
| | | | | | avoid slowdown when more statistic collection code is added. Originally committed as revision 25577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Increase ffv1 encoding speed from 65 to 80 fps by forcing some inlining.Michael Niedermayer2010-10-26
| | | | Originally committed as revision 25571 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add quant_table_index to ffv1 PlaneContext and use it instead of duplicating ↵Michael Niedermayer2010-10-26
| | | | | | the currents implementation of calculating it. Originally committed as revision 25570 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ffv1 state transition table sorting to its own function.Michael Niedermayer2010-10-24
| | | | Originally committed as revision 25563 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix the case with swaping states 127 and 129 in ffv1Michael Niedermayer2010-10-24
| | | | Originally committed as revision 25562 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize state transition table sorting in ffv1Michael Niedermayer2010-10-24
| | | | Originally committed as revision 25561 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 2 pass mode for ffv1 to optimally order the range coder states.Michael Niedermayer2010-10-24
| | | | Originally committed as revision 25560 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize state_transition init out.Michael Niedermayer2010-10-24
| | | | Originally committed as revision 25559 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace 5 by named constant MAX_CONTEXT_INPUTS in ffv1.cMichael Niedermayer2010-10-19
| | | | Originally committed as revision 25529 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move shared functions out of CONFIG_FFV1_ENCODER ifdefMichael Niedermayer2010-10-16
| | | | Originally committed as revision 25511 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store slice position and size per keyframe in ffv1.2Michael Niedermayer2010-10-15
| | | | Originally committed as revision 25478 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indention of ffv1.c after previous commits.Michael Niedermayer2010-10-14
| | | | Originally committed as revision 25477 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store quant table index per plane and slice.Michael Niedermayer2010-10-14
| | | | Originally committed as revision 25476 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Assert that the context doesnt overflow in ffv1.Michael Niedermayer2010-10-14
| | | | Originally committed as revision 25475 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rectangular slice support for ffv1.2Michael Niedermayer2010-10-14
| | | | Originally committed as revision 25474 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow storing multiple quant tables in extradata that can then be selected ↵Michael Niedermayer2010-10-10
| | | | | | per keyframe in ffv1. Originally committed as revision 25439 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store global things in extradata for ffv1 ver=2.Michael Niedermayer2010-10-10
| | | | | | ver=2 is not set yet so this does not affect output. Originally committed as revision 25438 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure version is not decreased for 16bit per sample colorspaces in ffv1.Michael Niedermayer2010-10-10
| | | | Originally committed as revision 25437 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize quant table read and write code in ffv1.cMichael Niedermayer2010-10-10
| | | | Originally committed as revision 25436 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ffv1: remove VLAsMåns Rullgård2010-06-26
| | | | Originally committed as revision 23802 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set an opaque alpha value when decoding rgba ffv1.Thad Ward2010-06-24
| | | | | | Patch by Thad Ward coderjoe69¤yahoo°com Originally committed as revision 23757 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store range coder state transition table.Michael Niedermayer2010-04-01
| | | | | | Use a better table, 2% compression gain for foreman Originally committed as revision 22763 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
* Disallow VLC coding with more than 8 bits as there are several bugsMichael Niedermayer2010-03-22
| | | | | | | in that code that could lead to broken files. AC coding is unaffected. Originally committed as revision 22638 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Throw out last experimental warning that was printed for colorspaces with ↵Michael Niedermayer2010-03-22
| | | | | | | | more than 8 bits per component. This does no good except scaring users away. Originally committed as revision 22633 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the word "experimental"Michael Niedermayer2010-03-22
| | | | Originally committed as revision 22629 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark all pix_fmts and supported_framerates compound literals as const.Reimar Döffinger2009-09-06
| | | | | | Makes no difference for gcc but at least icc can put them in .rodata then. Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk