summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* AVFrame: add side data.Anton Khirnov2013-03-08
|
* Move AVFrame from lavc to lavu.Anton Khirnov2013-03-08
| | | | Add AVBuffer-based reference counting API to it.
* lavc: move AVFrame.hwaccel_picture_private to Picture.Anton Khirnov2013-03-08
| | | | | This field is private and should not be present in a public struct. It is only used in DXVA with mpegvideo-based decoders currently.
* pthread: avoid copying input packets when possible.Anton Khirnov2013-03-08
|
* avpacket: use AVBuffer to allow refcounting the packets.Anton Khirnov2013-03-08
| | | | | | This will allow us to avoid copying the packets in many cases. This breaks ABI.
* AVBuffer: add a new API for buffer poolsAnton Khirnov2013-03-08
|
* lavu: add a new API for reference-counted data buffers.Anton Khirnov2013-03-08
|
* lavu: add support for atomic operations.Ronald S. Bultje2013-03-08
| | | | | | | | | | These could be used for reference counting, or for keeping track of decoding progress in references in multithreaded decoders. Support is provided by gcc/msvc/suncc intrinsics, with a fallback using pthread mutexes. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mp3dec: Fix VBR bit rate parsingAlexander Kojevnikov2013-03-08
| | | | | | | | | | | | When parsing the Xing/Info tag, don't set the bit rate if it's an Info tag. When parsing the stream, don't override the bit rate if it's already set, otherwise calculate the mean bit rate from parsed frames. This way, the bit rate will be set correctly both for CBR and VBR streams. CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avstring: Fix isxdigit to not accept non-hex charactersMartin Storsjö2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add missing videodsp dependencies to some decodersDiego Biurrun2013-03-07
|
* build: cosmetics: Group hw accelerator Makefile entries togetherDiego Biurrun2013-03-07
|
* configure: Add missing h264chroma dependencies to vp5, vp6Diego Biurrun2013-03-07
|
* Add missing error_resilience includes to files that use ERDiego Biurrun2013-03-07
|
* mpegvideo: Conditionally build error_resilience bitsMartin Storsjö2013-03-07
| | | | | This breaks the dependency of mpegvideo on error_resilience allowing compilation of components that depend on the former w/o the latter.
* build: Fix error_resilience code dependenciesDiego Biurrun2013-03-07
|
* Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-07
| | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
* avstring: Add locale independent versions of some ctype.h functionsReimar Döffinger2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Deprecate the deinterlace functions in libavcodecRonald S. Bultje2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Integrate draw_horiz_band into ff_h264_draw_horiz_bandRonald S. Bultje2013-03-07
| | | | | | | | | | This makes the decoder independent of mpegvideo. This copy of the draw_horiz_band code is simplified compared to the "generic" mpegvideo one which still has a number of special cases for different codecs. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Prettify printing of codec tags containing non alphanumeric charactersStefano Sabatini2013-03-07
| | | | | | | | | | | | | Make av_get_codec_tag_string() show codec tag string characters in a more intelligible ways. For example the ascii char "@" is used as a number, so should be displayed like "[64]" rather than as a printable character. Apart alphanumeric chars, only the characters ' ' and '.' are used literally in codec tags, all the other characters represent numbers. This also avoids relying on locale-dependent character class functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Rename the jpeg_420 pixfmt list to match the common naming structureMartin Storsjö2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: Make sure the encoder exists before inspecting supported_listMartin Storsjö2013-03-06
| | | | | | | This fixes crashes when there is no encoder for the default codec of selected format. Signed-off-by: Martin Storsjö <martin@martin.st>
* cavs: Add a dependency on h264chromaCarl Eugen Hoyos2013-03-06
| | | | | | This fixes standalone building of this decoder. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Split out ff_hwaccel_pixfmt_list_420[] over individual codecsRonald S. Bultje2013-03-06
| | | | | | | | | Not all hwaccels implement all codecs, so using one single list for multiple such codecs means some codecs will be represented in the list, even though they don't actually handle that codec. Copying specific lists in each codec fixes that. Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec/internal: Fix #if DECODE_AUDIO / ENCODE_AUDIO name mismatchDiego Biurrun2013-03-06
|
* shorten: use the unsigned type where neededLuca Barbato2013-03-06
| | | | | | get_uint returns an unsigned value, use an unsigned to store blocksize to make sure the comparison logic is correct and report correctly the error for the channel count not supported.
* shorten: report meaningful errorsLuca Barbato2013-03-06
|
* shorten: K&R formatting cosmeticsLuca Barbato2013-03-06
|
* shorten: set invalid channels count to 0Michael Niedermayer2013-03-06
| | | | | | | | Prevent the loop shorten_decode_close from writing and freeing out of the array boundary. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vorbisdec: check memory allocationsLuca Barbato2013-03-06
|
* h264: check for luma and chroma bit dept being equalLuca Barbato2013-03-05
| | | | | | | | | | The decoder assumes a single bit depth for all the planes while the specification allows different bit depths for luma and chroma. Avoid the possible problems described in CVE-2013-2277 CC: libav-stable@libav.org
* hwaccel: consistent name prefixes for start_frame/end_frame/decode_sliceDiego Biurrun2013-03-05
| | | | | Some hwaccels use name prefixes, some do not, others only use them for some codecs. Add prefixes everywhere for consistency.
* configure: Use check_builtin() where appropriateDiego Biurrun2013-03-05
|
* configure: Add check_builtin convenience functionDiego Biurrun2013-03-05
|
* configure: Add sanitize_var_name convenience functionDiego Biurrun2013-03-05
| | | | | This is useful in all the places where special characters in variable names are manually translated to underscores.
* configure: Fix silly typo in logging command of check_struct()Diego Biurrun2013-03-05
|
* fate: remove last incomplete frame from mpeg2-field-enc testJanne Grunau2013-03-04
|
* rtpdec: Initialize some variables to silence compiler warningsMartin Storsjö2013-03-02
| | | | | | | | The warnings are false positives, older gcc versions (such as 4.5) think the variables can be used uninitialized while they in practice can't, while newer (4.6) gets it right. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: set ref_count to 0 for intra slices.Anton Khirnov2013-03-02
| | | | CC:libav-stable@libav.org
* h264: on reference overflow, reset the reference count to 0, not 1.Anton Khirnov2013-03-02
| | | | | | | Since decode_slice_header() returns before the reference lists are constructed, there are zero valid references. CC:libav-stable@libav.org
* h264: do not copy ref count/ref2frm when updating per-frame contextAnton Khirnov2013-03-02
| | | | They are filled in decode_slice_header() anyway.
* flvdec: Check the return value of a mallocMartin Storsjö2013-03-02
| | | | | | | | | | The callers of this function can't report errors sanely. If this one malloc fails, don't write the extradata byte, make sure we try to malloc it the next time we're called instead, and make sure we still consume the input data byte. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: Don't read the VP6 header byte when setting codec type based on metadataMartin Storsjö2013-03-02
| | | | | | | | | This header byte is only present when actually reading a VP6 frame, not when reading the codec type field in the metadata. This potential bug has been present since 5b54a90c. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* lls: Do not return from void functionsDiego Biurrun2013-03-01
|
* lls: #ifndef --> #if in FF_API_ version guardDiego Biurrun2013-03-01
|
* Revert "Move H264/QPEL specific asm from dsputil.asm to h264_qpel_*.asm."Diego Biurrun2013-02-28
| | | | | | | This reverts commit f90ff772e7e35b4923c2de429d1fab9f2569b568. The code should be put back in h264_qpel_8bit.asm, but unfortunately it is unconditionally used from dsputil_mmx.c since 71155d7.
* lls: mark max_order as unsigned shortLuca Barbato2013-02-28
| | | | | | The value is within 0 and 32. Remove an `array subscript is below array bounds` warning.
* lls: move to the private namespaceLuca Barbato2013-02-28
| | | | The functions are private.
* lls: K&R formatting cosmeticsLuca Barbato2013-02-28
|