[SCM] libav/experimental: Ascii art to explain what avfilter_formats_changeref() does.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:15:22 UTC 2013
The following commit has been merged in the experimental branch:
commit b9c2fb34445864e2adc7fe766aaae98f365a0a4a
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Thu Feb 21 22:33:40 2008 +0000
Ascii art to explain what avfilter_formats_changeref() does.
Originally committed as revision 12176 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 850bf96..a3b6464 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -197,6 +197,19 @@ void avfilter_formats_ref(AVFilterFormats *f, AVFilterFormats **ref);
*/
void avfilter_formats_unref(AVFilterFormats **ref);
+/**
+ *
+ * Before After
+ * ________ ________
+ * | f |<---------. | f |<---------.
+ * | ____ | ___|___ | ____ | ___|___
+ * | |refs| | | | | | |refs| | | | | NULL
+ * | |* *--------->|*oldref| | |* *--------->|*newref| ^
+ * | |* * | | |_______| | |* * | | |_______| ___|___
+ * | |____| | | |____| | | | |
+ * |________| |________| |*oldref|
+ * |_______|
+ */
void avfilter_formats_changeref(AVFilterFormats **oldref,
AVFilterFormats **newref);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list