summaryrefslogtreecommitdiff
path: root/libavcodec/snow.c
Commit message (Collapse)AuthorAge
* Optimize ff_snow_horizontal_compose97i.Michael Niedermayer2010-01-11
| | | | | | | | this makes the 9/7 C wavelet at the decoder side 22% faster. The old code is changed to match the new in terms of the order of operations (which also makes it sligtly faster) Originally committed as revision 21132 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge vertical_compose53iL0*()Michael Niedermayer2010-01-11
| | | | | | 8% faster C 5/3 wavelet at the decoder side. Originally committed as revision 21131 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize horizontal_compose53i() by inlining inv_lift() and optimizing theMichael Niedermayer2010-01-11
| | | | | | resulting code slightly. ~30% faster C 5/3 wavelet at the decoder side. Originally committed as revision 21130 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Snow : re-indent after r21093.Jai Menon2010-01-08
| | | | Originally committed as revision 21094 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Snow : remove pointless 'if(1)'.Jai Menon2010-01-08
| | | | Originally committed as revision 21093 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Snow : use non-NULL context for av_log.Jai Menon2010-01-08
| | | | Originally committed as revision 21089 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics : remove duplicated comment.Jai Menon2010-01-08
| | | | Originally committed as revision 21088 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Snow : release buffers allocated using avctx->get_buffer.Jai Menon2010-01-08
| | | | Originally committed as revision 21084 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix 1 pass RC in snow.Michael Niedermayer2009-12-02
| | | | | | Fixes issue547. Originally committed as revision 20706 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorder functions so that encoding functions are disabled by the preprocessor.Diego Biurrun2009-09-18
| | | | | | Fixes compilation with disabled optimizations and enabled Snow decoder. Originally committed as revision 19914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* snow decoder uses get_buffer, set CODEC_CAP_DR1Baptiste Coudurier2009-06-05
| | | | Originally committed as revision 19104 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct x/ymin to avoid segfault due to out of picture reads.Michael Niedermayer2009-05-08
| | | | Originally committed as revision 18771 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize sign handling in get_symbol().Michael Niedermayer2009-04-24
| | | | Originally committed as revision 18672 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove 2 useless FFMIN().Michael Niedermayer2009-04-22
| | | | Originally committed as revision 18664 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove apparently redundant code.Michael Niedermayer2009-04-22
| | | | Originally committed as revision 18663 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indention, patch by Lars Täuber.Lars Täuber2009-04-17
| | | | Originally committed as revision 18594 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable from slice_buffer_release() found by CSA.Michael Niedermayer2009-04-17
| | | | Originally committed as revision 18570 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variables from slice_buffer_load_line() found by CSA.Michael Niedermayer2009-04-17
| | | | Originally committed as revision 18561 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).Diego Biurrun2009-04-10
| | | | Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure the next used frame is released so get_buffer() wont fail.Michael Niedermayer2009-04-09
| | | | Originally committed as revision 18399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move release_buffer() up so it is prior to a future call to it.Michael Niedermayer2009-04-09
| | | | Originally committed as revision 18398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize release_buffer()Michael Niedermayer2009-04-09
| | | | Originally committed as revision 18397 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure spatial_decomposition_count is not too large for picture size.Michael Niedermayer2009-04-09
| | | | | | this led to an infinite loop in mirror(). Originally committed as revision 18396 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip non intra frames that have no reference frames.Michael Niedermayer2009-04-09
| | | | Originally committed as revision 18395 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure spatial_decomposition_count is >0.Michael Niedermayer2009-04-09
| | | | Originally committed as revision 18394 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure the block array is of the correct size.Michael Niedermayer2009-04-09
| | | | | | This might have been exploitable. Originally committed as revision 18393 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check spatial_decomposition_count too, fixes another crash.Michael Niedermayer2009-04-09
| | | | Originally committed as revision 18392 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l, forgot to remove old code, which broke snow.Michael Niedermayer2009-04-09
| | | | Originally committed as revision 18391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize check of read symbols.Michael Niedermayer2009-04-09
| | | | Originally committed as revision 18390 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix spatial_decomposition_type validity check.Michael Niedermayer2009-04-09
| | | | | | Fixes infinite loop (did no investigate why exactly it got stuck). Originally committed as revision 18389 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crash when max_ref_frames was out of range.Michael Niedermayer2009-04-09
| | | | | | | This might have been exploitable. Fixes first crash of issue840. Originally committed as revision 18388 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move declaration of prn before any assignment.Benoit Fouet2009-03-31
| | | | Originally committed as revision 18255 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace random() usage in test programs by av_lfg_*().Diego Biurrun2009-03-20
| | | | Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Align test program output columns.Diego Biurrun2009-03-20
| | | | Originally committed as revision 18068 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moves mid_pred() into mathops.h (with arch specific code split by directory)Aurelien Jacobs2009-01-18
| | | | Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* export gcd function as av_gcd()Aurelien Jacobs2009-01-17
| | | | Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More POSIX _t namespace cleanup.Michael Niedermayer2008-12-12
| | | | Originally committed as revision 16082 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix regression test failure with pthreads on multiprocessor systems.Michael Niedermayer2008-12-02
| | | | | | Fixes issue517 Originally committed as revision 15976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* snow: move scratch buffer from stack to malloced buffer in contextMåns Rullgård2008-11-25
| | | | | | This is required to ensure 16-byte alignment. Originally committed as revision 15934 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: s/const static/static const/gMathieu Malaterre2008-08-19
| | | | | | patch by Mathieu Malaterre, mathieu.malaterre gmail com Originally committed as revision 14850 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mark read-only data as constStefan Gehrer2008-06-24
| | | | Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_ prefix to all (frame)_TYPE usageAurelien Jacobs2008-03-09
| | | | Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Fix indentation in a few more places.Diego Biurrun2008-03-08
| | | | Originally committed as revision 12381 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Normalize {} placement after for, while, if.Diego Biurrun2008-03-08
| | | | Originally committed as revision 12380 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move draw_edges() into dsputilAurelien Jacobs2008-03-04
| | | | Originally committed as revision 12309 to svn://svn.ffmpeg.org/ffmpeg/trunk