Ramiro Polla
ab79fa44f1
mlpdec: Simplify check for substream_parity_present.
...
Originally committed as revision 18240 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
01aaf09274
mlpdec: Simplify no restart header seen error.
...
Originally committed as revision 18239 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
d7952be311
mlpdec: Simplify substream length mismatch error.
...
Originally committed as revision 18238 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
d544dcdf38
mlpdec: Prettify substream parity check.
...
Originally committed as revision 18237 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
7b18e13a7c
mlpdec: Cleaner and better termination word check.
...
Originally committed as revision 18236 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
125cf771f6
mlpdec: More validation for read_channel_params()
...
Originally committed as revision 18235 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
06e34be88f
mlpdec: whitespace cosmetics.
...
Originally committed as revision 18234 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
a44b9f9574
mlpdec: Simplify &foo[0] to foo and use index (which has just been initialized
...
to MAX_BLOCKSIZE) instead of MAX_BLOCKSIZE, so both copies to/from state data
look alike.
Originally committed as revision 18233 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
e71365f427
mlpdec: Split filter_state_buffer into [fi]irbuf and fp to [fi]ir.
...
Originally committed as revision 18232 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
0ae59bb01a
mlpdec: Unroll copying filter state data and filtering for the two filters.
...
Originally committed as revision 18231 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
0c5670a0e5
mlpdec: Max filter orders for FIR and IIR are 8 and 4 respectively.
...
Originally committed as revision 18230 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
aadf88119e
Merge the 3 COPY_FROM_* macros with lots of duplicated code into a single
...
copy_from function.
Originally committed as revision 18225 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
a1f6ffd44d
Change CHECK_STREAM_PTR macro to correctly handle the (extremely unlikely)
...
overflow case.
Originally committed as revision 18224 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3017d8e9d7
Simplify check for leftover bytes after decoding for interplayvideo.
...
Originally committed as revision 18223 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
49da3b7df2
Get rid of pointless "B" array in interplayvideo decoder.
...
Originally committed as revision 18222 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
03b269ddc2
Replace many tiny loops in the interplayvideo decoder by memset, memcpy
...
or initializers.
Originally committed as revision 18221 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
fff6077917
Make ipvideo_decode_block array constant, compile-time initialized instead
...
of initializing it each time the decoder is initialized.
Originally committed as revision 18219 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
43a0cb7ca2
Generalize example target rule in common.mak so that it sets a -example$(EXESUF)
...
suffix for all example files instead of doing this in individual Makefiles.
Originally committed as revision 18217 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7c17abaf9d
Rename apiexample.c --> api-example.c to be consistent with other example files.
...
Originally committed as revision 18216 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
fa937faba4
mlpdec: Remove few random dprintf()s.
...
Originally committed as revision 18212 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
b864098c16
mlpdec: Check for blocksize in proper range.
...
Originally committed as revision 18211 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
8e9ee714fc
mlpdec: quant_step_size can be any value from 0 to 0xF.
...
Originally committed as revision 18210 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
6fae7cbd7f
mlpdec: output_shift can be any value from -8 to 7.
...
Originally committed as revision 18209 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
af04802640
mlpdec: output_shift is signed
...
Originally committed as revision 18208 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
43ee5fe035
mlpdec: Split read_channel_params() into its own function.
...
Originally committed as revision 18207 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
f8e6293bde
mlpdec: Split read_matrix_params() into its own function.
...
Originally committed as revision 18206 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
6b78a77a35
Merge some cases for reading raw data with different bit depths in BMP
...
Originally committed as revision 18202 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
d4efacff64
Use intptr_t when casting pointers to int.
...
Originally committed as revision 18192 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
c04e5fa827
fft-test does not depend on fdctref.o.
...
Originally committed as revision 18190 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7304c2c4ce
Move adding the '-test$(EXESUF)' suffix to test programs into common.mak.
...
Originally committed as revision 18189 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
d7520f217a
cosmetics: add an @return to documentation for decode_frame_header()
...
Originally committed as revision 18179 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
29e455081f
Update apiexample.c to use the newer avcodec_decode_audio2() API. This also
...
fixes compilation.
Originally committed as revision 18176 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
cd98a03024
flacdec: split frame header decoding and validation into a separate
...
function
Originally committed as revision 18175 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
3c32bac898
Add MPEG-2 bitstream decoding through VA API.
...
Originally committed as revision 18172 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
6d69a653d8
Move av_class to AVResampleContext instead of ReSampleContext.
...
Fixes issue 852.
Originally committed as revision 18170 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
04964ee8bb
AAC: Ignore cc_domain for independent (time domain) coupling.
...
Originally committed as revision 18169 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
620bba1653
Add pcxenc.o to the $OBJS list, it was erroneously removed from it in
...
r18164.
Fix compilation.
Originally committed as revision 18168 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e8b0395236
flacdec: cosmetics: white space
...
Originally committed as revision 18167 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
fbc4d9c964
flacdec: cosmetics: separate the pure frame header parsing code from
...
other frame header decoding code
Originally committed as revision 18166 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
661ce28996
Rename 'tests' target to 'testprogs'. It is too easily confused with the
...
'test' target and a directory named tests exists.
Originally committed as revision 18165 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
fd8e28b73e
Split AVCodec declarations for PAM/PBM/PGM/PGMYUV/PPM decoders and encoders
...
so that they can be enabled and disabled individually.
Originally committed as revision 18164 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
6e08ca9c51
Make the pixel formats which were defined as macros:
...
PIX_FMT_ARGB
PIX_FMT_RGBA
PIX_FMT_ABGR
PIX_FMT_BGRA
defined as enum PixelFormat values, and viceversa make:
PIX_FMT_RGB32
PIX_FMT_RGB32_1
PIX_FMT_BGR32
PIX_FMT_BGR32_1
defined as macros, also resort accordingly the enum PixelFormat
list.
Also make avcodec_get_pix_fmt() recognize the "rgb32" and "bgr32"
aliases, in order to make ffmpeg pass regressions test.
This change breaks ABI backward compatibility.
Originally committed as revision 18163 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e7e6b06802
flacdec: allow sample rate to change mid-stream, but log a warning
...
message when it does
Originally committed as revision 18162 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
6708cfc4d3
Add rule for building API example programs.
...
Originally committed as revision 18161 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
326e9eaa20
Factorize: use the X_NE() macro in avcodec_get_pix_fmt().
...
Originally committed as revision 18160 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
1448907465
flacdec: cosmetics: indentation
...
Originally committed as revision 18159 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
8199ea3b8c
Implement X_NE() macro.
...
Originally committed as revision 18158 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e2a38af96e
flacdec: change frame bps validation to return an error value if bps
...
changes since this is not currently supported by the decoder.
Originally committed as revision 18157 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
f91eaf5deb
flacdec: cosmetics: add some braces to if/else statements
...
Originally committed as revision 18156 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
b6fa746e39
flacdec: skip frame when allocated data size is too small
...
Originally committed as revision 18155 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago