📄 display.h
字号:
/* * display.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 _DISPLAY_H#define _DISPLAY_H#include <pthread.h>#include <fifoutil.h>#include <rendezvous.h>/* Display thread commands */#define DISPLAY_FLUSH -1#define DISPLAY_PRIME -2typedef struct BufferElement { int id; int width; int height; char *frameBuffer;} BufferElement;typedef struct DisplayEnv { Rendezvous_Handle hRendezvous; FifoUtil_Obj outFifo; FifoUtil_Obj inFifo; pthread_mutex_t prime;} DisplayEnv;extern void *displayThrFxn(void *arg);#endif /* _DISPLAY_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -