ffmpeg.git
12 years agoThis was rewritten by Michael, switch copyrights to him and license to LGPL.
Diego Biurrun [Tue, 17 Jul 2007 09:35:21 +0000 (09:35 +0000)]
This was rewritten by Michael, switch copyrights to him and license to LGPL.

Originally committed as revision 23796 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agorevert my accidental previous commit
Benoit Fouet [Tue, 17 Jul 2007 08:29:59 +0000 (08:29 +0000)]
revert my accidental previous commit

Originally committed as revision 9713 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agofix tools compilation
Benoit Fouet [Tue, 17 Jul 2007 08:28:48 +0000 (08:28 +0000)]
fix tools compilation

Originally committed as revision 9712 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoDon't segfault if an empty codebook gets used.
Denes Balatoni [Tue, 17 Jul 2007 07:12:40 +0000 (07:12 +0000)]
Don't segfault if an empty codebook gets used.
Patch by Denes Balatoni: [ dbalatoni interware hu ]
Original thread: [Ffmpeg-devel] [PATCH/BUGREPORT] crash in vorbis decoder
date: 02/04/2007 11:08 PM

Originally committed as revision 9711 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years ago * making profile selection a bit more tolerant to the badly broken streams
Roman Shaposhnik [Tue, 17 Jul 2007 04:06:03 +0000 (04:06 +0000)]
   * making profile selection a bit more tolerant to the badly broken streams

Originally committed as revision 9710 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agocosmetics: adding some white space to align the arguments of a couple of functions
Marc Hoffman [Tue, 17 Jul 2007 00:36:47 +0000 (00:36 +0000)]
cosmetics: adding some white space to align the arguments of a couple of functions

Originally committed as revision 9709 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoremove useless #ifdef CONFIG_ZLIB from zmbv decoder
Måns Rullgård [Mon, 16 Jul 2007 21:05:16 +0000 (21:05 +0000)]
remove useless #ifdef CONFIG_ZLIB from zmbv decoder

Originally committed as revision 9708 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMinGW has those include files.
Ramiro Polla [Mon, 16 Jul 2007 20:30:28 +0000 (20:30 +0000)]
MinGW has those include files.

Originally committed as revision 9707 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMove av_gettime() back to lavf/utils.c
Ramiro Polla [Mon, 16 Jul 2007 20:28:43 +0000 (20:28 +0000)]
Move av_gettime() back to lavf/utils.c

Originally committed as revision 9706 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMinGW has gettimeofday() since mingw-runtime-3.10
Ramiro Polla [Mon, 16 Jul 2007 20:27:16 +0000 (20:27 +0000)]
MinGW has gettimeofday() since mingw-runtime-3.10

Originally committed as revision 9705 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoRemove redundant "all rights reserved" statement, OKed by Walken.
Diego Biurrun [Mon, 16 Jul 2007 17:48:02 +0000 (17:48 +0000)]
Remove redundant "all rights reserved" statement, OKed by Walken.

Originally committed as revision 23791 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoadd support for S_ASS and S_SSA codec string
Aurelien Jacobs [Mon, 16 Jul 2007 14:51:43 +0000 (14:51 +0000)]
add support for S_ASS and S_SSA codec string

Originally committed as revision 9704 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agofloat_t was a typo that compiled on macosx
Marc Hoffman [Mon, 16 Jul 2007 14:45:54 +0000 (14:45 +0000)]
float_t was a typo that compiled on macosx

Originally committed as revision 9703 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agofixpoint: move cplscales to context structure and provide hook for data format conversion
Marc Hoffman [Mon, 16 Jul 2007 13:24:43 +0000 (13:24 +0000)]
fixpoint: move cplscales to context structure and provide hook for data format conversion

Originally committed as revision 9702 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agofixpoint: lowlevel functional abstraction for all buffer arithmetics
Marc Hoffman [Mon, 16 Jul 2007 12:32:41 +0000 (12:32 +0000)]
fixpoint: lowlevel functional abstraction for all buffer arithmetics

Originally committed as revision 9701 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agofixpoint: separate windowing arithmetic imlt_window_float
Marc Hoffman [Mon, 16 Jul 2007 11:52:46 +0000 (11:52 +0000)]
fixpoint: separate windowing arithmetic imlt_window_float

