Diego Biurrun
a734fa575f
Remove disabled non-optimized code variants.
15 years ago
Diego Biurrun
2e15305b70
Remove some disabled printf debug cruft.
15 years ago
Diego Biurrun
09cbf60f8e
Replace more disabled printf() calls by av_dlog().
15 years ago
Diego Biurrun
045dd4b928
Replace some commented-out debug printf() / av_log() messages with av_dlog().
15 years ago
Diego Biurrun
d1be646e90
vorbisdec: Replace some sizeof(type) by sizeof(*variable).
15 years ago
Stefano Sabatini
62d33dbc17
mpeg12: terminate mpeg2_video_profiles arrays
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 e5d80c7b2d )
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
15 years ago
Peter Ross
87e45ae13d
rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
Signed-off-by: Anton Khirnov <anton@khirnov.net>
15 years ago
Diego Biurrun
b239526873
vorbisdec: Rename silly "class_" variable to plain "class".
15 years ago
Diego Biurrun
81afa5a274
simple_idct_alpha: Drop some useless casts.
15 years ago
Diego Biurrun
3fd3632ffe
Simplify av_log_missing_feature().
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.
15 years ago
Justin Ruggles
8745e9c458
ac3enc: remove check for mismatching channels and channel_layout
15 years ago
Justin Ruggles
688b09fa59
If AVCodecContext.channels is 0 and AVCodecContext.channel_layout is
non-zero, set channels based on channel_layout.
This allows the user to set only channel_layout and not channels.
15 years ago
Justin Ruggles
168f9e8c40
If AVCodecContext.channel_layout and AVCodecContext.channels are both
non-zero, check to make sure they do not contradict eachother.
15 years ago
Justin Ruggles
3dfc3e70c0
cosmetics: indentation
15 years ago
Justin Ruggles
8b00ab0113
Check AVCodec.supported_samplerates and AVCodec.channel_layouts in
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.
15 years ago
Alex Converse
767848d761
aacdec: remove sf_scale and sf_offset.
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.
15 years ago
Justin Ruggles
6271794041
aacdec: use a scale of 2 in the LTP MDCT rather than doubling the coefficient
table values from the spec.
15 years ago
Alex Converse
d70fa4c423
Define POW_SF2_ZERO in aac.h and use for ff_aac_pow2sf_tabp[] offsets instead
of hardcoding 200 everywhere.
15 years ago
Alex Converse
e4744b59aa
Large intensity stereo and PNS indices are legal. Clip them instead of
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.
15 years ago
Stefano Sabatini
f4e043ff63
qpeg: use reget_buffer() in decode_frame()
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>
15 years ago
Stefano Sabatini
4f0b80599a
ultimotion: use reget_buffer() in ulti_decode_frame()
Decoder relies on previous frame data, so use reget_buffer().
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
15 years ago
Stefano Sabatini
4f2954e232
smacker: remove unnecessary call to avctx->release_buffer in decode_frame()
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>
15 years ago
Ronald S. Bultje
5eef4afb9a
avparser: don't av_malloc(0).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
15 years ago
Justin Ruggles
79ee8977c2
ac3enc: correct the flipped sign in the ac3_fixed encoder
15 years ago
Diego Biurrun
e6ff064845
Eliminate pointless '#if 1' statements without matching '#else'.
15 years ago
Vitor Sessak
9d35fa520e
Add AVX FFT implementation.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
15 years ago
Vitor Sessak
33cbfa6fa3
Update x86inc.asm from x264 to allow AVX emulation using SSE and MMX.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
15 years ago
Michael Niedermayer
76cd98b445
mjpeg: Detect overreads in mjpeg_decode_scan() and error out.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Ronald S. Bultje <rbultje@google.com>
15 years ago
Stefano Sabatini
bebe72f4a0
lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums
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>
15 years ago
Michael Niedermayer
30fe971934
aac: add headers needed for log2f()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
15 years ago
Anton Khirnov
6deae83e55
lavc: remove FF_API_MB_Q cruft
15 years ago
Anton Khirnov
694c142434
lavc: remove FF_API_RATE_EMU cruft
15 years ago
Anton Khirnov
e7021c0ed5
lavc: remove FF_API_HURRY_UP cruft
15 years ago
Janne Grunau
6ad2bafcfd
ac3: fix memleak in fixed-point encoder
caused by typo in mdct_end
15 years ago
Diego Biurrun
a14c08247d
flashsv: Return more meaningful error values.
15 years ago
Diego Biurrun
46cb2da1f0
flashsv: Employ explicit AVCodec struct initializers.
15 years ago
Diego Biurrun
293fe6da01
cosmetics: K&R coding style and more whitespace for Flash Screen Video
15 years ago
Diego Biurrun
2441003d3f
vorbisdec: Employ proper printf format specifiers for uint_fast32_t.
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’
15 years ago
Diego Biurrun
43fb279f56
Replace more FFmpeg instances by Libav or ffmpeg.
15 years ago
Diego Biurrun
046f3cb789
vorbis: Rename decoder/encoder files to follow general file naming scheme.
15 years ago
Nathan Caldwell
f50d937725
aacenc: Fix whitespace after last commit.
Signed-off-by: Martin Storsjö <martin@martin.st>
15 years ago
Diego Biurrun
62582a696b
cook: Fix small typo in av_log_ask_for_sample message.
15 years ago
Nathan Caldwell
230c1a9075
aacenc: Finish 3GPP psymodel analysis for non mid/side cases.
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>
15 years ago
Alex Converse
785c441828
Add some debug log messages to AAC extradata
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 94e8d0eea7 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
15 years ago
Diego Biurrun
d9dee728b8
Use av_log_ask_for_sample() to request samples from users.
15 years ago
Diego Biurrun
44f566b79a
Make av_log_ask_for_sample() accept a variable number of arguments.
15 years ago
Diego Biurrun
b2832c3904
vqavideo: We no longer need to ask for version 1 samples.
15 years ago
Young Han Lee
9978ed7d6c
aacdec: indentation cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
15 years ago
Ronald S. Bultje
94f7451a3a
Introduce slice threads flag.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
15 years ago
Diego Biurrun
70fb031ce2
Use av_log_ask_for_sample() where appropriate.
15 years ago