aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp3data.h
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/vp3data: rectify commentPeter Ross2022-10-261-1/+1
|
* avcodec/jpegtables: remove duplicate luma and chroma quantization tablesPeter Ross2022-10-261-13/+0
| | | | | | Duplicates of the standard JPEG quantization tables were found in the AGM, MSS34(dsp), NUV and VP31 codecs. This patch elimates those duplicates, placing a single copy in jpegquanttables.c.
* avcodec/vp3data: Deduplicate coeff_tablesAndreas Rheinhardt2021-01-081-4/+3
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avcodec/vp3: Use symbols table for VP3 motion vectorsAndreas Rheinhardt2020-12-081-35/+11
| | | | | | | | | | | | | Expressions like array[get_vlc2()] can be optimized by using a symbols table if the array is always the same for a given VLC. This requirement is fulfilled for the VLC used for VP3 motion vectors. The reason it hasn't been done before is probably that the array in this case contained entries in the range -31..31; but this is no problem with ff_init_vlc_from_lengths(): Just apply an offset of 31 to the symbols before storing them in the table used to initialize VP3 motion vectors and apply an offset of -31 when initializing the actual VLC. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avcodec/vp3: Make tables used to initialize VLCs smallerAndreas Rheinhardt2020-12-081-2590/+487
| | | | | | | | | This is possible by switching to ff_init_vlc_from_lengths() because it allows to replace codes of type uint16_t by symbols of type uint8_t; in some cases (like here) it also allows to replace explicitly coded codes by implicitly coded symbols. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avcodec/vp3: Apply VLC offset during initAndreas Rheinhardt2020-12-081-19/+5
| | | | | | | | | | By switching to ff_init_vlc_from_lengths() one can apply both positive as well as negative offsets for free; in this case it even saves space because one replaces codes tables that don't fit into an uint8_t by symbols tables that fit into an uint8_t or can even be completely avoided as they are trivial. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avcodec/vp3: Unify initializing and freeing VLC tablesAndreas Rheinhardt2020-10-211-17/+5
| | | | | Reviewed-by: Peter Ross <pross@xvid.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* vp3data: Make some arrays unsigned to prevent overflowAndreas Rheinhardt2019-07-241-3/+3
| | | | | | | | | | | | | Some of the VP3 arrays (namely vp31_intra_y_dequant, vp31_intra_c_dequant and vp31_inter_dequant) are currently declared as array of (const) int8_t despite them being only used to directly initialize an array of uint8_t. vp31_inter_dequant even contains the value 128 which is not representible in int8_t and might generate overflow warnings by compilers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/vp3data: combine eob_run_base and eob_run_get_bits tablesPeter Ross2019-06-081-5/+4
|
* avcodec/vp3data: use more compact data typePeter Ross2019-01-081-1/+1
|
* Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch2016-06-211-1/+1
|\ | | | | | | | | | | | | * commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
| * cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-1/+1
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avcodec/vp3data: use more compact data typesMichael Niedermayer2014-08-301-10/+10
| | | | | | | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Correct few "ffmpeg" typosPaul B Mahol2014-08-241-1/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-04-021-2923/+2923
|\| | | | | | | | | | | | | | | | | | | * qatar/master: VP3: K&R formatting cosmetics Conflicts: libavcodec/vp3.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * VP3: K&R formatting cosmeticsVittorio Giovara2014-04-011-2923/+2923
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* filter_limit_values only needs 7 bits, make its tables smallerDavid Conrad2008-10-011-1/+1
| | | | Originally committed as revision 15499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-311-3/+3
| | | | | | | | | Consistently apply this rule: the guard name is obtained from the filename by stripping the leading "lib", converting '/' and '.' to '_' and uppercasing the resulting name. Guard names in the root directory have to be prefixed by "FFMPEG_". Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mark read-only data as constStefan Gehrer2008-06-241-1/+1
| | | | Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FFMPEG_ prefix to all multiple inclusion guards.Diego Biurrun2007-10-171-3/+3
| | | | Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* include all prerequisites in header filesMåns Rullgård2007-06-161-0/+3
| | | | Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add official LGPL license headers to the files that were missing them.Diego Biurrun2006-09-101-0/+18
| | | | Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-171-142/+142
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mode_code_vlc_table size mismatchAlex Beregszaszi2005-11-131-1/+1
| | | | Originally committed as revision 4701 to svn://svn.ffmpeg.org/ffmpeg/trunk
* another bitstream extraction to optimize: fixed-length motion vectorsMike Melanson2005-05-211-0/+11
| | | | Originally committed as revision 4286 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace unpack_token() with a series of lookup tablesMike Melanson2005-05-191-0/+246
| | | | Originally committed as revision 4277 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace get_superblock_run_length() with a VLC tableMike Melanson2005-05-181-0/+21
| | | | Originally committed as revision 4267 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use VLCs for in place of get_fragment_run_length(), get_mode_code(), andMike Melanson2005-05-171-0/+70
| | | | | | get_motion_vector_vlc() Originally committed as revision 4266 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove duplicate zigzag tablesMichael Niedermayer2005-05-171-15/+0
| | | | Originally committed as revision 4259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VP3 post-processing loop filter; disabled until the correct final stepMike Melanson2005-03-011-0/+11
| | | | | | is determined Originally committed as revision 3996 to svn://svn.ffmpeg.org/ffmpeg/trunk
* some of the warning fixes by (Michael Roitzsch <mroi at users dot ↵Michael Niedermayer2004-05-181-6/+6
| | | | | | sourceforge dot net>) Originally committed as revision 3140 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cut over to using new VP3 DSP functions and remove the old ones; bringMike Melanson2004-03-081-3/+5
| | | | | | | certain source code identifiers in line with official VP3 spec (well, *my* VP3 spec, anyway) Originally committed as revision 2856 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get those permutations straightMike Melanson2003-05-111-3/+3
| | | | Originally committed as revision 1850 to svn://svn.ffmpeg.org/ffmpeg/trunk
* first pass at a new VP3 video decoderMike Melanson2003-05-051-0/+2812
Originally committed as revision 1831 to svn://svn.ffmpeg.org/ffmpeg/trunk