Originally committed as revision 9700 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoorder is name surname
Benoit Fouet [Mon, 16 Jul 2007 11:44:26 +0000 (11:44 +0000)]
order is name surname

Originally committed as revision 9699 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoseparate the actual math for recovering stereo from a signal channel, this is to...
Marc Hoffman [Mon, 16 Jul 2007 11:25:56 +0000 (11:25 +0000)]
separate the actual math for recovering stereo from a signal channel, this is to allow fixpoint implementation

Originally committed as revision 9698 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years ago.memleak fix by Ronald Bultje. OK'd by Luca.
Alex Beregszaszi [Mon, 16 Jul 2007 10:56:40 +0000 (10:56 +0000)]
.memleak fix by Ronald Bultje. OK'd by Luca.

Originally committed as revision 9697 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAdd Balatoni Denes as vorbis dec maintainer
Benoit Fouet [Mon, 16 Jul 2007 10:23:46 +0000 (10:23 +0000)]
Add Balatoni Denes as vorbis dec maintainer

Originally committed as revision 9696 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAdd note about vertical alignment to patch guidelines.
Diego Biurrun [Mon, 16 Jul 2007 09:00:50 +0000 (09:00 +0000)]
Add note about vertical alignment to patch guidelines.

Originally committed as revision 9695 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agospelling/grammar/wording
Diego Biurrun [Mon, 16 Jul 2007 08:54:59 +0000 (08:54 +0000)]
spelling/grammar/wording

Originally committed as revision 9694 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoseparating saturation codes so that we can support other data formats
Marc Hoffman [Mon, 16 Jul 2007 01:28:58 +0000 (01:28 +0000)]
separating saturation codes so that we can support other data formats

Originally committed as revision 9693 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agomoving automatic allocation of joint_decode/decode_buffer
Marc Hoffman [Sun, 15 Jul 2007 22:06:08 +0000 (22:06 +0000)]
moving automatic allocation of joint_decode/decode_buffer
to a statically allocated buffer decode_buffer_0 in cook instance.

Originally committed as revision 9692 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agocosmetic changing hardwired 20 to SUBBAND_SIZE
Marc Hoffman [Sun, 15 Jul 2007 21:48:17 +0000 (21:48 +0000)]
cosmetic changing hardwired 20 to SUBBAND_SIZE

Originally committed as revision 9691 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoremove superfluous #include
Måns Rullgård [Sun, 15 Jul 2007 19:32:31 +0000 (19:32 +0000)]
remove superfluous #include

Originally committed as revision 9690 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agohardly anything in PNGContext is shared; split it
Måns Rullgård [Sun, 15 Jul 2007 19:23:55 +0000 (19:23 +0000)]
hardly anything in PNGContext is shared; split it

Originally committed as revision 9689 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agofix visual painting of MVs from h264: they are painted twice too long
Andreas Öman [Sun, 15 Jul 2007 19:03:12 +0000 (19:03 +0000)]
fix visual painting of MVs from h264: they are painted twice too long
since the MVs are in qpel res.
Patch by Andreas Öman % andreas A olebyn P nu %
Date: Jul 14, 2007 12:40 PM
Subject: [FFmpeg-devel] [PATCH] h264 mv visualization

Originally committed as revision 9688 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoremove likely wrong reseting of align_iframe
Michael Niedermayer [Sun, 15 Jul 2007 18:24:39 +0000 (18:24 +0000)]
remove likely wrong reseting of align_iframe
same md5 with a short -t dvd encoding
fixes streamcopy of dvd

Originally committed as revision 9687 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoseparate en/decoder specific parts from png.c
Måns Rullgård [Sun, 15 Jul 2007 18:24:26 +0000 (18:24 +0000)]
separate en/decoder specific parts from png.c

Originally committed as revision 9686 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agofix the 256-point MDCT
Justin Ruggles [Sun, 15 Jul 2007 14:47:39 +0000 (14:47 +0000)]
fix the 256-point MDCT

Originally committed as revision 9685 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agouse shared ac3 bit allocation function
Justin Ruggles [Sun, 15 Jul 2007 13:53:42 +0000 (13:53 +0000)]
use shared ac3 bit allocation function

