Ver código fonte

Document avfilter_formats_ref() with some ascii art.

Originally committed as revision 12172 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer 18 anos atrás
pai
commit
09b63a42a5
1 arquivos alterados com 12 adições e 1 exclusões
  1. 12 1
      libavfilter/avfilter.h

+ 12 - 1
libavfilter/avfilter.h

@@ -177,7 +177,18 @@ AVFilterFormats *avfilter_all_colorspaces(void);
  */
  */
 AVFilterFormats *avfilter_merge_formats(AVFilterFormats *a, AVFilterFormats *b);
 AVFilterFormats *avfilter_merge_formats(AVFilterFormats *a, AVFilterFormats *b);
 
 
-/** Adds *ref as a new reference to f */
+/**
+ * Adds *ref as a new reference to f.
+ * That is the pointers will point like in the ascii art below:
+ *   ________
+ *  |   f    |<--------.
+ *  |  ____  |         |
+ *  | |refs| |       __|_
+ *  | |* * | |      |  | |
+ *  | |* *--------->|*ref|
+ *  | |____| |      |____|
+ *  |________|
+ */
 void avfilter_formats_ref(AVFilterFormats *f, AVFilterFormats **ref);
 void avfilter_formats_ref(AVFilterFormats *f, AVFilterFormats **ref);
 
 
 /**
 /**