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