📄 yuv2rgb.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.
*
*/
/* "@(#) RF5_IEK 2.00.02 12-11-02 (swat-c19)" */
/*
* ======== yuv2rgb.h ========
* This header defines the interface used by clients of the YUV2RGB module
*/
#ifndef YUV2RGB_
#define YUV2RGB_
#include <iyuv2rgb.h>
#include <alg.h>
#include <ialg.h>
/*
* ======== YUV2RGB_Handle ========
* This pointer is used to reference all YUV2RGB instance objects
*/
typedef struct IYUV2RGB_Obj *YUV2RGB_Handle;
/*
* ======== YUV2RGB_Params ========
* This structure defines the creation parameters for all YUV2RGB objects
*/
typedef IYUV2RGB_Params YUV2RGB_Params;
/*
* ======== YUV2RGB_PARAMS ========
* This structure defines the default creation parameters for YUV2RGB objects
*/
#define YUV2RGB_PARAMS IYUV2RGB_PARAMS
/*
* ======== YUV2RGB_Status ========
* This structure defines the real-time parameters for YUV2RGB objects
*/
typedef struct IYUV2RGB_Status YUV2RGB_Status;
/*
* ======== YUV2RGB_Cmd ========
* This typedef defines the control commands YUV2RGB objects
*/
typedef IYUV2RGB_Cmd YUV2RGB_Cmd;
/*
* ===== control method commands =====
*/
#define YUV2RGB_GETSTATUS IYUV2RGB_GETSTATUS
#define YUV2RGB_SETSTATUS IYUV2RGB_SETSTATUS
/*
* ======== YUV2RGB_create ========
* Create an YUV2RGB instance object (using parameters specified by prms)
*/
extern YUV2RGB_Handle YUV2RGB_create(const IYUV2RGB_Fxns *fxns, const YUV2RGB_Params *prms);
/*
* ======== YUV2RGB_delete ========
* Delete the YUV2RGB instance object specified by handle
*/
extern Void YUV2RGB_delete(YUV2RGB_Handle handle);
/*
* ======== YUV2RGB_control ========
*/
extern XDAS_Bool YUV2RGB_control(YUV2RGB_Handle handle, IYUV2RGB_Cmd cmd, IYUV2RGB_Status *status);
/*
* ======== YUV2RGB_YUV2RGB ========
*/
extern XDAS_Int8 YUV2RGB_convert(YUV2RGB_Handle handle, XDAS_Int8 **in, XDAS_Int8 *out);
#endif /* YUV2RGB_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -