summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* vda: Check the correct pointer for buffer allocationLuca Barbato2015-07-03
| | | | | CC: libav-stable@libav.org Found-By: kropping
* webp: Make sure enough bytes are availableAndreas Cadhalpun2015-07-03
| | | | | | | | Every chunk needs at least 8 bytes for chunk_type and chunk_size. Prevent a possible infinite loop. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: Deprecate avctx.{inter,intra}_quant_biasVittorio Giovara2015-07-02
| | | | | | | They are used by dnxhd and mpegvideo_enc exclusively, move them to codec private options instead. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* elsdec: Replace EOVERFLOW with INVALIDDATAMichael Niedermayer2015-07-01
| | | | | | EOVERFLOW is not available on all platforms. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* g2meet: use av_ceil_log2 instead of a custom functionJanne Grunau2015-07-01
|
* g2meet: use an unsigned type for the djb hashJanne Grunau2015-07-01
|
* avcodec: add missing CODEC_CAP_DR1 to codecs using get_buffer()Janne Grunau2015-07-01
|
* lavc: Add missing API guard to dtg_active_format optionVittorio Giovara2015-07-01
|
* Go2Meeting decoderKostya Shishkov2015-07-01
| | | | | | | | ELS and ePIC decoder courtesy of Maxim Poliakovski, cleanup and integration by Diego Biurrun. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264: Parse registered data SEI message and AFD valueVittorio Giovara2015-06-30
| | | | | | Partially based on code by Marton Balint and Kieran Kunhya. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264_sei: Group error check outside the switch blockVittorio Giovara2015-06-30
|
* h263: Always check both dimensionsLuca Barbato2015-06-30
| | | | | CC: libav-stable@libav.org Found-By: ago@gentoo.org
* cosmetic: Reformat ff_h263_decode_mbaLuca Barbato2015-06-30
|
* aic: Fix slice size computation for widths multiples of 32 macroblocksVittorio Giovara2015-06-30
| | | | CC: libav-stable@libav.org
* h264: Allow stream and container cropping at the same timeVittorio Giovara2015-06-30
| | | | | | | | The container cropping is applied only when difference is within 16 pixels, and the smallest value between the two is chosen. Bug-Id: 383 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264: do not update the context fields copied between threads after ↵Anton Khirnov2015-06-27
| | | | | | finish_setup() Should fix a large number of possible races with frame threading.
* h264: make sure the current picture is not made a long ref multiple timesAnton Khirnov2015-06-27
| | | | | | Fixes possible invalid reads, once one of those refs is freed, but the others remain. CC: libav-stable@libav.org
* h264: make sure the slices do not overlap during slice threadingAnton Khirnov2015-06-27
| | | | | | Based on a patch by Michael Niedermayer <michaelni@gmx.at>. CC: libav-stable@libav.org Found-by: Kieran Kunhya <kierank@obe.tv>
* nvenc: Fix NV12 inputLuca Barbato2015-06-26
|
* vc1dec: use get_bits_long and limit the read bits to 32Andreas Cadhalpun2015-06-26
| | | | | | | get_bits should not be used with more than 25 bits. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* TextureDSP: fix erroneous condition which produced blocky output for DXTTom Butterworth2015-06-24
|
* dds: Fix palette mode on big endianLuca Barbato2015-06-24
| | | | | Found-By: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* PCM signed 16-bit big-endian planar decoderPaul B Mahol2015-06-24
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* libvpx: fix test for VPX_IMAGE_ABI_VERSIONJanne Grunau2015-06-24
|
* Fix missing symbols when libvpx has only vp8 enabledMark Webster2015-06-24
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* arm64: constify src in h264qpel dsp function definitionsJanne Grunau2015-06-24
|
* DirectDraw Surface image decoderVittorio Giovara2015-06-22
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Hap decoder and encoderVittorio Giovara2015-06-22
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* txd: Use the TextureDSP module for decodingVittorio Giovara2015-06-22
| | | | | | | | | Using the internal DXTC routines brings support for non multiple of 4 textures. A new test is added to cover this feature. Hashes differ since the decoding algorithm is different, though no visual changes have been spotted. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Introduce a TextureDSP moduleVittorio Giovara2015-06-22
| | | | | | | This module implements generic texture decompression from different families (DXTC, RGTC, BCn) and texture compression DXTC 1, 3, and 5. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Implement Snappy decompressionLuca Barbato2015-06-22
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libvpx: Support the vp9 extended profilesLuca Barbato2015-06-21
| | | | | | | | | | Bump the minimum libvpx version to 1.3.0 and rework the configure logic to fail only if no decoders and encoders are found. Based on the original patch from Vittorio. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libvpx: Do not set vp8 only parameters when encoding in vp9Luca Barbato2015-06-20
|
* mp3: enable packed main_data decoding in MP4nu7742015-06-20
| | | | | | | | | | | | | | | | 14496-3 suggests packing main_data of MP3 that is usually scattered into multiple frames due to bit reservoir. However, after packing main_data into a access unit, bitrate index in the MPEG audio frame header doesn't match with actual frame size. In order to accept this, this patch removes unnecessary frame size checking on mp3 decoder. Also, mov demuxer was changed to use MP3 parser only on special cases (QT MOV with specific sample description) to avoid re-packetizing. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libwebpenc: use WebPMemoryWriterClear()James Almer2015-06-17
| | | | | | | | WebPMemoryWriterClear() must be used instead of free() when libwebp ABI version is > 0x0203. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* aic: Improve error reportingVittorio Giovara2015-06-17
|
* h264: er: Copy from the previous reference only if compatibleAndreas Cadhalpun2015-06-15
| | | | | | | | Also use the frame pixel format instead of the one from the codec context, which is more robust. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: Clarify the behaviour of dimension and format context fieldsLuca Barbato2015-06-15
| | | | | | | | | | | | | The AVCodecContext width, height, coded_width, coded_height and format are used mainly as decoding hints and they get internally overwritten during the data parsing stage. Do not assume they match the last AVFrame provided by avcodec_decode_video2 and assimilated functions since multi-threading and other frame reordering might make those values to refer to frames that will be outputted in the future. CC: libav-stable@libav.org
* x264: Factor out the reconfiguration codeLuca Barbato2015-06-15
|
* fft-test: Use the float fabs() versionVittorio Giovara2015-06-12
| | | | | | Fixes clang warning "absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value]".
* on2avc: Use the integer abs() versionVittorio Giovara2015-06-12
| | | | | Fixes clang warning "floating point absolute value function 'fabsf' when argument is of integer type [-Wabsolute-value]".
* h264_qpel: Use the correct headerVittorio Giovara2015-06-12
|
* h264_weight: Fix SSSE3 biweight code with weights of 128Michael Niedermayer2015-06-12
| | | | | | | CC: libav-stable@libav.org Sample-Id: test_bref.mp4 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* eamad: Use the correct headersLuca Barbato2015-06-12
| | | | Untangle eamad from the mpeg12.h header and speed up rebuilding.
* mpeg12: Move the vlc bits to a stand alone fileLuca Barbato2015-06-12
|
* mpegvideo: Expand macroVittorio Giovara2015-06-12
| | | | | | Having this macro in an header only facilitates the use of such header. The code increase is minimal and files have one less dependency on mpegvideo.h.
* mpegvideo: rv10: Move function declaration to a separate headerVittorio Giovara2015-06-12
|
* mpegvideo: h263: Move all tables to a single fileVittorio Giovara2015-06-12
|
* mpegvideo: Move ER functions to a separate fileVittorio Giovara2015-06-12
|
* mpegvideo: Mark one function as staticVittorio Giovara2015-06-10
|