comparison ac3dec.h @ 9607:6d3d3df92a4e libavcodec

ac3dec: Remove unneeded context variable, num_cpl_subbands. It is also not needed for spectral extension or enhanced coupling since it is redundant information, so I am removing it from decode_band_structure() as well.
author jbr
date Wed, 06 May 2009 01:47:34 +0000
parents ba5d9a97ab2f
children 63325f71bd79
comparison
equal deleted inserted replaced
9606:31090f08314e 9607:6d3d3df92a4e
80 int cpl_in_use[MAX_BLOCKS]; ///< coupling in use (cplinu) 80 int cpl_in_use[MAX_BLOCKS]; ///< coupling in use (cplinu)
81 int cpl_strategy_exists[MAX_BLOCKS]; ///< coupling strategy exists (cplstre) 81 int cpl_strategy_exists[MAX_BLOCKS]; ///< coupling strategy exists (cplstre)
82 int channel_in_cpl[AC3_MAX_CHANNELS]; ///< channel in coupling (chincpl) 82 int channel_in_cpl[AC3_MAX_CHANNELS]; ///< channel in coupling (chincpl)
83 int phase_flags_in_use; ///< phase flags in use (phsflginu) 83 int phase_flags_in_use; ///< phase flags in use (phsflginu)
84 int phase_flags[18]; ///< phase flags (phsflg) 84 int phase_flags[18]; ///< phase flags (phsflg)
85 int num_cpl_subbands; ///< number of coupling sub bands (ncplsubnd)
86 int num_cpl_bands; ///< number of coupling bands (ncplbnd) 85 int num_cpl_bands; ///< number of coupling bands (ncplbnd)
87 uint8_t cpl_band_struct[18]; ///< coupling band structure (cplbndstrc) 86 uint8_t cpl_band_struct[18]; ///< coupling band structure (cplbndstrc)
88 int firstchincpl; ///< first channel in coupling 87 int firstchincpl; ///< first channel in coupling
89 int first_cpl_coords[AC3_MAX_CHANNELS]; ///< first coupling coordinates states (firstcplcos) 88 int first_cpl_coords[AC3_MAX_CHANNELS]; ///< first coupling coordinates states (firstcplcos)
90 int cpl_coords[AC3_MAX_CHANNELS][18]; ///< coupling coordinates (cplco) 89 int cpl_coords[AC3_MAX_CHANNELS][18]; ///< coupling coordinates (cplco)