summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
* avconv: do not stop processing the input packet on decoding errorAnton Khirnov2015-06-27
| | | | We still want to flush the filters on EOF and possibly apply streamcopy.
* avconv: factor out flushing the filtersAnton Khirnov2015-06-27
| | | | | This also ensures this is always done, avoiding infinite loops if an error occurs at the end of the input.
* 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>
* configure: Check for x265_api_getDerek Buitenhuis2015-06-27
| | | | | | | | | | | | Any other x265 symbol may not exported, e.g. if the build is a multilib (10-bit and 8-bit in one) build. This is the only symbol we directly call, and is available in the build number we check for. Fixes the configure check on multilib x265 builds. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* 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>
* segafilm: Remove deplanarization hackPaul B Mahol2015-06-24
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> 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>
* udp: Fix local_port managementLuca Barbato2015-06-22
| | | | | | The default value for unset is -1, not 0. Problem introduced in 66028b7ba6b411ba12ef553e9c8f1f4a4fe27710
* 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
|
* af_resample: Set the number of samples in the last frameLuca Barbato2015-06-20
| | | | | | Otherwise trailing zeroes would appear. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* 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
|
* nut: Drop doxygen markersLuca Barbato2015-06-15
|
* riff: Add MNM4 FourCC as mpeg4Vittorio Giovara2015-06-15
|
* tls_gnutls: fix hang on disconnectionwm42015-06-14
| | | | | | | | | | | GNUTLS_SHUT_RDWR means GnuTLS will keep waiting for the server's termination reply. But since we don't shutdown the TCP connection at this point yet, GnuTLS will just keep skipping actual data from the server, which basically is perceived as hang. Use GNUTLS_SHUT_WR instead, which doesn't have this problem. Signed-off-by: Martin Storsjö <martin@martin.st>
* 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]".
* flv: Name an enum and use its typeVittorio Giovara2015-06-12
|
* cws2fws: Close file handles on errorVittorio Giovara2015-06-12
| | | | Reported-By: infer
* avconv_opt: Check localtime() return valueVittorio Giovara2015-06-12
| | | | Reported-By: infer
* segment: Check open_null_ctx() return valueVittorio Giovara2015-06-12
| | | | Reported-By: infer
* 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
|
* mpegvideo: Move block permutation function where is usedVittorio Giovara2015-06-10
| | | | Mark it as static.
* mpegvideo: Drop release_unused_pictures() functionVittorio Giovara2015-06-10
| | | | | It is only used in one place, and it is small enough that it might be called directly.