writer.h

来自「基于嵌入式linux的程序」· C头文件 代码 · 共 38 行

H
38
字号
/* * writer.h * * ============================================================================ * Copyright (c) Texas Instruments Inc 2005 * * Use of this software is controlled by the terms and conditions found in the * license agreement under which this software has been supplied or provided. * ============================================================================ */#ifndef _WRITER_H#define _WRITER_H#include <fifoutil.h>#include <rendezvous.h>/* Writer thread commands */#define WRITER_FLUSH -1#define WRITER_PRIME -2typedef struct OutBufferElement {    int   id;    int   frameSize;    char *encodedBuffer;} OutBufferElement;typedef struct WriterEnv {    Rendezvous_Handle hRendezvous;    char             *videoFile;    FifoUtil_Obj      outFifo;    FifoUtil_Obj      inFifo;} WriterEnv;extern void *writerThrFxn(void *arg);#endif /* _WRITER_H */

⌨️ 快捷键说明

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