summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* libx265: Actually use X265_API_IMPORTSDerek Buitenhuis2014-06-12
| | | | | | It obvously needs to be above the include statement. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Remove some unnecessary CONFIG_FOO_COMPONENT ifdefsDiego Biurrun2014-06-12
| | | | The files are only ever compiled if that condition is true.
* libx264: Support bitrate reconfigurationLuca Barbato2014-06-11
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h263enc: keep block_last_index always valid during advanced intra codingJanne Grunau2014-06-11
| | | | | Prevents a triggered assert during fate-vsynth{1,2}-rv20 in dct_unquantize_h263_intra_c().
* mpegvideo: synchronize AVFrame pointers in ERContext fullyJanne Grunau2014-06-11
| | | | | | | | Since error resilience uses AVFrame pointers instead of references it has to copy NULL pointers too. After a codec flush the last/next frame pointers in MpegEncContext are NULL and the old pointers remaining in ERContext are invalid. Fixes a crash in vlc for android thumbnailer. Reported and debugged by Adrien Maglo <magsoft@videolan.org>.
* mpegvideoenc: check color_rangeVittorio Giovara2014-06-10
| | | | Rework the comparison into something simpler to understand.
* ppc: Consistently use convenience macro for runtime CPU detectionDiego Biurrun2014-06-10
|
* ppc: Fix runtime CPU detection for apedsp, huffyuvdsp, svq1encDiego Biurrun2014-06-10
|
* x86: h264: Don't keep data in the redzone across function calls on 64 bit unixMartin Storsjö2014-06-10
| | | | | | | | | | | | | | | | | | We know that the called function (ff_chroma_inter_body_mmxext) doesn't touch the redzone, and thus will be kept intact - thus, this doesn't fix any bug per se. However, valgrind's memcheck tool intentionally assumes that the redzone is clobbered on every function call and function return (see a long comment in valgrind/memcheck/mc_main.c). This avoids false positives in that tool, at the cost of an extra stack pointer adjustment. The other alternative would be a valgrind suppression for this issue, but that's an extra burden for everybody that wants to run libavcodec within valgrind. Signed-off-by: Martin Storsjö <martin@martin.st>
* adpcm: Write the proper predictor in trellis mode in IMA QTMartin Storsjö2014-06-10
| | | | | | | | | | | | | | | | | The actual predictor value, set by the trellis code, never was written back into the variable that was written into the block header. This was accidentally removed in b304244b. This significantly improves the audio quality of the trellis case, which was plain broken since b304244b. Encoding IMA QT with trellis still actually gives a slightly worse quality than without trellis, since the trellis encoder doesn't use the exact same way of rounding as in adpcm_ima_qt_compress_sample and adpcm_ima_qt_expand_nibble. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* adpcm: Avoid reading out of bounds in the IMA QT trellis encoderMartin Storsjö2014-06-06
| | | | | | | | | | | This was broken in 095be4fb - samples+ch (for the previous non-planar case) equals &samples_p[ch][0]. The confusion probably stemmed from the IMA WAV case where it originally was &samples[avctx->channels + ch], which was correctly changed into &samples_p[ch][1]. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec options: add enum option for color_rangeMarc-Antoine Arnaud2014-06-06
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avcodec options: add enum option for colorspaceMarc-Antoine Arnaud2014-06-06
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avcodec options: add enum option for color_trcMarc-Antoine Arnaud2014-06-06
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avcodec options: add enum option for color_primariesMarc-Antoine Arnaud2014-06-06
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* mpeg2: add sequence display extension informationMarc-Antoine Arnaud2014-06-06
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libfdk-aac: Relicense the library wrappers to the ISC licenseMartin Storsjö2014-06-06
| | | | | | | | | | | This reduces the number of different licenses used within libav, and is preferrable since it has less ambiguous wordings than the BSD license with respect to the duties of the user of the code. Fraunhofer have now indicated that they're allowed to contribute code under this license as well. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: check if AS supports .dnJanne Grunau2014-06-03
| | | | | | | | | | | | Move the GNU as check before the arch specific asm checks since the .dn check requires gas compatible assembler. Disable the VC-1 motion compensation NEON asm which is the only part using that directive. The integrated assembler in the upcoming clang 3.5 does not support .dn/.qn without plans to change that. Too much effort to implement it while it is rarely used. http://llvm.org/bugs/show_bug.cgi?id=18199.
* Remove all Blackfin architecture optimizationsDiego Biurrun2014-06-02
| | | | | | Blackfin is a painful platform to work with, no test machines are available and the range of multimedia applications is dubious. Thus it only represents a maintenance burden.
* bink: Rename BinkDSPContext member so as not to clash with BlockDSPContextDiego Biurrun2014-06-02
|
* Decode both parts of Indeo4 IP framesDirk Ausserhaus2014-06-01
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* Move Indeo4 frametypes into common header.Dirk Ausserhaus2014-06-01
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* flacenc: send final extradata in packet side dataAnton Khirnov2014-06-01
|
* lavc: add an option to enable side data-only packets during encodingAnton Khirnov2014-06-01
| | | | | | Some encoders (e.g. flac) need to send side data when there is no more data to be output. This enables them to output a packet with no data in it, only side data.
* libavcodec: set AVFrame colorspace fields on decodingwm42014-06-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavu: add all color-related enums to AVFramewm42014-06-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ppc: Fix compilation for ppc64le (ELFv2)Thierry Fauck2014-05-30
| | | | | CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Split off quarterpel bits into their own contextDiego Biurrun2014-05-29
|
* dsputil: Move Bink-specific add_pixels8 to binkdspDiego Biurrun2014-05-29
|
* dsputil: Move APE-specific bits into apedspDiego Biurrun2014-05-29
|
* dsputil: Move mspel_pixels_tab to the only place it is usedDiego Biurrun2014-05-29
|
* dsputil: Move ff_alternate_*_scan tables to mpegvideoDiego Biurrun2014-05-29
|
* dsputil: Move SVQ1 encoding specific bits into svq1encDiego Biurrun2014-05-29
|
* svq1enc: Rename SVQ1Context to SVQ1EncContextDiego Biurrun2014-05-29
| | | | This allows making it visible without name clashes.
* ppc: Move vec_unaligned_load macro to util_altivecDiego Biurrun2014-05-28
| | | | This allows reusing it from multiple files.
* flac: make avpriv_flac_parse_block_header() inlineAnton Khirnov2014-05-28
| | | | | | 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-28
| | | | | 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-27
| | | | Also shorten HuffYUV context member names to avoid clutter.
* dsputil: Split off HuffYUV decoding bits into their own contextDiego Biurrun2014-05-27
| | | | Also shorten HuffYUV context member names to avoid clutter.
* h264_picture: Remove pointless dsputil.h #includeDiego Biurrun2014-05-27
|
* on2avc: Remove pointless dsputil.h #includeDiego Biurrun2014-05-27
|
* avcodec: bump version after rotation apiVittorio Giovara2014-05-23
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* dca: Convert dca_dmixtable to integersNiels Möller2014-05-23
| | | | | | | | 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-20
|
* Add transformation matrix API.Vittorio Giovara2014-05-19
| | | | | | | | | | | 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-19
| | | | This also handles side data properly.
* avpacket: fix copying side data in av_packet_copy_props()Anton Khirnov2014-05-19
| | | | | | | | 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-19
|
* hevc/intra_pred: drop unnecessary conditions in loopsMickaël Raulet2014-05-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc/intra_pred: optimize EXTEND_()*Mickaël Raulet2014-05-19
| | | | | | Process 4 pixels at once. Signed-off-by: Anton Khirnov <anton@khirnov.net>