18#ifndef __VSF_QUEUE_STREAM_H__
19#define __VSF_QUEUE_STREAM_H__
25#if VSF_USE_SIMPLE_STREAM == ENABLED && VSF_USE_HEAP == ENABLED
29#if defined(__VSF_QUEUE_STREAM_CLASS_IMPLEMENT)
30# define __VSF_CLASS_IMPLEMENT__
31# undef __VSF_QUEUE_STREAM_CLASS_IMPLEMENT
32#elif defined(__VSF_QUEUE_STREAM_CLASS_INHERIT__)
33# define __VSF_CLASS_INHERIT__
34# undef __VSF_QUEUE_STREAM_CLASS_INHERIT__
45#define __VSF_QUEUE_STREAM_INIT(__MAX) \
46 .op = &vsf_queue_stream_op, \
47 .max_buffer_size = (__MAX),
48#define VSF_QUEUE_STREAM_INIT(__MAX) __VSF_QUEUE_STREAM_INIT(__MAX)
50#define __describe_queue_stream(__name, __max) \
51 vsf_queue_stream_t __name = { \
52 VSF_QUEUE_STREAM_INIT(__max) \
55#define describe_queue_stream(__name, __max) __describe_queue_stream(__name)
Definition vsf_queue_stream.h:60
Definition vsf_simple_stream.h:176
Definition vsf_simple_stream.h:254
unsigned int uint32_t
Definition lvgl.h:43
signed int int32_t
Definition lvgl.h:44
#define vsf_class(__name)
Definition ooc_class.h:48
Definition vsf_list.h:896
uint32_t size
Definition vsf_memfs.h:50
const vsf_stream_op_t vsf_queue_stream_op
Definition vsf_queue_stream.c:64