Statistics
| Branch: | Revision:

ffmpeg / libavcodec / rv34.c @ 2912e87a

History | View | Annotate | Download (54.2 KB)

# Date Author Comment
2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

2e279598 01/29/2011 03:13 AM Ronald S. Bultje

Move ff_emulated_edge_mc() into DSPContext.

423c254c 07/02/2010 12:55 PM Diego Biurrun

Disambiguate bitstream groups for AAC and RV30/RV40.

Originally committed as revision 23995 to svn://svn.ffmpeg.org/ffmpeg/trunk

85b76ce9 06/30/2010 06:50 AM Eli Friedman

Fix "initialization from incompatible pointer type" warning in rv34.
Patch by Eli Friedman (at gmail).

Originally committed as revision 23897 to svn://svn.ffmpeg.org/ffmpeg/trunk

9bfb72d9 06/25/2010 08:19 AM Måns Rullgård

rv34: kill VLAs

Originally committed as revision 23774 to svn://svn.ffmpeg.org/ffmpeg/trunk

ba87f080 04/20/2010 02:45 PM Diego Biurrun

Remove explicit filename from Doxygen @file commands.

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

e8ff21fd 03/09/2010 08:20 AM Vitor Sessak

Revert commit 22378.

It broke FATE and kostya asked me on IRC to revert it.

Originally committed as revision 22379 to svn://svn.ffmpeg.org/ffmpeg/trunk

95bd18ee 03/09/2010 07:14 AM Kostya Shishkov

Check for reference frames so RV 3/4 won't segfault trying to copy data from
nonexisting reference.

Originally committed as revision 22378 to svn://svn.ffmpeg.org/ffmpeg/trunk

d90aeeaf 11/24/2009 06:05 AM Kostya Shishkov

Call avcodec_set_dimensions() instead of simply setting avctx->width/height
when frame dimensions change in RV3/4.

Originally committed as revision 20595 to svn://svn.ffmpeg.org/ffmpeg/trunk

ec10d2d5 11/22/2009 07:48 AM Kostya Shishkov

Update dimensions in AVCodecContext when RV3/4 frame dimensions change

Originally committed as revision 20572 to svn://svn.ffmpeg.org/ffmpeg/trunk

13695827 08/30/2009 10:54 AM Kostya Shishkov

Convert ZERO8x2 macro into inline function

Originally committed as revision 19746 to svn://svn.ffmpeg.org/ffmpeg/trunk

b7eb7ef6 08/30/2009 06:30 AM Kostya Shishkov

Zeroing pic->motion_val in RV3/4 causes alignment problems on some 64-bit
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

20622c4a 08/30/2009 06:16 AM Kostya Shishkov

Adjust r->avail_cache[] indexes to avoid alignment issues when zeroing block
inside it.

Originally committed as revision 19743 to svn://svn.ffmpeg.org/ffmpeg/trunk

39c601b5 07/01/2009 03:08 PM Kostya Shishkov

RV3/4 intra types array causes alignment issues (at least on ARM5), thus change
its stride and offset to always have align 4.

Originally committed as revision 19316 to svn://svn.ffmpeg.org/ffmpeg/trunk

9c4b5eb8 04/27/2009 05:30 AM Kostya Shishkov

Revert changing VLC initialization type for RV3/4 decoder.
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

3df18b3e 04/25/2009 05:47 AM Kostya Shishkov

Get rid of monstrous static table and initialize VLCs for RV3/4 dynamically.

Originally committed as revision 18681 to svn://svn.ffmpeg.org/ffmpeg/trunk

a456df25 04/21/2009 05:35 PM Kostya Shishkov

100l: VLC table array should not be const

Originally committed as revision 18642 to svn://svn.ffmpeg.org/ffmpeg/trunk

547b6a4c 04/21/2009 04:42 AM Kostya Shishkov

Make RV3/4 VLC tables use new static initialization method

Originally committed as revision 18637 to svn://svn.ffmpeg.org/ffmpeg/trunk

7a00bbad 04/07/2009 03:59 PM Thilo Borgmann

Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
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....

0304109d 03/15/2009 08:21 AM Kostya Shishkov

Correct MV prediction for B-frame blocks in RV4 decoder

Originally committed as revision 17974 to svn://svn.ffmpeg.org/ffmpeg/trunk

923ed974 03/13/2009 01:48 PM Kostya Shishkov

Fix direct and skip MB motion compensation in RV4:
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

7a474950 02/25/2009 08:36 AM Kostya Shishkov

cosmetics: reindent after last commit

Originally committed as revision 17585 to svn://svn.ffmpeg.org/ffmpeg/trunk

77f7156d 02/25/2009 08:35 AM Kostya Shishkov

Since motion vectors for intra blocks are always zero, do not try to retrieve them.

Originally committed as revision 17584 to svn://svn.ffmpeg.org/ffmpeg/trunk

7fa70598 02/14/2009 06:38 AM Kostya Shishkov

Enable dropping frames for RV3/4

