summaryrefslogtreecommitdiff
path: root/libavcodec/vp8.c
Commit message (Collapse)AuthorAge
* vp8: fix overflow in segmentation map caching.Ronald S. Bultje2011-10-28
|
* h264: 4:2:2 intra decoding supportBaptiste Coudurier2011-10-21
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp8: fix up handling of segmentation_maps in reference frames.Ronald S. Bultje2011-10-21
| | | | | | | | | Associate segmentation_map[] with reference frame, rather than decoding instance. This fixes cases where the map would be free()'ed on e.g. a size change in one thread, whereas the other thread was still accessing it. Also, it fixes cases where threads overwrite data that is still being referenced by the previous thread, who thinks that it's part of the frame previously decoded by the next thread.
* vp8: prevent read from uninitialized memory in decode_mvsRonald S. Bultje2011-10-15
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vp8: force reallocation in update_thread_context after frame size changeRonald S. Bultje2011-10-15
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vp8: fix return value if update_dimensions failsRonald S. Bultje2011-10-15
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vp8: fix signed overflowsMans Rullgard2011-10-08
| | | | | | | In addition to avoiding undefined behaviour, an unsigned type makes more sense for packing multiple 8-bit values. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* doxygen: Fix documentation for some VP8 functions.Diego Biurrun2011-07-04
|
* doxygen: Fix parameter names to match the function prototypes.Diego Biurrun2011-07-03
|
* vp8: fix segmentation race during frame-threading.Ronald S. Bultje2011-05-31
| | | | | Fixes occasional failure of make fate-vp8-test-vector-010 with frame-multithreading enabled.
* vp8: use av_clip_uintp2() where possibleMans Rullgard2011-05-29
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add av_clip_uintp2() functionMans Rullgard2011-05-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 ↵Oskar Arvidsson2011-05-10
| | | | | | | | | | | | | | | | | decoder. This patch lets e.g. dsputil_init chose dsp functions with respect to the bit depth to decode. The naming scheme of bit depth dependent functions is <base name>_<bit depth>[_<prefix>] (i.e. the old clear_blocks_c is now named clear_blocks_8_c). Note: Some of the functions for high bit depth is not dependent on the bit depth, but only on the pixel size. This leaves some room for optimizing binary size. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp8: frame-multithreading.Ronald S. Bultje2011-05-02
| | | | | | | | | | | | | | | | | | | | | | Tested on a Mac Pro, 2 CPUs, 2 cores each, OSX 10.6.6: time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \ ~/Downloads/sintel_trailer_1080p_vp8_vorbis.webm \ -f null -vcodec rawvideo -an - 1: 0m14.630s (89.9 fps) 2: 0m8.056s (163.2 fps) 3: 0m5.882s (223.6 fps) 4: 0m4.952s (265.6 fps) time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \ ~/Downloads/Elephants_Dream-720p-Stereo.webm \ -f null -vcodec rawvideo -an - 1: 1m12.962s (215.1 fps) 2: 0m44.682s (351.2 fps) 3: 0m31.183s (503.2 fps) 4: 0m25.284s (620.6 fps) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vp8.c: rename EDGE_* to VP8_EDGE_*.Alexander Strange2011-03-24
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* VP8: fix other function declarationJason Garrett-Glaser2011-03-12
| | | | Was missed in 3efbe137.
* VP8: optimize VP8Context struct orderingJason Garrett-Glaser2011-03-12
| | | | | Shaves at least 3KB off code size on x86, should improve cache utilization. This would probably be useful to do for other decoders/encoders as well.
* VP8: fix function declarationJason Garrett-Glaser2011-03-12
|
* VP8: use a goto to break out of two loopsJason Garrett-Glaser2011-03-12
| | | | | A break statement was supposed to break out of two loops, but only broke out of one. Didn't affect output, just could have been marginally slower.
* VP8: init one less near_mvJason Garrett-Glaser2011-02-17
| | | | This one didn't actually need to be initialized.
* VP8: split out declarations to new headerJason Garrett-Glaser2011-02-17
|
* VP8: faster MV clippingJason Garrett-Glaser2011-02-17
|
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | 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>
* VP8: ARM optimised decode_block_coeffs_internalMans Rullgard2011-02-11
| | | | | | Approximately 5% faster on Cortex-A8. Signed-off-by: Mans Rullgard <mans@mansr.com>
* VP8: optimized mv prediction and decodingJason Garrett-Glaser2011-02-10
| | | | | Merge find_near_mvs and mv bitstream decoding: don't do prediction steps until absolutely necessary.
* VP8: idct_mb optimizationsJason Garrett-Glaser2011-02-08
| | | | Currently uses AV_RL32 instead of AV_RL32A, as the latter doesn't exist yet.
* VP8: slightly faster loopfilter sharpness logicJason Garrett-Glaser2011-02-04
|
* VP8: faster deblock strength calculationJason Garrett-Glaser2011-02-04
| | | | Convert hev_thresh logic to a LUT, simplify mbedge_lim calculation.
* VP8: faster filter_level clipJason Garrett-Glaser2011-02-03
|
* VP8: simplify lf_delta mb mode logicJason Garrett-Glaser2011-02-03
|
* VP8: merge chroma MC callsJason Garrett-Glaser2011-01-31
| | | | | Adds some duplicated code, but avoids duplicate edge checks and similar. ~0.5% faster overall on Parkjoy test sample.
* Slightly simplify VP8 inter_predictJason Garrett-Glaser2011-01-30
| | | | Merge an if and a switch.
* Move ff_emulated_edge_mc() into DSPContext.Ronald S. Bultje2011-01-28
|
* Fix VP8 aliasing problems.Ronald S. Bultje2011-01-28
| | | | Replace * (uint32_t *) buf accesses with AV_WN32A/AV_COPY32.
* 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>
* Don't do edge emulation unless the edge pixels will be used in MC.Ronald S. Bultje2011-01-25
| | | | | | Do not emulate larger edges than we will actually use for this round of MC. Decoding goes from avg+SE 29.972+/-0.023sec to 29.856+/-0.023, i.e. 0.12sec or ~0.4% faster.
* Fix valgrind invalid read on top MB rows with CODEC_FLAG_EMU_EDGE set.Ronald S. Bultje2010-12-30
| | | | Originally committed as revision 26168 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support CODEC_FLAG_EMU_EDGE in VP8 decoder.Ronald S. Bultje2010-12-28
| | | | Originally committed as revision 26117 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
* Remove some stray +s in VP8Jason Garrett-Glaser2010-08-13
| | | | Originally committed as revision 24791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove b4_stride/mb_stride.Pascal Massimino2010-08-11
| | | | | | | | correct mb_xy to use mb_width. tighten allocations. reduce the amount of zeroing. Originally committed as revision 24760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix over-allocation. confused b4_stride with mb_width.Pascal Massimino2010-08-11
| | | | Originally committed as revision 24758 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
* VP8: fix bug in prefetchJason Garrett-Glaser2010-08-05
| | | | | | Motion vectors in VP8 are qpel, not fullpel. Originally committed as revision 24707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP5/6/8: eliminate CABAC dependencyJason Garrett-Glaser2010-08-04
| | | | | | | Create a custom table for VP5/6/8's renorm to avoid depending on H.264's. Saves one instruction in the arithmetic decoder as well. Originally committed as revision 24701 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP8: partially inline decode_block_coeffsJason Garrett-Glaser2010-08-04
| | | | | | Avoids a function call in the case of empty DCT blocks (most of the time). Originally committed as revision 24691 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix 100L in r24689Jason Garrett-Glaser2010-08-04
| | | | | | Accidentally committed some timing code. Originally committed as revision 24690 to svn://svn.ffmpeg.org/ffmpeg/trunk