FFmpeg
Data Structures | Functions
fifo.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/common.h"
#include "libavutil/fifo.h"
#include "libavutil/lfg.h"
#include "libavutil/random_seed.h"

Go to the source code of this file.

Data Structures

struct  CBState
 

Functions

static int read_cb (void *opaque, void *buf, size_t *nb_elems)
 
static int write_cb (void *opaque, void *buf, size_t *nb_elems)
 
int main (void)
 

Function Documentation

◆ read_cb()

static int read_cb ( void *  opaque,
void *  buf,
size_t *  nb_elems 
)
static

Definition at line 33 of file fifo.c.

Referenced by av_fifo_write_from_cb(), fifo_write_common(), and main().

◆ write_cb()

static int write_cb ( void *  opaque,
void *  buf,
size_t *  nb_elems 
)
static

Definition at line 53 of file fifo.c.

Referenced by av_fifo_peek_to_cb(), av_fifo_read_to_cb(), fifo_peek_common(), and main().

◆ main()

int main ( void  )

Definition at line 69 of file fifo.c.