Originally committed as revision 17221 to svn://svn.ffmpeg.org/ffmpeg/trunk

86dd3974 02/13/2009 07:06 AM Kostya Shishkov

In RV3/4 nonzero MB offset for the first slice also indicates error

Originally committed as revision 17201 to svn://svn.ffmpeg.org/ffmpeg/trunk

432f1f11 02/07/2009 10:46 AM Kostya Shishkov

Move RV3/4 frame type check up so 1-slice unanchored B-frames are checked, too.

Originally committed as revision 17031 to svn://svn.ffmpeg.org/ffmpeg/trunk

3ffabd4e 02/01/2009 03:03 PM Kostya Shishkov

Silence two pointer assignment compiler warnings in rv34.c

Originally committed as revision 16916 to svn://svn.ffmpeg.org/ffmpeg/trunk

bad5537e 02/01/2009 02:00 AM Diego Biurrun

Use full internal pathname in doxygen @file directives.
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

dc8a7c93 01/30/2009 06:38 PM Diego Biurrun

Add missing void keyword to parameterless function declarations.

Originally committed as revision 16860 to svn://svn.ffmpeg.org/ffmpeg/trunk

1aa73351 01/28/2009 07:16 AM Kostya Shishkov

Fix Doxygen comments for RV3/4 decoder.

Originally committed as revision 16842 to svn://svn.ffmpeg.org/ffmpeg/trunk

199436b9 01/18/2009 10:57 PM Aurelien Jacobs

moves mid_pred() into mathops.h (with arch specific code split by directory)

Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk

592beefe 12/29/2008 10:20 AM Kostya Shishkov

It turned out that RV30 uses motion vectors for forward motion B-frame
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

ffedb5c1 12/23/2008 06:27 PM Kostya Shishkov

352l: correct calculating number of bits for storing macroblock offset in RV3/4

Originally committed as revision 16293 to svn://svn.ffmpeg.org/ffmpeg/trunk

17b17c53 12/17/2008 08:17 PM Kostya Shishkov

add const qualifier to some pointers for input data

Originally committed as revision 16195 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb39171b 12/17/2008 08:10 PM Kostya Shishkov

use precalculated mb_pos where available

Originally committed as revision 16194 to svn://svn.ffmpeg.org/ffmpeg/trunk

6c3fca64 12/17/2008 08:00 PM Kostya Shishkov

Merge deblocking pattern with CBP for RV30/40 loop filtering

Originally committed as revision 16192 to svn://svn.ffmpeg.org/ffmpeg/trunk

26bc319c 12/17/2008 07:39 PM Kostya Shishkov

Generate correct deblock pattern for RV30

Originally committed as revision 16191 to svn://svn.ffmpeg.org/ffmpeg/trunk

0dfcc368 12/07/2008 04:30 PM Kostya Shishkov

Do not attempt to decode RV30/40 B-frames without anchors.

This fixes issue 747.

Originally committed as revision 16031 to svn://svn.ffmpeg.org/ffmpeg/trunk

3e16cde4 12/02/2008 06:14 PM Kostya Shishkov

Fix reading out of buffer during RV30/40 deblock mask calculation

Originally committed as revision 15983 to svn://svn.ffmpeg.org/ffmpeg/trunk

958a2b5d 12/02/2008 06:12 PM Kostya Shishkov

34l: forgot to change one case of chroma MC for RV40

Originally committed as revision 15982 to svn://svn.ffmpeg.org/ffmpeg/trunk

1799d522 12/02/2008 05:39 PM Kostya Shishkov

Check RV30/40 slice offsets to be inside buffer.

This fixes issue 738

Originally committed as revision 15981 to svn://svn.ffmpeg.org/ffmpeg/trunk

a1c1c780 12/02/2008 05:35 PM Kostya Shishkov

Update ff_rv34_decode_frame() arguments definition

Originally committed as revision 15980 to svn://svn.ffmpeg.org/ffmpeg/trunk

de8cac16 11/29/2008 06:22 AM Kostya Shishkov

Invoke future RV30/40 loop filter for already decoded rows instead of
the whole frame at once.

Originally committed as revision 15949 to svn://svn.ffmpeg.org/ffmpeg/trunk

f653095b 11/27/2008 07:26 AM Kostya Shishkov

Fix RV40 chroma MC

Originally committed as revision 15943 to svn://svn.ffmpeg.org/ffmpeg/trunk

cd982791 11/20/2008 02:07 PM Kostya Shishkov

33l Fix applying residue condition in RV30/40 decoder

Originally committed as revision 15891 to svn://svn.ffmpeg.org/ffmpeg/trunk

78a0fa8c 11/20/2008 02:05 PM Kostya Shishkov

Eliminate direct use of s->current_picture in RV30/40 decoder

Originally committed as revision 15890 to svn://svn.ffmpeg.org/ffmpeg/trunk

7690351c 11/20/2008 02:03 PM Kostya Shishkov

Use wider margins for edge emulation in RV30/40

Originally committed as revision 15889 to svn://svn.ffmpeg.org/ffmpeg/trunk

