Tim Walker and Luca Barbato
5f5ada3dbf
shorten: Fix out-of-array read
...
pred_order == FF_ARRAY_ELEMS(fixed_coeffs) is invalid too.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-10-10 17:52:14 +02:00
Tim Walker and Anton Khirnov
9d083d6417
flac: add channel layout masks for streams with 7 or 8 channels.
...
They were added to the latest FLAC specification:
https://git.xiph.org/?p=flac-website.git;a=commit;h=65c199a2
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-02-06 21:44:06 +01:00
Tim Walker and Anton Khirnov
41244e13d5
flac: don't check the number of channels before setting the channel layout.
...
This is unnecessary, as ff_flac_set_channel_layout can handle any number of channels.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-02-06 21:43:05 +01:00
Tim Walker and Justin Ruggles
40cf1add12
mlp_parser: cosmetics: re-indent.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
2013-01-22 16:10:02 -05:00
Tim Walker and Justin Ruggles
ed1b01131e
mlp: implement support for AVCodecContext.request_channel_layout.
...
Also wrap usage of AVCodecContext.request_channels in FF_API_REQUEST_CHANNELS directives.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
2013-01-22 16:10:02 -05:00
Tim Walker and Justin Ruggles
b0c7e3ffd0
mlp_parser: account for AVCodecContext.request_channels when setting the channel layout.
...
Allows users to configure the output based on what's actually decoded, rather than the full native layout.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
2013-01-22 16:10:02 -05:00
Tim Walker and Justin Ruggles
1fd2deedcc
mlpdec: set the channel layout.
...
Fixes bug 401.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
CC:libav-stable@libav.org
2013-01-22 16:10:02 -05:00
Tim Walker and Justin Ruggles
3ffcccb4fb
mlpdec: TrueHD: use Libav channel order.
...
Fixes bug 208.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
CC:libav-stable@libav.org
2013-01-22 16:10:02 -05:00
Tim Walker and Justin Ruggles
99ccd2ba10
mlp: store the channel layout for each substream.
...
Also stop storing the channel arrangement in the header info, as it's unused outside of ff_mlp_read_major_sync.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
CC:libav-stable@libav.org
2013-01-22 16:10:02 -05:00
Tim Walker and Justin Ruggles
b901c30da6
lavr/audio_mix_matrix: acknowledge the existence of LFE2.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
2012-09-12 18:26:53 -04:00
Tim Walker and Justin Ruggles
3844572887
mlp_parser: avoid mapping multiple disctinct TrueHD channels to the same Libav channel.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
2012-09-12 18:26:53 -04:00
Tim Walker and Justin Ruggles
8919fee7d2
lavu/audioconvert: add a second low frequency channel.
...
Can be used by DTS-HD, TrueHD and E-AC-3, among others.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
2012-09-12 18:26:53 -04:00
Tim Walker and Justin Ruggles
0a9efe4c6e
mlp_parser: fix the channel mask value used for the top surround channel
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
2012-02-25 17:24:43 -05:00
Tim Walker and Justin Ruggles
6bbaf6e0dd
mlpdec_parser: fix a few channel layouts.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
2012-02-22 10:50:22 -05:00
Tim Walker and Justin Ruggles
147715ca10
Add channel names to channel_names[] array for channels added in b2890f5
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
2012-02-22 10:50:06 -05:00
Tim W and Justin Ruggles
b38b6d56ca
Add names for more channel layouts to the channel layout map.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com >
2012-02-21 16:10:05 -05:00