summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* testprogs: Remove unused includesMartin Storsjö2012-08-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: avcodec: Drop silly "_mmx" suffixes from filenamesDiego Biurrun2012-08-28
|
* x86: avcodec: Drop silly "_sse" suffixes from filenamesDiego Biurrun2012-08-28
|
* utvideoenc: use ff_huff_gen_len_tableMichael Niedermayer2012-08-28
| | | | | | Avoid code duplication and provide faster and better compression. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* huffman: add ff_huff_gen_len_tableMichael Niedermayer2012-08-28
| | | | | | The function will be used by utvideo as well. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* cllc: simplify/fix swapped data buffer allocation.Reimar Döffinger2012-08-28
| | | | | | | | | | | Using the malloc variant avoids pointless memcpy on size increase and simplifies handling allocation failure. Also change code to ensure that allocation, bswap and bitstream reader all use the same size, even when the packet size is odd for example. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* h264: Check that the codec isn't null before accessing itMartin Storsjö2012-08-28
| | | | | | | This fixes crashes introduced by 2e8f3cbcda5, the codec can be null when called from parsers. Signed-off-by: Martin Storsjö <martin@martin.st>
* audio_frame_queue: Define af_queue_log_state before using itMartin Storsjö2012-08-28
| | | | | | | This fixes building with DEBUG defined after the function was made static and the prototype removed in d7f9786cbc. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: export some functionsKostya Shishkov2012-08-28
| | | | | | | This is a preparatory step for the MSS2 decoder which needs to use the WMV9 decoder to decode some kinds of frames. From the patch by Alberto Delmás <adelmas@gmail.com>
* Revert "dsputil: make {add/put/put_signed}_pixels_clamped() non-static."Mans Rullgard2012-08-27
| | | | | | | | | This reverts commit 484a337cd7cd8bb180c4a1bd3321881f1c874a92. These functions were used in f8bed30 "VC1: merge idct8x8, coeff adjustments and put_pixels" which was reverted in 18b6a69. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: Restore dependency of acelp_filters.o on celp_math.oDiego Biurrun2012-08-27
|
* celp_math: Replace duplicate ff_dot_productf() by ff_scalarproduct_c()Diego Biurrun2012-08-27
|
* celp_math: Move ff_cos() to the only place it is usedDiego Biurrun2012-08-27
|
* vp56: Don't use DECLARE_ALIGN on a typedef nameDerek Buitenhuis2012-08-27
| | | | | | | | | | | | Instead, use it on the first member, since by definition, if any member is aligned, the whole struct must be, in order to maintain that alignment. Fixes compilation with some finicky compilers. Idea for fix from Måns Rullgård. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* mss1: move code that will be reused by MSS2 decoder into separate fileKostya Shishkov2012-08-27
|
* mss1: merge decode_intra() and decode_inter()Kostya Shishkov2012-08-27
| | | | They have most of their code in common.
* huffyuv: update to current coding styleLuca Barbato2012-08-27
|
* huffman: update to current coding styleLuca Barbato2012-08-27
|
* build: fft: x86: Drop unused YASM-OBJS-FFT- variableDiego Biurrun2012-08-27
|
* audio_frame_queue: Clean up ff_af_queue_log_state debug functionDiego Biurrun2012-08-26
| | | | | | The function is debug-only, so only compile it in debug mode. Make it static as it has no uses outside of the file. Change av_log() to av_dlog().
* dwt: Remove unused code.Diego Biurrun2012-08-26
|
* cavs: convert cavsdata.h to a .c fileMans Rullgard2012-08-26
| | | | | | Defining tables in header files is ugly and prone to duplication. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cavs: Move inline functions only used in one file out of the headerDiego Biurrun2012-08-26
|
* cavs: Move data tables used in only one place to that fileDiego Biurrun2012-08-26
|
* x86: fft: remove unused fft_dispatch* functionsMans Rullgard2012-08-25
| | | | | | These functions are not used since the yasm conversion. Signed-off-by: Mans Rullgard <mans@mansr.com>
* cllc: Pad swapped bufferDerek Buitenhuis2012-08-24
| | | | | | | | | | The bitstream buffer must be padded, or the bitstream reader might read over the end. Fixes the following valgrind warning: Use of uninitialised value of size 8 at 0x591BAE: cllc_decode_frame (cllc.c:166) Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* utvideodec: Fix single symbol mode decodingJan Ekström2012-08-24
| | | | | | | | Put the zero length check in place of code that was never used during decoding, as zero-length slices were generally refused in decode_frame(). Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* truespeech: drop useless castsMans Rullgard2012-08-24
| | | | | | These values already have the correct types. Signed-off-by: Mans Rullgard <mans@mansr.com>
* libavcodec: drop bogus dependencies from mpc[78] and qdm2Mans Rullgard2012-08-24
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: move ff_mpa_enwindow to a separate fileMans Rullgard2012-08-24
| | | | | | | This table is used only by mpegaudiodsp and mpegaudioenc. Separating it allows dropping some dependencies from mpc[78] and qdm2. Signed-off-by: Mans Rullgard <mans@mansr.com>
* AVOptions: store defaults for INT64 options in int64 union member.Anton Khirnov2012-08-24
| | | | | Double does not have enough precision to represent all int64 numbers exactly.
* x86: mpegvideo: more sensible names for optimization file and init functionDiego Biurrun2012-08-24
|
* x86: mpegvideoenc: Split optimizations off into a separate fileDiego Biurrun2012-08-24
|
* dnxhdenc: x86: more sensible names for optimization file and init functionDiego Biurrun2012-08-24
|
* svq1/svq3: Move common code out of SVQ1 decoder-specific fileDiego Biurrun2012-08-24
|
* dirac: add Comments and references to the standardJordi Ortiz2012-08-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vorbisenc: set AVCodecContext.bit_rate to 0Justin Ruggles2012-08-22
| | | | The Vorbis encoder is always VBR.
* vorbisenc: fix quality parameterJustin Ruggles2012-08-22
| | | | | This generates output with bitrates similar to libvorbis for a given quality value.
* lpc: fix alignment of windowed samples for odd maximum LPC orderJustin Ruggles2012-08-22
| | | | | Fixes crash on x86 due to alignment requirements for w_data in lpc_apply_welch_window_sse2().
* alacenc: use s16p sample format as inputJustin Ruggles2012-08-22
|
* alacenc: remove unneeded sample_fmt checkJustin Ruggles2012-08-22
|
* alacenc: fix max_frame_size calculation for the final frameJustin Ruggles2012-08-22
|
* adpcm_swf: Use correct sample offsets when using trellis.Justin Ruggles2012-08-22
| | | | Fixes invalid reads when encoding mono streams when trellis is used.
* mjpegdec: support AVRn interlacedMichael Niedermayer2012-08-22
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* build: x86: Only compile mpegvideo optimizations when necessaryDiego Biurrun2012-08-22
|
* build: Make the E-AC-3 encoder select the AC-3 encoderDiego Biurrun2012-08-22
| | | | | The E-AC-3 encoder depends on almost all of the code of the AC-3 encoder, so it makes no sense to enable one without the other.
* dirac: use meaningful return valuesJordi Ortiz2012-08-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* flacdec: simplify sample buffer handlingMans Rullgard2012-08-21
| | | | | | Pass pointer to sample buffer instead of channel number to various functions called from decode_subframe(). Also simplify a few expressions within this function.
* flacdec: simplify loop in decode_residuals()Mans Rullgard2012-08-21
|
* build: amrwb: Drop redundant lsp dependency declarationDiego Biurrun2012-08-20
|