summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* vorbis: Replace sized int_fast integer types with plain int/unsigned.Diego Biurrun2011-04-293-125/+113
| | | | | | int/unsigned is the natural memory access type for CPUs, using sized types for temporary variables, counters and similar just increases code size and can possibly cause a slowdown.
* Remove disabled non-optimized code variants.Diego Biurrun2011-04-292-162/+0
|
* Remove some disabled printf debug cruft.Diego Biurrun2011-04-2915-190/+0
|
* Replace more disabled printf() calls by av_dlog().Diego Biurrun2011-04-292-8/+5
|
* Replace some commented-out debug printf() / av_log() messages with av_dlog().Diego Biurrun2011-04-293-21/+12
|
* vorbisdec: Replace some sizeof(type) by sizeof(*variable).Diego Biurrun2011-04-291-17/+24
|
* mpeg12: terminate mpeg2_video_profiles arraysStefano Sabatini2011-04-281-0/+1
| | | | | | | | | Make av_get_profile_name() return NULL if no profile is detected. Fix trac issue #130, fix crash reading file tek3.m2v. (cherry picked from commit e5d80c7b2d893422e2e60a97e08bfc48ca1684e6) Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BEPeter Ross2011-04-281-0/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vorbisdec: Rename silly "class_" variable to plain "class".Diego Biurrun2011-04-271-7/+7
|
* simple_idct_alpha: Drop some useless casts.Diego Biurrun2011-04-271-7/+7
|
* Simplify av_log_missing_feature().Diego Biurrun2011-04-271-3/+1
| | | | | 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-271-2/+0
|
* If AVCodecContext.channels is 0 and AVCodecContext.channel_layout isJustin Ruggles2011-04-271-0/+2
| | | | | | 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-271-0/+7
| | | | non-zero, check to make sure they do not contradict eachother.
* cosmetics: indentationJustin Ruggles2011-04-271-8/+8
|
* Check AVCodec.supported_samplerates and AVCodec.channel_layouts inJustin Ruggles2011-04-271-1/+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-272-20/+8
| | | | | | | 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-272-4/+4
| | | | table values from the spec.
* Define POW_SF2_ZERO in aac.h and use for ff_aac_pow2sf_tabp[] offsets insteadAlex Converse2011-04-274-8/+10
| | | | of hardcoding 200 everywhere.
* Large intensity stereo and PNS indices are legal. Clip them instead ofAlex Converse2011-04-271-11/+16
| | | | | | | 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-271-6/+3
| | | | | | | | | | | 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-271-5/+2
| | | | | | 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-271-2/+0
| | | | | | | | | 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-261-4/+6
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ac3enc: correct the flipped sign in the ac3_fixed encoderJustin Ruggles2011-04-261-1/+1
|
* Eliminate pointless '#if 1' statements without matching '#else'.Diego Biurrun2011-04-268-30/+9
|
* Add AVX FFT implementation.Vitor Sessak2011-04-2622-206/+449
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Update x86inc.asm from x264 to allow AVX emulation using SSE and MMX.Vitor Sessak2011-04-261-1/+248
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* mjpeg: Detect overreads in mjpeg_decode_scan() and error out.Michael Niedermayer2011-04-261-0/+4
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rbultje@google.com>
* lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enumsStefano Sabatini2011-04-263-20/+22
| | | | | | | | | | | | 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-262-0/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: remove FF_API_MB_Q cruftAnton Khirnov2011-04-263-23/+0
|
* lavc: remove FF_API_RATE_EMU cruftAnton Khirnov2011-04-263-16/+0
|
* lavc: remove FF_API_HURRY_UP cruftAnton Khirnov2011-04-2614-96/+2
|
* ac3: fix memleak in fixed-point encoderJanne Grunau2011-04-251-1/+1
| | | | caused by typo in mdct_end
* flashsv: Return more meaningful error values.Diego Biurrun2011-04-252-4/+4
|
* flashsv: Employ explicit AVCodec struct initializers.Diego Biurrun2011-04-252-20/+19
|
* cosmetics: K&R coding style and more whitespace for Flash Screen VideoDiego Biurrun2011-04-252-121/+121
|
* vorbisdec: Employ proper printf format specifiers for uint_fast32_t.Diego Biurrun2011-04-251-1/+1
| | | | | libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘uint_fast32_t’ libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘uint_fast32_t’
* Replace more FFmpeg instances by Libav or ffmpeg.Diego Biurrun2011-04-232-4/+4
|
* vorbis: Rename decoder/encoder files to follow general file naming scheme.Diego Biurrun2011-04-234-3/+3
|
* aacenc: Fix whitespace after last commit.Nathan Caldwell2011-04-231-10/+13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cook: Fix small typo in av_log_ask_for_sample message.Diego Biurrun2011-04-231-1/+1
|
* aacenc: Finish 3GPP psymodel analysis for non mid/side cases.Nathan Caldwell2011-04-232-6/+303
| | | | | | | | | There is still are still a few sections missing relating to TNS (not present) and mid/side (contains other bugs). Overall this improves quality, and vastly improves rate-control. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add some debug log messages to AAC extradataAlex Converse2011-04-221-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Wed, Apr 20, 2011 at 11:39 AM, Justin Ruggles <justin.ruggles@gmail.com> wrote: > On 04/20/2011 02:26 PM, Alex Converse wrote: > >> --- >>  libavcodec/aacdec.c |   10 +++++++++- >>  1 files changed, 9 insertions(+), 1 deletions(-) >> >> >> >> 0002-Add-some-Debug-log-messages-to-AAC-extradata.patch >> >> >> diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c >> index c9761a1..3ec274f 100644 >> --- a/libavcodec/aacdec.c >> +++ b/libavcodec/aacdec.c >> @@ -79,7 +79,6 @@ >>             Parametric Stereo. >>   */ >> >> - >>  #include "avcodec.h" >>  #include "internal.h" >>  #include "get_bits.h" > > > stray whitespace change > oops, fixed >From 94e8d0eea77480630f84368c97646cabc0f50628 Mon Sep 17 00:00:00 2001 From: Alex Converse <aconverse@google.com> Date: Wed, 20 Apr 2011 11:23:34 -0700 Subject: [PATCH] Add some debug log messages to AAC extradata MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1" This is a multi-part message in MIME format. --------------1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit
* Use av_log_ask_for_sample() to request samples from users.Diego Biurrun2011-04-224-5/+9
|
* Make av_log_ask_for_sample() accept a variable number of arguments.Diego Biurrun2011-04-222-3/+9
|
* vqavideo: We no longer need to ask for version 1 samples.Diego Biurrun2011-04-221-2/+0
|
* aacdec: indentation cosmeticsYoung Han Lee2011-04-221-10/+9
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Introduce slice threads flag.Ronald S. Bultje2011-04-2111-10/+20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
OpenPOWER on IntegriCloud