summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: swscale: K&R formatting cosmetics (part II) tiffdec: Add a malloc check and refactor another. faxcompr: Check malloc results and unify return path configure: escape colons in values written to config.fate ac3dsp: call femms/emms at the end of float_to_fixed24() for 3DNow and SSE matroska: Fix leaking memory allocated for laces. pthread: Fix crash due to fctx->delaying not being cleared. vp3: Assert on invalid filter_limit values. h264: fix 10bit biweight functions after recent x86inc.asm fixes. ffv1: Fix size mismatch in encode_line. movenc: Remove a dead initialization git-howto: Explain how to avoid Windows line endings in git checkouts. build: Move all arch OBJS declarations into arch subdirectory Makefiles. Conflicts: configure libavcodec/vp3.c libavformat/matroskadec.c libavutil/Makefile libswscale/Makefile libswscale/swscale.c libswscale/swscale_internal.h libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * tiffdec: Add a malloc check and refactor another.Alex Converse2012-04-13
| |
| * faxcompr: Check malloc results and unify return pathAlex Converse2012-04-13
| |
| * ac3dsp: call femms/emms at the end of float_to_fixed24() for 3DNow and SSEJustin Ruggles2012-04-12
| | | | | | | | | | | | Fixes ac3-encode and eac3-encode FATE test failures with SSE2 disabled. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * pthread: Fix crash due to fctx->delaying not being cleared.Dale Curtis2012-04-12
| | | | | | | | | | | | | | | | | | | | | | Reproducible with test case and ffplay -threads 2. Stack trace: http://pastebin.com/PexZ4Uc0 Test case: http://commondatastorage.googleapis.com/dalecurtis-shared/crash.ogm Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * vp3: Assert on invalid filter_limit values.Dale Curtis2012-04-12
| | | | | | | | | | Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * h264: fix 10bit biweight functions after recent x86inc.asm fixes.Ronald S. Bultje2012-04-12
| | | | | | | | | | This should have been updated in the x86inc.asm update, but was accidently forgotten.
| * ffv1: Fix size mismatch in encode_line.Alex Converse2012-04-12
| |
* | avpicture_layout: use a endian independant format for the palette.Michael Niedermayer2012-04-13
| | | | | | | | | | | | This should fix the failing fate PAL8 tests. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pthread: Fix crash due to fctx->delaying not being cleared.Dale Curtis2012-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | corrects invalid return when avpkt->size == 0. Reproducible with test case and ffplay -threads 2. Stack trace: http://pastebin.com/PexZ4Uc0 Test case: http://commondatastorage.googleapis.com/dalecurtis-shared/crash.ogm Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vp3: Assert on invalid filter_limit values.Dale Curtis2012-04-13
| | | | | | | | | | Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: libxvid: remove disabled code qdm2: make a table static const qdm2: simplify bitstream reader setup for some subpacket types qdm2: use get_bits_left() build: Consistently handle conditional compilation for all optimization OBJS. avpacket, bfi, bgmc, rawenc: K&R prettyprinting cosmetics msrle: convert MS RLE decoding function to bytestream2. x86inc improvements for 64-bit Conflicts: common.mak libavcodec/avpacket.c libavcodec/bfi.c libavcodec/msrledec.c libavcodec/qdm2.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libxvid: remove disabled codeDiego Biurrun2012-04-12
| |
| * qdm2: make a table static constMans Rullgard2012-04-12
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * qdm2: simplify bitstream reader setup for some subpacket typesMans Rullgard2012-04-12
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * qdm2: use get_bits_left()Mans Rullgard2012-04-12
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * build: Consistently handle conditional compilation for all optimization OBJS.Diego Biurrun2012-04-12
| |
| * avpacket, bfi, bgmc, rawenc: K&R prettyprinting cosmeticsDiego Biurrun2012-04-12
| |
| * msrle: convert MS RLE decoding function to bytestream2.Ronald Bultje2012-04-11
| | | | | | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * x86inc improvements for 64-bitHenrik Gramner2012-04-11
| | | | | | | | | | | | | | | | | | | | | | | | Add support for all x86-64 registers Prefer caller-saved register over callee-saved on WIN64 Support up to 15 function arguments Also (by Ronald S. Bultje) Fix up our asm to work with new x86inc.asm. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* | vorbisdec: use correct channels variable.Reimar Döffinger2012-04-12
| | | | | | | | | | | | | | All code should use the local variable, the AVCodecContext might not yet have the updated value. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | ratecontrol: Use ticks_per_frame to calculate fps.Michael Niedermayer2012-04-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wmalosslessdec: Reset residues to 0 if they were not decoded from bitstream.Jakub Stachowski2012-04-12
| | | | | | | | | | | | | | | | | | | | | | If channel residues are have not been decoded from bitstream, they should be initialized to 0 instead of using values from previous subframe. This causes bursts of noise in silent parts of some files. This patch fixes bug #1055 Reviewed-by: Benjamin Larsson <benjamin@southpole.se> Reviewed-by: Mashiat Sarker Shakkhar <mashiat.sarker@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | msmpeg4enc: fix stored fps valueMichael Niedermayer2012-04-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mjpeg: fix crash with lowres and flipped imagesMichael Niedermayer2012-04-12
| | | | | | | | | | | | Fixes Ticket1155 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-11
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avplay: Don't free video filters string until the end of decoding. movenc: small refactor mov_write_packet movenc: remove redundant check interplayvideo: fix av_dlog parameter type mismatch Drop some pointless #ifdefs. Conflicts: libavcodec/interplayvideo.c libavcodec/libxvidff.c libavcodec/snowenc.c libavformat/movenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * interplayvideo: fix av_dlog parameter type mismatchDiego Biurrun2012-04-11
| | | | | | | | libavcodec/interplayvideo.c:909:13: warning: format ‘%p’ expects argument of type ‘void *’, but argument 7 has type ‘GetByteContext’ [-Wformat]
| * Drop some pointless #ifdefs.Diego Biurrun2012-04-10
| | | | | | | | The files are only compiled if the #ifdef conditions are met.
* | h261: move tables from header to .c file.Reimar Döffinger2012-04-11
| | | | | | | | | | | | | | | | | | | | Currently they end up twice in the binary, since both encoder and decoder include the header and thus each gets their own copy. This is clearly nonsense for the const tables, but shouldn't be necessary for the RLTable either. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | ff_samples_to_time_base: support AV_NOPTS_VALUEMichael Niedermayer2012-04-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix memory leaks on failed ff_h264_decode_init()Dale Curtis2012-04-11
| | | | | | | | | | | | | | | | | | | | During failure conditions ff_h264_decode_init() leaks memory allocated for nal units. Found via valgrind. Valgrind traces: http://pastebin.com/GqTqxs8T Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vda: try to fix compileMichael Niedermayer2012-04-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) rv40dsp x86: use only one register, for both increment and loop counter rv40dsp: implement prescaled versions for biweight. avconv: use default channel layouts when they are unknown avconv: parse channel layout string nutdec: K&R formatting cosmetics vda: Signal 4 byte NAL headers to the decoder regardless of what's in the extradata mem: Consistently return NULL for av_malloc(0) vf_overlay: implement poll_frame() vf_scale: support named constants for sws flags. lavc doxy: add all installed headers to doxy groups. lavc doxy: add avfft to the main lavc group. lavc doxy: add remaining avcodec.h functions to a misc doxygen group. lavc doxy: add AVPicture functions to a doxy group. lavc doxy: add resampling functions to a doxy group. lavc doxy: replace \ with / lavc doxy: add encoding functions to a doxy group. lavc doxy: add decoding functions to a doxy group. lavc doxy: fix formatting of AV_PKT_DATA_{PARAM_CHANGE,H263_MB_INFO} lavc doxy: add AVPacket-related stuff to a separate doxy group. lavc doxy: add core functions/definitions to a doxy group. ... Conflicts: ffmpeg.c libavcodec/avcodec.h libavcodec/vda.c libavcodec/x86/rv40dsp.asm libavfilter/vf_scale.c libavformat/nutdec.c libavutil/mem.c tests/ref/acodec/pcm_s24daud Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rv40dsp x86: use only one register, for both increment and loop counterChristophe GISQUET2012-04-10
| | | | | | | | | | | | Around 10 cycles faster for luma. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * rv40dsp: implement prescaled versions for biweight.Christophe GISQUET2012-04-10
| | | | | | | | | | | | | | | | | | | | Quite often, the original weights are multiple of 512. By prescaling them by 1/512 when they are computed (once per frame), no intermediate shifting is needed, and no prescaling on each call either. The x86 code already used that trick. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * vda: Signal 4 byte NAL headers to the decoder regardless of what's in the ↵Sebastien Zwickert2012-04-10
| | | | | | | | | | | | extradata Signed-off-by: Martin Storsjö <martin@martin.st>
| * lavc doxy: add all installed headers to doxy groups.Anton Khirnov2012-04-09
| |
| * lavc doxy: add avfft to the main lavc group.Anton Khirnov2012-04-09
| |
| * lavc doxy: add remaining avcodec.h functions to a misc doxygen group.Anton Khirnov2012-04-09
| |
| * lavc doxy: add AVPicture functions to a doxy group.Anton Khirnov2012-04-09
| |
| * lavc doxy: add resampling functions to a doxy group.Anton Khirnov2012-04-09
| |
| * lavc doxy: replace \ with /Anton Khirnov2012-04-09
| | | | | | | | | | It's the more proper symbol to use and it prevents doxygen from thinking it's a command.
| * lavc doxy: add encoding functions to a doxy group.Anton Khirnov2012-04-09
| |
| * lavc doxy: add decoding functions to a doxy group.Anton Khirnov2012-04-09
| |
| * lavc doxy: fix formatting of AV_PKT_DATA_{PARAM_CHANGE,H263_MB_INFO}Anton Khirnov2012-04-09
| |
| * lavc doxy: add AVPacket-related stuff to a separate doxy group.Anton Khirnov2012-04-09
| | | | | | | | | | Also move AV_PKT_DATA_PARAM_CHANGE/AV_PKT_DATA_H263_MB_INFO to the proper place.
| * lavc doxy: add core functions/definitions to a doxy group.Anton Khirnov2012-04-09
| |
| * ppc: Add/remove a number of const qualifiers to fix related warnings.Diego Biurrun2012-04-09
| |
* | aacsbr: silence message for SBR extension "padding".Reimar Döffinger2012-04-10
| | | | | | | | | | | | | | | | | | Some files contain a few additional, all-0 bits. Check for that case and don't print incorrect "not supported" message. Fixes trac issue #836. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-09
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avconv: use default alignment for audio buffer avcodec: use align == 0 for default alignment in avcodec_fill_audio_frame() avutil: use align == 0 for default alignment in audio sample buffer functions avutil: allow NULL linesize in av_samples_fill_arrays() and av_samples_alloc() avconv: remove OutputStream.picref. avconv: only set SAR once on the decoded frame. avcodec: validate the channel layout vs. channel count for decoders audioconvert: make av_get_channel_layout accept composite names. avutil: add av_get_packed_sample_fmt() and av_get_planar_sample_fmt() Conflicts: doc/APIchanges ffmpeg.c libavcodec/utils.c libavcodec/version.h libavutil/audioconvert.c libavutil/audioconvert.h libavutil/avutil.h libavutil/samplefmt.c libavutil/samplefmt.h Merged-by: Michael Niedermayer <michaelni@gmx.at>