Ramiro Polla
46958efe97
mlpdec: Restart header sync must be 0x31ea for MLP.
...
Originally committed as revision 18648 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
a256445ec3
mlpdec: Read context variable to local variable to make code cleaner.
...
Originally committed as revision 18615 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
f95f6ab91e
mlpdec: {}- and whitespace-related cosmetics.
...
Originally committed as revision 18614 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
63ad832dd6
mlpdec: Use some context arrays with local variables in rematrix_channels().
...
Originally committed as revision 18613 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
15e6748b72
truehd: Simplify rematrix_channels() as per Michael's original review.
...
Originally committed as revision 18612 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
95c14b1eea
mlpdec: Make read_matrix_params() take unsigned int substr for consistency.
...
Originally committed as revision 18611 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
5d9e4eaa6d
mlpdec: Check for {matrix,filter}_changed as soon as they are incremented.
...
Originally committed as revision 18610 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
75428fa447
mlpdec: Filters and matrices may change only once per substream per access unit.
...
Originally committed as revision 18338 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
89e39be3b6
mlpdec: There must be no extraword for MLP.
...
Originally committed as revision 18337 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
cc9c512638
mlpdec: Validate non-restart bit from the substream header.
...
Originally committed as revision 18336 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
0091d8a164
mlpdec: matrix_out_ch must not be greater than max_matrix_channel, and not max_channel.
...
Originally committed as revision 18335 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
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
Ramiro Polla
9731e7f13e
mlp, truehd: support non 1:1 channel mapping.
...
Originally committed as revision 18074 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
cbf3cf19f3
Support "next parameter flags present" flag.
...
Originally committed as revision 18073 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
932cee5d67
truehd: support up to 3 substreams.
...
Originally committed as revision 18072 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
9ba4821d93
Split TrueHD decoder from MLP
...
Originally committed as revision 18045 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
0ffbc258aa
Change a bunch of codec long_names to be more consistent and descriptive.
...
Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
dc8a7c93d3
Add missing void keyword to parameterless function declarations.
...
Originally committed as revision 16860 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
0fa5f24c3b
Change mplayerhq.hu references to ffmpeg.org where appropriate.
...
Originally committed as revision 16310 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
c687643c68
mlp: cosmetics: remove {}s over one-lined if.
...
Originally committed as revision 16027 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
ee1a8f6290
mlp: support bit-depths greater than 16 by default.
...
Originally committed as revision 16026 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Mathieu Velten
97679e6e38
mlp: Fix compilation under CONFIG_AUDIO_NONSHORT.
...
Patch by Mathieu Velten < matmaul at gmail dot com >
Originally committed as revision 16021 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
1e8bd10c57
mlp: Define End-of-Stream code in common header file and use it in decoder.
...
Originally committed as revision 14763 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
a7cc783d71
mlp: split simple inline function that xors 4 bytes into one.
...
Originally committed as revision 14747 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
ce15710f55
mlp: Split common code from parser and decoder to be used by encoder.
...
Originally committed as revision 14733 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
5dae0dd22c
mlpdec: Put some doxy comments to the right of vars instead of interleaved.
...
Originally committed as revision 14721 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
f53acb7b17
mlpdec: Split channel parameters from context into their own struct.
...
Originally committed as revision 14720 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
db01fa131b
mlpdec: whitespace and line-breaking cosmetics.
...
Originally committed as revision 14717 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
d6aa052dc5
mlpdec: Split filter parameters from context into their own struct.
...
Originally committed as revision 14716 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
fd76c37fd9
Modify all codecs to report their supported input and output sample format(s).
...
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago