summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* dsputil: Split off quarterpel bits into their own contextDiego Biurrun2014-05-2927-1266/+1402
|
* dsputil: Move Bink-specific add_pixels8 to binkdspDiego Biurrun2014-05-295-24/+24
|
* dsputil: Move APE-specific bits into apedspDiego Biurrun2014-05-2917-267/+468
|
* dsputil: Move mspel_pixels_tab to the only place it is usedDiego Biurrun2014-05-295-119/+135
|
* dsputil: Move ff_alternate_*_scan tables to mpegvideoDiego Biurrun2014-05-294-26/+26
|
* dsputil: Move SVQ1 encoding specific bits into svq1encDiego Biurrun2014-05-2910-134/+252
|
* svq1enc: Rename SVQ1Context to SVQ1EncContextDiego Biurrun2014-05-291-10/+10
| | | | This allows making it visible without name clashes.
* ppc: Move vec_unaligned_load macro to util_altivecDiego Biurrun2014-05-281-3/+1
| | | | This allows reusing it from multiple files.
* flac: make avpriv_flac_parse_block_header() inlineAnton Khirnov2014-05-283-16/+27
| | | | | | This avoids all the ABI troubles associated with avpriv_. Since this function is very small and does not depend on any tables, making it inline should have no adverse effects.
* flacdec: do not overwrite a channel layout set by the callerAnton Khirnov2014-05-281-1/+4
| | | | | The channel layout mask for non-standard layouts is typically stored at the container level (as a vorbiscomment tag) for FLAC.
* dsputil: Split off HuffYUV encoding bits into their own contextDiego Biurrun2014-05-2713-163/+274
| | | | Also shorten HuffYUV context member names to avoid clutter.
* dsputil: Split off HuffYUV decoding bits into their own contextDiego Biurrun2014-05-2722-375/+574
| | | | Also shorten HuffYUV context member names to avoid clutter.
* h264_picture: Remove pointless dsputil.h #includeDiego Biurrun2014-05-271-1/+0
|
* on2avc: Remove pointless dsputil.h #includeDiego Biurrun2014-05-271-1/+0
|
* avcodec: bump version after rotation apiVittorio Giovara2014-05-231-1/+1
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* dca: Convert dca_dmixtable to integersNiels Möller2014-05-232-41/+42
| | | | | | | | Also include zero in the table, eliminating a special case in the decoder. Signed-off-by: Niels Möller <nisse@southpole.se> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* check: add libavcodec/vda_internal.h to SKIPHEADERS-$(CONFIG_VDA)Janne Grunau2014-05-201-1/+1
|
* Add transformation matrix API.Vittorio Giovara2014-05-192-0/+18
| | | | | | | | | | | Add AV_PKT_DATA_DISPLAYMATRIX and AV_FRAME_DATA_DISPLAYMATRIX as stream and frame side data (respectively) to describe a display transformation matrix for linear transformation operations on the decoded video. Add functions to easily extract a rotation angle from a matrix and conversely to setup a matrix for a given rotation angle. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* pthread_frame: simplify the code by using new AVPacket APIAnton Khirnov2014-05-191-14/+3
| | | | This also handles side data properly.
* avpacket: fix copying side data in av_packet_copy_props()Anton Khirnov2014-05-191-1/+0
| | | | | | | | Side data count is incremented by by calling av_packet_new_side_data() in the following loop, setting it explicitly results in the resulting value being twice what it should be. CC: libav-stable@libav.org
* hevc/intra_pred: simplify neighboring sample derivationAnton Khirnov2014-05-191-9/+7
|
* hevc/intra_pred: drop unnecessary conditions in loopsMickaël Raulet2014-05-191-19/+10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc/intra_pred: optimize EXTEND_()*Mickaël Raulet2014-05-191-37/+28
| | | | | | Process 4 pixels at once. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: templatize intra_predAnton Khirnov2014-05-194-9/+25
|
* hevc: templatize pred_planarMickaël Raulet2014-05-191-42/+18
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: add avcodec_free_context().Anton Khirnov2014-05-183-4/+24
| | | | | | | | | | | Right now, the caller has to manually manage some allocated AVCodecContext fields, like extradata or subtitle_header. This is fragile and prone to leaks, especially if we want to add more such fields in the future. The only reason for this behaviour is so that the AVStream codec context can be reused for decoding. Such reuse is discouraged anyway, so this commit is the first step to deprecating it.
* lavc: remove the locking code in avcodec_close()Anton Khirnov2014-05-181-18/+0
| | | | | This function should not modify any global state, so there should be no reason for any locking.
* aarch64: opus NEON iMDCT and FFTJanne Grunau2014-05-158-39/+807
| | | | | Opus celt decoding 11% faster and the iMDCT over 2.5 times faster on Apple's A7.
* lavc: properly handle subtitle_header in avcodec_copy_context()Anton Khirnov2014-05-151-0/+3
|
* lavc: preserve the original private data in avcodec_copy_context()Anton Khirnov2014-05-151-2/+6
| | | | | If a non-NULL codec was passed to avcodec_alloc_context3(), private data will be already allocated in dest.
* lavc: add a native Opus decoder.Anton Khirnov2014-05-1510-2/+5699
| | | | | | | | | | | | | Initial implementation by Andrew D'Addesio <modchipv12@gmail.com> during GSoC 2012. Completion by Anton Khirnov <anton@khirnov.net>, sponsored by the Mozilla Corporation. Further contributions by: Christophe Gisquet <christophe.gisquet@gmail.com> Janne Grunau <janne-libav@jannau.net> Luca Barbato <lu_zero@gentoo.org>
* build: handle library dependencies in configureJanne Grunau2014-05-131-1/+0
| | | | | Instead of setting FFLIBS in each library Makefile configure exports FFLIBS-$library in config.mak.
* aarch64: assembler in clang-3.4 ignores the division by twoJanne Grunau2014-05-131-1/+1
| | | | Values are positive powers of two, so just replace it with right shift.
* lavc: Add new VDA hwaccelAnton Khirnov2014-05-117-7/+412
| | | | | | | | | It leverages the new hwaccel 1.2 features: - get_buffer2 is never called - the internal context is automatically initialized/deinitialized Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vda: use hwaccel private data for internal bitstream bufferAnton Khirnov2014-05-112-18/+38
|
* lavc: Add hwaccel private data and init/uninit callbacksAnton Khirnov2014-05-114-4/+59
|
* hwaccel: Support specific frame allocatorsLuca Barbato2014-05-112-0/+12
| | | | It would reduce the boilerplate code users have to write.
* hwaccel: Rename priv_data_size to frame_priv_data_sizeAnton Khirnov2014-05-1110-17/+17
| | | | This describes more accurately what this field is for.
* lavc: document which parts of AVHWAccel are private.Anton Khirnov2014-05-111-0/+7
|
* lavc: set AVCodecContext.hwaccel in ff_get_format()Anton Khirnov2014-05-116-30/+33
| | | | This way each decoder does not have to do the same thing manually.
* lavc: Add an internal wrapper around get_format()Anton Khirnov2014-05-117-10/+22
| | | | It will be useful in the following commits.
* pcm-dvd: Fix 20bit decodingnu7742014-05-091-4/+4
| | | | | | | | 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-052-22/+42
| | | | | | | | | 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-051-0/+18
| | | | | | | | | | | | | | | 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-031-2/+2
| | | | | | Sample-Id: 00001723-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* aac: K&R formatting cosmeticsLuca Barbato2014-05-011-5/+5
|
* flv: K&R formatting cosmeticsLuca Barbato2014-05-011-21/+20
|
* lavc: deprecate AVCodecContext.codec_nameAnton Khirnov2014-05-012-0/+9
| | | | It is undocumented and has no real use.
* lavc: do not use AVCodecContext.codec_name in avcodec_string()Anton Khirnov2014-05-011-2/+0
| | | | That field will be deprecated.
* lavc: move CODEC_FLAG_MV0 to mpegvideoAnton Khirnov2014-05-017-5/+27
|
OpenPOWER on IntegriCloud