summaryrefslogtreecommitdiff
path: root/libavcodec/vp56.c
Commit message (Collapse)AuthorAge
* vp56: Return meaningful error codesHimangi Saraogi2015-02-14
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Give IDCT matrix transpose macro a more descriptive nameDiego Biurrun2014-02-27
| | | | This also avoids a macro name clash and related warning on ARM.
* lavc: Edge emulation with dst/src linesizeRonald S. Bultje2013-11-15
| | | | | | Allow supporting files for which the image stride is smaller than the maximum block size + number of subpel mc taps, e.g. a 64x64 VP9 file or a 16x16 VP8 file with -fflags +emu_edge.
* vp56: stop using deprecated avcodec_set_dimensionsAnton Khirnov2013-10-31
|
* lavc: Convert some remaining strides to ptrdiff_tRonald S. Bultje2013-10-15
|
* vp56data: Move all data tables to the .c fileDiego Biurrun2013-08-15
|
* vp56: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-19
| | | | | | This makes vp5 and vp6 independent of dsputil. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp3: Use full transpose for all IDCTsRonald S. Bultje2013-04-15
| | | | | | | | | | | This way, the special IDCT permutations are no longer needed. This is similar to how H264 does it, and removes the dsputil dependency imposed by the scantable code. Also remove the unused type == 0 cases from the plain C version of the idct. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* vp56: Remove clear_blocks call, and clear alpha plane U/V DC onlyRonald S. Bultje2013-02-19
| | | | | | | | The non-alpha and alpha-Y planes are cleared in the idct_put/add() calls. For the alpha U/V planes, we only care about the DC for entropy context prediction purposes, the rest of the data is unused. Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Separate h264chromaDiego Biurrun2013-02-06
|
* vp3/5: move put_no_rnd_pixels_l2 from dsputil to VP3DSPContext.Ronald S. Bultje2013-01-21
| | | | | The function is only used in VP3 and VP5, so no need to have it in DSPContext.
* Remove put_no_rnd_pixels_l2 function pointer for w=16 from dsputil.Ronald S. Bultje2013-01-19
| | | | The function is never used.
* lavc: introduce VideoDSPContextRonald S. Bultje2012-12-20
| | | | | | | | Move some functions from dsputil. The idea is that videodsp contains functions that are useful for a large and varied set of video decoders. Currently, it contains emulated_edge_mc() and prefetch(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vp56: release frames on errorLuca Barbato2012-12-14
| | | | | | Fixes CVE-2012-2783 CC: libav-stable@libav.org
* vp56: make parse_header return standard error codesLuca Barbato2012-12-14
| | | | | | Returning 0 for failure is misleading. CC: libav-stable@libav.org
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* vp3: move idct and loop filter pointers to new vp3dsp contextMans Rullgard2012-07-18
| | | | | | | | This moves all VP3-specific function pointers from dsputil to a new vp3dsp context. There is no reason to ever use the VP3 IDCT where an MPEG2 IDCT is expected or vice versa. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vp56: Add ff_ prefix to nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vp56: Release old pictures after a resolution changesLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vp6: Check for huffman tree build errorsLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vp56: Check for missing reference frame dataLaurent Aimar2011-10-07
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* doxygen: do not include license boilerplate in Doxygen documentationDiego Biurrun2011-07-15
|
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move ff_emulated_edge_mc() into DSPContext.Ronald S. Bultje2011-01-28
|
* 10l: missed one reindent.Alex Converse2010-07-28
| | | | Originally committed as revision 24563 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ff_prefix non static vp56 functions.Alex Converse2010-07-28
| | | | Originally committed as revision 24561 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP56: move vp56_edge_filter to new VP56DSPContextMåns Rullgård2010-04-30
| | | | | | | | | | Using macro templates allows the vp[56]_adjust functions to be inlined instead of called through function pointers. The new function pointers enable optimised implementations of the filters. 4% faster VP6 decoding on Cortex-A8. Originally committed as revision 22992 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
* move vp6 huffman table freeing code, out of common vp56 codeAurelien Jacobs2010-03-03
| | | | Originally committed as revision 22186 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Plug some memory leaks in the VP6 decoderVitor Sessak2010-03-03
| | | | Originally committed as revision 22172 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make VP5 and VP6 decoders output a qscale table to allow for more automaticReimar Döffinger2010-01-29
| | | | | | post-processing, and add a new FF_QSCALE_TYPE_VP56 for this. Originally committed as revision 21529 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp56: check buffer size to fix a potential segfaultLaurent Aimar2010-01-28
| | | | | | patch by Laurent Aimar fenrir _at_ videolan _dot_ org Originally committed as revision 21521 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_freep intead of av_free to free pointers in vp56 context.Reimar Döffinger2010-01-23
| | | | Originally committed as revision 21395 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix vp5/vp6 decoding by using new prototype for decode functionAurelien Jacobs2009-04-07
| | | | Originally committed as revision 18352 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vp56: alpha_offset is uninitialized on purposeAurelien Jacobs2009-02-09
| | | | Originally committed as revision 17108 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
* vp56: don't reset dimensions to 0 in codec initAurelien Jacobs2008-12-15
| | | | Originally committed as revision 16140 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename Vp56Model to VP56Model for consistencyAurelien Jacobs2008-12-12
| | | | Originally committed as revision 16073 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: vertical alignmentAurelien Jacobs2008-12-11
| | | | Originally committed as revision 16069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid POSIX reserved _t suffixAurelien Jacobs2008-12-11
| | | | Originally committed as revision 16068 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
* Add VP56_FRAME_NONE and use VP56_FRAME_CURRENT.Carl Eugen Hoyos2008-05-13
| | | | | | Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 13145 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ensure vp56_decode_frame always return unchanged buf_sizeAurelien Jacobs2008-05-08
| | | | Originally committed as revision 13083 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