Macros | Functions
ffeval.c File Reference

simple arithmetic expression evaluator More...

#include "config.h"
#include "libavutil/eval.h"
#include "libavutil/mem.h"
#include "compat/getopt.c"

Go to the source code of this file.


#define GROW_ARRAY()


static void usage (void)
int main (int argc, char **argv)

Detailed Description

simple arithmetic expression evaluator

Definition in file ffeval.c.

Macro Definition Documentation

#define GROW_ARRAY ( )
do { \
if (!av_dynarray2_add((void **)&buf, &buf_size, 1, NULL)) { \
"Memory allocation problem occurred\n"); \
return 1; \
} \
} while (0)
#define NULL
Definition: coverity.c:32
#define av_log(a,...)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
Definition: log.h:194
void * av_dynarray2_add(void **tab_ptr, int *nb_ptr, size_t elem_size, const uint8_t *elem_data)
Add an element of size elem_size to a dynamic array.
Definition: mem.c:324
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several the filter must be ready for frames arriving randomly on any input any filter with several inputs will most likely require some kind of queuing mechanism It is perfectly acceptable to have a limited queue and to drop frames when the inputs are too unbalanced request_frame For filters that do not use the this method is called when a frame is wanted on an output For a it should directly call filter_frame on the corresponding output For a if there are queued frames already one of these frames should be pushed If the filter should request a frame on one of its repeatedly until at least one frame has been pushed Return or at least make progress towards producing a it should return

Referenced by main().

Function Documentation

static void usage ( void  )

Definition at line 38 of file ffeval.c.

Referenced by main().

int main ( int  argc,
char **  argv 

Definition at line 51 of file ffeval.c.