libavfilter/graphdump.c File Reference

#include <string.h>
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "avfiltergraph.h"

Go to the source code of this file.

Defines

#define BPRINTF(...)   cur += snprintf(cur, buf_end - FFMIN(cur, buf_end), __VA_ARGS__)
#define BPAD(c, l)

Functions

static int snprint_link_prop (char *buf, char *buf_end, AVFilterLink *link)
static size_t avfilter_graph_dump_to_buf (AVFilterGraph *graph, char *buf, char *buf_end)
char * avfilter_graph_dump (AVFilterGraph *graph, const char *options)
 Dump a graph into a human-readable string representation.


Define Documentation

#define BPAD ( c,
 ) 

Value:

do { \
        if (cur < buf_end) memset(cur, c, FFMIN(l, buf_end - cur)); cur += l; \
    } while (0)

Definition at line 31 of file graphdump.c.

Referenced by avfilter_graph_dump_to_buf().

#define BPRINTF ( ...   )     cur += snprintf(cur, buf_end - FFMIN(cur, buf_end), __VA_ARGS__)

Definition at line 28 of file graphdump.c.

Referenced by avfilter_graph_dump_to_buf(), and snprint_link_prop().


Function Documentation

char* avfilter_graph_dump ( AVFilterGraph graph,
const char *  options 
)

Dump a graph into a human-readable string representation.

Parameters:
graph the graph to dump
options formatting options; currently ignored
Returns:
a string, or NULL in case of memory allocation failure; the string must be freed using av_free

Definition at line 163 of file graphdump.c.

Referenced by lavfi_read_header().

static size_t avfilter_graph_dump_to_buf ( AVFilterGraph graph,
char *  buf,
char *  buf_end 
) [static]

Definition at line 66 of file graphdump.c.

Referenced by avfilter_graph_dump().

static int snprint_link_prop ( char *  buf,
char *  buf_end,
AVFilterLink link 
) [static]

Definition at line 36 of file graphdump.c.

Referenced by avfilter_graph_dump_to_buf().


Generated on Fri Oct 26 02:46:11 2012 for FFmpeg by  doxygen 1.5.8