summaryrefslogtreecommitdiff
path: root/libavcodec/pcm-dvd.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* pcm-dvd: Move a variable to a smaller scopeDiego Biurrun2014-09-26
| | | | This avoids an unused variable warning on big-endian systems.
* pcm-dvd: Fix 20bit decodingnu7742014-05-09
| | | | | | | | Increment the pointer as needed. Bug-Id: 592 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* pcm-dvd: Minor leftoversChristian Schmidt2013-09-13
| | | | Drop a pointless branch in uninit and use the compact copyright.
* pcm-dvd: Support channel configuration changesChristian Schmidt2013-09-13
| | | | | | | | | | The sample buffering logic does not take into account that the blocksize could change. Reset the buffer if the channel configuration changes, since if there are leftover samples, it is most likely a broken or misconcatenated stream. This could lead to negative numbers for missing_samples during decoding. Thanks to Michael Niedermeyer for pointing these out.
* pcm-dvd: Fix build on big endianMartin Storsjö2013-08-31
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* pcm_dvd: consolidate pieces from pcm.c and mpeg.cChristian Schmidt2013-08-31
Remove the header decoding for PCM audio from mpeg.c and the 20/24bit parts from pcm.c and merge them into a new decoder in pcm-dvd.c. The decoder has added support for samples that span multiple packets and modified 20/24bit group decoding. Both is needed to decode samples that have been generated with DVD-Lab Pro 2. The decoding of 16bit PCM and two channel 24bit is identical to before. No other samples are known to verify the correctness of the encoding this software does. The complete list of tested formats is 48kHz/16bit/2-8 channels 48kHz/24bit/2-5 channels 96kHz/16bit/2-4 channels 96kHz/24bit/2 channels Signed-off-by: Luca Barbato <lu_zero@gentoo.org>