iencode.h

来自「DM642平台上的H.264源码(可实时运行)」· C头文件 代码 · 共 69 行

H
69
字号
/*
 *  Copyright 2002 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/*
 *  ======== irotate.h ========
 *  IDIFF Interface Header
 */
#ifndef IENC_
#define IENC_

#include <ialg.h>

#ifdef __cplusplus
extern "C" {
#endif

#include "portab.h"

/*
 *  ======== IENC_Handle ========
 *  This handle is used to reference all ENC instance objects
 */
typedef struct IENC_Obj *IENC_Handle;

/*
 *  ======== IENC_Obj ========
 *  This structure must be the first field of all ENC instance objects
 */
typedef struct IENC_Obj {
    struct IENC_Fxns *fxns;    
} IENC_Obj;

/*
 *  ======== IENC_Params ========
 *  This structure defines the creation parameters for all ENC objects
 */
typedef struct IENC_Params {
    Int  size;          /* must be first field of all params structures */
} IENC_Params;

/*
 *  ======== IENC_PARAMS ========
 *  Default parameter values for ENC instance objects
 */
extern IENC_Params IENC_PARAMS;

/*
 *  ======== IENC_Fxns ========
 *  This structure defines all of the operations on ENC objects
 */
typedef struct IENC_Fxns {
    IALG_Fxns   ialg;    /* IENC extends IALG */
    Void (*encode)(IENC_Handle handle, int32_t *y, int32_t *cr, int32_t *cb,
                  int32_t *out,
                  Int procWidth,Int procHeight);
} IENC_Fxns;

#ifdef __cplusplus
}
#endif /* extern "C" */

#endif  /* IENC_ */


⌨️ 快捷键说明

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