summaryrefslogtreecommitdiff
path: root/libavcodec/vp3.c
Commit message (Collapse)AuthorAge
* Cosmetic: indent after last change.Mike Melanson2009-12-19
| | | | Originally committed as revision 20896 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize unpack_vectors() by not shuffling around redundant vectors.Mike Melanson2009-12-19
| | | | | | | | Inspired by guidance from Dark Shikari. On a Core 2 Duo 2.0 GHz, this change decodes the 10-minute Big Buck Bunny 1080p short about 2 seconds faster. Originally committed as revision 20895 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Fix indentation after r20751.Carl Eugen Hoyos2009-12-06
| | | | Originally committed as revision 20752 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplified deblocking checks.Jason Garrett-Glaser2009-12-06
| | | | | | Patch by Dark Shikari Originally committed as revision 20751 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Faster checks in reverse_dc_prediction.Jason Garrett-Glaser2009-12-06
| | | | | | Patch by Dark Shikari Originally committed as revision 20750 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check transform==15 first, since it's more common than 13.Jason Garrett-Glaser2009-12-06
| | | | | | Patch by Dark Shikari Originally committed as revision 20749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r20747: It mixed functional and cosmetical changes.Carl Eugen Hoyos2009-12-06
| | | | Originally committed as revision 20748 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Various VP3 optimizations.Jason Garrett-Glaser2009-12-06
| | | | | | | | Faster checks in reverse_dc_prediction. Simplified deblocking checks. Check transform==15 first, since it's more common than 13. Originally committed as revision 20747 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Small refactoring: Instead of 4 loops for decoding AC coefficients basedMike Melanson2009-12-02
| | | | | | | | | | | | on their grouping, create one loop that indexes into a table of AC VLC tables. There is also a small optimization here: Do not call unpack_vlcs() if there are no fragments in the list with outstanding coefficients. My profiling indicates that this can save upwards of 1 million dezicycles per frame throughout the course of unpack_dct_coeffs(). Originally committed as revision 20699 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a list to track which fragments coded in this frame still haveMike Melanson2009-12-02
| | | | | | | | | | outstanding coefficients yet to be decoded from the bitstream. Once a fragment reaches end-of-block, remove it from this new list. This change makes the VP3/Theora entropy decode process dramatically faster due to not having to iterate incessantly over fragments which have already been fully decoded. Originally committed as revision 20698 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure that all memory allocations succeed.Mike Melanson2009-09-24
| | | | | | Based on 28_theora_malloc_checks.patch from the Google Chrome team. Originally committed as revision 20008 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix >= vs > check of coded_fragment_list_index.Google Chrome2009-09-23
| | | | | | 22_fix_theora_frag_fencepost.patch by chrome Originally committed as revision 19995 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix init_get_bits() buffer size.Google Chrome2009-09-23
| | | | | | 18_fix_theora_header_bit_len.patch by chrome Originally committed as revision 19993 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Another micro-optimization for unpack_vlcs(): Eliminate a possibleMike Melanson2009-09-23
| | | | | | branch and save around 45k-55k dezicycles per function run. Originally committed as revision 19974 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Perform the DC prediction reversal immediately after decoding all ofMike Melanson2009-09-22
| | | | | | | | | | | the DC coefficients. This has a greater probability of leveraging the coefficients while they are still cached. When testing with the Big Buck Bunny 1080p video, I consistently saw improvements of 500k-600k dezicycles per run (through reverse_dc_prediction()) thanks to this move. Originally committed as revision 19966 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify unpack_vlcs() so that there are fewer dereferences through theMike Melanson2009-09-21
| | | | | | main (heavily iterated) loop. Originally committed as revision 19934 to svn://svn.ffmpeg.org/ffmpeg/trunk
* compatible_frame array can be static const, too.Reimar Döffinger2009-09-06
| | | | Originally committed as revision 19779 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make vp3 arrays static const where possible.Reimar Döffinger2009-09-05
| | | | Originally committed as revision 19771 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless #include <unistd.h> from many filesMåns Rullgård2009-07-22
| | | | Originally committed as revision 19499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless ret variable added in last revision again.Reimar Döffinger2009-07-06
| | | | Originally committed as revision 19357 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l, theora_decode_init must pass on errors from vp3_decode_initReimar Döffinger2009-07-06
| | | | Originally committed as revision 19356 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make decode_init fail if the huffman tables are invalid and thus init_vlc fails.Reimar Döffinger2009-07-06
| | | | | | | Otherwise this will crash during decoding because the vlc tables are NULL. Partially fixes ogv/smclock.ogv.1.101.ogv from issue 1240. Originally committed as revision 19355 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure that the filter limit values do not exceed the maximum allowed value ↵Reimar Döffinger2009-07-05
| | | | | | of 127. Originally committed as revision 19351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extend init_loop_filter to work for filter limit values up to 127 insteadReimar Döffinger2009-07-05
| | | | | | of only up to 64. 127 is the maximum value allowed by the theora specification. Originally committed as revision 19350 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3 and theora decoders use get_buffer, set CODEC_CAP_DR1Baptiste Coudurier2009-06-05
| | | | Originally committed as revision 19107 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support block-level quantization in TheoraDavid Conrad2009-05-29
| | | | Originally committed as revision 18986 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ALIGN macro to libavutil/common.h and use it in various placesDavid Conrad2009-05-22
| | | | Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use skip_bits_long() for large skipsDavid Conrad2009-05-14
| | | | | | This fixes ogg/theora on ARM (more generally the A32 bitstream reader) Originally committed as revision 18819 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a chroma_sample_location field to define positioning of chroma samplesDavid Conrad2009-05-11
| | | | Originally committed as revision 18795 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove dead assignments found by CSABenjamin Larsson2009-05-02
| | | | Originally committed as revision 18731 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
* 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
* Add missing av_cold in static init/close functions.Daniel Verkamp2009-02-22
| | | | | | Patch by Daniel Verkamp daniel at drv dot nu. Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP3: Do not ignore error from read_huffman_tree().Alex Converse2009-02-09
| | | | Originally committed as revision 17090 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP3: Prevent stack corruption from an unset custom coding method.Alex Converse2009-02-03
| | | | Originally committed as revision 16978 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 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
* clear_block mmxLoren Merritt2008-12-10
| | | | Originally committed as revision 16045 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MMX VP3 Loop FilterDavid Conrad2008-10-17
| | | | Originally committed as revision 15630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variablesDavid Conrad2008-10-12
| | | | Originally committed as revision 15602 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move VP3 loop filter to DSPContextDavid Conrad2008-10-04
| | | | Originally committed as revision 15551 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: reindentDavid Conrad2008-10-01
| | | | Originally committed as revision 15505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Unneeded elseDavid Conrad2008-10-01
| | | | Originally committed as revision 15504 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Unneeded bracesDavid Conrad2008-10-01
| | | | Originally committed as revision 15503 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return if unpacking motion vectors for a keyframeDavid Conrad2008-10-01
| | | | Originally committed as revision 15502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: indentationDavid Conrad2008-10-01
| | | | Originally committed as revision 15501 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Visible width/height fields were added in Theora 3.2David Conrad2008-10-01
| | | | Originally committed as revision 15500 to svn://svn.ffmpeg.org/ffmpeg/trunk
* filter_limit_values only needs 7 bits, make its tables smallerDavid Conrad2008-10-01
| | | | Originally committed as revision 15499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: indentationDavid Conrad2008-09-30
| | | | Originally committed as revision 15492 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge (vp3|theora)_calculate_pixel_addressesDavid Conrad2008-09-30
| | | | Originally committed as revision 15491 to svn://svn.ffmpeg.org/ffmpeg/trunk