Thomas Guillem
b23f09b258
dts_header: initialize SUBSTREAM_LBR size to 0
It's a substream and can't work alone, so a size of 0 is legitimate.
Fixes #28773 (Use of uninitialised value)
2 years ago
Francois Cartegnie
ddf8716a0d
packetizer: dts: handle LBR ( fix #21973 )
7 years ago
Francois Cartegnie
60cca0eade
packetizer: dts: add LBR header parser
7 years ago
Francois Cartegnie
fcea1a3451
packetizer: dts: store substream header size
7 years ago
Francois Cartegnie
e23d066b51
packetizer: dts: test and return sync word
7 years ago
Steve Lhomme
5363279805
remove the $Id$ in the source code
7 years ago
Thomas Guillem
a5359226be
packetizer/dts_header: fix wrong usage of swab
Pointer should not overlap.
8 years ago
Thomas Guillem
d701887137
packetizer/dts_header: add an helper that converts 14bit words to 16bit
cf. https://wiki.multimedia.cx/index.php/DTS#14-bit_words
8 years ago
Thomas Guillem
91f426996c
es: replace i_original_channels with i_chan_mode
Rename i_original_channels to i_chan_mode. For now, chan modes can be
DOLBYSTEREO or DUALMONO.
This new value, i_chan_mode, should only be set by demuxes/codecs/packetizers
if there is a special stereo mode to handle.
9 years ago
Francois Cartegnie
6fee63fd5b
packetizer: dts: check header values range
9 years ago
Francois Cartegnie
da80e5b3d6
packetizer: dts: reject invalid parameters ( fix #18000 )
9 years ago
Thomas Guillem
4564b01ce5
dts_header: refactor
Handle DTS magic sync code in only one place.
And rename b_dts_hd to b_substream. This boolean means that the dts frame is a
substream (extension of DTS-Core).
10 years ago
Thomas Guillem
e51cbcccef
dts_header: refactor, return values directly exploitable by the caller
Reimplemented by reading the ETSI TS 102 114 specs.
10 years ago
Thomas Guillem
07eef7df17
dts_header: move to packetizer
10 years ago
Francois Cartegnie
f38dfb973c
packetizer: dts: 16LE: read header from converted buffer
refs A-codecs/DTS/dts/dtswavsample16.wav
11 years ago
Jean-Baptiste Kempf
2640a57cad
DTS: fix Win32 compilation
14 years ago
Jean-Baptiste Kempf
68416d1a4d
DTS in wav: use DTS helper
14 years ago
Jean-Baptiste Kempf
108edbd9e0
DTS: split some parsing headers functions
14 years ago