l3type.h

来自「VC++视频开发实例集锦(包括“远程视频监控”"语音识别系统&quot」· C头文件 代码 · 共 45 行

H
45
字号
/* Data structures for layer III decoding. Taken from the ISO MPEG Audio
   Subgroup Software Simulation Group's public c source of the MPEG audio
   decoder.

   Last modified : 01/27/97  */


#ifndef L3TYPE_H
#define L3TYPE_H

#include "all.h"

typedef	struct {
				uint32 part2_3_length;
			  	uint32 big_values;
				uint32 global_gain;
				uint32 scalefac_compress;
				uint32 window_switching_flag;
				uint32 block_type;
				uint32 mixed_block_flag;
				uint32 table_select[3];
				uint32 subblock_gain[3];
				uint32 region0_count;
				uint32 region1_count;
				uint32 preflag;
				uint32 scalefac_scale;
				uint32 count1table_select;
			} gr_info_s;

typedef struct {
			  uint32 main_data_begin;
 			  uint32 private_bits;
 			  struct {
				  uint32 scfsi[4];
				  gr_info_s gr[2];
		  	  } ch[2];
		  } III_side_info_t;

typedef struct {
			  int32 l[23];            /* [cb] */
           int32 s[3][13];         /* [window][cb] */
		  } III_scalefac_t[2];

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?