fifo.h

来自「Example of Embedded Zerotree Wavelet enc」· C头文件 代码 · 共 35 行

H
35
字号
/*
FIFO.H

Simple implementation of a fifo.

This file is part of my Embedded Zerotree Wavelet Encoder Tutorial.

(C) C. Valens, <c.valens@mindless.com>

Created    : 03/09/1999
Last update: 03/09/1999
*/


#ifndef __FIFO_H__
#define __FIFO_H__


typedef struct __ezw_element {
  int x;
  int y;
  int code;
} ezw_element;

extern char fifo_empty;

void put_in_fifo(ezw_element d);
ezw_element get_from_fifo(void);
void destroy_fifo(void);
void initialize_fifo(void);


#endif /* __FIFO_H__ */

⌨️ 快捷键说明

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