aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * movenc: Buffer the mdat for the initial moov fragment, tooMartin Storsjö2012-02-222-24/+51
| | | | | | | | | | | | | | | | | | | | | | | | This allows writing QuickTime-compatible fragmented mp4 (with a non-empty moov atom) to a non-seekable output. This buffers the mdat for the initial fragment just as it does for all normal fragments, too. Previously, the resulting atom structure was mdat,moov, moof,mdat ..., while it now is moov,mdat, moof,mdat. Signed-off-by: Martin Storsjö <martin@martin.st>
| * flvdec: Ignore the index if the ignidx flag is setMartin Storsjö2012-02-221-0/+3
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * flvdec: Fix indentationMartin Storsjö2012-02-221-2/+3
| | | | | | | | | | | | Also split a long line. Signed-off-by: Martin Storsjö <martin@martin.st>
| * movdec: Don't parse all fragments if ignidx is setMartin Storsjö2012-02-221-2/+3
| | | | | | | | | | | | | | | | | | | | In nonseekable files, we already stop parsing the toplevel atoms after finding moov and one mdat. In large seekable files (or files that are seekable, but slowly, e.g. http), reading all the fragments at the start can take a considerable amount of time. This allows opting out from this behaviour. Signed-off-by: Martin Storsjö <martin@martin.st>
| * movdec: Restart parsing root-level atoms at the right spotMartin Storsjö2012-02-222-3/+10
| | | | | | | | | | | | | | | | | | | | | | If parsing moov+mdat in a non-seekable file, we currently abort parsing directly after parsing the header of the mdat atom. If we want to continue parsing later (if looking to parse later fragments), we need to skip past the content of the mdat atom, otherwise we end up parsing the content of the mdat atom as root level atoms. Signed-off-by: Martin Storsjö <martin@martin.st>
| * prores: use natural integer type for the codebook indexChristophe GISQUET2012-02-222-3/+3
| | | | | | | | | | | | | | | | | | | | | | The operations that use it require it to be promoted to a larger (natural) type and thus perform sign extension on it. While an optimal compiler may account for this, gcc 4.6 (for x86 Windows) fails. Using the natural integer type provides a 2% speedup for Win64 and 1% for Win32. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * mov: Add support for MPEG2 HDV 720p24 (hdv4)Alex Converse2012-02-211-0/+1
| |
| * swscale: K&R formatting cosmetics (part I)Diego Biurrun2012-02-214-897/+980
| |
| * swscale: variable declaration and placement cosmeticsDiego Biurrun2012-02-212-117/+90
| |
* | eval: support 3 parameter functions.Michael Niedermayer2012-02-221-3/+8
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | eval: Add taylor series evaluation support.Michael Niedermayer2012-02-223-1/+34
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu: document av_reverse.Nicolas George2012-02-221-0/+3
| |
* | lavd/lavfi: support all sample formats.Nicolas George2012-02-221-2/+10
| |
* | lavc: introduce av_get_pcm_codec.Nicolas George2012-02-224-2/+34
| |
* | af_pan: remove dual double/int storage of gain.Nicolas George2012-02-221-23/+9
| | | | | | | | libswresample takes care of that now.
* | r210enc and y41penc: don't set same pkt->size twicePaul B Mahol2012-02-222-2/+0
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pngdec: Print error if signature is wrong.Michael Niedermayer2012-02-221-1/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-2242-485/+544
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpegvideo_enc: only allocate output packet when we know there will be output Add names for more channel layouts to the channel layout map. sunrast: Add a sample request for RMP_RAW colormap. avcodec: do not override pts or duration from the audio encoder Add prores regression test. Enable already existing rso regression test. Add regression test for "sox" format muxer/demuxer. Add dpx encoding regression test. swscale: K&R formatting cosmetics for PowerPC code (part I/II) img2: Use ff_guess_image2_codec(filename) shorthand where appropriate. Clarify licensing information about files borrowed from libjpeg. Mark mutable static data const where appropriate. avplay: fix -threads option dvbsubdec: avoid undefined signed left shift in RGBA macro mlpdec: use av_log_ask_for_sample() gif: K&R formatting cosmetics png: make .long_name more descriptive movdec: Adjust keyframe flagging in fragmented files rv34: change most "int stride" into "ptrdiff_t stride". Conflicts: avprobe.c ffplay.c libavcodec/mlpdec.c libavcodec/mpegvideo_enc.c libavcodec/pngenc.c libavcodec/x86/v210-init.c libavfilter/vf_boxblur.c libavfilter/vf_crop.c libavfilter/vf_drawtext.c libavfilter/vf_lut.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/vf_select.c libavfilter/vf_setpts.c libavfilter/vf_settb.c libavformat/img2.c libavutil/audioconvert.c tests/codec-regression.sh tests/lavf-regression.sh tests/ref/lavf/dpx tests/ref/vsynth1/prores tests/ref/vsynth2/prores Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegvideo_enc: only allocate output packet when we know there will be outputAnton Khirnov2012-02-211-14/+14
| | | | | | | | Fixes a memleak.
| * Add names for more channel layouts to the channel layout map.Tim W2012-02-211-0/+18
| | | | | | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * sunrast: Add a sample request for RMP_RAW colormap.Aneesh Dogra2012-02-211-1/+5
| | | | | | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * avcodec: do not override pts or duration from the audio encoderJustin Ruggles2012-02-211-3/+5
| | | | | | | | | | This allows encoders to set pts and/or duration even if they do not use CODEC_CAP_DELAY.
| * Add prores regression test.Reimar Döffinger2012-02-213-0/+13
| | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * Enable already existing rso regression test.Reimar Döffinger2012-02-211-0/+3
| | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * Add regression test for "sox" format muxer/demuxer.Reimar Döffinger2012-02-212-0/+7
| | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * Add dpx encoding regression test.Carl Eugen Hoyos2012-02-212-0/+7
| | | | | | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * swscale: K&R formatting cosmetics for PowerPC code (part I/II)Diego Biurrun2012-02-212-303/+314
| |
| * img2: Use ff_guess_image2_codec(filename) shorthand where appropriate.Diego Biurrun2012-02-211-8/+8
| |
| * Clarify licensing information about files borrowed from libjpeg.Diego Biurrun2012-02-211-2/+6
| |
| * Mark mutable static data const where appropriate.Alex Converse2012-02-2118-26/+26
| |
| * avplay: fix -threads optionJanne Grunau2012-02-211-12/+0
| | | | | | | | | | | | | | | | The AVOptions based default to threads auto in 2473a45c8 works only if avplay does not use custom option handling for -threads. CC: <libav-stable@libav.org>
| * dvbsubdec: avoid undefined signed left shift in RGBA macroJanne Grunau2012-02-211-1/+1
| |
| * mlpdec: use av_log_ask_for_sample()Paul B Mahol2012-02-211-18/+12
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
| * gif: K&R formatting cosmeticsAneesh Dogra2012-02-211-70/+79
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * png: make .long_name more descriptivePaul B Mahol2012-02-212-2/+2
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * movdec: Adjust keyframe flagging in fragmented filesMartin Storsjö2012-02-211-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For video, mark the first sample in a trun which doesn't have the sample-is-non-sync-sample flag set as a keyframe. In particular, the "sample does not depend on other samples" flag isn't enough to make it a keyframe, since later frames still can reference frames prior to that one (the flag only says that that particular frame doesn't depend on other frames). This fixes bug 215. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rv34: change most "int stride" into "ptrdiff_t stride".Ronald S. Bultje2012-02-207-30/+30
| | | | | | | | | | | | This prevents having to sign-extend on 64-bit systems with 32-bit ints, such as x86-64. Also fixes crashes on systems where we don't do it and arguments are not in registers, such as Win64 for all weight functions.
* | lavf: Reimplement new seek API emulationMichael Niedermayer2012-02-211-2/+10
| | | | | | | | | | | | This fixes seeking to before and after files with ffplay. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avidec: Reduce log level for out of index error message.Michael Niedermayer2012-02-211-1/+1
| | | | | | | | | | | | | | Its otherwise spaming every time one tries to seek to outside the file. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doxy: Disable the main index page.Michael Niedermayer2012-02-211-1/+1
| | | | | | | | | | | | | | Theres no usefull or even remotely complete information on it currently. Which just leads to confusion. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples: rename filtering.c into filtering_video.c.Clément Bœsch2012-02-212-1/+1
| |
* | doc/examples: add audio decoding/filtering example.Clément Bœsch2012-02-212-1/+246
| | | | | | | | | | | | Mostly based on doc/examples/filtering.c. lavfi API is still limited to "buffer feeding" instead of "frame feeding" at the moment, so this example code sticks with it.
* | lavfi/abuffer: init the data planes with NULL pointers.Clément Bœsch2012-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | Samples buffer ref is allocated and loaded with the uninitialized data pointers: av_asrc_buffer_add_buffer() -> av_asrc_buffer_add_samples() -> avfilter_get_audio_buffer_ref_from_arrays(data, ...) ...which leads to a crash with at least lavfi/ashowinfo in case of !NULL (see the for loop while samplesref->data[plane]).
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-2134-382/+485
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (36 commits) adpcmenc: Use correct frame_size for Yamaha ADPCM. avcodec: add ff_samples_to_time_base() convenience function to internal.h adx parser: set duration mlp parser: set duration instead of frame_size gsm parser: set duration mpegaudio parser: set duration instead of frame_size (e)ac3 parser: set duration instead of frame_size flac parser: set duration instead of frame_size avcodec: add duration field to AVCodecParserContext avutil: add av_rescale_q_rnd() to allow different rounding pnmdec: remove useless .pix_fmts libmp3lame: support float and s32 sample formats libmp3lame: renaming, rearrangement, alignment, and comments libmp3lame: use the LAME default bit rate libmp3lame: use avpriv_mpegaudio_decode_header() for output frame parsing libmp3lame: cosmetics: remove some pointless comments libmp3lame: convert some debugging code to av_dlog() libmp3lame: remove outdated comment. libmp3lame: do not set coded_frame->key_frame. libmp3lame: improve error handling in MP3lame_encode_init() ... Conflicts: doc/APIchanges libavcodec/libmp3lame.c libavcodec/pcxenc.c libavcodec/pnmdec.c libavcodec/pnmenc.c libavcodec/sgienc.c libavcodec/utils.c libavformat/hls.c libavutil/avutil.h libswscale/x86/swscale_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * adpcmenc: Use correct frame_size for Yamaha ADPCM.Justin Ruggles2012-02-202-5/+5
| | | | | | | | | | | | | | | | | | | | | | Output packet size should match avctx->block_align. The target output packet size is 1024 bytes. Before: mono - 1024 samples -> 512 bytes stereo - 2048 samples -> 2048 bytes After: mono - 2048 samples -> 1024 bytes stereo - 1024 samples -> 1024 bytes
| * avcodec: add ff_samples_to_time_base() convenience function to internal.hJustin Ruggles2012-02-204-15/+21
| |
| * adx parser: set durationJustin Ruggles2012-02-201-0/+3
| |
| * mlp parser: set duration instead of frame_sizeJustin Ruggles2012-02-201-1/+1
| |
| * gsm parser: set durationJustin Ruggles2012-02-201-2/+12
| |
| * mpegaudio parser: set duration instead of frame_sizeJustin Ruggles2012-02-201-1/+1
| |