summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementationPeter Ross2011-04-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vorbisdec: Rename silly "class_" variable to plain "class".Diego Biurrun2011-04-27
|
* simple_idct_alpha: Drop some useless casts.Diego Biurrun2011-04-27
|
* Simplify av_log_missing_feature().Diego Biurrun2011-04-27
| | | | | Do not print the results of the conditional call to av_log_ask_for_sample() into the same line as the main output, separate the already long text.
* ac3enc: remove check for mismatching channels and channel_layoutJustin Ruggles2011-04-27
|
* If AVCodecContext.channels is 0 and AVCodecContext.channel_layout isJustin Ruggles2011-04-27
| | | | | | non-zero, set channels based on channel_layout. This allows the user to set only channel_layout and not channels.
* If AVCodecContext.channel_layout and AVCodecContext.channels are bothJustin Ruggles2011-04-27
| | | | non-zero, check to make sure they do not contradict eachother.
* cosmetics: indentationJustin Ruggles2011-04-27
|
* Check AVCodec.supported_samplerates and AVCodec.channel_layouts inJustin Ruggles2011-04-27
| | | | | | | avcodec_open(). If the encoder has a channel_layouts list and AVCodecContext.channel_layout is 0, then only print a warning and let the encoder decide how to handle it.
* aacdec: remove sf_scale and sf_offset.Alex Converse2011-04-27
| | | | | | | Instead, scalefactors are adjusted by the offset amount, removing the need for sf_scale, and the MDCT scales are adjusted to compensate for the higher scalefactors. Floating-point output will be handled by modifying the MDCT scales.
* aacdec: use a scale of 2 in the LTP MDCT rather than doubling the coefficientJustin Ruggles2011-04-27
| | | | table values from the spec.
* Define POW_SF2_ZERO in aac.h and use for ff_aac_pow2sf_tabp[] offsets insteadAlex Converse2011-04-27
| | | | of hardcoding 200 everywhere.
* Large intensity stereo and PNS indices are legal. Clip them instead ofAlex Converse2011-04-27
| | | | | | | erroring out. A magnitude of 100 corresponds to 2^25 so the will most likely result in clipped output anyway. None of the conformance streams fall in the range that need to be clipped.
* qpeg: use reget_buffer() in decode_frame()Stefano Sabatini2011-04-27
| | | | | | | | | | | Decoder relies on previous frame data, so use reget_buffer(). This also set frame->reference to 3, as the frame will be requested unmodified later so it shouldn't be modified by the application. Fix playback of file Clock.avi. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ultimotion: use reget_buffer() in ulti_decode_frame()Stefano Sabatini2011-04-27
| | | | | | Decoder relies on previous frame data, so use reget_buffer(). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* smacker: remove unnecessary call to avctx->release_buffer in decode_frame()Stefano Sabatini2011-04-27
| | | | | | | | | The release_buffer was cleaning the provided frame, thus causing the successive call to avctx->reget_buffer() to allocate a new frame. In case the returned frame was not the same one previously returned but a new one with different data, it resulted in artifacts. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avparser: don't av_malloc(0).Ronald S. Bultje2011-04-26
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ac3enc: correct the flipped sign in the ac3_fixed encoderJustin Ruggles2011-04-26
|
* Eliminate pointless '#if 1' statements without matching '#else'.Diego Biurrun2011-04-26
|
* Add AVX FFT implementation.Vitor Sessak2011-04-26
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Increase alignment of av_malloc() as needed by AVX ASM.Vitor Sessak2011-04-26
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Update x86inc.asm from x264 to allow AVX emulation using SSE and MMX.Vitor Sessak2011-04-26
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* mjpeg: Detect overreads in mjpeg_decode_scan() and error out.Michael Niedermayer2011-04-26
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rbultje@google.com>
* documentation: extend documentation for ffmpeg -aspect optionStefano Sabatini2011-04-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* APIChanges: update commit hashes for recent additions.Anton Khirnov2011-04-26
|
* lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enumsStefano Sabatini2011-04-26
| | | | | | | | | | | | Also deprecate av_get_pict_type_char() in favor of av_get_picture_type_char(). The new enum and av_get_picture_type_char() are defined in libavutil. This allows the use in libavfilter without the need to link against libavcodec. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* aac: add headers needed for log2f()Michael Niedermayer2011-04-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: remove FF_API_MB_Q cruftAnton Khirnov2011-04-26
|
* lavc: remove FF_API_RATE_EMU cruftAnton Khirnov2011-04-26
|
* lavc: remove FF_API_HURRY_UP cruftAnton Khirnov2011-04-26
|
* pad: make the filter parametricStefano Sabatini2011-04-26
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_movie: add key_frame and pict_type.royger2011-04-26
| | | | | | Signed-off-by: Roger Pau Monné <roger.pau@entel.upc.edu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_movie: fix leak in request_frame()Stefano Sabatini2011-04-26
| | | | | | | | Also set movie->picref to NULL, in order to avoid a crash in uninit() when movie->picref is unreffed again and it was already freed. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add key_frame and pict_type to AVFilterBufferRefVideo.Roger Pau Monné2011-04-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_buffer: add sample_aspect_ratio fields to arguments.Michael Niedermayer2011-04-26
| | | | | | | | This fixes aspect handling in ffmpeg. This is based on a patch by Baptiste. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add fieldorder filterMark Himsley2011-04-26
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* scale: make the filter parametricStefano Sabatini2011-04-26
| | | | | | | | Make the filter accept parametric expressions for the output video size. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: support 16-bitJames Darnley2011-04-26
| | | | | | Fixes by Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: support more than yuv420p.James Darnley2011-04-26
| | | | | | and correctly support grey8 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: Fix assert() failureMichael Niedermayer2011-04-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* graphparser: add a NULL check on the argument passed to strstrStefano Sabatini2011-04-25
| | | | | | | Fix crash in create_filter() which occurrs if a scale filter with no args is provided. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* setdar: prefer "sar" over "par" in log info messageStefano Sabatini2011-04-25
| | | | | | | This is more consistent with the terminology adopted by the aspect filter names. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fade: fix draw_slice() check on fade->factor valueMark Himsley2011-04-25
| | | | | | | | | | draw_slice() checks that the fade factor is < 65536 and only calculates the fade if so. But the fade factor is clipped in end_frame() by av_clip_uint16() to 65535, so the fade is calculated for every frame. This patch alters the check so that it compares with < 65535 (UINT16_MAX). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fade: make draw_slice() chroma check against planes 1 and 2Mark Himsley2011-04-25
| | | | | | | | draw_slice() checks that planes 0 and 1 of AVFilterBufferRef's data are not NULL before manipulating planes 1 and 2. This patch makes the check against planes 1 and 2. More senseful and possibly more robust. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* win32: include the correct header in cmdutils.cLuca Barbato2011-04-25
| | | | CommandLineToArgvW requires windows.h, include it directly
* ac3: fix memleak in fixed-point encoderJanne Grunau2011-04-25
| | | | caused by typo in mdct_end
* flashsv: Return more meaningful error values.Diego Biurrun2011-04-25
|
* flashsv: Employ explicit AVCodec struct initializers.Diego Biurrun2011-04-25
|
* read AVI palette from the end of extradataKostya Shishkov2011-04-24
| | | | | | | | | | | | | | | | | | Official AVI specification says that stream header in case of video contains BITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currently lavf AVI demuxer thinks otherwise which produces garbage on codecs that have both palette and extradata (luckily, there are not so many such codecs). An example of such file is: http://samples.multimedia.cx/V-codecs/KMVC/baseball1.avi (IIRC, MSS1 or MSS2 also had such situation but they are still not supported by lavc). As a side note, passing palette in extradata as it's been done previously is not quite correct since proper _extra_ data is surplus bytes in BITMAPINFOHEADER, not including palette. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* cosmetics: K&R coding style and more whitespace for Flash Screen VideoDiego Biurrun2011-04-25
|