summaryrefslogtreecommitdiffstats
path: root/libavcodec/mlpdec.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | 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
* mlpdec: Filters and matrices may change only once per substream per access unit.Ramiro Polla2009-04-061-0/+22
| | | | Originally committed as revision 18338 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: There must be no extraword for MLP.Ramiro Polla2009-04-051-0/+4
| | | | Originally committed as revision 18337 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Validate non-restart bit from the substream header.Ramiro Polla2009-04-051-2/+12
| | | | Originally committed as revision 18336 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: matrix_out_ch must not be greater than max_matrix_channel, and not ↵Ramiro Polla2009-04-051-1/+1
| | | | | | max_channel. Originally committed as revision 18335 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Simplify check for substream_parity_present.Ramiro Polla2009-03-301-2/+4
| | | | Originally committed as revision 18240 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Simplify no restart header seen error.Ramiro Polla2009-03-301-6/+5
| | | | Originally committed as revision 18239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Simplify substream length mismatch error.Ramiro Polla2009-03-301-5/+9
| | | | Originally committed as revision 18238 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Prettify substream parity check.Ramiro Polla2009-03-301-8/+6
| | | | Originally committed as revision 18237 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Cleaner and better termination word check.Ramiro Polla2009-03-301-11/+12
| | | | Originally committed as revision 18236 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: More validation for read_channel_params()Ramiro Polla2009-03-301-2/+10
| | | | Originally committed as revision 18235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: whitespace cosmetics.Ramiro Polla2009-03-301-12/+6
| | | | Originally committed as revision 18234 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Simplify &foo[0] to foo and use index (which has just been initializedRamiro Polla2009-03-301-4/+4
| | | | | | | 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
* mlpdec: Split filter_state_buffer into [fi]irbuf and fp to [fi]ir.Ramiro Polla2009-03-301-16/+17
| | | | Originally committed as revision 18232 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Unroll copying filter state data and filtering for the two filters.Ramiro Polla2009-03-301-13/+15
| | | | Originally committed as revision 18231 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Max filter orders for FIR and IIR are 8 and 4 respectively.Ramiro Polla2009-03-301-5/+6
| | | | Originally committed as revision 18230 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Remove few random dprintf()s.Ramiro Polla2009-03-281-8/+0
| | | | Originally committed as revision 18212 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Check for blocksize in proper range.Ramiro Polla2009-03-271-2/+2
| | | | Originally committed as revision 18211 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: quant_step_size can be any value from 0 to 0xF.Ramiro Polla2009-03-271-1/+0
| | | | Originally committed as revision 18210 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: output_shift can be any value from -8 to 7.Ramiro Polla2009-03-271-1/+0
| | | | Originally committed as revision 18209 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: output_shift is signedRamiro Polla2009-03-271-1/+1
| | | | Originally committed as revision 18208 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Split read_channel_params() into its own function.Ramiro Polla2009-03-271-37/+49
| | | | Originally committed as revision 18207 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Split read_matrix_params() into its own function.Ramiro Polla2009-03-271-38/+50
| | | | Originally committed as revision 18206 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlp, truehd: support non 1:1 channel mapping.Ramiro Polla2009-03-201-9/+16
| | | | Originally committed as revision 18074 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support "next parameter flags present" flag.Ramiro Polla2009-03-201-0/+2
| | | | Originally committed as revision 18073 to svn://svn.ffmpeg.org/ffmpeg/trunk
* truehd: support up to 3 substreams.Ramiro Polla2009-03-201-0/+4
| | | | Originally committed as revision 18072 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split TrueHD decoder from MLPRamiro Polla2009-03-191-1/+16
| | | | Originally committed as revision 18045 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change a bunch of codec long_names to be more consistent and descriptive.Diego Biurrun2009-03-021-1/+1
| | | | Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | 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
* Add missing void keyword to parameterless function declarations.Diego Biurrun2009-01-301-1/+1
| | | | Originally committed as revision 16860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change mplayerhq.hu references to ffmpeg.org where appropriate.Diego Biurrun2008-12-251-1/+1
| | | | Originally committed as revision 16310 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlp: cosmetics: remove {}s over one-lined if.Ramiro Polla2008-12-071-2/+1
| | | | Originally committed as revision 16027 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlp: support bit-depths greater than 16 by default.Ramiro Polla2008-12-071-3/+3
| | | | Originally committed as revision 16026 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlp: Fix compilation under CONFIG_AUDIO_NONSHORT.Mathieu Velten2008-12-061-1/+1
| | | | | | Patch by Mathieu Velten < matmaul at gmail dot com > Originally committed as revision 16021 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlp: Define End-of-Stream code in common header file and use it in decoder.Ramiro Polla2008-08-141-1/+1
| | | | Originally committed as revision 14763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlp: split simple inline function that xors 4 bytes into one.Ramiro Polla2008-08-141-4/+1
| | | | Originally committed as revision 14747 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlp: Split common code from parser and decoder to be used by encoder.Ramiro Polla2008-08-131-148/+13
| | | | Originally committed as revision 14733 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Put some doxy comments to the right of vars instead of interleaved.Ramiro Polla2008-08-131-12/+6
| | | | Originally committed as revision 14721 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Split channel parameters from context into their own struct.Ramiro Polla2008-08-131-38/+46
| | | | Originally committed as revision 14720 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: whitespace and line-breaking cosmetics.Ramiro Polla2008-08-121-9/+5
| | | | Originally committed as revision 14717 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Split filter parameters from context into their own struct.Ramiro Polla2008-08-121-29/+38
| | | | Originally committed as revision 14716 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-311-0/+1
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlpdec: Check for bits left before each read of End-of-Stream indicator andRamiro Polla2008-07-131-2/+3
| | | | | | | Substream parity check independently. This allows decoding of streams that have EOS but don't have Substream parity check. Originally committed as revision 14206 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add required stdint.h header #include.Diego Biurrun2008-07-051-0/+2
| | | | Originally committed as revision 14077 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling cosmeticsDiego Biurrun2008-07-051-58/+58
| | | | Originally committed as revision 14076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MLP/TrueHD decoder.Ramiro Polla2008-07-041-0/+1180
Originally committed as revision 14067 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud