summaryrefslogtreecommitdiff
path: root/libavcodec/vp3.c
Commit message (Collapse)AuthorAge
...
* vp3: Frame-based multithreading supportAlexander Strange2011-02-09
| | | | | | | | | | | | | | | | | | | Decode times for big_buck_bunny_720p_stereo: 1 thread: real 1m14.227s user 1m13.104s sys 0m1.108s 2 threads: (33% faster) real 0m49.329s user 1m33.735s sys 0m1.834s 3 threads: (44% faster) real 0m41.593s user 1m44.884s sys 0m1.967s
* vp3: Move table allocation code into a new functionAlexander Strange2011-02-05
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp3: Factor out expressionAlexander Strange2011-02-05
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Move ff_emulated_edge_mc() into DSPContext.Ronald S. Bultje2011-01-28
|
* 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>
* VP3: remove an unnecessary static variableAlexander Strange2011-01-17
| | | | Originally committed as revision 26398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove dead code in theora_decode_tablesJason Garrett-Glaser2010-10-26
| | | | | | | Reading 7 bits as an unsigned int can't result in a value exceeding 127. Accordingly, remove error message (as it'll never be reached). Originally committed as revision 25575 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r25573Jason Garrett-Glaser2010-10-26
| | | | Originally committed as revision 25574 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix Theora decoding bug if loopfilter is completely disabledJason Garrett-Glaser2010-10-26
| | | | | | | | | | Bug caused by the fact that get_bits(gb, 0) is undefined. Doesn't affect any streams generated by the official Theora encoder, but such streams are nevertheless valid. Fixes decoding of CELT-933dd833-nmr-bandt.ogv. Originally committed as revision 25573 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only draw the actually visible area in vp3_draw_horiz_band.Reimar Döffinger2010-09-08
| | | | | | | Fixes a black line in non-swapped, non-mod-16-height Theora videos when vp3_draw_horiz_band is used. Originally committed as revision 25073 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-07
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix slice height for y position calculation for vp3_draw_horiz_bandReimar Döffinger2010-09-06
| | | | | | when the video uses 4:2:2 instead of 4:2:0 coding. Originally committed as revision 25052 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix vp3_draw_horiz_band to not produce completely chaotical valuesReimar Döffinger2010-09-06
| | | | | | | that result in overdrawing areas again and again if s->flipped_image is false. Originally committed as revision 25051 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP3/Theora: validate aspect and reduce it before exporting itReimar Döffinger2010-09-06
| | | | | | via the context. Originally committed as revision 25050 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini2010-08-06
| | | | | | av_check_image_size() instead. Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix vp3_draw_horiz_band to calculate chroma offsets correctlyReimar Döffinger2010-06-08
| | | | | | for 4:2:2 and 4:4:4 formats. Originally committed as revision 23537 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Skip the loop filter when strength is 0 or when requestedDavid Conrad2010-05-27
| | | | Originally committed as revision 23346 to svn://svn.ffmpeg.org/ffmpeg/trunk
* theora: Don't read an excess bit for maximum length long bit runs if the runDavid Conrad2010-05-25
| | | | | | exactly ends the remaining blocks. Originally committed as revision 23304 to svn://svn.ffmpeg.org/ffmpeg/trunk
* theora: coeff huffman codes are allowed to be up to 32 bits long (for 32 tokens)David Conrad2010-04-21
| | | | Originally committed as revision 22931 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
* vp3: Use avctx pointer directlyDavid Conrad2010-04-17
| | | | Originally committed as revision 22899 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Read fps and aspect ratio in the decoderDavid Conrad2010-04-17
| | | | Originally committed as revision 22898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Don't crop if there's a left/top offset, it's wrongDavid Conrad2010-04-17
| | | | | | Fixes issue1834 Originally committed as revision 22897 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: DC-only IDCTDavid Conrad2010-04-17
| | | | | | 2-4% faster overall decode Originally committed as revision 22896 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: More buffer length checksDavid Conrad2010-04-16
| | | | | | .5% slower to fix some crashes on invalid streams Originally committed as revision 22893 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Remove internal debug statementDavid Conrad2010-04-16
| | | | Originally committed as revision 22892 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
* 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