Statistics
| Branch: | Revision:

ffmpeg / libavcodec / vp3.c @ fa6f2751

History | View | Annotate | Download (84 KB)

# Date Author Comment
fa6f2751 09/23/2009 12:27 PM Google Chrome

Fix init_get_bits() buffer size.
18_fix_theora_header_bit_len.patch by chrome

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

428984b0 09/23/2009 05:38 AM Mike Melanson

Another micro-optimization for unpack_vlcs(): Eliminate a possible
branch and save around 45k-55k dezicycles per function run.

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

138fe832 09/22/2009 03:58 PM Mike Melanson

Perform the DC prediction reversal immediately after decoding all of
the DC coefficients. This has a greater probability of leveraging the
coefficients while they are still cached.

When testing with the Big Buck Bunny 1080p video, I consistently saw
improvements of 500k-600k dezicycles per run (through...

ee3d7f58 09/21/2009 01:37 AM Mike Melanson

Modify unpack_vlcs() so that there are fewer dereferences through the
main (heavily iterated) loop.

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

b8791583 09/06/2009 08:27 AM Reimar Döffinger

compatible_frame array can be static const, too.

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

bb991087 09/05/2009 05:28 PM Reimar Döffinger

Make vp3 arrays static const where possible.

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

3aab27b4 07/22/2009 11:37 PM Måns Rullgård

Remove useless #include <unistd.h> from many files

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

c79c960a 07/06/2009 10:28 AM Reimar Döffinger

Remove useless ret variable added in last revision again.

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

7cda8150 07/06/2009 09:35 AM Reimar Döffinger

100l, theora_decode_init must pass on errors from vp3_decode_init

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

c4b7b8bf 07/06/2009 09:22 AM Reimar Döffinger

Make decode_init fail if the huffman tables are invalid and thus init_vlc fails.
Otherwise this will crash during decoding because the vlc tables are NULL.
Partially fixes ogv/smclock.ogv.1.101.ogv from issue 1240.

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

e13cca4b 07/05/2009 06:27 PM Reimar Döffinger

Ensure that the filter limit values do not exceed the maximum allowed value of 127.

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

7fa5f999 07/05/2009 06:25 PM Reimar Döffinger

Extend init_loop_filter to work for filter limit values up to 127 instead
of only up to 64. 127 is the maximum value allowed by the theora specification.

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

7f57905d 06/05/2009 08:44 AM Baptiste Coudurier

vp3 and theora decoders use get_buffer, set CODEC_CAP_DR1

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

f2264fa5 05/29/2009 09:43 PM David Conrad

Support block-level quantization in Theora

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

ef516f73 05/22/2009 09:32 PM David Conrad

Move ALIGN macro to libavutil/common.h and use it in various places

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

0a8dedc9 05/14/2009 12:02 AM David Conrad

Use skip_bits_long() for large skips
This fixes ogg/theora on ARM (more generally the A32 bitstream reader)

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

580a7465 05/11/2009 04:34 AM David Conrad

Add a chroma_sample_location field to define positioning of chroma samples

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

241f5eab 05/02/2009 09:12 AM Benjamin Larsson

Remove dead assignments found by CSA

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

9106a698 04/13/2009 04:20 PM Stefano Sabatini

Rename bitstream.h to get_bits.h.

Originally committed as revision 18494 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....

5ef251e5 02/22/2009 01:48 PM Daniel Verkamp

Add missing av_cold in static init/close functions.

Patch by Daniel Verkamp daniel at drv dot nu.

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

00bbe276 02/09/2009 01:39 AM Alex Converse

VP3: Do not ignore error from read_huffman_tree().

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

2c823b3c 02/03/2009 10:59 PM Alex Converse

VP3: Prevent stack corruption from an unset custom coding method.

Originally committed as revision 16978 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

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

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

5fecfb7d 12/10/2008 09:35 PM Loren Merritt

clear_block mmx

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

357f45d9 10/17/2008 03:18 AM David Conrad

MMX VP3 Loop Filter

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

c5f67c15 10/12/2008 07:41 PM David Conrad

Remove unused variables

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

9971331d 10/04/2008 10:26 AM David Conrad

Move VP3 loop filter to DSPContext

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

1ae4518d 10/01/2008 02:48 PM David Conrad

Cosmetics: reindent

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

10f38380 10/01/2008 02:48 PM David Conrad

Unneeded else

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

6599e2a7 10/01/2008 02:48 PM David Conrad

Unneeded braces

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

6298f49f 10/01/2008 02:48 PM David Conrad

Return if unpacking motion vectors for a keyframe

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

a0ce2d1b 10/01/2008 02:44 PM David Conrad

Cosmetics: indentation

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

277e3e53 10/01/2008 02:43 PM David Conrad

Visible width/height fields were added in Theora 3.2

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

51ace577 10/01/2008 02:40 PM David Conrad

filter_limit_values only needs 7 bits, make its tables smaller

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

ba31df31 09/30/2008 07:51 PM David Conrad

Cosmetics: indentation

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

fc961819 09/30/2008 07:50 PM David Conrad

Merge (vp3|theora)_calculate_pixel_addresses

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

6920b983 09/30/2008 07:22 PM David Conrad

Missed hunks of last commit

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

33aae37e 09/30/2008 07:18 PM David Conrad

Remove unused vp3 debugging info

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

12ce1f3f 09/30/2008 04:18 AM David Conrad

Downgrade severity of leftover bits in header packets, and don't check for the comment header

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

068e82ba 09/29/2008 10:04 PM David Conrad

Use skip_frame for keyframe-only decoding rather than #ifdef

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

7f065b36 09/17/2008 07:29 PM David Conrad

Take idct permutation into account when initializing dequantization matrices

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

4834eb19 09/03/2008 12:19 AM Aurelien Jacobs

theoradec: cosmetics: indentation

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

feaf1a73 09/03/2008 12:17 AM Aurelien Jacobs

theoradec: skip decoding of uncoded MV in 4MV code
Thusnelda, the new experimental Theora encoder is using this Theora feature
that was previously not exploited.
fixes issue579

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

e32e2d56 09/03/2008 12:10 AM Aurelien Jacobs

theoradec: small 4MV code reorganization to ease future improvements
no functional changes

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

e8e47435 06/25/2008 02:14 PM Stefan Gehrer

make ModeAlphabet read-only and use a custom mode alphabet
only locally in unpack_modes()

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

fe4bf374 06/12/2008 09:50 PM Stefano Sabatini

Make AVCodec long_names definition conditional depending on CONFIG_SMALL.

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

eeb28150 06/09/2008 04:30 PM Reimar Döffinger

Remove the START_TIMER/STOP_TIMER from vp3.c, they clutter the output and
might cost CPU.

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

36e16253 06/09/2008 04:26 PM Reimar Döffinger

Almost-cosmetics: split out coeff_count from all_fragments struct into
a separate array.
For the OGG version at http://www.bigbuckbunny.org/index.php/download/
this results in about 50% speedup of unpack_vlcs, resulting in ca. 20% faster
overall speed.

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

f4433de9 05/26/2008 11:14 PM Diego Biurrun

consistency cosmetics: indices --> indexes

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

9db5bdfa 05/04/2008 09:58 AM Sisir Koppaka

Add complete multimedia Wiki URL, patch by Sisir Koppaka.

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

d5202e4f 04/27/2008 10:52 AM Stefano Sabatini

Add long names to many AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13005 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

d37f007d 03/05/2008 12:07 AM Aurelien Jacobs

remove #include "mpegvideo.h" where it is not needed

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

6f4e2b5a 02/24/2008 06:56 PM Måns Rullgård

fix memory leaks in vp3 decoder

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

cea96420 02/19/2008 10:09 PM Michael Niedermayer

Fix ;;

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

5e534865 02/13/2008 09:26 AM Diego Biurrun

typo fix: inited --> initialized

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

356306ac 02/13/2008 08:05 AM Diego Biurrun

Print Theora bitstream version at DEBUG, not at VERBOSE level.

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

bed9dc16 02/01/2008 03:54 PM Michael Niedermayer

const

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

5fc32c27 08/09/2007 12:13 AM Alex Beregszaszi

use get_bits1(..) instead get_bits(.., 1)

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

3e5008a9 08/03/2007 04:43 PM Diego Biurrun

Reduce Theora decoder verbosity.

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

e5a389a1 07/05/2007 10:40 AM Diego Biurrun

license header consistency cosmetics

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

2029f312 05/10/2007 09:00 AM Diego Biurrun

Remove redundant #inclusion of common.h, avcodec.h already #includes it.

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

ba4816a0 05/07/2007 03:44 PM Aurelien Jacobs

cosmetics: fix inconsistent indentation

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

c0f716b8 05/07/2007 03:43 PM Aurelien Jacobs

fix display of theora videos with visible size smaller than encoded size

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

597cbdaf 04/08/2007 06:54 PM Diego Biurrun

Only compile in Theora-specific functions if the Theora decoder has been
enabled. Also fixes some "defined but not used" warnings in that case.

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

6f6a3e2a 04/08/2007 06:52 PM Diego Biurrun

cosmetics: Move one code block to save an #ifdef in the next commit.

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

d7455a1c 04/08/2007 06:50 PM Diego Biurrun

Remove #if 0 code.

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

51cea49a 04/08/2007 01:42 PM Diego Biurrun

Fix compilation when Theora decoder is disabled, but VP3 is enabled.

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

587d0722 04/07/2007 05:37 PM Nicholas Tung

Remove superfluous setting of has_b_frames in codecs without B-frames.
patch by Nicholas Tung, ntung ntung com

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

da91ed59 03/25/2007 01:09 AM Aurelien Jacobs

use generic xiph header spliting func to split theora headers
Original thread:
Date: Thu, 22 Mar 2007 20:23:08 -0400
Subject: [Ffmpeg-devel] [PATCH] Theora in MKV (GSoC '07 Qualification)

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

f66e4f5f 02/25/2007 10:27 AM Reimar Döffinger

Add av_ prefix to clip functions

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

3700dab4 02/22/2007 12:14 AM Diego Biurrun

cosmetics: aswell --> as well typo fix

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

a9621908 01/10/2007 02:19 PM Diego Biurrun

Unconditionally enable Theora decoder. It works fine now and there is no
Theora support through libtheora in FFmpeg.

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

c26abfa5 10/11/2006 11:17 PM Diego Biurrun

Rename ABS macro to FFABS.

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

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

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

59ef342b 10/06/2006 11:33 AM Michael Niedermayer

fix decoding of ED-small-sample-file.ogg

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

36c32bdd 10/03/2006 05:12 PM Diego Biurrun

Remove unused variables and the corresponding warnings along with them.

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

191e8ca7 09/27/2006 07:47 PM Måns Rullgård

fix some signedness warnings

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

2287c100 08/17/2006 08:08 AM Michael Niedermayer

cleanup

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

bc185f72 07/23/2006 06:22 PM Reimar Döffinger

Do not crash when the first frame is not a keyframe (and thus none of the
necessary initialization has been done yet).

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

684d9e36 07/19/2006 10:42 PM Michael Niedermayer

simplify

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

006ff1ca 07/19/2006 10:21 PM Michael Niedermayer

more simplifications

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

f72f8a77 07/19/2006 09:20 PM Michael Niedermayer

simplification

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

09eb00f6 07/19/2006 09:05 PM Michael Niedermayer

iabs -> ABS

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

1abbf64e 07/19/2006 08:57 PM Michael Niedermayer

simplify

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

1af5f60f 07/19/2006 08:41 PM Michael Niedermayer

fix loop filter

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

efea8528 07/17/2006 01:09 PM Michael Niedermayer

parse all QIS values (we still ignore them though ...)

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

a14ab4e4 07/17/2006 11:06 AM Michael Niedermayer

100l for me

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

116d866c 07/17/2006 10:44 AM Matthieu Castet

fix playback of theora.ogg on mphq patch by (matthieu castet % castet dat matthieu ot free dat fr %)

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

ae1dd8e1 07/17/2006 09:51 AM Michael Niedermayer

attempt to implement xiphs useless and stupid quantization matrix mess

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

187c9be7 07/17/2006 08:09 AM Michael Niedermayer

replace *_dequant (2 intra, 1 inter) by qmat (3 intra, 3 inter) (needed for theora according to spec)

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

d2744e19 07/16/2006 09:09 PM Michael Niedermayer

use RSHIFT

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

4501e678 07/16/2006 09:00 PM Michael Niedermayer

useless memcpy

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

7cfe7fe5 07/16/2006 08:47 PM Michael Niedermayer

some fixmes if someone ever wants to implement theora support correctly ...

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

e278056f 07/16/2006 08:30 PM Michael Niedermayer

check how many bits are left after decoding extradata
this change is messy as whoever wrote the original code copied the GetBitContext instead of passing a pointer to it which has to be fixed for the above thing

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

b7f3fdd7 07/16/2006 07:21 PM Michael Niedermayer

cleanup

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

1bd86246 02/25/2006 10:41 PM Måns Rullgård

kill some warnings

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

68b51e58 02/05/2006 01:35 PM Steve L'Homme

MSVC-compatible _align8/_align16 declaration
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr

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