Originally committed as revision 9684 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agortp-h263 FAQ
Michael Niedermayer [Sun, 15 Jul 2007 12:17:05 +0000 (12:17 +0000)]
rtp-h263 FAQ

Originally committed as revision 9683 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agono need for the decoder to have the license as a prefix
Justin Ruggles [Sun, 15 Jul 2007 01:38:13 +0000 (01:38 +0000)]
no need for the decoder to have the license as a prefix

Originally committed as revision 9682 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoremove a debugging function and variable, and remove the commented-out code which...
Justin Ruggles [Sun, 15 Jul 2007 01:35:46 +0000 (01:35 +0000)]
remove a debugging function and variable, and remove the commented-out code which uses them.

Originally committed as revision 9681 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoABS -> FFABS
Justin Ruggles [Sun, 15 Jul 2007 01:32:04 +0000 (01:32 +0000)]
ABS -> FFABS

Originally committed as revision 9680 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agomove some common values to ac3.h and utilize them
Justin Ruggles [Sun, 15 Jul 2007 01:31:09 +0000 (01:31 +0000)]
move some common values to ac3.h and utilize them

Originally committed as revision 9679 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agouse random number generator from libavutil
Justin Ruggles [Sat, 14 Jul 2007 23:57:05 +0000 (23:57 +0000)]
use random number generator from libavutil

Originally committed as revision 9678 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years ago10l to me. I accidentally removed a word.
Justin Ruggles [Sat, 14 Jul 2007 22:17:23 +0000 (22:17 +0000)]
10l to me. I accidentally removed a word.

Originally committed as revision 9677 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agorevise license header for simplicity and consistency
Justin Ruggles [Sat, 14 Jul 2007 18:53:56 +0000 (18:53 +0000)]
revise license header for simplicity and consistency

Originally committed as revision 9676 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoRemove redundant assignment of CODEC_ID_BMP.
Mark Cox [Sat, 14 Jul 2007 17:14:16 +0000 (17:14 +0000)]
Remove redundant assignment of CODEC_ID_BMP.
patch by mark cox   melbournemark+ffmpeg _at_ gmail.com
thread: [PATCH] Remove unessesary assignment of CODEC_ID_BMP
date: Mon, 9 Jul 2007 20:12:28 +1000

Originally committed as revision 9675 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agomake ac3dec.c GPL until violations are fixed
Justin Ruggles [Sat, 14 Jul 2007 16:07:56 +0000 (16:07 +0000)]
make ac3dec.c GPL until violations are fixed

Originally committed as revision 9674 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 402, Jul 14 13:45:14 2007 UTC by jbr
Justin Ruggles [Sat, 14 Jul 2007 16:06:14 +0000 (16:06 +0000)]
AC-3 decoder, soc revision 402, Jul 14 13:45:14 2007 UTC by jbr
merge ac3_decoder.h into ac3_decoder.c

Originally committed as revision 9673 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 148, Sep 28 18:38:27 2006 UTC by banan
Loren Merritt [Sat, 14 Jul 2007 16:05:39 +0000 (16:05 +0000)]
AC-3 decoder, soc revision 148, Sep 28 18:38:27 2006 UTC by banan
Enable sse imdct, patch by Loren Merrit.

Originally committed as revision 9672 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 109, Sep 22 22:42:54 2006 UTC by banan
Justin Ruggles [Sat, 14 Jul 2007 16:05:13 +0000 (16:05 +0000)]
AC-3 decoder, soc revision 109, Sep 22 22:42:54 2006 UTC by banan
Cosmetics.

Originally committed as revision 9671 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 72, Sep 7 04:20:00 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 16:04:40 +0000 (16:04 +0000)]
AC-3 decoder, soc revision 72, Sep 7 04:20:00 2006 UTC by cloud9
fix short block imdct.

Originally committed as revision 9670 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 71, Sep 4 09:47:12 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 16:04:17 +0000 (16:04 +0000)]
AC-3 decoder, soc revision 71, Sep 4 09:47:12 2006 UTC by cloud9
Redundant code cleanup.
Optimized dither generation.
Minor optimization in bit allocation.
Comments.

