Template
Init repo from r216 of svn repo (before mess things up)
This commit is contained in:
commit
12da995a99
468 files changed
+204309
No files matched your search
@@ -0,0 +1,54 @@
|
||||
|
||||
/*!
|
||||
************************************************************************
|
||||
* \file
|
||||
* h264decoder.h
|
||||
* \brief
|
||||
* interface for H.264 decoder.
|
||||
* \author
|
||||
* Copyright (C) 2009 Dolby
|
||||
* Yuwen He (yhe@dolby.com)
|
||||
*
|
||||
************************************************************************
|
||||
*/
|
||||
#ifndef _H264DECODER_H_
|
||||
#define _H264DECODER_H_
|
||||
|
||||
#include "global.h"
|
||||
|
||||
typedef enum
|
||||
{
|
||||
DEC_GEN_NOERR = 0,
|
||||
DEC_OPEN_NOERR = 0,
|
||||
DEC_CLOSE_NOERR = 0,
|
||||
DEC_SUCCEED = 0,
|
||||
DEC_EOS =1,
|
||||
DEC_NEED_DATA = 2,
|
||||
DEC_INVALID_PARAM = 3,
|
||||
DEC_ERRMASK = 0x8000
|
||||
// DEC_ERRMASK = 0x80000000
|
||||
}DecErrCode;
|
||||
|
||||
typedef struct dec_set_t
|
||||
{
|
||||
int iPostprocLevel; // valid interval are [0..100]
|
||||
int bDBEnable;
|
||||
int bAllLayers;
|
||||
int time_incr;
|
||||
int bDecCompAdapt;
|
||||
} DecSet_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int OpenDecoder(InputParameters *p_Inp);
|
||||
int DecodeOneFrame(DecodedPicList **ppDecPic);
|
||||
int FinitDecoder(DecodedPicList **ppDecPicList);
|
||||
int CloseDecoder();
|
||||
int SetOptsDecoder(DecSet_t *pDecOpts);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
Reference in new issue
Block a user