summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* hwaccel: Support specific frame allocatorsLuca Barbato2014-05-11
| | | | It would reduce the boilerplate code users have to write.
* hwaccel: Rename priv_data_size to frame_priv_data_sizeAnton Khirnov2014-05-11
| | | | This describes more accurately what this field is for.
* lavc: document which parts of AVHWAccel are private.Anton Khirnov2014-05-11
|
* lavc: set AVCodecContext.hwaccel in ff_get_format()Anton Khirnov2014-05-11
| | | | This way each decoder does not have to do the same thing manually.
* lavc: Add an internal wrapper around get_format()Anton Khirnov2014-05-11
| | | | It will be useful in the following commits.
* pcm-dvd: Fix 20bit decodingnu7742014-05-09
| | | | | | | | Increment the pointer as needed. Bug-Id: 592 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libfdk-aac: Relicense the library wrappers to 2-clause BSDMartin Storsjö2014-05-05
| | | | | | | | | This should make it possible for Fraunhofer to contribute to these wrappers - they didn't want to contribute to code under LGPL2.1 with the "or any later version" clause (which allowed using the code under the LGPL3 license). Signed-off-by: Martin Storsjö <martin@martin.st>
* libfdk-aacenc: Enable 7.1 channel encodingJean First2014-05-05
| | | | | | | | | | | | | | | 7.1(wide) and 7.1(wide-side) channel layouts are supported in fdk-aac since the 0.1.3 release. The earlier versions of fdk-aac didn't include any library version defines in the public headers, thus checking for the AACENCODER_LIB_VL0 define is enough to know that we're building against a new enough version of fdk-aac. This change includes contributions by Tim Walker, Michael Niedermayer and Timothy Gu. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp9: Read the frame size as unsignedLuca Barbato2014-05-03
| | | | | | Sample-Id: 00001723-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* aac: K&R formatting cosmeticsLuca Barbato2014-05-01
|
* flv: K&R formatting cosmeticsLuca Barbato2014-05-01
|
* lavc: deprecate AVCodecContext.codec_nameAnton Khirnov2014-05-01
| | | | It is undocumented and has no real use.
* lavc: do not use AVCodecContext.codec_name in avcodec_string()Anton Khirnov2014-05-01
| | | | That field will be deprecated.
* lavc: move CODEC_FLAG_MV0 to mpegvideoAnton Khirnov2014-05-01
|
* lavc: make the xvid-specific "gmc" flag a private option of libxvidAnton Khirnov2014-05-01
|
* lavc: move CODEC_FLAG_NORMALIZE_AQP to mpegvideoAnton Khirnov2014-05-01
|
* lavc: deprecate CODEC_FLAG_INPUT_PRESERVEDAnton Khirnov2014-05-01
| | | | The addition of reference-counted frames makes it pointless.
* h264: drop commented out cruftAnton Khirnov2014-04-29
|
* mpegvideo: remove unused MpegEncContext.b4_strideAnton Khirnov2014-04-29
|
* mpegvideo: move the MpegEncContext fields used from arm asm to the beginningAnton Khirnov2014-04-29
| | | | | This should reduce the frequency with which the offsets need to be updated.
* hwaccel: fix dxva2 & vaapi loop filter parametersMichael Niedermayer2014-04-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* dxva2_h264: add a workaround for old Intel GPUsHendrik Leppkes2014-04-28
| | | | | | | | | | Old Intel GPUs expect the reference frame index to the actual surface, instead of the index into RefFrameList as specified by the spec. This workaround should be set when using one of the "ClearVideo" decoder devices. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* dxva2_h264: set the correct ref frame index in the long slice structHendrik Leppkes2014-04-28
| | | | | | | | | | The latest H.264 DXVA specification states that the index in this structure should refer to a valid entry in the RefFrameList of the picture parameter structure, and not to the actual surface index. Fixes H.264 DXVA2 decoding on recent Intel GPUs (tested on Sandy and Ivy) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vc1: Do not return an error when skipping b framesAlessandro Ghedini2014-04-25
| | | | | | | | | This caused mpv (and possibly others) to fallback to software decoding after seeking a VC1 stream. Bug-Id: 667 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavu: add CHK_OFFS as AV_CHECK_OFFSET to check struct member offsetsJanne Grunau2014-04-24
|
* on2avc: change a comment at #endif to match actual defineKostya Shishkov2014-04-23
|
* On2 AVC decoderKostya Shishkov2014-04-23
|
* fic: Make warning message more accurateDerek Buitenhuis2014-04-23
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fic: Remove redundant clipsDerek Buitenhuis2014-04-23
| | | | | | The equations can't overflow or underflow anyway. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fic: Simplify alpha blendingDerek Buitenhuis2014-04-22
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fic: Support rendering cursorsDerek Buitenhuis2014-04-22
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fic: Use proper quantization matrix indexDerek Buitenhuis2014-04-22
| | | | | | | | The matrices are not zigzagged. Fixes artefacting. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* aarch64: NEON vorbis_inverse_couplingJanne Grunau2014-04-22
| | | | | From the ARMv7 NEON version. 16 times faster as the C version, overall more than 12% faster vorbis decoding on Apple's A7.
* aarch64: NEON fixed/floating point MPADSP apply_windowJanne Grunau2014-04-22
| | | | | 30%/25% (fixed/float) faster mp3 decoding on Apple's A7. The floating point decoder is approximately 7% faster.
* aarch64: NEON float (i)MDCTJanne Grunau2014-04-22
| | | | Approximately as fast as the ARM NEON version on Apple's A7.
* aarch64: NEON float FFTJanne Grunau2014-04-22
| | | | Approximately as fast as the ARM NEON version on Apple's A7.
* lavc: improve AVCodecContext.delay doxyAnton Khirnov2014-04-22
|
* mpegvideo: Use the current_picture ptsMichael Niedermayer2014-04-21
| | | | | | | | | The picture slot can be recycled by select_input_picture and only current_picture is populated with the valid pts. Unbreak timestamps when in cbr mode. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avcodec/fic: Fix return value checkMichael Niedermayer2014-04-21
| | | | | | | | Fixes part of Ticket3466 Found-by: Andrey_Karpov / PVS-Studio Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avcodec/fic: clear slice_dataMichael Niedermayer2014-04-21
| | | | | | | | Fixes artifacts Fixes use of freed memory Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avcodec/fic: fix slice checksMichael Niedermayer2014-04-21
| | | | | | | fix integer overflows Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fic: use correct IDCTKostya Shishkov2014-04-21
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* mvc: Specify the pixel format for the mv-mvc* testsMartin Storsjö2014-04-19
| | | | | | | | | Also set the RGBA pixel format correctly as the native endian format, which is what it returns. This fixes the tests on big endian. Signed-off-by: Martin Storsjö <martin@martin.st>
* Silicon Graphics Motion Video Compressor 1 & 2 decoderPeter Ross2014-04-19
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Silicon Graphics RLE 8-bit video decoderPeter Ross2014-04-19
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264: codec reinit: remove statements without effectJanne Grunau2014-04-19
| | | | | | | avctx->coded_{height,width} will always equal h->{height,width} since init_dimensions() does that explicitly, Size changes are detected by changes in mb_{height,width} earlier and propagated through the needs_reinit variable.
* utils: add yvyu422 to avcodec_align_dimensions2Vittorio Giovara2014-04-19
|
* vp78: Align the intra4x4_pred_mode_top array within VP8MacroblockMartin Storsjö2014-04-14
| | | | | | | | This array is written using AV_WN32A, assuming alignment. This hopefully fixes the failing vp7 fate test on sparc. Signed-off-by: Martin Storsjö <martin@martin.st>
* dcadec: Delete redundant init_get_bits callNiels Möller2014-04-14
| | | | | | | | No initialization is needed in dca_decode_frame, because the next thing it does is calling dca_parse_frame_header, which takes care of the needed initialization. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86/synth_filter: remove the fma3 version ifdefsJames Almer2014-04-13
| | | | | | | This fixes compilation failures with --disable-fma3 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>