⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 storage.h

📁 本程序为ST公司开发的源代码
💻 H
字号:
/*
 * $Copyright: 
 * ----------------------------------------------------------------
 * This confidential and proprietary software may be used only as
 * authorised by a licensing agreement from ARM Limited
 *   (C) COPYRIGHT 2001,2002 ARM Limited
 *       ALL RIGHTS RESERVED
 * The entire notice above must be reproduced on all authorised
 * copies and copies may only be made to the extent permitted
 * by a licensing agreement from ARM Limited.
 * ----------------------------------------------------------------
 * File:     storage.h,v
 * Revision: 1.3
 * ----------------------------------------------------------------
 * $
 *
 * Layout of the MPEG AAC Decoder state information
 */
 
#ifndef _STORAGE_H_
#define _STORAGE_H_

#include "options_c.h"
#include "constants.h"

struct sAAC_Decoder
{   // This structure MUST start with bs_bits and bs_byte
    int bs_bits;                                       /* Bitstream bits */
    int bs_byte;                                       /* Bitstream bytes */
    int bs_active;                                     /* Is the bitstream is use? */

    char                tag_to_channel[2][16];         /* SCE then CPE */
    char                bChannelsAssigned;             /* channel assignment */
    tAAC_Frequency      Frequency;                     /* Sampling frequency */
    int                 iRandomSeed;                   /* Random number seed for PNS */

    char                 Hdr_CopyrightID[9];           // 72-bit copyright ID
    char                 Hdr_CopyrightBits;            // Number that are currently valid.
    int                  Hdr_OriginalCopy;
    tAAC_BitstreamType   Hdr_BitstreamType;            // Variable or fixed rate
    char                 Hdr_Home;
    int                  Hdr_BufferFullness;
    short                Hdr_FrameLength;              // Only for ADTS bitstreams
    char                 Hdr_BlocksInFrame;            // Only for ADTS bitstreams
    char                 Hdr_NumberOfChannels;         // Zero if not known
    char                 Hdr_NumberOfFrontChannels;    // Zero if not known
    char                 Hdr_NumberOfSideChannels;     // Zero if not known
    char                 Hdr_NumberOfBackChannels;     // Zero if not known
    char                 Hdr_NumberOfLFEChannels;      // Zero if not known
    int                  Hdr_Profile;
    char                 Hdr_Comment[257];

    tTransform_Info     aTransformInfo[Chans];
		int 								icoef[Chans][BLOCK_LENGTH];
    int                 ihist[Chans][BLOCK_LENGTH/2];  /* history data */
    WTYPE               *ihistwind[Chans];             /* history windows */
    union
    {
      int                 iDCTTmpBuf[BLOCK_LENGTH];    /* scratch buffer */
      tDemux_ChannelInfo aChannelInfo[Chans];          /* Information only required before transform */
    } uTemp;
#if CChans > 0
    char                cc_tag_to_channel[16];
    tCoupling_Info      aCouplingInfo[CChans];
    int                 icc_coef[CChans][BLOCK_LENGTH];
#endif
	char				interleave;						/* 1, if interleaving is enabled */
#if M4A
    char                Mpeg_Header;
    char                Mpeg_HeaderOffset;
    unsigned int        Mpeg_TrakBound;
    unsigned int        Mpeg_FrameOffset;
    unsigned int        Mpeg_StreamOffset;
#endif
};

#endif

⌨️ 快捷键说明

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