3 changed files with 85 additions and 32 deletions
@ -0,0 +1,69 @@ |
|||
/*****************************************************************************
|
|||
* mpeg4audio.h: MPEG 4 audio definitions |
|||
***************************************************************************** |
|||
* Copyright (C) 2001-2017 VLC authors and VideoLAN |
|||
* |
|||
* This program is free software; you can redistribute it and/or modify it |
|||
* under the terms of the GNU Lesser General Public License as published by |
|||
* the Free Software Foundation; either version 2.1 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU Lesser General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU Lesser General Public License |
|||
* along with this program; if not, write to the Free Software Foundation, |
|||
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. |
|||
*****************************************************************************/ |
|||
enum |
|||
{ |
|||
AOT_AAC_MAIN = 1, |
|||
AOT_AAC_LC, |
|||
AOT_AAC_SSR, |
|||
AOT_AAC_LTP, |
|||
AOT_AAC_SBR, |
|||
AOT_AAC_SC, |
|||
AOT_ER_AAC_LC = 17, |
|||
AOT_ER_AAC_LTP = 19, |
|||
AOT_ER_AAC_SC = 20, |
|||
AOT_ER_AAC_LD = 23, |
|||
AOT_AAC_PS = 29, |
|||
AOT_ER_AAC_ELD = 39, |
|||
}; |
|||
|
|||
enum |
|||
{ |
|||
AAC_PROFILE_MAIN = AOT_AAC_MAIN - 1, |
|||
AAC_PROFILE_LC, |
|||
AAC_PROFILE_SSR, |
|||
AAC_PROFILE_LTP, |
|||
}; |
|||
|
|||
#define MPEG4_ASC_MAX_INDEXEDPOS 9 |
|||
|
|||
static const uint32_t mpeg4_asc_channelsbyindex[MPEG4_ASC_MAX_INDEXEDPOS] = |
|||
{ |
|||
0, /* Set later */ |
|||
|
|||
AOUT_CHAN_CENTER, AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT, |
|||
|
|||
AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT | AOUT_CHAN_LFE, |
|||
|
|||
AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT | AOUT_CHAN_REARLEFT | AOUT_CHAN_REARRIGHT, |
|||
|
|||
AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT | AOUT_CHAN_REARLEFT | AOUT_CHAN_REARRIGHT | |
|||
AOUT_CHAN_CENTER, |
|||
|
|||
AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT | AOUT_CHAN_REARLEFT | AOUT_CHAN_REARRIGHT | |
|||
AOUT_CHAN_CENTER | AOUT_CHAN_LFE, |
|||
|
|||
AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT | AOUT_CHAN_MIDDLELEFT | |
|||
AOUT_CHAN_MIDDLERIGHT | AOUT_CHAN_REARLEFT | AOUT_CHAN_REARRIGHT | |
|||
AOUT_CHAN_CENTER, |
|||
|
|||
AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT | AOUT_CHAN_MIDDLELEFT | |
|||
AOUT_CHAN_MIDDLERIGHT | AOUT_CHAN_REARLEFT | AOUT_CHAN_REARRIGHT | |
|||
AOUT_CHAN_CENTER | AOUT_CHAN_LFE |
|||
}; |
|||
Loading…
Reference in new issue