📄 swdec_errorinfo.h
字号:
/*------------------------------------------------------------------------------
-- --
-- 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -