summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* dsputil: update per-arch init funcs for non-h264 high bit depthMans Rullgard2011-07-2115-15/+15
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: template get_pixels() for different bit depthsMans Rullgard2011-07-219-30/+39
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: create 16/32-bit dctcoef versions of some functionsMans Rullgard2011-07-214-56/+80
| | | | | | | | | | High bitdepth H.264 needs 32-bit transform coefficients, whereas dnxhd does not. This creates a conflict with the templated functions operating on DCTELEM data. This patch adds a field allowing the caller to choose the element size in dsputil_init() and adds the required functions. Signed-off-by: Mans Rullgard <mans@mansr.com>
* jfdctint: add 10-bit versionMans Rullgard2011-07-219-416/+454
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpeg4: add Mpeg4 Profiles names.Thierry Foucu2011-07-212-0/+37
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpeg4: decode Level Profile for MPEG4 Part 2.Thierry Foucu2011-07-211-0/+19
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* imgconvert: remove unused glue and xglue macrosStefano Sabatini2011-07-211-3/+0
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* rv30: return AVERROR(EINVAL) instead of EINVALDiego Biurrun2011-07-211-1/+1
| | | | On some platforms EINVAL could be positive, ensure we return negative values.
* simple_idct: whitespace cosmeticsMans Rullgard2011-07-211-124/+124
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* simple_idct: make repeated code a macroMans Rullgard2011-07-211-144/+53
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: remove huge #if 0 blockMans Rullgard2011-07-211-145/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* simple_idct: change 10-bit add/put stride from pixels to bytesMans Rullgard2011-07-211-0/+6
| | | | | | This matches other dsputil functions and simplifies calls. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: allow 9/10-bit functions for non-h264 codecsMans Rullgard2011-07-211-15/+12
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dnxhd: rename some data tablesJoseph Artsimovich2011-07-211-16/+16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dnxhdenc: remove inline from function only called through pointerMans Rullgard2011-07-211-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dnxhdenc: whitespace cosmeticsMans Rullgard2011-07-211-30/+32
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove unused and non-compiling vestigial g729 decoderDiego Biurrun2011-07-205-661/+1
|
* Remove unused code under G729_BITEXACT #ifdef.Diego Biurrun2011-07-203-100/+0
| | | | G729_BITEXACT is never set, so the code is all dead code.
* mpegvideo: fix invalid picture unreferencing.Ronald S. Bultje2011-07-201-4/+6
| | | | | | | | | | | Mpegvideo would free frames as soon as they're not the next or prev picture. This is fine for a single-threading model, but fails miserably in a system where pictures can be referenced (as e.g. last/prev pic) in other threads. Keeping track of ownership of pictures keeps image references (e.g. motion vectors, or the reference of a motion vector) alive as long as the picture data itself is alive. This also happens to fix make THREADS=[3-16] fate-vsynth[12]-error.
* dsputil: Remove extra blank line at end.Alex Converse2011-07-201-1/+0
|
* dsputil: Replace a LONG_MAX check with HAVE_FAST_64BIT.Alex Converse2011-07-201-1/+1
|
* simple_idct: add 10-bit versionMans Rullgard2011-07-2017-361/+461
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove h264_lowres_idct_put/add functionsMans Rullgard2011-07-203-59/+25
| | | | | | | | Use of these has been broken ever since the h264 idct was changed to always use transposed inputs. Furthermore, they were only ever used if some *other* non-default idct was requested. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove snow/dwt test programMans Rullgard2011-07-202-122/+1
| | | | | | | This test program so full of programming errors it is impossible to make sense of it. Signed-off-by: Mans Rullgard <mans@mansr.com>
* h264: remove some disabled codeDiego Biurrun2011-07-201-149/+0
|
* Fix incorrect max_lowres valuesMans Rullgard2011-07-205-9/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: indentationJustin Ruggles2011-07-191-3/+3
|
* eac3enc: use frame exponent strategy when applicable.Justin Ruggles2011-07-195-10/+106
| | | | | | | This checks if the set of selected exponent strategies for all blocks in a channel are in the frame exponent strategy table, and if so, writes the table index instead of each strategy. This saves up to 7 bits per channel per frame, so the overall effect on quality is small.
* cosmetics: rename eac3dec_data.c/h to eac3_data.c/h since the tables will alsoJustin Ruggles2011-07-194-8/+8
| | | | be used in the E-AC-3 encoder.
* dsputil: fix ff_check_alignment()Mans Rullgard2011-07-191-2/+2
| | | | | | | | | The change to LOCAL_ALIGNED means the declared object must be an array and the subsequent test should not use the & operator. Noticed by Uoti Urpala. Signed-off-by: Mans Rullgard <mans@mansr.com>
* simple_idct: simplify some ifdefferyMans Rullgard2011-07-181-18/+6
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* simple_idct: remove code for DCTELEM != int16Mans Rullgard2011-07-181-30/+15
| | | | | | | DCTELEM can never be changed to anything else, too much code depends on it. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove VLAs in ff_amrwb_lsp2lpc()Mans Rullgard2011-07-182-3/+3
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: restore mistakenly removed hunk of disabled codeDiego Biurrun2011-07-181-0/+11
| | | | This particular part serves to document the optimized code variant.
* dsputil: remove disabled codeDiego Biurrun2011-07-182-71/+0
|
* tta: remove disabled codeDiego Biurrun2011-07-181-31/+0
|
* x86: Use LOCAL_ALIGNED in mpegvideo_mmx_templateMartin Storsjö2011-07-181-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* simple_idct: remove disabled codeDiego Biurrun2011-07-172-145/+0
|
* motion_est: remove disabled codeDiego Biurrun2011-07-172-193/+0
|
* vc1: remove disabled codeDiego Biurrun2011-07-171-9/+0
|
* cabac: Move code only used in the cabac test program to cabac.c.Diego Biurrun2011-07-172-172/+134
|
* dct-test: remove write-only variableMans Rullgard2011-07-161-4/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Use LOCAL_ALIGNED in ff_check_alignment()Mans Rullgard2011-07-161-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* arm: remove disabled function dct_unquantize_h263_inter_iwmmxt()Diego Biurrun2011-07-161-20/+0
|
* Remove commented-out call to non-existing function print_pow1().Diego Biurrun2011-07-161-4/+0
|
* Do not decode RV30 files if the extradata is too smallRafaël Carré2011-07-161-0/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* flashsv: split flashsv_decode_block() off from flashsv_decode_frame().Diego Biurrun2011-07-161-34/+43
|
* ppc: remove disabled codeDiego Biurrun2011-07-164-61/+0
|
* libspeexdec: Drop const qualifier to silence compiler warning.Diego Biurrun2011-07-161-1/+1
| | | | | libavcodec/libspeexdec.c:108: warning: passing argument 2 of ‘speex_bits_read_from’ discards qualifiers from pointer target type /usr/include/speex/speex_bits.h:80: note: expected ‘char *’ but argument is of type ‘const uint8_t *’
* libopenjpeg: Drop const qualifier to silence compiler warning.Diego Biurrun2011-07-161-1/+1
| | | | | libavcodec/libopenjpeg.c:100: warning: passing argument 2 of ‘opj_cio_open’ discards qualifiers from pointer target type /usr/include/openjpeg.h:770: note: expected ‘unsigned char *’ but argument is of type ‘const uint8_t *’
OpenPOWER on IntegriCloud