summaryrefslogtreecommitdiff
path: root/libavcodec/rv34.c
Commit message (Collapse)AuthorAge
...
* Revert changing VLC initialization type for RV3/4 decoder.Kostya Shishkov2009-04-27
| | | | | | | 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-25
| | | | Originally committed as revision 18681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l: VLC table array should not be constKostya Shishkov2009-04-21
| | | | Originally committed as revision 18642 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make RV3/4 VLC tables use new static initialization methodKostya Shishkov2009-04-21
| | | | Originally committed as revision 18637 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | 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-15
| | | | Originally committed as revision 17974 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix direct and skip MB motion compensation in RV4:Kostya Shishkov2009-03-13
| | | | | | | 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-25
| | | | 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-25
| | | | | | retrieve them. Originally committed as revision 17584 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Enable dropping frames for RV3/4Kostya Shishkov2009-02-14
| | | | 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-13
| | | | 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-07
| | | | Originally committed as revision 17031 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Silence two pointer assignment compiler warnings in rv34.cKostya Shishkov2009-02-01
| | | | Originally committed as revision 16916 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
* Add missing void keyword to parameterless function declarations.Diego Biurrun2009-01-30
| | | | Originally committed as revision 16860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix Doxygen comments for RV3/4 decoder.Kostya Shishkov2009-01-28
| | | | 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-18
| | | | 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-29
| | | | | | | 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-23
| | | | Originally committed as revision 16293 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add const qualifier to some pointers for input dataKostya Shishkov2008-12-17
| | | | Originally committed as revision 16195 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use precalculated mb_pos where availableKostya Shishkov2008-12-17
| | | | Originally committed as revision 16194 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge deblocking pattern with CBP for RV30/40 loop filteringKostya Shishkov2008-12-17
| | | | Originally committed as revision 16192 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Generate correct deblock pattern for RV30Kostya Shishkov2008-12-17
| | | | 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-07
| | | | | | 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-02
| | | | 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-02
| | | | Originally committed as revision 15982 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check RV30/40 slice offsets to be inside buffer.Kostya Shishkov2008-12-02
| | | | | | 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-02
| | | | 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-29
| | | | | | the whole frame at once. Originally committed as revision 15949 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix RV40 chroma MCKostya Shishkov2008-11-27
| | | | Originally committed as revision 15943 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 33l Fix applying residue condition in RV30/40 decoderKostya Shishkov2008-11-20
| | | | Originally committed as revision 15891 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Eliminate direct use of s->current_picture in RV30/40 decoderKostya Shishkov2008-11-20
| | | | Originally committed as revision 15890 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use wider margins for edge emulation in RV30/40Kostya Shishkov2008-11-20
| | | | Originally committed as revision 15889 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable.Diego Biurrun2008-11-12
| | | | Originally committed as revision 15803 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split RV3/4 deblock pattern into horizontal and vertical partsKostya Shishkov2008-11-08
| | | | | | during calculating. Originally committed as revision 15794 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop redundant check in RV3/4 deblock coefficients calculationKostya Shishkov2008-11-08
| | | | Originally committed as revision 15792 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Calculating an additional MV-based deblocking pattern is the sameKostya Shishkov2008-11-07
| | | | | | for both RV3 and RV4, so move it into common code. Originally committed as revision 15786 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce RV3-specific motion vector prediction.Kostya Shishkov2008-11-01
| | | | | | Now B-frames in RV3 look almost correct. Originally committed as revision 15764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct motion vector scaling in B-frames for RV3/4Kostya Shishkov2008-10-30
| | | | Originally committed as revision 15747 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix chroma motion compensation for RV30Kostya Shishkov2008-10-27
| | | | Originally committed as revision 15731 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Choose RV3/4 DC quantizer correctlyKostya Shishkov2008-10-24
| | | | Originally committed as revision 15675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 34l: free RV3/4 context variables at the endKostya Shishkov2008-10-20
| | | | Originally committed as revision 15652 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RV3 and RV4 decoders set some deblocking coefs for each macroblock,Kostya Shishkov2008-10-20
| | | | | | so store them in the context and register a function to calculate them. Originally committed as revision 15651 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark some of RV3/4 block types as having separate DC subblockKostya Shishkov2008-10-20
| | | | Originally committed as revision 15650 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary parentheses from return calls.Diego Biurrun2008-05-06
| | | | Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Calculate motion vector information based on PTS provided in slice headerKostya Shishkov2008-04-28
| | | | Originally committed as revision 13011 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip blocks in B-frames reuse motion vectors from next reference frame.Kostya Shishkov2008-04-26
| | | | | | | So if referenced blocks is 16x8, 8x16 or 8x8 partitions, skip block will have them too. Originally committed as revision 12987 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
* add FF_ prefix to all (frame)_TYPE usageAurelien Jacobs2008-03-09
| | | | Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Save quantizer values as wellKostya Shishkov2008-01-18
| | | | Originally committed as revision 11555 to svn://svn.ffmpeg.org/ffmpeg/trunk