summaryrefslogtreecommitdiff
path: root/libavcodec/vp3.c
Commit message (Collapse)AuthorAge
...
* vp3: Split out motion vectors to their own arrayDavid Conrad2010-03-13
| | | | | | 1.5% faster overall decode on my penryn Originally committed as revision 22504 to svn://svn.ffmpeg.org/ffmpeg/trunk
* theora: Add support for 4:2:2 and 4:4:4 subsamplingDavid Conrad2010-03-13
| | | | Originally committed as revision 22500 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: remove unneeded error, this is internal and doesn't happenDavid Conrad2010-03-13
| | | | Originally committed as revision 22499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Make fragment_width _height by planeDavid Conrad2010-03-13
| | | | Originally committed as revision 22498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: we only need a temp MV array of size 4David Conrad2010-03-13
| | | | Originally committed as revision 22497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Use memset to clear the fragment arrayDavid Conrad2010-03-13
| | | | Originally committed as revision 22496 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Init MVs to 0David Conrad2010-03-13
| | | | Originally committed as revision 22495 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Simplify init_block_mappingDavid Conrad2010-03-13
| | | | Originally committed as revision 22494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: avoid buffer overread in coeff decodeDavid Conrad2010-03-10
| | | | | | | I couldn't measure it to be slower for normal interframe videos. For the worst case, high-bitrate intra-only videos, it can be 0.7% slower. Originally committed as revision 22416 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: correctly clip vp3_draw_horiz_band callDavid Conrad2010-03-09
| | | | Originally committed as revision 22377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Set pict_typeDavid Conrad2010-03-09
| | | | Originally committed as revision 22361 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Allocate a dummy reference frame if we have no keyframeDavid Conrad2010-03-09
| | | | Originally committed as revision 22360 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: use FF_BUFFER_TYPE_COPYDavid Conrad2010-03-09
| | | | Originally committed as revision 22359 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Don't leak buffers on errorsDavid Conrad2010-03-09
| | | | Originally committed as revision 22358 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Simplify buffer managementDavid Conrad2010-03-09
| | | | Originally committed as revision 22357 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: be less spammy on broken filesDavid Conrad2010-03-09
| | | | Originally committed as revision 22356 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove DECLARE_ALIGNED_{8,16} macrosMåns Rullgård2010-03-06
| | | | | | | These macros are redundant. All uses are replaced with the generic DECLARE_ALIGNED macro instead. Originally committed as revision 22233 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Really fix 2.95David Conrad2010-03-04
| | | | Originally committed as revision 22204 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Maybe fix gcc 2.95David Conrad2010-03-04
| | | | Originally committed as revision 22203 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Delay translating DCT tokens into coefficients until immediately before IDCTDavid Conrad2010-03-03
| | | | | | | | This is generally around 12% faster than the prior method of creating a linked list for each block as tokens are read, but can be anywhere from 8% to 28% faster depending on file and CPU. Originally committed as revision 22190 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do MC and IDCT in coding (hilbert) orderDavid Conrad2010-03-03
| | | | | | | | | | This increases the slice size to 64 pixels, due to having to decode an entire chroma superblock row per slice. This can be up to 6% slower depending on clip and CPU, but is necessary for future optimizations that gain significantly more than was lost. Originally committed as revision 22189 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Explictly separate decoding whether fragments are coded by planeDavid Conrad2010-03-03
| | | | Originally committed as revision 22188 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove declaration of unused variables.Carl Eugen Hoyos2010-02-28
| | | | Originally committed as revision 22102 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify determing whether fragments are codedDavid Conrad2010-02-21
| | | | | | No measurable speed difference Originally committed as revision 21931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle Theora's continued runs in superblock coding.David Conrad2010-02-21
| | | | | | | This doesn't really matter yet since 4:2:0 1080p has only 3060 superblocks, but larger resolutions or 4:4:4 1080p could hit this case. Originally committed as revision 21930 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Decode fully coded superblocks in the same manner as partial superblocks and qpiDavid Conrad2010-02-21
| | | | | | No speed difference, but it will simplify the special 4129 case. Originally committed as revision 21929 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the special 4129 case for long-run bit strings a #define and explain itDavid Conrad2010-02-21
| | | | Originally committed as revision 21928 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use memset to set the runs partially coded superblocksDavid Conrad2010-02-21
| | | | | | | Much faster for long runs (e.g. nearly uncoded frames), slightly faster for the general case. Originally committed as revision 21927 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use LOCAL_ALIGNED macro for local arraysMåns Rullgård2010-02-17
| | | | Originally committed as revision 21866 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move CODEC_FLAG_GRAY check to outer loopDavid Conrad2010-02-13
| | | | Originally committed as revision 21805 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move branch based on custom mode outside the loopDavid Conrad2010-02-13
| | | | Originally committed as revision 21804 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Directly check whether a fragment is coded for 4MV mode instead of iteratingDavid Conrad2010-02-13
| | | | | | through the entire coded fragment list. Originally committed as revision 21803 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Eliminate fragment -> macroblock mapping arrayDavid Conrad2010-02-13
| | | | Originally committed as revision 21802 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Eliminate macroblock -> fragment mapping arrayDavid Conrad2010-02-13
| | | | Originally committed as revision 21801 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Eliminate superblock <-> macroblock mapping arrayDavid Conrad2010-02-13
| | | | Originally committed as revision 21800 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't pre-calculate first_pixelDavid Conrad2010-02-12
| | | | | | 3.6% faster on Elephants_Dream_HD-q7-aq7.ogg on my penryn Originally committed as revision 21781 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement CODEC_CAP_DRAW_HORIZ_BAND for VP3 decoderDavid Conrad2010-02-12
| | | | Originally committed as revision 21780 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: reindentDavid Conrad2010-02-12
| | | | Originally committed as revision 21779 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do loop filter per-row rather than per-frameDavid Conrad2010-02-12
| | | | | | 3% faster on Elephants_Dream_HD-q7-aq7.ogg on my penryn Originally committed as revision 21778 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move apply_loop_filter above render_slice, it'll be used by the latter soonDavid Conrad2010-02-12
| | | | Originally committed as revision 21777 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export Theora colorspace info if presentDavid Conrad2010-02-12
| | | | Originally committed as revision 21776 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Theora 3.4 doesn't exist; these fields were misunderstandings of the specDavid Conrad2010-02-12
| | | | Originally committed as revision 21775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused code that's moved elsewhereDavid Conrad2010-02-12
| | | | Originally committed as revision 21774 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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