summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* libavutil: Add ARM av_clip_intp2_armPeter Meerwald2015-02-21
| | | | | | | | | | add ARM code for implementing av_clip_intp2 using the ssat instruction on Cortex-A8, av_clip_intp2_arm() is faster than av_clip_intp2_c() and the generic av_clip(), about -19% Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libavutil: Add av_clip_intp2Peter Meerwald2015-02-21
| | | | | | | | | | | | | | | | | there already is a function, av_clip_uintp2() that clips a signed integer to an unsigned power-of-two range, i.e. 0,2^p-1 this patch adds a function av_clip_intp2() that clips a signed integer to a signed power-of-two range, i.e. -(2^p),(2^p-1) the new function can be used as a special case for av_clip(), e.g. av_clip(x, -8192, 8191) can be rewritten as av_clip_intp2(x, 13) there are ARM instructions, usat and ssat resp., which map nicely to these functions (see next patch) Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hlsenc: write playlist into a temp file and replace the original atomicallyHendrik Leppkes2015-02-20
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* hlsenc: remove the AVIOContext for the playlist from the muxer contextHendrik Leppkes2015-02-20
| | | | | | Its only used in one function, having it in the context serves no purpose. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Don't use av_cold annotation in twinvq header filePeter Meerwald2015-02-20
| | | | | Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Martin Storsjö <martin@martin.st>
* libavresample: Annotate AARCH64 init function with av_coldPeter Meerwald2015-02-20
| | | | | Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Move a leftover comment into h264_handle_packet_stap_aMartin Storsjö2015-02-20
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Remove an unnecessary checkMartin Storsjö2015-02-20
| | | | | | | | If src_len is too small for nal_size, we already print a warning above, and the next step is to check the while loop condition anyway, so this one serves no purpose. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Return immediately on errors in h264_handle_packet_stap_aMartin Storsjö2015-02-20
| | | | | | | Previously, errors were only logged but the code kept on trying, and never actually returning the error as a return value. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Make a parameter pointer constMartin Storsjö2015-02-20
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Use av_realloc instead of av_malloc+mempcyMartin Storsjö2015-02-20
| | | | | | This is similar to what was done for rtpdec_hevc in ced7238cd01. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Include the right header for AV_RB16Martin Storsjö2015-02-20
| | | | | | | Including libavcodec/get_bits.h is superfluous for AV_RB16 - nothing in this file uses any actual bitstream reader. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_vp8: Set the keyframe flagMartin Storsjö2015-02-20
| | | | | | | This allows the output to be used with stream copy, which discards packet from the start until the first keyframe. Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Add tests for DSSVittorio Giovara2015-02-19
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
* lavf: Add DSS demuxerOleksij Rempel2015-02-19
| | | | | | Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Add DSS SP decoderOleksij Rempel2015-02-19
| | | | | | Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* qsv_api: fix building with libmfx disabledAnton Khirnov2015-02-19
|
* configure: add missing h264_qsv hwaccel depsAnton Khirnov2015-02-19
|
* lavc: add an Intel libmfx-based H.264 decoderAnton Khirnov2015-02-19
| | | | | Based on the code by Luca Barbato <lu_zero@gentoo.org> and Yukinori Yamazoe <drocon11@gmail.com>.
* h264_parser: export video format and dimensionsAnton Khirnov2015-02-19
|
* pixfmt: add a pixel format for QSV hwaccelAnton Khirnov2015-02-19
|
* rv40: Return more meaningful error codesHimangi Saraogi2015-02-19
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* libx265: Add crf private optionDerek Buitenhuis2015-02-18
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Reduce the scope of some variablesDerek Buitenhuis2015-02-18
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* riff: Support QT RLE Animation in avi ('rle ' FourCC)Vittorio Giovara2015-02-17
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* riff: Support ProRes in avi (APCH fourcc)Vittorio Giovara2015-02-17
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* wmv2: Return meaningful error codesHimangi Saraogi2015-02-17
|
* qdm2: Return meaningful error codesHimangi Saraogi2015-02-17
|
* libxvid: Return meaningful error messagesHimangi Saraogi2015-02-17
|
* aac_adtstoasc_bsf: Check extradata memory allocationHimangi Saraogi2015-02-17
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avpacket: Check buffer referenceVittorio Giovara2015-02-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1267889
* vorbisdec: Check memory allocationsVittorio Giovara2015-02-17
|
* dvdsubdec: Check memory allocationsVittorio Giovara2015-02-17
|
* swscale: Check memory allocationsFederico Tomassetti2015-02-17
| | | | | | CC: libav-stable@libav.org Bug-Id: CID 1267888 / CID 1267890 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* nutdec: Check memory allocationsHugo Beauzée-Luyssen2015-02-17
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* movenc: Check memory allocationsHugo Beauzée-Luyssen2015-02-17
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* rmdec: Check memory allocations from ff_rm_alloc_rmstream()Hugo Beauzée-Luyssen2015-02-17
| | | | Bug-Id: CID 1257835
* dct-test: Fix initialization syntaxVittorio Giovara2015-02-17
| | | | Related to "warning: suggest braces around initialization of subobject".
* lavf: Document the codec context initializationVittorio Giovara2015-02-17
| | | | | | During remuxing avcodec_copy_context() is discouraged as certain fields (such as codec_tag) could reflect invalid values between input and output contextes.
* lavc: Document interaction between avcodec_open2() and decoding routinesVittorio Giovara2015-02-17
|
* avplay: Check format allocation inside decode_thread()Vittorio Giovara2015-02-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1265718
* avplay: Check frame allocation inside video_thread()Vittorio Giovara2015-02-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1267893
* avconv: Check rc_override memory allocationVittorio Giovara2015-02-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1265719
* graphparser: Check av_get_token() memory errorVittorio Giovara2015-02-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1267891
* matroskaenc: Validate chapter start and end timesVittorio Giovara2015-02-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1265717
* dca: Remove separate header for DCA ExSSDiego Biurrun2015-02-16
| | | | There is no point in having a separate header for a single declaration.
* bktr: Use av_strerror and propagate error codesHimangi Saraogi2015-02-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* dca: Move data tables from a header to an object fileDiego Biurrun2015-02-15
| | | | This allows sharing them with the DCA XLL extension w/o duplication.
* dca: Add array sizes to array declarationsDiego Biurrun2015-02-15
|
* g722: Add ARM NEON implementation for g722_apply_qmf()Peter Meerwald2015-02-15
| | | | | Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Martin Storsjö <martin@martin.st>