summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* arm: Add EXTERN_ASM to the .func and .type declarations for exported symbolsMartin Storsjö2014-02-07
| | | | | | | | | | | | | | | This makes the generated assembly more internally consistent, avoiding declaring two labels for the same function (for cases where EXTERN_ASM is empty) and not declaring a separate unprefixed label in other cases. This also makes sure the .func and .type delcarations have the same prefix. They have previously not been used on the platforms that have prefixed symbols on arm (iOS), but gas-preprocessor has recently started using the .func declarations for adding .thumb_func declarations for such functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add X() around all references to extern symbolsMartin Storsjö2014-02-07
| | | | | | Don't rely on the fact that an unprefixed label currently exists. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp8: fix bilinear C code to work if src_stride != dst_stride.Ronald S. Bultje2014-02-06
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vp8: Use 2 registers for dst_stride and src_stride in neon bilin filterMartin Storsjö2014-02-06
| | | | | | Based on a patch by Ronald S. Bultje. Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: force the simple idct for xvid custom matrix testJanne Grunau2014-02-05
| | | | | | | | The original test without a forced idct is still useful since it tests the switching of the idct algorithm/permutation on x86 with MMX. MMXext or SSE2. Make sure the test runs only if MMX inline asm is available and force -cpuflags to all. Add the required bitexact flag for both tests.
* lavu: add missing log.h include in timer.hJanne Grunau2014-02-05
|
* mpeg: K&R formatting cosmeticsVittorio Giovara2014-02-04
| | | | | | | Also adjust header #include order and some comments. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* doxy: Format @code blocks so they render properlyLuca Barbato2014-02-04
| | | | | | @code command reports verbatim everything between it and @endcode. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: improve handling of sparse streams when muxingLuca Barbato2014-02-04
| | | | | | | | | | | | | | | | | | Currently ff_interleave_packet_per_dts() waits until it gets a frame for each stream before outputting packets in interleaved order. Sparse streams (i.e. streams with much fewer packets than the other streams, like subtitles or audio with DTX) tend to add up latency and in specific cases end up allocating a large amount of memory. Emit the top packet from the packet_buffer if it has a time delta larger than a specified threshold. Original report of the issue and initial proposed solution by mus.svz@gmail.com. Bug-id: 31 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lagarith: reallocate rgb_planes when neededAnton Khirnov2014-02-04
| | | | | | | Fixes invalid writes on pixel format changes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* truemotion1: check the header sizeAnton Khirnov2014-02-04
| | | | | | | Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* shorten: pad the internal bitstream bufferAnton Khirnov2014-02-04
| | | | | | | Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* eacmv: clear references on frame dimensions changeAnton Khirnov2014-02-04
| | | | | | | Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* samplefmt: avoid integer overflow in av_samples_get_buffer_size()Justin Ruggles2014-02-04
| | | | CC:libav-stable@libav.org
* avcodec: Suppress deprecation warnings from avcodec_alloc_frame()Diego Biurrun2014-02-04
| | | | The function is itself obsolete and slated for removal.
* jvdec: K&R formatting cosmeticsVittorio Giovara2014-02-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264: reset data partitioning at the beginning of each decode callAnton Khirnov2014-02-04
| | | | | | | | | Prevents using GetBitContexts with data from previous calls. Fixes access to freed memory. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* vp8: use a fixed-size edge emu bufferAnton Khirnov2014-02-04
| | | | | | The reason is the same as for e588615d938f8581f0d6f3771662d08cadfc00de Based on a patch by Ronald S. Bultje <rsbultje@gmail.com>
* lavf: ignore attachment streams for interleaving purposesAnton Khirnov2014-02-04
| | | | Those streams should never get any packets by definition.
* lavf: do basic sanity checking on muxed packetsAnton Khirnov2014-02-04
| | | | Reject packets for non-existing or attachment streams.
* utvideoenc: Add support for the new BT.709 FourCCs for YCbCrJan Ekström2014-02-04
| | | | | | | | With cli usage the decoder might have not set the colorspace during encoder init, manual colorspace override might be needed in such cases. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_overlay: add eof_action switchKeith Lawson2014-02-04
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: check that the VCL NAL types are the same for all slice segments of a ↵Anton Khirnov2014-02-04
| | | | | | | | | | frame Fixes possible invalid memory access for mismatching skipped/non-skipped slice segments. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Sample-Id: 00001533-google
* hevc: Reject impossible slice segmentLuca Barbato2014-02-01
| | | | | | | | | A dependent slice cannot have address 0. Prevent an out of array bound load in ff_hevc_cabac_init(). Sample-Id: 00001406-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* hevc: Consider first quantization group any reference to 0, 0Luca Barbato2014-02-01
| | | | | | | | According to my understanding of T-REC-H.265-2013044 chapter 8.6.1. Sample-Id: 00001438-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mxf: Read field dominance flagMatthieu Bouron2014-02-01
| | | | | | And export the information in field_order. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxf: Handle negative edit_rateLuca Barbato2014-02-01
| | | | Default to 1/25.
* fate: add xvid test for custom matricesJanne Grunau2014-01-31
| | | | Test sample is made from the sample in Bug-Id: videolan/7411
* xvid: switch to xvid mmx idct as soon as possibleJanne Grunau2014-01-31
| | | | | | | The idct implementation cannot be changed after the quantization matrices are read since it use a different permutaion. Bug-Id: videolan/7411
* lavf: include 60 fps in guessed standard frame ratesJanne Grunau2014-01-31
| | | | | Due to what looks like an off-by-one error 60 * 12 * 1001 / 12 * 1001 is not tested as standard frame rate in avformat_find_stream_info().
* atrac3plus: Make initialization dependant on channel count rather than ↵Jan Ekström2014-01-31
| | | | | | | | channel map Makes it easier to recreate an AVCodecContext for ATRAC3+ decoding, which is needed in multimedia frameworks, as well as in general cases where demuxing and decoding are separate entities.
* x86: videodsp: Fix a bug in a %if statement where we used '%%' instead of '&&'.Ronald S. Bultje2014-01-30
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* x86: videodsp: Properly mark sse2 instructions in emulated_edge_mc as such.Ronald S. Bultje2014-01-30
| | | | | | | | Should fix crashes or corrupt output on pre-SSE2 CPUs when they were using SSE2-code (e.g. AMD Athlon XP 2400+ or Intel Pentium III) in hfix or hvar single-edge (left/right) extension functions. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* doc: document correct option to list encodersJohn Stebbins2014-01-29
|
* doc: add decoders.texiJohn Stebbins2014-01-29
| | | | Only documents ac3 decoder options at this point.
* ac3dec: Allow asymmetric application of DRC when drc_scale > 1John Stebbins2014-01-29
| | | | | Amplification of quiet sounds is enhanced. Inspired by gbooker's A52Decoder.
* avformat: utils: Refactor duplicated PRINT macroDiego Biurrun2014-01-29
|
* mpeg: Drop unused parameters from ff_draw_horiz_band()Diego Biurrun2014-01-29
|
* x86inc: Speed up assembling with YasmLoren Merritt2014-01-26
| | | | | | | Work around Yasm's inefficiency with handling large numbers of variables in the global scope. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avformat: utils: K&R formatting cosmeticsDiego Biurrun2014-01-26
| | | | Also adjust some comment wording / spelling and reorder header #includes.
* configure: clang: explicitly state dep file and rule name in DEPFLAGSJanne Grunau2014-01-25
| | | | | | Fixes dependency file generation with gas-preprocessor.pl and clang. Flags copied from GCC and tested with Apple's clang from Xcode 5 and 5.1 and clang 3.2, 3.3, 3.4 on Linux.
* configure: add missing x86 dependency for i686Janne Grunau2014-01-25
|
* mpeg12: check scantable indices in all decode_block functionsJanne Grunau2014-01-25
| | | | | | | | | Add checks to the fast functions used with CODEC_FLAGS2_FAST and move the check for all other functions to before the invalid memory is accessed. Fixes https://trac.videolan.org/vlc/ticket/9713 with CODEC_FLAGS2_FAST. CC: libav-stable@libav.org
* avutil: remove timer.h include from internal.hJanne Grunau2014-01-25
| | | | Added libavutil/timer.h include to all files with {START,STOP}_TIMER.
* dxtory: compressed RGB555/RGB565 decoding supportKostya Shishkov2014-01-24
|
* dxtory: add more compressed and uncompressed modesKostya Shishkov2014-01-24
|
* vp9: fix bugs in updating coef probabilities with parallelmode=1Guillaume Martres2014-01-24
| | | | | | | | | - The memcpy was completely wrong because s->prob_ctx[s->framectxid].coef is a [4][2][2][6][6][3] array, whereas s->prob.coef is a [4][2][2][6][6][11] array. - The additional check was committed to ffmpeg by Ronald S. Bultje. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vp9: fix mvref finding to adhere to bug in libvpx.Ronald S. Bultje2014-01-24
| | | | | | Fixes a particular youtube video that I unfortunately can't share. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rtpdec_asf: Copy the need_parsing field from the chained demuxerMartin Storsjö2014-01-23
| | | | | | | This fixes playback of mp3 streams in rtp/asf. This used to work until c6f1dc8, but mostly by coincidence. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo_enc: Don't call ff_h263dsp_init unconditionallyMartin Storsjö2014-01-22
| | | | | | | This fixes builds with e.g. --disable-decoders --disable-encoders --enable-encoder=mjpeg. Signed-off-by: Martin Storsjö <martin@martin.st>