summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* | lavc: remove unused headersPaul B Mahol2012-01-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add and use av_fast_padded_malloc.Reimar Döffinger2012-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The same as av_fast_malloc but uses av_mallocz and keeps extra always-0 padding. This does not mean the memory will be 0-initialized after each call, but actually only after each growth of the buffer. However this makes sure that a) all data anywhere in the buffer is always initialized b) the padding is always 0 c) the user does not have to bother with adding the padding themselves Fixes another valgrind warning about use of uninitialized data, this time with fate-vsynth1-jpegls. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lavc: Check CODEC_CAP_VARIABLE_FRAME_SIZE && !frameMichael Niedermayer2012-01-17
| | | | | | | | | | | | | | | | This combination is quite odd and almost certainly a bug if it happens. Reviewed-by: Justin Ruggles <justin.ruggles@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: use av_freep() for freeing extended_dataMichael Niedermayer2012-01-17
| | | | | | | | | | | | | | This is safer Reviewed-by: Justin Ruggles <justin.ruggles@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/mpegvideo_enc: improve log message in case of too large GOPStefano Sabatini2012-01-17
| | | | | | | | | | Change log level from ERROR to WARNING and provide more specific information in the message itself.
* | libopenjpegenc: Remove two redundant function parameters.Michael Bradshaw2012-01-17
| |
* | libopenjpegenc: Simplify gray encoding.Michael Bradshaw2012-01-17
| |
* | libopenjpegenc: Add error messages.Michael Bradshaw2012-01-17
| |
* | libopenjpegenc: Rename four conversion functions.Michael Bradshaw2012-01-17
| |
* | Use correct register size.Reimar Döffinger2012-01-17
| | | | | | | | | | | | Fixes compilation with NASM. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rv34: add NEON rv34_idct_add rv34: 1-pass inter MB reconstruction add SMJPEG muxer avformat: split out common SMJPEG code pictordec: Use bytestream2 functions avconv: use avcodec_encode_audio2() pcmenc: use AVCodec.encode2() avcodec: bump minor version and add APIChanges for the new audio encoding API avcodec: Add avcodec_encode_audio2() as replacement for avcodec_encode_audio() avcodec: add a public function, avcodec_fill_audio_frame(). rv34: Intra 16x16 handling rv34: Inter/intra MB code split Conflicts: Changelog libavcodec/avcodec.h libavcodec/pictordec.c libavcodec/utils.c libavcodec/version.h libavcodec/x86/rv34dsp.asm libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rv34: add NEON rv34_idct_addJanne Grunau2012-01-16
| | | | | | | | | | | | | | Overall almost 4% faster, idct_add down from 350 to 85 cycles, idct_dc_add down from 83 to 30 cycles. squash: rv34 idct rearrange partial register loads
| * rv34: 1-pass inter MB reconstructionChristophe GISQUET2012-01-16
| | | | | | | | Implement 1-pass inverse transform and reconstruction for inter blocks.
| * pictordec: Use bytestream2 functionsLaurentiu Ion2012-01-15
| | | | | | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * pcmenc: use AVCodec.encode2()Justin Ruggles2012-01-15
| |
| * avcodec: bump minor version and add APIChanges for the new audio encoding APIJustin Ruggles2012-01-15
| |
| * avcodec: Add avcodec_encode_audio2() as replacement for avcodec_encode_audio()Justin Ruggles2012-01-15
| | | | | | | | | | | | | | | | This allows audio encoders to optionally take an AVFrame as input and write encoded output to an AVPacket. This also adds AVCodec.encode2() which will also be usable by video and subtitle encoders once support is implemented in the public functions.
| * avcodec: add a public function, avcodec_fill_audio_frame().Justin Ruggles2012-01-15
| | | | | | | | This is a convenience function for the user to fill audio AVFrame information.
| * rv34: Intra 16x16 handlingChristophe GISQUET2012-01-16
| | | | | | | | | | | | | | Extract processing of intra 16x16 blocks from intra macroblock processing. Also implement a function performing inverse transform and block reconstruction for DC-only blocks in 1 pass instead of 2.
| * rv34: Inter/intra MB code splitChristophe GISQUET2012-01-16
| | | | | | | | | | | | | | | | Split inter/intra macroblock handling code. This will allow further optimizations such as performing inverse transform and block reconstruction in a single pass as well as specialize code. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* | dpxenc: Dont store lavc indent when bitexact is set.Michael Niedermayer2012-01-17
| | | | | | | | | | | | This avoids fate breakage from bumping version. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Support 64bit pam decoding.Carl Eugen Hoyos2012-01-17
| |
* | Support gray8a pam decoding.Carl Eugen Hoyos2012-01-17
| |
* | Fix pix_fmt_info for yuva420.Carl Eugen Hoyos2012-01-17
| | | | | | | | | | | | | | This allows correct output pix_fmt auto-selection if the input pix_fmt is yuva420. Fixes ticket #290.
* | fix av_dlog call with non-AVClass structMaksym Veremeyenko2012-01-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Rework VP8 decoder frame skipping code.Reimar Döffinger2012-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reworks the frame skipping code such that the reference buffers are still updated according to the header. However it also ensures that the current frame will not end up in any reference buffer. Also fixes a hang with frame-multithreading, probably because get_buffer was already called and would have reset the progress, however the frame could remain in framep due to the missing update (or it could be assigned to next_framep and a skip_frame skip would then write it into framep - there might be even more failure modes). Sample might become available at samples/nsv/vp8.nsv Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Support rgb64 dpx encoding.Carl Eugen Hoyos2012-01-16
| |
* | vorbisdec: Check that the x values of floor1 are unique.Michael Niedermayer2012-01-16
| | | | | | | | | | | | | | This is required by the spec and fixes video-1frag.ogg.48.ogg. (FPE) Based on the debuging work of Oana Stratulat and ubitux. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fate: split ADPCM and DPCM test references into separate files. mov, mxfdec: Employ more meaningful return values. lavc: Relax API strictness in avcodec_decode_audio3 with a custom get_buffer() wavpack: fix clipping for 32-bit lossy mode vb: Use bytestream2 functions Conflicts: libavcodec/utils.c libavcodec/vb.c libavformat/mxfdec.c tests/fate/dpcm.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: Relax API strictness in avcodec_decode_audio3 with a custom get_buffer()Reinhard Tartler2012-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | Do not fail audio decoding with avcodec_decode_audio3 if user has set a custom get_buffer. Strictly speaking, this was never allowed by the API, but it seems that some software packages did so anyways. In order to unbreak applications (cf. http://bugs.debian.org/655890), this change clarifies the API and overrides the custom get_buffer() with the defaults. This change is inspired by a similar commit (c3846e3ebab610be691adb8b40d376dc2f675dc4) in FFmpeg. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
| * wavpack: fix clipping for 32-bit lossy modeKostya Shishkov2012-01-15
| | | | | | | | | | | | Reference decoder clips data before shifting it to final range and also forces 32-bit lossy mode to be actually 24-bit lossy mode in order to be able to perform proper clipping.
| * vb: Use bytestream2 functionsLaurentiu Ion2012-01-14
| | | | | | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* | Support rgb48 and rgba64 png encoding.Carl Eugen Hoyos2012-01-15
| |
* | Simplify RGB32 png encoding.Carl Eugen Hoyos2012-01-15
| |
* | Support gray16 png encoding.Carl Eugen Hoyos2012-01-15
| |
* | Support gray8a png encoding.Carl Eugen Hoyos2012-01-15
| |
* | iff: support masking plane featurePeter Ross2012-01-15
| | | | | | | | | | | | | | | | Fixes ticket 705. Reported-by: ami-stuff Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix uninitialized reads for fate-vsynth1-asv2 test.Reimar Döffinger2012-01-15
| | | | | | | | | | | | | | | | This is not a real error and memsetting always even when the size did not change is overkill, but it still should be an acceptable trade-off. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | imgconvert: add PIX_FMT_GRAY8A to pix_fmt_infoMichael Niedermayer2012-01-15
| | | | | | | | | | | | Fixes selecting gray8a for PAM Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: sgidec: Use bytestream2 functions to prevent buffer overreads. cosmetics: Move static and inline attributes to more standard places. configure: provide libavfilter/version.h header to get_version() swscale: change yuv2yuvX code to use cpuflag(). libx264: Don't leave max_b_frames as -1 if the user didn't set it FATE: convert output to rgba for the targa tests which currently output pal8 fate: add missing reference files for targa tests in 9c2f9b0e2 FATE: enable the 2 remaining targa conformance suite tests targa: add support for rgb555 palette FATE: fix targa tests on big-endian systems Conflicts: libavcodec/sgidec.c libavcodec/targa.c libswscale/x86/output.asm tests/fate/image.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sgidec: Use bytestream2 functions to prevent buffer overreads.Aneesh Dogra2012-01-14
| | | | | | | | | | | | The patch also adds several bytestream macros to deal with native endian. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * cosmetics: Move static and inline attributes to more standard places.Diego Biurrun2012-01-14
| | | | | | | | Fixes several "‘static’ is not at beginning of declaration" warnings.
| * libx264: Don't leave max_b_frames as -1 if the user didn't set itMartin Storsjö2012-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | max_b_frames is initialized to -1 for libx264, to allow distinguishing between an explicit user set 0 and a default not touched 0 (see bb73cda2). If max_b_frames is left as -1, this affects dts generation (where expressions like max_b_frames != 0 are used), so make sure it is left at the default 0 after the libx264 init function returns. This avoids unnecessarily producing dts != pts when using profile=baseline. Signed-off-by: Martin Storsjö <martin@martin.st>
| * targa: add support for rgb555 paletteJustin Ruggles2012-01-13
| |
* | ljpegdec: reset restart interval for each plane of a non interleaved file.Michael Niedermayer2012-01-15
| | | | | | | | | | | | Fixes Ticket907 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | thp: Fix handling of restart intervalMichael Niedermayer2012-01-15
| | | | | | | | | | | | Fixes Ticket903 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix compilation without HAVE_AVX, HAVE_YASM etc.Reimar Döffinger2012-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | At the very least this should fix warnings about unused static functions if one or more of these is not defined. However even compilation might be broken if the compiler does not optimize the function away completely. This actually happens in case of the AVX function, since the function pointer is used in an assignment that is not under an #if and thus probably only optimized away after the function was already marked as used. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | timecode: fix typoJean First2012-01-14
| | | | | | | | | | Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg12dec: BW10 supportMichael Niedermayer2012-01-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpeg12dec: check uppercased codec_tag.Michael Niedermayer2012-01-14
| | | | | | | | | | | | | | We do this for all other codec_tag checks in mpegvideo*/h26* doing it here too makes the code more consistent. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>