summaryrefslogtreecommitdiff
path: root/libavfilter/internal.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-07-18 22:37:39 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-07-18 22:37:39 +0000
commit9f0e31d29a5f0c1a306ea3f0240edc7932158eaf (patch)
treeaa32c6746b2909f0bdfde72f986291a67e5b41c6 /libavfilter/internal.h
parentc85007d5594d93ac016888cdb3a5d21e9412b920 (diff)
Make avfilter.c dprintf* functions internal and declare them in an
internal.h header, so they can be easily used from other files. Originally committed as revision 24319 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r--libavfilter/internal.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
new file mode 100644
index 0000000000..9ddde36e15
--- /dev/null
+++ b/libavfilter/internal.h
@@ -0,0 +1,35 @@
+/*
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVFILTER_INTERNAL_H
+#define AVFILTER_INTERNAL_H
+
+/**
+ * @file
+ * internal API functions
+ */
+
+#include "avfilter.h"
+
+void ff_dprintf_picref(void *ctx, AVFilterPicRef *picref, int end);
+
+void ff_dprintf_link(void *ctx, AVFilterLink *link, int end);
+
+#define FF_DPRINTF_START(ctx, func) dprintf(NULL, "%-16s: ", #func)
+
+#endif /* AVFILTER_INTERNAL_H */