Diego Biurrun
62582a696b
cook: Fix small typo in av_log_ask_for_sample message.
14 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>
14 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 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
14 years ago
Diego Biurrun
d9dee728b8
Use av_log_ask_for_sample() to request samples from users.
14 years ago
Diego Biurrun
44f566b79a
Make av_log_ask_for_sample() accept a variable number of arguments.
14 years ago
Diego Biurrun
b2832c3904
vqavideo: We no longer need to ask for version 1 samples.
14 years ago
Young Han Lee
9978ed7d6c
aacdec: indentation cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Ronald S. Bultje
94f7451a3a
Introduce slice threads flag.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Diego Biurrun
70fb031ce2
Use av_log_ask_for_sample() where appropriate.
14 years ago
Anton Khirnov
65af48b559
lavc: provide deprecated avcodec_thread_init until next major version
...
It was deprecated only recently.
14 years ago
Anton Khirnov
095290f9a4
lavc: provide the opt.h header until the next bump
...
AVOptions were moved to libavutil only recently.
14 years ago
Justin Ruggles
31d76ec288
In avcodec_open(), set return code to an error value only when an error occurs
...
instead of unconditionally at the start of the function.
This fixes a bug where a successful call to ff_thread_init() masks errors that
occur after that point in the function. It also makes future bugs like this
less likely since the error code is now set near to the point in the code
where the error is found.
14 years ago
Anton Khirnov
cda7aa9eba
lavc: remove reference to opt.h from Makefile.
...
Fixes make install after 3453a231a6
.
14 years ago
Anton Khirnov
3453a231a6
lavc: remove misc disabled cruft.
14 years ago
Anton Khirnov
251cf997cf
lavc: remove the FF_API_INOFFICIAL cruft.
14 years ago
Anton Khirnov
41d0eb1c81
lavc: remove the FF_API_SET_STRING_OLD cruft.
14 years ago
Anton Khirnov
01a4259b8d
lavc: remove the FF_API_USE_LPC cruft.
14 years ago
Anton Khirnov
db4d3a7421
lavc: remove the FF_API_SUBTITLE_OLD cruft.
14 years ago
Anton Khirnov
e89e5afdd0
lavc: remove the FF_API_VIDEO_OLD cruft.
14 years ago
Anton Khirnov
9b4f1cdb6a
lavc: remove the FF_API_AUDIO_OLD cruft.
14 years ago
Anton Khirnov
20d33ee8b1
lavc: remove the FF_API_OPT_SHOW cruft.
14 years ago
Anton Khirnov
42420e7b94
lavc: remove the FF_API_MM_FLAGS cruft.
14 years ago
Diego Biurrun
151cd4f982
pcm: Add const to cast in ENCODE macro.
...
This fixes a lot of warnings of the sort:
libavcodec/pcm.c:105: warning: cast discards qualifiers from pointer target type
14 years ago
Luca Barbato
facc48f157
libvo-aacenc,libvo-amrwbenc}: fix api usage
...
Use the correct error codes and format identifier.
14 years ago
Anton Khirnov
139f3ac42d
Bump major versions of all libraries.
...
They've accumulated enough new APIs and corresponding deprecated cruft.
This breaks API and ABI.
14 years ago
Diego Biurrun
f0a41afd8a
Replace mplayerhq.hu URLs by libav.org.
14 years ago
Diego Biurrun
259a3e70ed
ptx: Use av_log_ask_for_sample() where appropriate.
14 years ago
Diego Biurrun
6001dad6e2
Replace more FFmpeg references by Libav.
14 years ago
Justin Ruggles
4c64c8e95a
ac3dec: fix processing of delta bit allocation information.
...
The number of dba segments is the coded value + 1.
The coupling dba offset starts at the first coupling band, not at zero.
14 years ago
Ronald S. Bultje
0b05864eef
vc1: fix fate-vc1 after previous commit.
...
PROFILE_ADVANCED doesn't set res_fasttx, so make that a special case
in the condition that decides which IDCT to use (and whether to read
coefficients transposed or not).
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
14 years ago
Ronald S. Bultje
58bb6b7d93
wmv3dec: fix playback of complex WMV3 files using simple_idct.
...
IDCT coefficients are read transposed, but simple_idct does not expect
this. Therefore, only do tranposed coefficient reading if we're not
using simple_idct.
Fixes http://forum.videolan.org/viewtopic.php?f=14&t=89651
14 years ago
Kostya Shishkov
c0eee89337
make av_dup_packet() more cautious on allocation failures
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Kostya Shishkov
2d8591c27e
make containers pass palette change in AVPacket
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Kostya Shishkov
4de339e219
introduce side information for AVPacket
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Martin Storsjö
302152d40b
libavcodec: Bump micro after adding the dtx AVOptions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
651b276ef7
libopencore-amr, libvo-amrwbenc: Allow enabling DTX via private AVOptions
...
DTX, discontinuous transmission, allows emitting frames with
comfort noise when no voice is detected in the input audio.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
3dd82afc74
libopencore-amr, libvo-amrwbenc: Only check the bitrate when changed
...
Also rename the incorrectly named enc_bitrate to enc_mode, use the
enc_bitrate variable for storing the last chosen bitrate.
This avoids continuous warning log messages if not using an
exactly matching bitrate, while still allowing changing bitrate
at any point.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
7073938121
libopencore-amr, libvo-amrwbenc: Find the closest matching bitrate
...
Dynamically print the supported bitrates from the local table,
instead of using a hardcoded log message.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
957635ba14
libvo-*: Fix up the long codec names
...
Include VisualOn to clarify the codec name, but remove the
actual library name from the user-friendly description.
Also mention Android, to clarify which VisualOn implementation
this refers to, since they do sell other variants of the same
code, too.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
567ad0e31d
libavcodec: Mark AVCodec->priv_class const
...
This avoids warnings of this kind, everywhere priv_class
is initialized:
warning: initialization discards qualifiers from pointer target type
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
2d3267936a
libvo-aacenc: Only produce extradata if the global header flag is set
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Anton Khirnov
c776732712
lavc: postpone removal of request_channels
...
No decoder uses the supposed replacement, request_channel_layout, yet.
14 years ago
Anton Khirnov
d6ead39ee7
lavc: postpone removal of audioconvert and sample_fmt wrappers
...
Those were moved to libavutil only recently.
14 years ago
Martin Storsjö
882221afde
libopencore-amr: Cosmetics: Rewrap and align
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
02c63a109f
libopencore-amr, libvo-amrbwenc: Rename variables and functions
...
Avoid camelCase names for functions and variables.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
9b9c6405fd
libopencore-amr: Convert commented out debug logging into av_dlog
...
Also add the avctx as logging context.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
89e7e640f7
libopencore-amr: Remove an unused state variable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
5d211e034e
libvo-amrwbenc: Don't explicitly store bitrate modes in the bitrate table
...
The bitrate modes are equal to the array indices.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
0e03f94d61
libopencore-amr: Remove a useless local variable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
c48ce4eb50
libopencore-amr, libvo-amrwbenc: Make the bitrate/mode mapping array static const
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago