/* * MPEG-4 Parametric Stereo definitions and declarations * Copyright (c) 2010 Alex Converse * * This file is part of FFmpeg. * * FFmpeg 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. * * FFmpeg 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 FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef AVCODEC_PS_H #define AVCODEC_PS_H #include #include "avcodec.h" #include "get_bits.h" #define PS_MAX_NUM_ENV 5 #define PS_MAX_NR_IIDICC 34 #define PS_MAX_NR_IPDOPD 17 #define PS_MAX_SSB 91 #define PS_MAX_AP_BANDS 50 #define PS_QMF_TIME_SLOTS 32 #define PS_MAX_DELAY 14 #define PS_AP_LINKS 3 #define PS_MAX_AP_DELAY 5 typedef struct { int start; int enable_iid; int iid_quant; int nr_iid_par; int nr_ipdopd_par; int enable_icc; int icc_mode; int nr_icc_par; int enable_ext; int frame_class; int num_env_old; int num_env; int enable_ipdopd; int border_position[PS_MAX_NUM_ENV+1]; int8_t iid_par[PS_MAX_NUM_ENV][PS_MAX_NR_IIDICC]; //