swdec_strmdesc.h

来自「freescale i.mx31 BSP CE5.0全部源码」· C头文件 代码 · 共 82 行

H
82
字号
/*------------------------------------------------------------------------------
--                                                                            --
--       This software is confidential and proprietary and may be used        --
--        only as expressly authorized by a licensing agreement from          --
--                                                                            --
--                            Hantro Products Oy.                             --
--                                                                            --
--      In the event of publication, the following notice is applicable:      --
--                                                                            --
--                   (C) COPYRIGHT 2004 HANTRO PRODUCTS OY                    --
--                            ALL RIGHTS RESERVED                             --
--                                                                            --
--         The entire notice above must be reproduced on all copies.          --
--                                                                            --
--------------------------------------------------------------------------------
--
-- MODULE NAME: SwDec_StrmDesc
--
-- DESCRIPTION: definition of decStrmDesc_t structure containing
-- information related to handling of input stream
--
-------------------------------------------------------------------------------*/


/*------------------------------------------------------------------------------

    Table of contents
   
    1. Include headers
    2. Module defines
    3. Data types
    4. Function prototypes

------------------------------------------------------------------------------*/

#ifndef SWDEC_STRMDESC_H
#define SWDEC_STRMDESC_H

/*------------------------------------------------------------------------------
    1. Include headers
------------------------------------------------------------------------------*/

#include "basetype.h"

/*------------------------------------------------------------------------------
    2. Module defines
------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------
    3. Data types
------------------------------------------------------------------------------*/

typedef struct
{
    u8  *pStrmBuffStart;    /* pointer to start of stream buffer */
    u8  *pStrmCurrPos;      /* current read address in stream buffer */
    u32  bitPosInWord;      /* bit position in stream buffer byte */
    u32  strmBuffSize;      /* size of stream buffer (bytes) */
    u32  strmBuffReadBits;  /* number of bits read from stream buffer */

    u8  *pUserDataVOS;      /* pointer to VOS user data */
    u32  userDataVOSLen;    /* length of VOS user data */
    u32  userDataVOSMaxLen; /* number of bytes allocated for VOS user data */
    u8  *pUserDataVO;
    u32  userDataVOLen;
    u32  userDataVOMaxLen;
    u8  *pUserDataVOL;
    u32  userDataVOLLen;
    u32  userDataVOLMaxLen;
    u8  *pUserDataGOV;
    u32  userDataGOVLen;
    u32  userDataGOVMaxLen;

} decStrmDesc_t;

/*------------------------------------------------------------------------------
    4. Function prototypes
------------------------------------------------------------------------------*/

#endif

⌨️ 快捷键说明

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