FFmpeg
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
libavcodec
dolby_e_parser.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2017 foo86
3
*
4
* This file is part of FFmpeg.
5
*
6
* FFmpeg is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* FFmpeg is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with FFmpeg; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
#ifndef AVCODEC_DOLBY_E_PARSER_H
22
#define AVCODEC_DOLBY_E_PARSER_H
23
24
#include "
dolby_e.h
"
25
26
typedef
struct
DBEParseContext
{
27
ParseContext
pc
;
28
DBEContext
dectx
;
29
30
DolbyEHeaderInfo
metadata
;
31
}
DBEParseContext
;
32
33
static
const
uint8_t
nb_programs_tab
[
MAX_PROG_CONF
+ 1] = {
34
2, 3, 2, 3, 4, 5, 4, 5, 6, 7, 8, 1, 2, 3, 3, 4, 5, 6, 1, 2, 3, 4, 1, 1
35
};
36
37
static
const
uint8_t
nb_channels_tab
[
MAX_PROG_CONF
+ 1] = {
38
8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 6, 6, 6, 6, 6, 6, 6, 4, 4, 4, 4, 8, 8
39
};
40
41
#endif
DBEContext
Dolby E reading context used by decoder and parser.
Definition:
dolby_e.h:36
dolby_e.h
ParseContext
Definition:
parser.h:28
DBEParseContext::metadata
DolbyEHeaderInfo metadata
Definition:
dolby_e_parser.h:30
uint8_t
uint8_t
Definition:
audio_convert.c:194
MAX_PROG_CONF
#define MAX_PROG_CONF
Definition:
dolby_e.h:28
DBEParseContext
Definition:
dolby_e_parser.h:26
DBEParseContext::dectx
DBEContext dectx
Definition:
dolby_e_parser.h:28
nb_programs_tab
static const uint8_t nb_programs_tab[MAX_PROG_CONF+1]
Definition:
dolby_e_parser.h:33
nb_channels_tab
static const uint8_t nb_channels_tab[MAX_PROG_CONF+1]
Definition:
dolby_e_parser.h:37
DBEParseContext::pc
ParseContext pc
Definition:
dolby_e_parser.h:27
DolbyEHeaderInfo
Coded Dolby E header values up to end_gain element, plus derived values.
Definition:
dolby_e.h:54
Generated on Mon Jan 25 2021 19:21:43 for FFmpeg by
1.8.11