summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* dca: Remove trace debugging codeDiego Biurrun2015-02-14
|
* dca: Return more informative error codesDiego Biurrun2015-02-14
|
* dca: Split code for handling the EXSS extension off into a separate fileDiego Biurrun2015-02-14
|
* avcodec: Don't anonymously typedef structsDiego Biurrun2015-02-14
|
* vp56: Return meaningful error codesHimangi Saraogi2015-02-14
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* hevc: Use generic av_clip function, not C implementationPeter Meerwald2015-02-13
| | | | | | | | | hevc seems to be the only place where the C implementation of the av_clip function is explicitly selected, precluding platform-specific optimizations Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* dxva2_hevc: properly fill the scaling list structureHendrik Leppkes2015-02-07
| | | | | | | | The scaling list can be specified in either the SPS or PPS. Additionally, compensate for the diagonal scan permutation applied in the decoder. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aacsbr: silence message for SBR extension "padding".Reimar Döffinger2015-02-03
| | | | | | | | | Some files contain a few additional, all-0 bits. Check for that case and don't print incorrect "not supported" message. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Alex Converse <alex.converse@gmail.com>
* aacdec: Support for ER AAC ELD 480.Alex Converse2015-02-03
| | | | Based in part on work from Niel van der Westhuizen <espes@pequalsnp.com>.
* aacdec: Tables for length 480 AAC ELD.Niel van der Westhuizen2015-02-03
|
* aacdec: Support for ER AAC in LATMNiel van der Westhuizen2015-02-03
|
* aacdec: Refactor aac_er_decode_frame.Alex Converse2015-02-03
|
* aacdec: Refactor decode_ics_info.Alex Converse2015-02-03
|
* svq1dec: Validate the stages value strictlyLuca Barbato2015-02-03
| | | | | | | It can be less than -1. Bug-Id: CID 1194397 / CID 1194398 CC: libav-stable@libav.org
* svq1enc: correctly handle memory error and allocationsMichael Niedermayer2015-02-03
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* opus: Factor out imdct15 into a standalone componentDiego Biurrun2015-02-02
| | | | It will be reused by the AAC decoder.
* configure: Add a dependency on vc1_decoder from vc1_parserMartin Storsjö2015-02-02
| | | | | | | | | This fixes builds with vc1_parser enabled without vc1_decoder. All the vc1_decoder object files were included in the vc1_parser line in libavcodec/Makefile before, but architecture specific object files for vc1_decoder were not. Signed-off-by: Martin Storsjö <martin@martin.st>
* flacenc: initialize sums matrixVittorio Giovara2015-01-29
| | | | | CC: libav-stable@libav.org Bug-Id: CID 703821
* ituh263dec: use macro instead of #ifVittorio Giovara2015-01-29
|
* mpegvideo_enc: initialize the encoding contextVittorio Giovara2015-01-29
| | | | | | | | This prevents several uninitialized variable uses that take place towards the end of encoding. CC: libav-stable@libav.org Bug-Id: CID 700760
* DNxHD: Add support for id 1258 (DNx100 960x720@8)Vittorio Giovara2015-01-29
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* DNxHD: Simplify pixel format detectionVittorio Giovara2015-01-29
| | | | Error out in case of unknown values.
* DNxHD: More verbose error messagesVittorio Giovara2015-01-29
|
* libopenh264: Log debug messages to a non-null contextMartin Storsjö2015-01-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Do not share rbsp_buffer across threadsMichael Niedermayer2015-01-28
| | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> CC: libav-stable@libav.org
* dvbsubdec: check memory allocations and propagate errorsVittorio Giovara2015-01-27
|
* lavc: support extracting audio service type from side dataAnton Khirnov2015-01-27
|
* Add a side data type for audio service type.Anton Khirnov2015-01-27
| | | | | Currently, audio service type is a field in AVCodecContext. However, side data is more appropriate for this kind of information.
* lavc: deprecate unused AVCodecContext.stream_codec_tagAnton Khirnov2015-01-27
|
* avidec: do not export stream_codec_tagAnton Khirnov2015-01-27
| | | | Handle its only existing use case internally.
* h264: drop any pretense of support for data partitioningAnton Khirnov2015-01-27
| | | | | | | | | | It does not work correctly and apparently never did. There is no indication that this (mis)feature is ever used in the wild or even that any software other than the reference supports it. Since the code that attempts to support it adds some nontrivial complexity and has resulted in several bugs in the past, it is better to just drop it.
* h264_parser: restore a comment lost in 0268a54Anton Khirnov2015-01-27
|
* h264: do not reset the ref lists in flush_change()Anton Khirnov2015-01-27
| | | | | They are always constructed anew when needed, so there is no need to reset them explicitly.
* h264: move parser-only variables to their own contextAnton Khirnov2015-01-27
|
* error_resilience: move the MECmpContext initialization into ER codeAnton Khirnov2015-01-27
| | | | | | | Currently, it needs to be initialized by the ER caller (which is currently either a mpegvideo decoder or h264dec). However, since none of those decoders use MECmpContext for anything except ER, it makes more sense to handle it purely inside ER.
* Add DXVA2 HEVC HWAccelHendrik Leppkes2015-01-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: reindent after previous commitHendrik Leppkes2015-01-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: add hwaccel hooksHendrik Leppkes2015-01-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: store the short term rps flag and size in the contextHendrik Leppkes2015-01-27
| | | | | | For future use by hardware accelerators. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: store the escaped/raw bitstream in HEVCNALHendrik Leppkes2015-01-27
| | | | | | Hardware Accelerators require access to the escaped bitstream. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: pass the full HEVCNAL struct to decode_nal_unitHendrik Leppkes2015-01-27
| | | | | | | This enables decode_nal_unit to access additional fields added in subsequent commits. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: unref the current frame if frame_start() failsAnton Khirnov2015-01-27
| | | | Prevents DPB from filling up with damaged input.
* hevc: clear unused refs on failureAnton Khirnov2015-01-27
|
* h264: simplify code in flush_dpb()Anton Khirnov2015-01-27
| | | | | There is no point in clearing reference explicitly, since that will be done as a part of ff_h264_unref_picture() right below.
* mpegvideo_enc: Draw edges on input for non-multiple of 16 resolutionsMichael Niedermayer2015-01-23
| | | | | | | | | | | | This improves motion estimation and avoids using uninitialized data for resolutions that aren't a multiple of 16. Prior to d2a25c40, the edges used to be initialized so that encoding was deterministic, but after that commit it started using uninitialized data (for non multiple of 16 resolutions). CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* libx265: Pass through user-set frame typeDerek Buitenhuis2015-01-22
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libopenh264enc: Move a declaration of a variable into an ifdefMartin Storsjö2015-01-20
| | | | | | | This avoids needing an attribute for silencing warnings about it being unused. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopenh264enc: Remove a workaround for silencing warnings about unused ↵Martin Storsjö2015-01-20
| | | | | | | | | | variables in the OpenH264 header The 1.3 release branch of OpenH264 (as well as the master branch) have been updated so that GCC no longer warns about this variable as being unused. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264_cabac: Break infinite loopsMichael Niedermayer2015-01-15
| | | | | | | | | | | This fixes out of array reads and/or infinite loops. 30 is the maximum number of bits that can be read into coeff_abs below. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Martin Storsjö <martin@martin.st>
* opus_parser: drop unused variableVittorio Giovara2015-01-15
|