19 #ifndef AVFILTER_INTERNAL_H
20 #define AVFILTER_INTERNAL_H
53 #if !FF_API_AVFILTERPAD_PUBLIC
222 #ifdef FF_AVFILTER_TRACE
223 # define ff_tlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
225 # define ff_tlog(pctx, ...) do { if (0) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
228 #define FF_TPRINTF_START(ctx, func) ff_tlog(NULL, "%-16s: ", #func)
292 #define AVFILTER_DEFINE_CLASS(fname) \
293 static const AVClass fname##_class = { \
294 .class_name = #fname, \
295 .item_name = av_default_item_name, \
296 .option = fname##_options, \
297 .version = LIBAVUTIL_VERSION_INT, \
298 .category = AV_CLASS_CATEGORY_FILTER, \
302 AVFilterBufferRef *ref);
309 #define FF_INLINK_IDX(link) ((int)((link)->dstpad - (link)->dst->input_pads))
310 #define FF_OUTLINK_IDX(link) ((int)((link)->srcpad - (link)->src->output_pads))