swdec_errorinfo.h

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

H
84
字号
/*------------------------------------------------------------------------------
--                                                                            --
--       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_ErrorInfo
--
-- DESCRIPTION: definition of errorInfo_t structure to store information on
-- errors occurred during decoding process
--
-------------------------------------------------------------------------------*/


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

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

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

#ifndef SWDEC_ERRORINFO_H
#define SWDEC_ERRORINFO_H

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

#include "basetype.h"

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

/* enumerated error types */
enum {
    NO_TYPE = 2,
    SOURCE_FORMAT,
    VISUAL_OBJECT_TYPE,
    VIDEO_OBJECT_LAYER_SHAPE,
    NOT_8_BIT,
    INTERLACED,
    OBMC_DISABLED,
    SPRITE_ENABLE,
    QUANT_TYPE,
    QUARTER_SAMPLE,
    NEWPRED_ENABLE,
    REDUCED_RESOLUTION_VOP_ENABLE,
    SCALABILITY,
    VOS_STUDIO_PROFILE
};

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

typedef struct
{
    u32 errorType;
    u32 numErrMb;       /* total number of erroneus macro blocks,
                           this information is needed for API */
} decErrorInfo_t;

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

#endif

⌨️ 快捷键说明

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