Originally committed as revision 9669 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 70, Aug 31 18:04:23 2006 UTC by banan
Justin Ruggles [Sat, 14 Jul 2007 16:03:47 +0000 (16:03 +0000)]
AC-3 decoder, soc revision 70, Aug 31 18:04:23 2006 UTC by banan
Cosmetics, white space removal.

Originally committed as revision 9668 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 69, Aug 31 07:12:56 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 16:03:14 +0000 (16:03 +0000)]
AC-3 decoder, soc revision 69, Aug 31 07:12:56 2006 UTC by cloud9
Fix the bugs:
1. The quality of output because of incorrect windowing coefficients.
New code for window generation.

2. Dynrng values were reset where dynrng value is present in the first block,
but not in the subsequent block.

Originally committed as revision 9667 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 58, Aug 19 14:20:45 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 16:02:32 +0000 (16:02 +0000)]
AC-3 decoder, soc revision 58, Aug 19 14:20:45 2006 UTC by cloud9
Further optimizations.

Originally committed as revision 9666 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 57, Aug 19 12:44:38 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 16:02:08 +0000 (16:02 +0000)]
AC-3 decoder, soc revision 57, Aug 19 12:44:38 2006 UTC by cloud9
Optimization as suggested by Benjamin.

Originally committed as revision 9665 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 56, Aug 17 14:21:58 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 16:01:44 +0000 (16:01 +0000)]
AC-3 decoder, soc revision 56, Aug 17 14:21:58 2006 UTC by cloud9
Acknowledgements.

Originally committed as revision 9664 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 55, Aug 17 12:25:24 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 16:01:14 +0000 (16:01 +0000)]
AC-3 decoder, soc revision 55, Aug 17 12:25:24 2006 UTC by cloud9
Remove more unnecessary headers.
Codec initialization changed to use name => argument notation.

Originally committed as revision 9663 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 54, Aug 17 09:13:08 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 16:00:38 +0000 (16:00 +0000)]
AC-3 decoder, soc revision 54, Aug 17 09:13:08 2006 UTC by cloud9
Remove unnecessary header files.

Originally committed as revision 9662 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 53, Aug 17 08:53:44 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 16:00:05 +0000 (16:00 +0000)]
AC-3 decoder, soc revision 53, Aug 17 08:53:44 2006 UTC by cloud9
Converted the window from double to float.
Now sound produced is as good as sound produced by liba52.

Originally committed as revision 9661 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 52, Aug 16 22:45:07 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 15:59:25 +0000 (15:59 +0000)]
AC-3 decoder, soc revision 52, Aug 16 22:45:07 2006 UTC by cloud9
Reset the blksw and dithflag to 0 at the begining of each block.
Otherwise blockswitching propagates over multiple frames even if
block switching is not enabled for that frame.
Also reuse rematflg.

Originally committed as revision 9660 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 48, Aug 16 11:27:49 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 15:58:42 +0000 (15:58 +0000)]
AC-3 decoder, soc revision 48, Aug 16 11:27:49 2006 UTC by cloud9
I realized that the bug was not in the imdct routine but in the
get_transform_coeffs.
Fixed it.
Code now uses the ffmpeg's imdct routines.
All the mplayer's ac3 samples are decoded
successfully.
Also improved downmixing.
Now all the downmixing coeffcients for channels
are normalized such that the sum of coefficients
used to construct the output for single channel
never exceeds 1.0.

Originally committed as revision 9659 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 40, Aug 9 00:10:14 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 15:57:51 +0000 (15:57 +0000)]
AC-3 decoder, soc revision 40, Aug 9 00:10:14 2006 UTC by cloud9
More code cleanup.
Window is now runtime generated.
Fixed the bugs in rematrixing routine and
in Decoding AC3 Bitstreams when coupling is in use.

Still struggling to find out what affects the quality of
the produced sound. Can anybody have a look at the
imdct routines do_imdct_256 and do_imdct_512 and tell me
whether it is the correctly implemented as described in
standard.

