fifo.h

来自「本代码是嵌入式零树小波编码算法EZW的源代码。这是一种哦个简单但非常有效的图像编」· 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 + -
显示快捷键?