void * priv
private data for use by the writer
static void buffer_w8(AVTextWriterContext *wctx, int b)
static const AVClass bufferwriter_class
static AVFormatContext * ctx
static void buffer_put_str(AVTextWriterContext *wctx, const char *str)
Describe the class of an AVClass context structure.
static void writer_w8(AVTextFormatContext *wctx, int b)
static void buffer_vprintf(AVTextWriterContext *wctx, const char *fmt, va_list vl)
int avtextwriter_context_open(AVTextWriterContext **pwctx, const AVTextWriter *writer)
int avtextwriter_create_buffer(AVTextWriterContext **pwctx, AVBPrint *buffer)
static void writer_put_str(AVTextFormatContext *wctx, const char *str)
const AVTextWriter avtextwriter_buffer
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.