Home
last modified time | relevance | path

Searched refs:efifo (Results 1 – 4 of 4) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Df_generic.h180 struct event_fifo efifo; member
233 static inline void event_fifo_reset(struct event_fifo *efifo) in event_fifo_reset() argument
235 efifo->in = efifo->out = 0; in event_fifo_reset()
238 static inline bool event_fifo_len(struct event_fifo *efifo) in event_fifo_len() argument
240 return efifo->in - efifo->out; in event_fifo_len()
243 static inline bool event_fifo_is_empty(struct event_fifo *efifo) in event_fifo_is_empty() argument
245 return efifo->in == efifo->out; in event_fifo_is_empty()
248 static inline bool event_fifo_is_full(struct event_fifo *efifo) in event_fifo_is_full() argument
251 return event_fifo_len(efifo) > (mask); in event_fifo_is_full()
254 static inline int event_fifo_put(struct event_fifo *efifo, uint8_t event) in event_fifo_put() argument
[all …]
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_generic.c148 uint32_t ev = dev->efifo.out, out = ev; in generic_discard_events()
151 for (; ev < dev->efifo.in; ++ev) in generic_discard_events()
153 if ((dev->efifo.data[ev & mask] == type1 || in generic_discard_events()
154 dev->efifo.data[ev & mask] == type2) == keep) in generic_discard_events()
156 dev->efifo.data[out++ & mask] = dev->efifo.data[ev & mask]; in generic_discard_events()
160 usb_debug("remove event %d\n", dev->efifo.data[ev & mask]); in generic_discard_events()
163 dev->efifo.in = out; in generic_discard_events()
204 event_fifo_put(&dev->efifo, type); in __generic_event_add()
Dusbd_generic_ep0.c612 unsigned int event_count = dev->efifo.in - dev->efifo.out; in generic_ep0_read_events()
625 events[i].type = dev->efifo.data[dev->efifo.out++ & mask]; in generic_ep0_read_events()
1120 if (dev->efifo.in - dev->efifo.out > 0) in generic_ep0_handle_poll()
/third_party/ffmpeg/libavfilter/
Daf_adeclick.c81 AVAudioFifo *efifo; member
180 s->efifo = av_audio_fifo_alloc(inlink->format, 1, s->window_size); in config_input()
181 if (!s->efifo) in config_input()
537 av_audio_fifo_peek(s->efifo, (void**)s->enabled->extended_data, s->window_size); in filter_channel()
603 av_audio_fifo_drain(s->efifo, s->hop_size); in filter_frame()
655 av_audio_fifo_write(s->efifo, (void**)s->enabled->extended_data, in->nb_samples); in activate()
714 av_audio_fifo_free(s->efifo); in uninit()