Lines Matching defs:writer
460 const AVClass *priv_class; ///< private class of the writer, if any
461 int priv_size; ///< private size for the writer context
478 const AVClass *class; ///< class of the writer
479 const Writer *writer; ///< the Writer of which this is an instance
486 char *name; ///< name of this writer instance
514 return wctx->writer->name;
535 if (!prev && ctx->writer && ctx->writer->priv_class && ctx->priv)
556 if ((*wctx)->writer->uninit)
557 (*wctx)->writer->uninit(*wctx);
560 if ((*wctx)->writer->priv_class)
618 static int writer_open(WriterContext **wctx, const Writer *writer, const char *args,
628 if (!((*wctx)->priv = av_mallocz(writer->priv_size))) {
634 (*wctx)->writer = writer;
641 if (writer->priv_class) {
643 *((const AVClass **)priv_ctx) = writer->priv_class;
653 av_log(*wctx, AV_LOG_ERROR, "Failed to parse option string '%s' provided to writer context\n", args);
660 av_log(*wctx, AV_LOG_ERROR, "Failed to set option '%s' with value '%s' provided to writer context\n",
708 if ((*wctx)->writer->init)
709 ret = (*wctx)->writer->init(*wctx);
740 if (wctx->writer->print_section_header)
741 wctx->writer->print_section_header(wctx);
756 if (wctx->writer->print_section_footer)
757 wctx->writer->print_section_footer(wctx);
767 wctx->writer->print_integer(wctx, key, val);
839 && !(wctx->writer->flags & WRITER_FLAG_DISPLAY_OPTIONAL_FIELDS)))
849 wctx->writer->print_string(wctx, key1, val1);
859 wctx->writer->print_string(wctx, key, val);
980 static int writer_register(const Writer *writer)
987 registered_writers[next_registered_writer_idx++] = writer;
3449 wctx->writer->flags & WRITER_FLAG_PUT_PACKETS_AND_FRAMES_IN_SAME_CHAPTER)