void * priv
private data for use by the writer
static void buffer_w8(AVTextWriterContext *wctx, int b)
static const AVClass bufferwriter_class
static void buffer_put_str(AVTextWriterContext *wctx, const char *str)
Describe the class of an AVClass context structure.
static void buffer_printf(AVTextWriterContext *wctx, const char *fmt,...)
#define writer_w8(wctx_, b_)
int avtextwriter_context_open(AVTextWriterContext **pwctx, const AVTextWriter *writer)
int avtextwriter_create_buffer(AVTextWriterContext **pwctx, AVBPrint *buffer)
const AVTextWriter avtextwriter_buffer
#define writer_put_str(wctx_, str_)
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
void av_bprintf(AVBPrint *buf, const char *fmt,...)
the frame and frame reference mechanism is intended to as much as expensive copies of that data while still allowing the filters to produce correct results The data is stored in buffers represented by AVFrame structures Several references can point to the same frame buffer
static const char * bufferwriter_get_name(void *ctx)
void av_vbprintf(AVBPrint *buf, const char *fmt, va_list vl_arg)
Append a formatted string to a print buffer.
#define writer_printf(wctx_, fmt_,...)