summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: FATE: add tests for targa ARM: fix Thumb-mode simple_idct_arm ARM: 4-byte align start of all asm functions rgb2rgb: rgb12to15() swscale-test: fix stack overread. swscale: fix invalid conversions and memory problems. cabac: split cabac.h into declarations and function definitions cabac: Mark ff_h264_mps_state array as static, it is only used within cabac.c. cabac: Remove ff_h264_lps_state array. Conflicts: libswscale/rgb2rgb.h libswscale/swscale_unscaled.c tests/fate/image.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ARM: fix Thumb-mode simple_idct_armMans Rullgard2012-01-13
| | | | | | | | | | | | | | | | The alignment directive must obviously precede the label. This was never noticed in ARM mode since the location is already aligned there. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * ARM: 4-byte align start of all asm functionsMans Rullgard2012-01-13
| | | | | | | | | | | | | | | | | | | | | | Due to apprent bugs in the GNU assembler and/or linker, relocations can be incorrectly processed if the alignment of a Thumb instruction is changed in the output file compared to the input object. This fixes crashes in h264 decoding with Thumb enabled. No effect in ARM mode since everything is 4-byte aligned there. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * cabac: split cabac.h into declarations and function definitionsDiego Biurrun2012-01-12
| | | | | | | | | | | | | | | | | | | | | | This fixes standalone compilation of some decoders with --disable-optimizations. cabac.h defines some inline functions that use symbols from cabac.c. Without optimizations these inline functions are not eliminated and linking fails with references to non-existing symbols. Splitting the inline functions off into their own header and only #including it in the places where the inline functions are used allows #including cabac.h from anywhere without ill effects.
| * cabac: Mark ff_h264_mps_state array as static, it is only used within cabac.c.Diego Biurrun2012-01-12
| |
| * cabac: Remove ff_h264_lps_state array.Diego Biurrun2012-01-12
| | | | | | | | It was only ever used in the cabac test program, but never initialized.
* | RGBA64 encoding with libopenjpeg.Carl Eugen Hoyos2012-01-14
| | | | | | | | Reviewed-by: Michael Bradshaw
* | Gray16 encoding with libopenjpeg.Carl Eugen Hoyos2012-01-14
| | | | | | | | Reviewed-by: Michael Bradshaw
* | alacdec: support 32 bpsBaptiste Coudurier2012-01-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: Prevent opening of experimental codecs if strict_std_compliance > ↵Michael Niedermayer2012-01-14
| | | | | | | | | | | | | | | | | | | | FF_COMPLIANCE_EXPERIMENTAL. Some of these encoders may produce invalid bitstreams, which should not be done without the user knowing. Some of these decoders may be unfinished and may contain security issues. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Support reading 64bit dpx images.Carl Eugen Hoyos2012-01-14
| | | | | | | | Reviewed-by: Jean First
* | Support reading 64bit sgi images.Carl Eugen Hoyos2012-01-14
| | | | | | | | Reviewed-by: Jean First
* | Support 64bit pam encoding.Carl Eugen Hoyos2012-01-14
| |
* | Support 64bit tiff images.Carl Eugen Hoyos2012-01-14
| | | | | | | | | | | | | | Fixes a part of ticket #503. Reviewed-by: Paul B Mahol Reviewed-by: Jean First
* | Simplify 32bit RGB pam encoding.Carl Eugen Hoyos2012-01-14
| | | | | | | | Reviewed-by: Paul B Mahol
* | j2kdec: Fix memleak, ensure cleanup is called also on error.Reimar Döffinger2012-01-13
| | | | | | | | | | | | Fixes valgrind fate with fate-suite/r3d/4MB-sample.r3d. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | 8svx: fix memleak in iff-fibonacci fate test.Clément Bœsch2012-01-13
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (21 commits) utils: Check for extradata size overflows. ARM: rv34: fix asm syntax in dc transform functions avio: Fix the value of the deprecated URL_FLAG_NONBLOCK rv34: fix and optimise frame dependency checking rv34: NEON optimised dc only inverse transform avprobe: use avio_size() instead of deprecated AVFormatContext.file_size. ffmenc: remove references to deprecated AVFormatContext.timestamp. lavf: undeprecate read_seek(). avserver: remove code using deprecated CODEC_CAP_PARSE_ONLY. lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_I lavc: ifdef out parse_only AVOption nellymoserdec: SAMPLE_FMT -> AV_SAMPLE_FMT mpegvideo_enc: ifdef out/replace references to deprecated codec flags. riff: remove references to sonic codec ids indeo4: add some missing static and const qualifiers rv34: DC-only inverse transform avconv: use AVFrame.width/height/format instead of corresponding AVCodecContext fields lavfi: move version macros to a new installed header version.h vsrc_buffer: release the buffer on uninit. rgb2rgb: rgb12tobgr12() ... Conflicts: avconv.c doc/APIchanges ffprobe.c libavfilter/Makefile libavfilter/avfilter.h libswscale/rgb2rgb.c libswscale/rgb2rgb.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * utils: Check for extradata size overflows.Alex Converse2012-01-12
| |
| * ARM: rv34: fix asm syntax in dc transform functionsMans Rullgard2012-01-12
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * rv34: fix and optimise frame dependency checkingJanne Grunau2012-01-12
| | | | | | | | | | | | | | | | The sporadic threading errors during fate-rv30 were caused by calling ff_thread_await_progress with mb row -1 as argument. That returns immediately since progress is initialized to -1. Not yet computed motion vectors from the reference could be used for the first macroblocks.
| * rv34: NEON optimised dc only inverse transformJanne Grunau2012-01-12
| | | | | | | | | | 30-50% faster than the C implementation, 0.5% overall speedup on bourne.rmvb.
| * lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_IAnton Khirnov2012-01-12
| |
| * lavc: ifdef out parse_only AVOptionAnton Khirnov2012-01-12
| |
| * nellymoserdec: SAMPLE_FMT -> AV_SAMPLE_FMTAnton Khirnov2012-01-12
| |
| * mpegvideo_enc: ifdef out/replace references to deprecated codec flags.Anton Khirnov2012-01-12
| |
| * indeo4: add some missing static and const qualifiersKostya Shishkov2012-01-12
| | | | | | | | From the patch by Reimar Döffinger.
| * rv34: DC-only inverse transformChristophe GISQUET2012-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When decoding coefficients, detect whether the block is DC-only, and take advantage of this knowledge to perform DC-only inverse transform. This is achieved by: - first, changing the 108x4 element modulo_three_table into a 108 element table (kind of base4), and accessing each value using mask and shifts. - then, checking low bits for 0 (as they represent the presence of higher frequency coefficients) Also provide x86 SIMD code for the DC-only inverse transform. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * latmdec: Check AudioSpecificConfig length before decoding extradata.Alex Converse2012-01-11
| | | | | | | | | | | | | | This is different than a normal get_bits() over read because decode_audio_specific_config() creates its own GetBitContext. Fixes Bug 170.
* | Fix decoding of progressive jpgs with unusual pixel formats.Carl Eugen Hoyos2012-01-12
| | | | | | | | Fixes ticket #892.
* | Fix linesize for rawvideo in mov.Carl Eugen Hoyos2012-01-12
| | | | | | | | Fixes ticket #823.
* | Fix compilation with yasm-0.6.2Carl Eugen Hoyos2012-01-12
| |
* | lavc: constify enums for .pix_fmtsPaul B Mahol2012-01-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bmpdec: proper check for alphaPaul B Mahol2012-01-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fft: init functions with INIT_XMM/YMM. pcmenc: set frame_size to 0. gsm demuxer: use generic seeking instead of a gsm-specific function. gsm demuxer: return packets with only 1 gsm block at a time. avcodec: add GSM parser doc: Replace ffmpeg references in avserver config file by avconv. doc: Fix names of av_log color environment variables. Fix a bunch of platform name and other typos. Add some missing changelog entries and release 0.8_beta2 No longer build libpostproc by default wtv: fix memleaks during normal operation threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavs Conflicts: Changelog RELEASE cmdutils.c configure doc/ffserver.conf doc/platform.texi ffplay.c libavcodec/Makefile libavcodec/version.h libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fft: init functions with INIT_XMM/YMM.Henrik Gramner2012-01-11
| | | | | | | | | | | | | | | | This is required to handle clobbering of XMM registers on Win64 correctly. Fixes FFT and all tests depending on FFT on Win64. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * pcmenc: set frame_size to 0.Justin Ruggles2012-01-11
| | | | | | | | | | This indicates that the actual frame size is based on the buf_size passed to avcodec_encode_audio().
| * avcodec: add GSM parserJustin Ruggles2012-01-11
| | | | | | | | | | The WAVE demuxer returns packets with many blocks per frame, which needs to be parsed into single blocks. This has a side-effect of fixing the timestamps.
| * Fix a bunch of platform name and other typos.Diego Biurrun2012-01-11
| |
| * threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavsJanne Grunau2012-01-11
| |
* | Support encoding RGB48 with libopenjpeg.Carl Eugen Hoyos2012-01-11
| | | | | | | | Reviewed-by: Michael Bradshaw
* | cabac: Try to disable problematic ASM for gcc-llvm 4.2.1Michael Niedermayer2012-01-11
| | | | | | | | | | | | This should fix compilation with gcc-llvm (see darwin fate box) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bmpenc: support for BGRAPaul B Mahol2012-01-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libmp3lame: It appears the buffer used is a bit too small.Michael Niedermayer2012-01-11
| | | | | | | | | | | | | | Increase it by an arbitrary amount. Fixes part of Ticket676 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | timecode: support >24h timecode.Clément Bœsch2012-01-11
| |
* | timecode: string representation can be negative.Clément Bœsch2012-01-11
| | | | | | | | Timecode can be specified with a negative value in MOV...
* | timecode: set a fixed buffer size of 16B for tc string.Clément Bœsch2012-01-11
| |
* | bmpdec: support various bitfields for 32 bit depthPaul B Mahol2012-01-11
| | | | | | | | | | | | Fixes #740 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tiffdec: notify user that tile support is missingPaul B Mahol2012-01-11
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-11
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) rv34: frame-level multi-threading mpegvideo: claim ownership of referenced pictures aacsbr: prevent out of bounds memcpy(). ipmovie: fix pts for CODEC_ID_INTERPLAY_DPCM sierravmd: fix audio pts bethsoftvideo: Use bytestream2 functions to prevent buffer overreads. bmpenc: support for PIX_FMT_RGB444 swscale: fix crash in fast_bilinear code when compiled with -mred-zone. swscale: specify register type. rv34: use get_bits_left() avconv: reinitialize the filtergraph on resolution change. vsrc_buffer: error on changing frame parameters. avconv: fix -copyinkf. fate: Update file checksums after the mov muxer change in a78dbada55d6 movenc: Don't store a nonzero creation time if nothing was set by the caller bmpdec: support for rgb444 with bitfields compression rgb2rgb: allow conversion for <15 bpp doc: fix stray reference to FFmpeg v4l2: use C99 struct initializer v4l2: poll the file descriptor ... Conflicts: avconv.c libavcodec/aacsbr.c libavcodec/bethsoftvideo.c libavcodec/kmvc.c libavdevice/v4l2.c libavfilter/vsrc_buffer.c libswscale/swscale_unscaled.c libswscale/x86/input.asm tests/ref/acodec/alac tests/ref/acodec/pcm_s16be tests/ref/acodec/pcm_s24be tests/ref/acodec/pcm_s32be tests/ref/acodec/pcm_s8 tests/ref/lavf/mov tests/ref/vsynth1/dnxhd_1080i tests/ref/vsynth1/mpeg4 tests/ref/vsynth1/qtrle tests/ref/vsynth1/svq1 tests/ref/vsynth2/dnxhd_1080i tests/ref/vsynth2/mpeg4 tests/ref/vsynth2/qtrle tests/ref/vsynth2/svq1 Merged-by: Michael Niedermayer <michaelni@gmx.at>