1 /*****************************************************************************
2 * dts_header.c: parse DTS audio headers info
3 *****************************************************************************
4 * Copyright (C) 2004-2016 VLC authors and VideoLAN
7 * Authors: Gildas Bazin <gbazin@netcourrier.com>
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU Lesser General Public License as published by
12 * the Free Software Foundation; either version 2.1 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with this program; if not, write to the Free Software Foundation,
22 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23 *****************************************************************************/
25 #define VLC_DTS_HEADER_SIZE 14
31 unsigned int i_bitrate
;
32 unsigned int i_frame_size
;
33 unsigned int i_frame_length
;
34 uint16_t i_physical_channels
;
38 int vlc_dts_header_Parse( vlc_dts_header_t
*p_header
,
39 const void *p_buffer
, size_t i_buffer
);
41 bool vlc_dts_header_IsSync( const void *p_buffer
, size_t i_buffer
);