summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* dpcm: cosmetics: rename channel_number to chJustin Ruggles2011-09-30
| | | | Make the code easier to read.
* avserver: Fix a bug where the socket is IPv4, but IPv6 is autoselected for ↵Nathan Caldwell2011-09-30
| | | | | | | | the loopback address. This fixes bind(8080): Address family not supported by protocol. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: Avoid using av_malloc(0) in av_dump_formatMartin Storsjö2011-09-30
| | | | | | | On OS X, av_malloc(0) returns pointers that cause crashes when freed. Signed-off-by: Martin Storsjö <martin@martin.st>
* dxva2_h264: pass the correct 8x8 scaling listsCarl Eugen Hoyos2011-09-30
| | | | | | | | | | Copy the Inter 8x8 scaling list as second 8x8 matrix into DXVA2's quantization matrix data structure instead of a potentially unset Intra chroma scaling matrix. Fix dxva2 decoding for some H264 samples. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* dca: NEON optimised high freq VQ decodingMans Rullgard2011-09-30
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avcodec: reject audio packets with NULL data and non-zero sizeJustin Ruggles2011-09-30
| | | | | | | There is no valid reason the user should ever send such packets in the first place, but the documentation for CODEC_CAP_DELAY states that the codec is guaranteed not to get a NULL packet unless that capability is set. That isn't true without preventing this case.
* dxva: Add ability to enable workaround for older ATI cardsJoakim Plate2011-09-30
| | | | | | | The workaround needs to be enabled per PCI ID which cannot be detected inside libavcodec. So add a flag to manually enable the alternate behavior. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* latmenc: Set latmBufferFullness to largest value to indicate it is not usedKieran Kunhya2011-09-30
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* adpcm: move codec-specific variable declarations to the sections for the ↵Justin Ruggles2011-09-29
| | | | corresponding codecs.
* adpcm: check buffer size in Funcom ISS decoder before reading header.Justin Ruggles2011-09-29
| | | | | Also use the post-header data size to control termination of the main decoding loop.
* adpcm: simplify reading of Funcom ISS frame header.Justin Ruggles2011-09-29
|
* adpcm: check buffer size in IMA DK4 decoder before reading header.Justin Ruggles2011-09-29
| | | | | Also use the post-header data size to control termination of the main decoding loop.
* adpcm: simplify reading of IMA DK4 frame header.Justin Ruggles2011-09-29
|
* adpcm_ms: clean up reading of predictor coefficientsJustin Ruggles2011-09-29
|
* adpcm_4xm: process planar packets sequentially rather than simultaneously.Justin Ruggles2011-09-29
| | | | Also properly clip the right channel step_index.
* adpcm_ima_wav: process channel-interleaved blocks sequentially rather than ↵Justin Ruggles2011-09-29
| | | | | | simultaneously. Speeds up the ADPCM IMA WAV decoder by 15-20% overall.
* adpcm: update reference linksJustin Ruggles2011-09-29
| | | | | | | | Add Multimedia Wiki link. Mark dead links with [dead]. Some can still be accessed through archive.org. Update URLs for pages which have moved. Replace duplicated links in adpcmenc.c with a note to see the ADPCM decoder reference documents.
* adpcm: simplify packet size bounds checking in the ADPCM IMA QT decoder.Justin Ruggles2011-09-29
| | | | | This is easier to understand. It also avoids returning existing samples mixed with new samples when the packet is too small.
* adpcm: simplify and speed up several ADPCM decoders.Justin Ruggles2011-09-29
|
* adpcm: pretty-print tablesJustin Ruggles2011-09-29
|
* prores: Handle 0 or fewer bits leftAlex Converse2011-09-29
| | | | | show_bits() is undefined when the number of bits is less than or equal to zero.
* mpeg probe: check the 2/4-bit synchronization value found after a ↵Alex Converse2011-09-29
| | | | pack_start_code.
* dca: clear inactive subbands only once in qmf_32_subbands()Mans Rullgard2011-09-29
| | | | | | | | Writing zeros to the high entries in the array need only be done once as the cutoff position is constant throughout the loop. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vf_unsharp: set default chroma size value to 5x5Stefano Sabatini2011-09-29
| | | | | | | The previous default value 0x0 was not good, since it is not even valid. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_unsharp: fix out-of-buffer readStefano Sabatini2011-09-29
| | | | | | | | | | | | In apply_unsharp(), when y is >= height, prevent out-of-buffer reading from src, read from the last buffer line in src2 instead. The check was implemented in the original unsharp libmpcodecs code and lost in the port. This also fixes output discrepancy between the two filters. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: Reformat s16 volume adjustment.Alex Converse2011-09-28
|
* ARM: NEON optimised vector_fmac_scalar()Mans Rullgard2011-09-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dca: use vector_fmac_scalar from dsputilMans Rullgard2011-09-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: add vector_fmac_scalar()Mans Rullgard2011-09-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* latmenc: Fix private optionsKieran Kunhya2011-09-28
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vf_unsharp: store hsub/vsub in the filter contextStefano Sabatini2011-09-28
| | | | | | Also drop obfuscating CHROMA_WIDTH/HEIGHT macros. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_unsharp: adopt a more natural order of params in apply_unsharp()Stefano Sabatini2011-09-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_unsharp: rename method "unsharpen" to "apply_unsharp"Stefano Sabatini2011-09-28
| | | | | | | More consistent with the original libmpcodecs code, and the name "unsharpen" was confusing. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_scale: apply the same transform to the aspect during init that is applied ↵Michael Niedermayer2011-09-28
| | | | | | per frame Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_pad: fix "vsub" variable value computationStefano Sabatini2011-09-28
| | | | | | It was shifting 2 rather than 1, +10l. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_scale: add a "sar" variableStefano Sabatini2011-09-28
| | | | | | | Also create a "dar" alias for the "a" variable, for avoiding possible confusion between dar/sar. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: fix realloc size computation in avfilter_add_format()Stefano Sabatini2011-09-28
| | | | | | | | | | | | | Replace sizeof((*avff)->formats) with sizeof(*(*avff)->formats) as the size of the array element is given by the pointed element rather than by its pointer. In particular fix computation with the pending patch when sizeof(int64_t) != sizeof(int64_t *). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_color: use internal timebaseStefano Sabatini2011-09-28
| | | | | | Avoid timescale conversion, simplify. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: fix signature for avfilter_graph_parse() and avfilter_graph_config()Stefano Sabatini2011-09-28
| | | | | | Require "void *" rather than "AVClass *" for the log context type. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* graphparser: prefer void * over AVClass * for log contextsStefano Sabatini2011-09-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avfiltergraph: use meaningful error codesStefano Sabatini2011-09-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: Initialize return value for codec copy path.Alex Converse2011-09-27
|
* fate: use 'run' helper for seek-testMans Rullgard2011-09-28
| | | | | | This is simpler, and the actual seek-test command is printed with V=1. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: remove seek-mpeg2reuse testMans Rullgard2011-09-28
| | | | | | The input file for this test is no longer generated. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix memory (re)allocation in matroskadec.c, related to MSVR-11-0080.Michael Niedermayer2011-09-27
| | | | | | | | | | | | | Whitespace of the patch cleaned up by Aurel Some of the issues have been reported by Steve Manzuik / Microsoft Vulnerability Research (MSVR) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 956c901c68eff78288f40e3c8f41ee2fa081d4a8) Further suggestions from Kostya <kostya.shishkov@gmail.com> have been implemented by Reinhard Tartler <siretart@tauware.de> Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* avconv: Fix volume adjustment for non-s16 sample formatsAlex Converse2011-09-27
|
* avconv: Make samples void*.Alex Converse2011-09-27
| | | | Different sample formats are different sizes.
* avconv: Use the size of the decode sample format when allocating the audio ↵Alex Converse2011-09-27
| | | | samples buffer.
* avconv: use different variables for decoded and filtered frame.Anton Khirnov2011-09-27
| | | | | | | | | | | Makes the code less obfuscated and fixes encoding one video stream to several outputs. Also use avcodec_alloc_frame() instead of allocating AVFrame on stack. Breaks me_threshold in avconv, as motion vectors aren't passed through lavfi. They could be copied manually, but I don't think this misfeature is useful enough to justify ugly hacks.
* avconv: add support for copying attachments.Anton Khirnov2011-09-27
|