Originally committed as revision 9658 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 38, Aug 7 00:03:00 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 15:56:55 +0000 (15:56 +0000)]
AC-3 decoder, soc revision 38, Aug 7 00:03:00 2006 UTC by cloud9
major code cleanup.
correct implementation of imdct.
implemented imdct for block switching also.
when coupling is not in use all the
ac3 streams are decoded correctly.
but when coupling is in use there is a bug.
i am currently finding the root of the bug.
if anybody can help.

Originally committed as revision 9657 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 34, Jul 18 14:27:54 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 15:51:00 +0000 (15:51 +0000)]
AC-3 decoder, soc revision 34, Jul 18 14:27:54 2006 UTC by cloud9
working decoder
imdct for block switching is to be implemented
various other things to do

Originally committed as revision 9656 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 33, Jul 17 12:13:40 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 15:49:12 +0000 (15:49 +0000)]
AC-3 decoder, soc revision 33, Jul 17 12:13:40 2006 UTC by cloud9
getting weired output
but its working

Originally committed as revision 9655 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 32, Jul 17 09:37:32 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 15:48:28 +0000 (15:48 +0000)]
AC-3 decoder, soc revision 32, Jul 17 09:37:32 2006 UTC by cloud9
Latest commit.
There is no error in parsing and or recovering transform coefficients.
Double checked with ac3dec.
Getting consistent results with the bit allocation routine and transform
coefficients.
The code is able to parse valid ac3 bitstreams without error from start
to end.
I have also implemented the imdct when block switching is not enabled.
However, can anybody provide an insight into how to convert float samples to
int16_t ? lrint is of no help cuz it produces output -1, 0 or 1 whereas the
output should be between -32768 to 32767.

Originally committed as revision 9654 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 31, Jul 14 23:53:28 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 15:42:15 +0000 (15:42 +0000)]
AC-3 decoder, soc revision 31, Jul 14 23:53:28 2006 UTC by cloud9
Removed _ from names
Removed temporary storage for the exponents
Removed ctx->samples
Now each transform coefficients are stored in audio block as an array of transform coefficients for each channel
added ctx->delay (output of later half of previous block)
added audio_block->block_output(output of this block)

I am still not able to produce the output.
I checked the code twice completely. I am not missing anything in
parsing or in bit allocation. Yet it throws error in getting transform
coefficients sometimes. Can anyone review a code of get_transform_coeffs and
help me debug it further. I think the error is in do_bit_allocation routine cuz
get_transform_coeffs is dependent on the bit allocation parameters table.

I have checked the bit allocation algorithm thoroughly and it is as defined in the
standard. Tried everything and got stuck where to go further.
Please help me.

Originally committed as revision 9653 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 26, Jul 5 04:55:15 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 15:41:27 +0000 (15:41 +0000)]
AC-3 decoder, soc revision 26, Jul 5 04:55:15 2006 UTC by cloud9
Mersenne Twister
Dynamic Range
Downmixing
IMDCT

Originally committed as revision 9652 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAC-3 decoder, soc revision 9, Jun 14 03:52:02 2006 UTC by cloud9
Justin Ruggles [Sat, 14 Jul 2007 15:38:39 +0000 (15:38 +0000)]
AC-3 decoder, soc revision 9, Jun 14 03:52:02 2006 UTC by cloud9
initial commit
NOTE: This and all subsequent ac3dec.c revisions from the soc repository
violate the GPL. This will be fixed after all soc revisions are imported.
This file is not compiled yet, so the license compliance of any builds in
the meantime will not be affected.

Originally committed as revision 9651 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAvoid using undefined symbols.
Aurelien Jacobs [Sat, 14 Jul 2007 15:12:38 +0000 (15:12 +0000)]
Avoid using undefined symbols.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-muxer=mpeg1system

Originally committed as revision 9650 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAllow selecting only the vc1 demuxer.
Aurelien Jacobs [Sat, 14 Jul 2007 14:43:06 +0000 (14:43 +0000)]
Allow selecting only the vc1 demuxer.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-demuxer=vc1

Originally committed as revision 9649 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAllow selecting only the mpegtsraw demuxer.
Aurelien Jacobs [Sat, 14 Jul 2007 14:40:18 +0000 (14:40 +0000)]
Allow selecting only the mpegtsraw demuxer.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-demuxer=mpegtsraw

