summaryrefslogtreecommitdiff
path: root/libavcodec/rv34.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate FF_COMMON_FRAME macro.Diego Biurrun2011-07-111-66/+66
| | | | | FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
* Remove unused static tables and static inline functions.Diego Biurrun2011-07-041-20/+0
|
* doxygen: Prefer member groups over grouping into modulesReinhard Tartler2011-07-021-79/+76
| | | | | | | | | Before this, almost all module groups have been used for grouping functions and fields in structures semantically. This causes them to not appear properly in the file documentation and needlessly clutters up the "Modules" index. Additionally, this commit streamlines some spelling and appearances.
* Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 ↵Oskar Arvidsson2011-05-101-1/+1
| | | | | | | | | | | | | | | | | 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>
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-021-10/+10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: remove FF_API_HURRY_UP cruftAnton Khirnov2011-04-261-9/+0
|
* lavc: mark hurry_up for removal on next major bumpAnton Khirnov2011-04-021-0/+4
| | | | | It has been deprecated for about five years, skip_idct/skip_frame should be used instead.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move ff_emulated_edge_mc() into DSPContext.Ronald S. Bultje2011-01-281-3/+3
|
* Disambiguate bitstream groups for AAC and RV30/RV40.Diego Biurrun2010-07-021-1/+1
| | | | Originally committed as revision 23995 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix "initialization from incompatible pointer type" warning in rv34.Eli Friedman2010-06-301-1/+1
| | | | | | Patch by Eli Friedman (at gmail). Originally committed as revision 23897 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rv34: kill VLAsMåns Rullgård2010-06-251-2/+2
| | | | Originally committed as revision 23774 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
* Revert commit 22378.Vitor Sessak2010-03-091-4/+0
| | | | | | It broke FATE and kostya asked me on IRC to revert it. Originally committed as revision 22379 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check for reference frames so RV 3/4 won't segfault trying to copy data fromKostya Shishkov2010-03-091-0/+4
| | | | | | nonexisting reference. Originally committed as revision 22378 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Call avcodec_set_dimensions() instead of simply setting avctx->width/heightKostya Shishkov2009-11-241-2/+3
| | | | | | when frame dimensions change in RV3/4. Originally committed as revision 20595 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update dimensions in AVCodecContext when RV3/4 frame dimensions changeKostya Shishkov2009-11-221-2/+2
| | | | Originally committed as revision 20572 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert ZERO8x2 macro into inline functionKostya Shishkov2009-08-301-3/+5
| | | | Originally committed as revision 19746 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Zeroing pic->motion_val in RV3/4 causes alignment problems on some 64-bitKostya Shishkov2009-08-301-7/+12
| | | | | | | architectures since stride is multiple of 4 and not of 8, so split fill_rectangle() calls to operate on 32-bit words instead of 64-bit ones. Originally committed as revision 19744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Adjust r->avail_cache[] indexes to avoid alignment issues when zeroing blockKostya Shishkov2009-08-301-22/+22
| | | | | | inside it. Originally committed as revision 19743 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RV3/4 intra types array causes alignment issues (at least on ARM5), thus changeKostya Shishkov2009-07-011-15/+17
| | | | | | its stride and offset to always have align 4. Originally committed as revision 19316 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert changing VLC initialization type for RV3/4 decoder.Kostya Shishkov2009-04-271-52/+42
| | | | | | | While using large static table is not good (especially for embedded devices and CPUs with small cache), other alternatives are not very good either. Originally committed as revision 18696 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of monstrous static table and initialize VLCs for RV3/4 dynamically.Kostya Shishkov2009-04-251-42/+52
| | | | Originally committed as revision 18681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l: VLC table array should not be constKostya Shishkov2009-04-211-1/+1
| | | | Originally committed as revision 18642 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make RV3/4 VLC tables use new static initialization methodKostya Shishkov2009-04-211-17/+47
| | | | Originally committed as revision 18637 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct MV prediction for B-frame blocks in RV4 decoderKostya Shishkov2009-03-151-1/+1
| | | | Originally committed as revision 17974 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix direct and skip MB motion compensation in RV4:Kostya Shishkov2009-03-131-3/+4
| | | | | | | two conditions were incomplete and zeroing motion vectors was performed only on half of them. Originally committed as revision 17947 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: reindent after last commitKostya Shishkov2009-02-251-5/+5
| | | | Originally committed as revision 17585 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Since motion vectors for intra blocks are always zero, do not try to ↵Kostya Shishkov2009-02-251-0/+3
| | | | | | retrieve them. Originally committed as revision 17584 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Enable dropping frames for RV3/4Kostya Shishkov2009-02-141-0/+9
| | | | Originally committed as revision 17221 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In RV3/4 nonzero MB offset for the first slice also indicates errorKostya Shishkov2009-02-131-1/+1
| | | | Originally committed as revision 17201 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move RV3/4 frame type check up so 1-slice unanchored B-frames are checked, too.Kostya Shishkov2009-02-071-2/+13
| | | | Originally committed as revision 17031 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Silence two pointer assignment compiler warnings in rv34.cKostya Shishkov2009-02-011-2/+2
| | | | Originally committed as revision 16916 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | 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
* Add missing void keyword to parameterless function declarations.Diego Biurrun2009-01-301-1/+1
| | | | Originally committed as revision 16860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix Doxygen comments for RV3/4 decoder.Kostya Shishkov2009-01-281-0/+5
| | | | Originally committed as revision 16842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moves mid_pred() into mathops.h (with arch specific code split by directory)Aurelien Jacobs2009-01-181-0/+1
| | | | Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* It turned out that RV30 uses motion vectors for forward motion B-frameKostya Shishkov2008-12-291-5/+5
| | | | | | | macroblocks to predict motion vectors for backward motion B-frame macroblocks and vice versa. Originally committed as revision 16381 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 352l: correct calculating number of bits for storing macroblock offset in RV3/4Kostya Shishkov2008-12-231-1/+1
| | | | Originally committed as revision 16293 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add const qualifier to some pointers for input dataKostya Shishkov2008-12-171-3/+3
| | | | Originally committed as revision 16195 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use precalculated mb_pos where availableKostya Shishkov2008-12-171-4/+4
| | | | Originally committed as revision 16194 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge deblocking pattern with CBP for RV30/40 loop filteringKostya Shishkov2008-12-171-2/+2
| | | | Originally committed as revision 16192 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Generate correct deblock pattern for RV30Kostya Shishkov2008-12-171-1/+9
| | | | Originally committed as revision 16191 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not attempt to decode RV30/40 B-frames without anchors.Kostya Shishkov2008-12-071-0/+2
| | | | | | This fixes issue 747. Originally committed as revision 16031 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix reading out of buffer during RV30/40 deblock mask calculationKostya Shishkov2008-12-021-1/+1
| | | | Originally committed as revision 15983 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 34l: forgot to change one case of chroma MC for RV40Kostya Shishkov2008-12-021-1/+2
| | | | Originally committed as revision 15982 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check RV30/40 slice offsets to be inside buffer.Kostya Shishkov2008-12-021-0/+5
| | | | | | This fixes issue 738 Originally committed as revision 15981 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update ff_rv34_decode_frame() arguments definitionKostya Shishkov2008-12-021-1/+1
| | | | Originally committed as revision 15980 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Invoke future RV30/40 loop filter for already decoded rows instead ofKostya Shishkov2008-11-291-1/+4
| | | | | | the whole frame at once. Originally committed as revision 15949 to svn://svn.ffmpeg.org/ffmpeg/trunk