Michael Niedermayer
fef59a5b4b
Rename mpeg4 intra vlc tables so they contain "mpeg4", this improves readability
...
of msmpeg4 code (one now knows where that table comes from).
Originally committed as revision 21097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 17:41:14 +00:00
Michael Niedermayer
05b858b045
Rename DCtab_*, its a global variable and it helps understanding if mpeg4
...
is in its name.
Originally committed as revision 21096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 17:28:43 +00:00
Jai Menon
4536c8e603
Snow : re-indent after r21093.
...
Originally committed as revision 21094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 16:37:32 +00:00
Jai Menon
a4bd598541
Snow : remove pointless 'if(1)'.
...
Originally committed as revision 21093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 16:34:50 +00:00
Michael Niedermayer
28fbbee15f
Remove useless line.
...
Originally committed as revision 21092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 16:26:44 +00:00
Michael Niedermayer
e75d233506
Fix indention.
...
Originally committed as revision 21091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 16:04:45 +00:00
Andreas Öman
4ad04da214
Log unknown NAL code from correct context
...
Originally committed as revision 21090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 15:50:26 +00:00
Jai Menon
2da16f288a
Snow : use non-NULL context for av_log.
...
Originally committed as revision 21089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 14:45:24 +00:00
Jai Menon
8ec5a042e4
Cosmetics : remove duplicated comment.
...
Originally committed as revision 21088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 14:33:35 +00:00
Diego Biurrun
49d2d1c35c
Explain why the level variable is magically inceased in mpeg4_encode_dc().
...
It must be in a certain range to avoid DC overflows.
Originally committed as revision 21087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 10:00:56 +00:00
Alex Converse
d987a9e9ad
fft-test: whitespace cosmetics
...
Originally committed as revision 21085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 06:11:56 +00:00
Jai Menon
e8c6411ce3
Snow : release buffers allocated using avctx->get_buffer.
...
Originally committed as revision 21084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 05:09:17 +00:00
Jai Menon
8456462fb8
Set bits_per_coded_sample in the raw video encoder.
...
Aside from being the correct thing to do, this also
fixes issue 1299.
Originally committed as revision 21083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 05:08:02 +00:00
Michael Niedermayer
51ce2207c8
Add a few CONFIG_MPEG4_DECODER that should be there.
...
Originally committed as revision 21082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 04:00:06 +00:00
Michael Niedermayer
ca334dd14b
Split the mpeg4 encoder and decoder off h263.c
...
Originally committed as revision 21079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 23:53:49 +00:00
Thilo Borgmann
e38215f2a4
Add multi-channel correlation support for ALS.
...
Originally committed as revision 21074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 22:48:58 +00:00
Carl Eugen Hoyos
59043195d4
Fix red/blue swap for 4xa files.
...
Originally committed as revision 21070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 22:33:26 +00:00
Thilo Borgmann
99c5f5ccbe
Optimize short-term prediction by reducing index arithmetic.
...
Originally committed as revision 21069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 22:23:28 +00:00
Michael Niedermayer
46244c640c
Add some const qualifiers.
...
Originally committed as revision 21064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 15:46:45 +00:00
Michael Niedermayer
616251c924
Document decide_ac_pred() and restore_ac_coeffs().
...
Originally committed as revision 21063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 15:43:49 +00:00
Michael Niedermayer
d6856c5708
Move restore_ac_coeffs() call into decode_ac_pred().
...
This makes decode_ac_pred() easier to understand.
Originally committed as revision 21062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 15:31:54 +00:00
Michael Niedermayer
0dc5dc08db
Move restore_ac_coeffs() up so its declared before its use.
...
Originally committed as revision 21061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 15:24:50 +00:00
Michael Niedermayer
64f716b499
More doxy
...
Originally committed as revision 21060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 15:12:31 +00:00
Michael Niedermayer
7cd9fe488d
Document ff_h263_show_pict_info().
...
Originally committed as revision 21059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 14:56:40 +00:00
Michael Niedermayer
4fea04820b
Factorize if() surrounding every ff_h263_show_pict_info() call.
...
Originally committed as revision 21058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 14:55:11 +00:00
Michael Niedermayer
0b60f3bdf5
2 more if(CONFIG_*_DECODER)
...
Originally committed as revision 21055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 06:32:34 +00:00
Michael Niedermayer
d7525cba23
Split out intel H263 decoder.
...
Originally committed as revision 21054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 06:25:41 +00:00
Michael Niedermayer
515a543809
flv.h should ideally be included in flvdec.c
...
Originally committed as revision 21053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 06:20:57 +00:00
Michael Niedermayer
6a14a15722
Move forgotton "AVCodec flv_encoder" over to flvenc.c.
...
Originally committed as revision 21052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 05:41:49 +00:00
Michael Niedermayer
a0b0d75368
Split flv decoding out.
...
Originally committed as revision 21051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 05:36:45 +00:00
Michael Niedermayer
eb52376915
Split out flv encoding.
...
Originally committed as revision 21050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 04:42:39 +00:00
Michael Niedermayer
f867378771
Document aspect_to_info().
...
Originally committed as revision 21049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 04:01:19 +00:00
Michael Niedermayer
f016159416
Cleanup aspect_to_info().
...
Originally committed as revision 21048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 03:58:12 +00:00
Michael Niedermayer
214cb565c0
Document several more things.
...
Originally committed as revision 21047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 03:54:10 +00:00
Michael Niedermayer
b0704443f2
Document *VLC_BITS.
...
Originally committed as revision 21046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 03:40:41 +00:00
Michael Niedermayer
046be9299f
Simplify h263_get_picture_format().
...
Originally committed as revision 21045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 03:36:46 +00:00
Michael Niedermayer
5149048b6f
Mark h263_get_picture_format() av_const to indicate that it has no funny
...
sideeffects and reads no global memory.
Originally committed as revision 21044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 03:34:30 +00:00
Michael Niedermayer
7a05b0a675
Document h263_get_picture_format().
...
Originally committed as revision 21043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 03:30:45 +00:00
Carl Eugen Hoyos
07f2a575c5
100l: Fix compilation after r21037.
...
Originally committed as revision 21039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-06 23:15:33 +00:00
Michael Niedermayer
2efcf29275
Stop the approximation in bessel() once it does no longer improve.
...
This is faster.
Originally committed as revision 21038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-06 22:40:52 +00:00
Daniel Verkamp
9df9b810c5
Handle more ADPCM codecs in av_get_bits_per_sample().
...
This removes some special-case code from riff.c.
CODEC_ID_ADPCM_G726 is still handled in riff.c as before because it is
not guaranteed to be fixed 4 bits per sample.
Originally committed as revision 21037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-06 21:51:20 +00:00
Francesco Lavra
643bae382c
Use correct context for av_log(), should prevent a crash for malformed files.
...
Patch by Francesco Lavra (francescolavra at interfree dot it).
Originally committed as revision 21031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-05 16:25:41 +00:00
Diego Biurrun
50fe16960b
Add a few explanatory comments to cornercase workarounds.
...
Originally committed as revision 21030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-05 10:18:01 +00:00
Thilo Borgmann
71fe4573bc
Replace array operator [] with direct access via pointer.
...
Solves issue 1657.
Originally committed as revision 21029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-05 01:16:02 +00:00
Carl Eugen Hoyos
6698d13998
Cosmetics: Fix indentation and comment after r21027.
...
Originally committed as revision 21028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-05 01:14:38 +00:00
Carl Eugen Hoyos
4235c98e57
Support decoding raw 2bpp in mov, fixes issue 1528.
...
Originally committed as revision 21027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-05 01:11:45 +00:00
Carl Eugen Hoyos
0a1e15109a
Improve readability of 4bpp raw decoder and prepare for supporting 2bpp.
...
Originally committed as revision 21026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-05 00:41:29 +00:00
Vitor Sessak
0e426b7a6c
Reindent after last commit
...
Originally committed as revision 21019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-04 19:26:08 +00:00
Vitor Sessak
846b231643
Add missing "static" qualifier
...
Originally committed as revision 21018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-04 19:25:44 +00:00
avcoder
b02e9c962b
The H.263 wrong_run table is only for encoding; only enable it in such cases.
...
patch by avcoder, ffmpeg gmail com
Originally committed as revision 21013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-04 13:21:18 +00:00