52ece410 11/12/2008 05:29 PM Diego Biurrun

Remove unused variable.

Originally committed as revision 15803 to svn://svn.ffmpeg.org/ffmpeg/trunk

502ecc97 11/08/2008 06:15 PM Kostya Shishkov

Split RV3/4 deblock pattern into horizontal and vertical parts
during calculating.

Originally committed as revision 15794 to svn://svn.ffmpeg.org/ffmpeg/trunk

ede0a5f9 11/08/2008 07:24 AM Kostya Shishkov

Drop redundant check in RV3/4 deblock coefficients calculation

Originally committed as revision 15792 to svn://svn.ffmpeg.org/ffmpeg/trunk

e1223112 11/07/2008 07:18 AM Kostya Shishkov

Calculating an additional MV-based deblocking pattern is the same
for both RV3 and RV4, so move it into common code.

Originally committed as revision 15786 to svn://svn.ffmpeg.org/ffmpeg/trunk

b2153658 11/01/2008 05:57 PM Kostya Shishkov

Introduce RV3-specific motion vector prediction.
Now B-frames in RV3 look almost correct.

Originally committed as revision 15764 to svn://svn.ffmpeg.org/ffmpeg/trunk

5f621dd2 10/30/2008 06:08 AM Kostya Shishkov

Correct motion vector scaling in B-frames for RV3/4

Originally committed as revision 15747 to svn://svn.ffmpeg.org/ffmpeg/trunk

2ee054c2 10/27/2008 07:07 PM Kostya Shishkov

Fix chroma motion compensation for RV30

Originally committed as revision 15731 to svn://svn.ffmpeg.org/ffmpeg/trunk

60ce2f9c 10/24/2008 06:17 AM Kostya Shishkov

Choose RV3/4 DC quantizer correctly

Originally committed as revision 15675 to svn://svn.ffmpeg.org/ffmpeg/trunk

ccfe8ae3 10/20/2008 05:59 AM Kostya Shishkov

34l: free RV3/4 context variables at the end

Originally committed as revision 15652 to svn://svn.ffmpeg.org/ffmpeg/trunk

def4f63b 10/20/2008 05:58 AM Kostya Shishkov

RV3 and RV4 decoders set some deblocking coefs for each macroblock,
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

c0b821be 10/20/2008 05:54 AM Kostya Shishkov

Mark some of RV3/4 block types as having separate DC subblock

Originally committed as revision 15650 to svn://svn.ffmpeg.org/ffmpeg/trunk

ccd425e7 05/06/2008 09:16 AM Diego Biurrun

Remove unnecessary parentheses from return calls.

Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk

39902a8c 04/28/2008 01:37 PM Kostya Shishkov

Calculate motion vector information based on PTS provided in slice header

Originally committed as revision 13011 to svn://svn.ffmpeg.org/ffmpeg/trunk

86c90cc7 04/26/2008 01:09 PM Kostya Shishkov

Skip blocks in B-frames reuse motion vectors from next reference frame.
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

98a6fff9 03/21/2008 03:11 AM Zuxy Meng

Apply 'cold' attribute to init/uninit functions in libavcodec

Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk

9701840b 03/09/2008 11:31 PM Aurelien Jacobs

add FF_ prefix to all (frame)_TYPE usage

Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk

34093ab5 01/18/2008 07:04 AM Kostya Shishkov

Save quantizer values as well

Originally committed as revision 11555 to svn://svn.ffmpeg.org/ffmpeg/trunk

b008e6b8 01/18/2008 07:04 AM Kostya Shishkov

Save coded block patterns for future loop filtering.

Originally committed as revision 11554 to svn://svn.ffmpeg.org/ffmpeg/trunk

81df3869 01/06/2008 11:47 AM Kostya Shishkov

Fractional parts of motion vectors should be accounted separately too

Originally committed as revision 11433 to svn://svn.ffmpeg.org/ffmpeg/trunk

f1917274 01/04/2008 05:50 PM Kostya Shishkov

RV30 thirdpel motion compensation support

Originally committed as revision 11398 to svn://svn.ffmpeg.org/ffmpeg/trunk

b44665c4 01/03/2008 09:16 AM Kostya Shishkov

Make decode210() common function.

Originally committed as revision 11382 to svn://svn.ffmpeg.org/ffmpeg/trunk

e640a5c4 12/31/2007 07:12 AM Kostya Shishkov

Direct blocks should use motion vectors from the second reference frame

Originally committed as revision 11361 to svn://svn.ffmpeg.org/ffmpeg/trunk

b0797570 12/17/2007 06:43 PM Kostya Shishkov

Correct spatial prediction mode in RV30/40 for vertical left direction
and add its version that does not rely on down left neighbour subblock.

Originally committed as revision 11252 to svn://svn.ffmpeg.org/ffmpeg/trunk

a52ef6a8 12/16/2007 12:44 PM Kostya Shishkov

RV30/40 decoding core

Originally committed as revision 11229 to svn://svn.ffmpeg.org/ffmpeg/trunk