summaryrefslogtreecommitdiffstats
path: root/libavcodec/vp3.c
Commit message (Collapse)AuthorAgeFilesLines
* vp3: fix streams with non-zero last coefficientJanne Grunau2012-01-051-0/+2
| | | | Fixes a regression introduced in 8b94df0f2047e972.
* vp3dec: Check coefficient index in vp3_dequant()Reinhard Tartler2011-12-231-2/+12
| | | | | | | | | Based on a patch by Michael Niedermayer <michaelni@gmx.at> Fixes NGS00145, CVE-2011-4352 Found-by: Phillip Langlois Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* vp3: Reorder some functions to fix VP3 build with Theora disabled.Diego Biurrun2011-12-201-77/+74
|
* avcodec: change number of plane pointers from 4 to 8 at next major bump.Justin Ruggles2011-12-021-3/+4
| | | | | | Add AV_NUM_DATA_POINTERS to simplify the bump transition. This will allow for supporting more planar audio channels without having to allocate separate pointer arrays.
* avcodec: move some AVCodecContext fields to an internal struct.Justin Ruggles2011-11-191-1/+3
| | | | | | | | A new field, AVCodecContext.internal is used to hold a new struct AVCodecInternal, which has private fields that are not codec-specific and are used by general libavcodec functions. Moved internal_buffer, internal_buffer_count, and is_copy.
* vp3: remove some pointless commentsDiego Biurrun2011-11-021-9/+0
|
* vp3: fix oob read for negative tokens and memleaks on error.Ronald S. Bultje2011-10-281-14/+45
|
* lavc: use avpriv_ prefix for ff_split_xiph_headers.Anton Khirnov2011-10-201-1/+1
| | | | It's used in lavf.
* w32threads: support for frame multithreadingSteven Walters2011-10-161-4/+4
| | | | | | | | Replace our incomplete w32threads implementation with x264's pthreads w32threads wrapper. Relicensed to LGPL with kind permission by Pegasys Inc. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* doxygen: fix wrong comment syntax, //< vs. ///<Diego Biurrun2011-08-261-1/+1
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-291-20/+16
| | | | It's more readable and less prone to breakage.
* vp3/theora: flush after seek.Ronald S. Bultje2011-07-281-0/+22
|
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-021-2/+2
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* vp3-mt: fix deadlock when first frame is not a keyframe.Ronald S. Bultje2011-03-021-0/+1
|
* Fix VP3 edge emulationDavid Conrad2011-02-191-2/+1
| | | | | | With negative stride, the start of the edge_emu buffer should be pointing to the last line, not the end of the buffer. With positive stride, pointing to the end of the buffer was completely wrong.
* VP3: fix decoding of videos with stride > 2048Jason Garrett-Glaser2011-02-181-14/+6
| | | | | Also remove qscale_table code; this didn't make sense anyways as VP3 doesn't use an MPEG-like quantizer scale.
* Merge libavcore into libavutilReinhard Tartler2011-02-151-1/+1
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* vp3: Frame-based multithreading supportAlexander Strange2011-02-091-23/+131
| | | | | | | | | | | | | | | | | | | 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-051-23/+33
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp3: Factor out expressionAlexander Strange2011-02-051-4/+5
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Move ff_emulated_edge_mc() into DSPContext.Ronald S. Bultje2011-01-281-1/+1
|
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-261-2/+2
| | | | | | | 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-171-4/+2
| | | | Originally committed as revision 26398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove dead code in theora_decode_tablesJason Garrett-Glaser2010-10-261-8/+2
| | | | | | | 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-261-6/+6
| | | | Originally committed as revision 25574 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix Theora decoding bug if loopfilter is completely disabledJason Garrett-Glaser2010-10-261-0/+2
| | | | | | | | | | 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-081-4/+2
| | | | | | | 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-071-1/+1
| | | | 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-061-1/+1
| | | | | | 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-061-1/+1
| | | | | | | 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-061-3/+8
| | | | | | 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-061-1/+2
| | | | | | 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-301-2/+2
| | | | 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-081-1/+1
| | | | | | 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-271-1/+6
| | | | 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-251-18/+24
| | | | | | 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-211-23/+23
| | | | Originally committed as revision 22931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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-171-2/+2
| | | | Originally committed as revision 22899 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Read fps and aspect ratio in the decoderDavid Conrad2010-04-171-4/+10
| | | | 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-171-3/+5
| | | | | | Fixes issue1834 Originally committed as revision 22897 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: DC-only IDCTDavid Conrad2010-04-171-3/+5
| | | | | | 2-4% faster overall decode Originally committed as revision 22896 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: More buffer length checksDavid Conrad2010-04-161-4/+9
| | | | | | .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-161-2/+1
| | | | 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-301-2/+2
| | | | | | 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-131-23/+27
| | | | | | 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-131-37/+92
| | | | 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-131-5/+0
| | | | Originally committed as revision 22499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp3: Make fragment_width _height by planeDavid Conrad2010-03-131-22/+24
| | | | Originally committed as revision 22498 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud