aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * mem: Consistently return NULL for av_malloc(0)Martin Storsjö2012-04-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plain POSIX malloc(0) is allowed to return either NULL or a non-NULL pointer. The calling code should be ready to handle a NULL return as a correct return (instead of a failure) if the size to allocate was 0 - this makes sure the condition is handled in a consistent way across platforms. This also avoids calling posix_memalign(&ptr, 32, 0) on OS X, which returns an invalid pointer (a non-NULL pointer that causes crashes when passed to av_free). Abort in debug mode, to help track down issues related to incorrect handling of this case. Signed-off-by: Martin Storsjö <martin@martin.st>
| * vf_overlay: implement poll_frame()Anton Khirnov2012-04-091-1/+14
| | | | | | | | | | | | Signal that it can output a frame when there are frames on the main input and EOF on the overlay input, but a frame is buffered -- e.g. single picture overlay.
| * vf_scale: support named constants for sws flags.Anton Khirnov2012-04-091-1/+10
| |
| * lavc doxy: add all installed headers to doxy groups.Anton Khirnov2012-04-096-5/+74
| |
| * lavc doxy: add avfft to the main lavc group.Anton Khirnov2012-04-091-0/+17
| |
| * lavc doxy: add remaining avcodec.h functions to a misc doxygen group.Anton Khirnov2012-04-091-16/+36
| |
| * lavc doxy: add AVPicture functions to a doxy group.Anton Khirnov2012-04-091-23/+44
| |
| * lavc doxy: add resampling functions to a doxy group.Anton Khirnov2012-04-091-2/+10
| |
| * lavc doxy: replace \ with /Anton Khirnov2012-04-091-1/+1
| | | | | | | | | | 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-091-151/+166
| |
| * lavc doxy: add decoding functions to a doxy group.Anton Khirnov2012-04-091-405/+426
| |
| * lavc doxy: fix formatting of AV_PKT_DATA_{PARAM_CHANGE,H263_MB_INFO}Anton Khirnov2012-04-091-0/+4
| |
| * lavc doxy: add AVPacket-related stuff to a separate doxy group.Anton Khirnov2012-04-091-33/+49
| | | | | | | | | | 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-091-165/+177
| |
| * ppc: Add/remove a number of const qualifiers to fix related warnings.Diego Biurrun2012-04-093-7/+8
| |
| * avconv: allow '-async -1' to disable timestamp sync for audio encodingJustin Ruggles2012-04-091-2/+2
| | | | | | | | | | | | This will allow a workaround for cases where input timestamps are invalid or when decoder delay of 1 packet or more confuses avconv into using the wrong timestamps as a sync reference.
* | swr: add triangular dither supportMichael Niedermayer2012-04-103-0/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swr: remove unused variableMichael Niedermayer2012-04-101-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swr: add SWR_DITHER_RECTANGULAR to AVOptions arrayMichael Niedermayer2012-04-101-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aacsbr: silence message for SBR extension "padding".Reimar Döffinger2012-04-101-1/+3
| | | | | | | | | | | | | | | | | | 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>
* | swr-test: include opt.h, this is needed for changing options for testing.Michael Niedermayer2012-04-101-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swr: use assert in swri_sum2 to check that only supported formats are used.Michael Niedermayer2012-04-101-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swr: add dither support.Michael Niedermayer2012-04-106-11/+98
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swr: update copyright year for rematrixMichael Niedermayer2012-04-101-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_drawtext: fontconfig support.Nicolas George2012-04-104-8/+111
| |
* | vf_drawtext: fix memory leak of draw expression.Nicolas George2012-04-101-0/+2
| |
* | vf_drawtext: fix memory leak of glyph data.Nicolas George2012-04-101-0/+4
| |
* | resample: support double precission resamplingMichael Niedermayer2012-04-102-0/+30
| | | | | | | | | | | | | | This commit is dedicated to the audiophiles who can hear it when a needle is dropped on the moon. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swr: support int32 and float as internal sample formatsMichael Niedermayer2012-04-101-9/+12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swr: support float & int32 in the resamplerMichael Niedermayer2012-04-104-129/+220
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swr-test: Add newline to test outputMichael Niedermayer2012-04-101-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | resample: update copyright years, they where incorrect.Michael Niedermayer2012-04-101-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-0910-28/+89
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * avconv: use default alignment for audio bufferJustin Ruggles2012-04-091-1/+1
| |
| * avcodec: use align == 0 for default alignment in avcodec_fill_audio_frame()Justin Ruggles2012-04-093-4/+4
| | | | | | | | Use default alignment in audio_get_buffer()
| * avutil: use align == 0 for default alignment in audio sample buffer functionsJustin Ruggles2012-04-093-3/+8
| |
| * avutil: allow NULL linesize in av_samples_fill_arrays() and av_samples_alloc()Justin Ruggles2012-04-092-5/+8
| |
| * avconv: remove OutputStream.picref.Anton Khirnov2012-04-091-5/+5
| | | | | | | | | | It's only used inside transcode_video() and there's no point in preserving it between subsequent calls. So use a local variable instead.
| * avconv: only set SAR once on the decoded frame.Anton Khirnov2012-04-091-2/+3
| | | | | | | | No point in repeating the assignment for each output stream.
| * avcodec: validate the channel layout vs. channel count for decodersJustin Ruggles2012-04-081-0/+9
| | | | | | | | | | Set avctx->channel_layout to 0 if the channel count does not match avctx->channels.
| * audioconvert: make av_get_channel_layout accept composite names.Nicolas George2012-04-083-12/+54
| | | | | | | | | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * avutil: add av_get_packed_sample_fmt() and av_get_planar_sample_fmt()Justin Ruggles2012-04-084-11/+55
| | | | | | | | Based on a patch by Clément Bœsch <ubitux@gmail.com>
* | Fix gif regression test on big-endian.Reimar Döffinger2012-04-092-14/+14
| | | | | | | | | | | | | | Decode output must be converted to rgb24 to avoid CRC difference due to palette being stored in machine endianness. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | exr: optimize exr_halflt2uint()Michael Niedermayer2012-04-091-8/+6
| | | | | | | | | | | | 30% faster Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add gif and xbm regression tests.Reimar Döffinger2012-04-093-0/+37
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | vf_scale: ensure the palette is set for output.Reimar Döffinger2012-04-097-8/+11
| | | | | | | | | | | | | | | | Since those are pseudo-palette formats, swscale does not write into data[1], swscale must initialize the palette properly itself. This lead to frames that actually decoded as all-gray before. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Mark GRAY8 format as pseudo-paletted.Reimar Döffinger2012-04-093-2/+3
| | | | | | | | | | | | | | | | | | | | | | This fixes that the GIF encoder crashes with it because it has no palette. And the arguments for the pseudopalette apply to gray8 as much as to RGB8 etc. In addition the changes required in lavfi should be needed anyway when adding support for RGB8 etc. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | scale: fix slice rendering with conversion between pal/non-pal.Reimar Döffinger2012-04-091-2/+5
| | | | | | | | | | | | | | We can't use whether the input format is paletted to decide that the output format has a palette in data[1], too, that makes no sense. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | RV20: try keeping aspect during resolution changes.Reimar Döffinger2012-04-091-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolution changes are usually only used to scale with network bandwidth, the (full) resolution specified in the RM header really is authoritative. While I am not sure this is the best solution, it is a conservative approach that still should fix the most common cases. In particular, it fixes aspect with the sample from trac issue #785 (in MPlayer, ffplay seems to just ignore sample aspect changes in mid-playback). Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | aacdec: update debug code to always print the processed data.Reimar Döffinger2012-04-091-3/+3
| | | | | | | | | | | | | | | | | | When decoding LATM, this function will not process extradata but a different buffer. It seems this was forgotten to update when LATM support was added. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>