summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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>
* bfin: vp3: Mark all binary object sections appropriatelyDiego Biurrun2014-01-22
| | | | This fixes a leftover from e44d7c659ba56d7efd6de10d5d99a1c44fd997fa.
* h264: skip chroma edges at the picture boundary while deblocking 4:4:4Janne Grunau2014-01-22
| | | | | | | | | This handles macroblock edges for the chroma components in the same way as for the luma compoment for 4:4:4 streams. The Spec explicitly states that the deblocking filter is not applied to edges at the boundary of the picture. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* configure: Set default HOSTCFLAGS/HOSTCPPFLAGS after compiler detectionDiego Biurrun2014-01-22
| | | | | This prevents the default HOSTCFLAGS from getting clobbered by flags passed to configure on the command line.
* rgb2rgb_template: add MMX/SSE2/AVX-optimized deinterleaveBytesMichael Niedermayer2014-01-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* swscale/x86/rgb2rgb: add support for AVXMichael Niedermayer2014-01-21
| | | | | | This does not yet include any actual AVX code Signed-off-by: Anton Khirnov <anton@khirnov.net>
* swscale: add nv12/nv21->yuv420 converterMichael Niedermayer2014-01-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* swscale: fix stride used in planarToNv12Wrapper()Michael Niedermayer2014-01-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: do not force the emu edge flagAnton Khirnov2014-01-21
| | | | | | | The default get_buffer2() implementation (and possibly some user ones) does not allocate edges when this flag is set, which may expose bugs in some decoders. Until the 10 release is out, it is safer to remove this part.
* dxtory: change error code for unexpected slice configurationKostya Shishkov2014-01-21
|
* dxtory: correctly handle YUV slices with average odd heightKostya Shishkov2014-01-21
|
* dxva2: Use correct printf format stringsDiego Biurrun2014-01-21
|
* dxva2: Add missing #includesDiego Biurrun2014-01-21
|
* dxva2: Log errors verboselySam Lantinga2014-01-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dxva2: Retry IDirectXVideoDecoder_BeginFrame()Sam Lantinga2014-01-21
| | | | | | If the function returns E_PENDING retry for a fixed number of times. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hevc: Bound check cu_qp_deltaLuca Barbato2014-01-21
| | | | | The T-REC-H.265-2013044 page 91 states it has to be in the range [-(26 + s->sps->qp_bd_offset / 2), (25 + s->sps->qp_bd_offset / 2)].
* hevc: Bound check slice_qpLuca Barbato2014-01-21
| | | | | | | | | The T-REC-H.265-2013044 page 79 states it has to be in the range [-s->sps->qp_bd_offset, 51]. Sample-Id: 00001386-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* hevc: Prevent some integer overflowsLuca Barbato2014-01-21
| | | | | | | | get_ue_golomb_long() returns an unsigned. Sample-Id: 00001541-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* hevc: Remove useless clipGuillaume Martres2014-01-21
| | | | | | | | | | The src buffer should only contain values in the interval [0, (1 << BIT_DEPTH) - 1]. Since shift = (BIT_DEPTH - 5), src[x] >> shift must be in the interval [0, 31], so no clip is needed. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hevc: clip pixels when transquant bypass is usedGuillaume Martres2014-01-21
| | | | | | | | | | | | The reconstructed picture should always be clipped (see section 8.6.5), previously we did not clip coding units where cu_transquant_bypass_flag == 1. Sample-Id: 00001325-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hevc: Use uint64 to check for tile dimensionsLuca Barbato2014-01-21
| | | | | | | | | | And use unsigned datatypes. Otherwise it would overflow. Sample-Id: 00001315-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org