swdec_strmstorage.h
来自「freescale i.mx31 BSP CE5.0全部源码」· C头文件 代码 · 共 111 行
H
111 行
/*------------------------------------------------------------------------------
-- --
-- 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_StrmStorage
--
-- DESCRIPTION: definition of decStrmStorage_t structure to store static
-- information needed by top level stream decoding functions
--
-------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
Table of contents
1. Include headers
2. Module defines
3. Data types
4. Function prototypes
------------------------------------------------------------------------------*/
#ifndef SWDEC_STRMSTORAGE_H
#define SWDEC_STRMSTORAGE_H
/*------------------------------------------------------------------------------
1. Include headers
------------------------------------------------------------------------------*/
#include "basetype.h"
/*------------------------------------------------------------------------------
2. Module defines
------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
3. Data types
------------------------------------------------------------------------------*/
typedef struct {
u32 status;
u32 strmDecReady;
u32 extPicBufAlloc;
u32 resyncMarkerLength;
u32 vpMbNumber;
u32 vpNumMbs;
u32 vpFirstCodedMb;
u32 QP;
u32 prevQP;
u32 vpQP;
u32 shortVideo;
u32 gobResyncFlag;
u32 numMbsInGob;
u32 numGobsInVop;
u32 *row; /* array of row indices for each macro block */
u32 *col; /* array of column indices for each macro block */
/* flag to indicate whether default predictor used in dc prediction */
u32 isDefaultPredictor;
i32 predictor; /* dc prediction value */
u32 predictorQP; /* qp of macro block used in dc prediction */
u32 numIdctRows;
u8 *pLastSync;
u32 startCodeLoss;
u32 validVopHeader;
/* vertical ac coefficients for luminance (7 elements for each vertical
* block in a macro block) */
i32 verLumAcCoeff[14];
/* vertical ac coefficients for chrominance (7 elements for both chroma
* components) */
i32 verChrAcCoeff[14];
/* horizontal ac coefficients for luminance (7 elements for each block
* in a row, 2 per macro block), to be allocated dynamically as soon as
* vop width known */
i32 *horLumAcCoeff;
/* horizontal ac coefficients for chrominance (7 elements for both
* chroma components for each macro block in a row), to be allocated
* dynamically as soon as vop width known */
i32 *horChrAcCoeff;
} decStrmStorage_t;
/*------------------------------------------------------------------------------
4. Function prototypes
------------------------------------------------------------------------------*/
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?