Originally committed as revision 9648 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agotypo
Diego Biurrun [Sat, 14 Jul 2007 14:39:51 +0000 (14:39 +0000)]
typo

Originally committed as revision 23780 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoThe dxa demuxer depends on riff.o.
Aurelien Jacobs [Sat, 14 Jul 2007 14:35:17 +0000 (14:35 +0000)]
The dxa demuxer depends on riff.o.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols --enable-demuxer=dxa

Originally committed as revision 9647 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agomove #include of system headers to top of file
Måns Rullgård [Sat, 14 Jul 2007 14:34:40 +0000 (14:34 +0000)]
move #include of system headers to top of file

Originally committed as revision 9646 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoThe dv1394 demuxer depends on dv.o.
Aurelien Jacobs [Sat, 14 Jul 2007 14:32:41 +0000 (14:32 +0000)]
The dv1394 demuxer depends on dv.o.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-demuxer=dv1394

Originally committed as revision 9645 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAll those demuxers don't depend on riff.o anymore.
Aurelien Jacobs [Sat, 14 Jul 2007 14:27:20 +0000 (14:27 +0000)]
All those demuxers don't depend on riff.o anymore.

Originally committed as revision 9644 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAll those demuxers use pcm_read_seek() and thus depend on raw.o.
Aurelien Jacobs [Sat, 14 Jul 2007 14:01:20 +0000 (14:01 +0000)]
All those demuxers use pcm_read_seek() and thus depend on raw.o.

Originally committed as revision 9643 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoThe c93 demuxer depends on vocdec.o.
Aurelien Jacobs [Sat, 14 Jul 2007 13:37:24 +0000 (13:37 +0000)]
The c93 demuxer depends on vocdec.o.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols --enable-demuxer=c93

Originally committed as revision 9642 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoThe mpegaudio parser depends on mpegaudiodata.o.
Aurelien Jacobs [Sat, 14 Jul 2007 13:23:26 +0000 (13:23 +0000)]
The mpegaudio parser depends on mpegaudiodata.o.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-parser=mpegaudio

Originally committed as revision 9641 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAllow selecting only the vp6f decoder.
Aurelien Jacobs [Sat, 14 Jul 2007 13:14:28 +0000 (13:14 +0000)]
Allow selecting only the vp6f decoder.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols --enable-decoder=vp6f

Originally committed as revision 9640 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoAnnounce that vhook is deprecated, and its substitute.
Víctor Paesa [Sat, 14 Jul 2007 13:12:30 +0000 (13:12 +0000)]
Announce that vhook is deprecated, and its substitute.

Originally committed as revision 9639 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoThe svq3 decoder depends on h264idct.o and also requires h264_parser.
Aurelien Jacobs [Sat, 14 Jul 2007 13:11:15 +0000 (13:11 +0000)]
The svq3 decoder depends on h264idct.o and also requires h264_parser.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols --enable-decoder=svq3

Originally committed as revision 9638 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoavoid division by zero in av_find_stream_info() when no time base is set
Måns Rullgård [Sat, 14 Jul 2007 12:42:57 +0000 (12:42 +0000)]
avoid division by zero in av_find_stream_info() when no time base is set

Originally committed as revision 9637 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years ago10l to Mans, assert is included later with proper DEBUG/NDEBUG ifdefs
Alex Beregszaszi [Sat, 14 Jul 2007 11:33:16 +0000 (11:33 +0000)]
10l to Mans, assert is included later with proper DEBUG/NDEBUG ifdefs

Originally committed as revision 9636 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agomatch doxygen comment with other parts of the file
Alex Beregszaszi [Sat, 14 Jul 2007 00:15:01 +0000 (00:15 +0000)]
match doxygen comment with other parts of the file

Originally committed as revision 9635 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agocreate and populate "tools" directory
Måns Rullgård [Fri, 13 Jul 2007 21:33:24 +0000 (21:33 +0000)]
create and populate "tools" directory

Originally committed as revision 9634 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agolibavtest and seektest no longer need gpl
Måns Rullgård [Fri, 13 Jul 2007 17:41:28 +0000 (17:41 +0000)]
libavtest and seektest no longer need gpl

Originally committed as revision 9633 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoGXF muxer is no longer GPLed.
Diego Biurrun [Fri, 13 Jul 2007 17:38:17 +0000 (17:38 +0000)]
GXF muxer is no longer GPLed.

Originally committed as revision 9632 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoSmartjog granted permission to relicense as LGPL 2.1
Baptiste Coudurier [Fri, 13 Jul 2007 17:15:56 +0000 (17:15 +0000)]
Smartjog granted permission to relicense as LGPL 2.1

Originally committed as revision 9631 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoround timestamps up, k2 broadcast server seems to need it
Baptiste Coudurier [Fri, 13 Jul 2007 17:06:58 +0000 (17:06 +0000)]
round timestamps up, k2 broadcast server seems to need it

Originally committed as revision 9630 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoCheck for GetProcessTimes and use it in getutime
Ramiro Polla [Fri, 13 Jul 2007 16:11:36 +0000 (16:11 +0000)]
Check for GetProcessTimes and use it in getutime

Originally committed as revision 9629 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoCollapse getutime into one declaration
Ramiro Polla [Fri, 13 Jul 2007 16:05:36 +0000 (16:05 +0000)]
Collapse getutime into one declaration

Originally committed as revision 9628 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoCheck for getrusage
Ramiro Polla [Fri, 13 Jul 2007 16:04:00 +0000 (16:04 +0000)]
Check for getrusage

Originally committed as revision 9627 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoClarify license requirements for contributions.
Diego Biurrun [Fri, 13 Jul 2007 14:33:20 +0000 (14:33 +0000)]
Clarify license requirements for contributions.

Originally committed as revision 9626 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoReplace non-existing @fixme doxygen tags with @todo.
İsmail Dönmez [Fri, 13 Jul 2007 13:04:55 +0000 (13:04 +0000)]
Replace non-existing @fixme doxygen tags with @todo.
patch by Ismail Dönmez, ismail pardus.org tr

Originally committed as revision 9625 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoh264_rtp_extra_data is not only used for debug purposes, asserts are using it also
Alex Beregszaszi [Fri, 13 Jul 2007 12:12:38 +0000 (12:12 +0000)]
h264_rtp_extra_data is not only used for debug purposes, asserts are using it also

Originally committed as revision 9623 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoremove uneeded include as assert is never used
Alex Beregszaszi [Fri, 13 Jul 2007 12:01:56 +0000 (12:01 +0000)]
remove uneeded include as assert is never used

Originally committed as revision 9622 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoRemove broken assert. ebml_read_element_id can handle level_up set to NULL.
Alex Beregszaszi [Fri, 13 Jul 2007 11:58:15 +0000 (11:58 +0000)]
Remove broken assert. ebml_read_element_id can handle level_up set to NULL.

Originally committed as revision 9621 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years ago10l to Benoit, poll.h is already included below, and this broke compilation on mingw
Alex Beregszaszi [Fri, 13 Jul 2007 00:55:42 +0000 (00:55 +0000)]
10l to Benoit, poll.h is already included below, and this broke compilation on mingw

Originally committed as revision 9620 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agofix compilation with assert
Alex Beregszaszi [Fri, 13 Jul 2007 00:49:40 +0000 (00:49 +0000)]
fix compilation with assert

Originally committed as revision 9619 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoenable $ARCH_EXT_LIST before parsing command line
Måns Rullgård [Fri, 13 Jul 2007 00:13:57 +0000 (00:13 +0000)]
enable $ARCH_EXT_LIST before parsing command line

Originally committed as revision 9618 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoMake "channels" variable mean the number of channels, not the number of
Vitor Sessak [Fri, 13 Jul 2007 00:06:46 +0000 (00:06 +0000)]
Make "channels" variable mean the number of channels, not the number of
channels minus one

Originally committed as revision 9617 to svn://svn.ffmpeg.org/ffmpeg/trunk

12 years agoindent
Måns Rullgård [Thu, 12 Jul 2007 22:55:35 +0000 (22:55 +0000)]
indent

Originally committed as revision 9616 to svn://svn.ffmpeg.org/ffmpeg/trunk