History

Cosmetics: add an empty newline between the function description and the list of @params.

Improve consistency and possibly enhance readability. Originally committed as revision 24842 to svn://svn.ffmpeg.org/ffmpeg/trunk

Stefano Sabatini committed 16 years ago

Commit 3fa3e4f1 parent 53bc0dc1 file · +16 −0Browse files

Showing the changes to libavfilter/avfilter.h (1 of 1 file). Show all

Unified · Split

libavfilter/avfilter.h+16−0
@@ -154,6 +154,7 @@ static inline void avfilter_copy_buffer_ref_props(AVFilterBufferRef *dst, AVFilt · 153 unmodified lines
154154
155155 /**
156156 * Add a new reference to a buffer.
157+ *
157158 * @param ref an existing reference to the buffer
158159 * @param pmask a bitmask containing the allowable permissions in the new
159160 * reference
@@ -165,6 +166,7 @@ AVFilterBufferRef *avfilter_ref_buffer(AVFilterBufferRef *ref, int pmask); · 5 unmodified lines
165166 /**
166167 * Remove a reference to a buffer. If this is the last reference to the
167168 * buffer, the buffer itself is also automatically freed.
169+ *
168170 * @param ref reference to the buffer
169171 */
170172 void avfilter_unref_buffer(AVFilterBufferRef *ref);
@@ -220,6 +222,7 @@ typedef struct AVFilterFormats { · 49 unmodified lines
220222 /**
221223 * Create a list of supported formats. This is intended for use in
222224 * AVFilter->query_formats().
225+ *
223226 * @param fmts list of media formats, terminated by -1
224227 * @return the format list, with no existing references
225228 */
@@ -599,6 +602,7 @@ struct AVFilterLink { · 373 unmodified lines
599602
600603 /**
601604 * Link two filters together.
605+ *
602606 * @param src the source filter
603607 * @param srcpad index of the output pad on the source filter
604608 * @param dst the destination filter
@@ -610,6 +614,7 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad, · 5 unmodified lines
610614
611615 /**
612616 * Negotiate the media format, dimensions, etc of all inputs to a filter.
617+ *
613618 * @param filter the filter to negotiate the properties for its inputs
614619 * @return zero on successful negotiation
615620 */
@@ -617,6 +622,7 @@ int avfilter_config_links(AVFilterContext *filter); · 1 unmodified line
617622
618623 /**
619624 * Request a picture buffer with a specific set of permissions.
625+ *
620626 * @param link the output link to the filter from which the buffer will
621627 * be requested
622628 * @param perms the required access permissions
@@ -647,6 +653,7 @@ AVFilterBufferRef *avfilter_get_audio_buffer(AVFilterLink *link, int perms, · 24 unmodified lines
647653
648654 /**
649655 * Request an input frame from the filter at the other end of the link.
656+ *
650657 * @param link the input link
651658 * @return zero on success
652659 */
@@ -654,6 +661,7 @@ int avfilter_request_frame(AVFilterLink *link); · 1 unmodified line
654661
655662 /**
656663 * Poll a frame from the filter chain.
664+ *
657665 * @param link the input link
658666 * @return the number of immediately available frames, a negative
659667 * number in case of error
@@ -662,6 +670,7 @@ int avfilter_poll_frame(AVFilterLink *link); · 2 unmodified lines
662670
663671 /**
664672 * Notifie the next filter of the start of a frame.
673+ *
665674 * @param link the output link the frame will be sent over
666675 * @param picref A reference to the frame about to be sent. The data for this
667676 * frame need only be valid once draw_slice() is called for that
@@ -672,6 +681,7 @@ void avfilter_start_frame(AVFilterLink *link, AVFilterBufferRef *picref); · 4 unmodified lines
672681
673682 /**
674683 * Notifie the next filter that the current frame has finished.
684+ *
675685 * @param link the output link the frame was sent over
676686 */
677687 void avfilter_end_frame(AVFilterLink *link);
@@ -714,6 +724,7 @@ void avfilter_uninit(void); · 36 unmodified lines
714724 * avfilter_get_by_name later to lookup the AVFilter structure by name. A
715725 * filter can still by instantiated with avfilter_open even if it is not
716726 * registered.
727+ *
717728 * @param filter the filter to register
718729 * @return 0 if the registration was succesfull, a negative value
719730 * otherwise
@@ -722,6 +733,7 @@ int avfilter_register(AVFilter *filter); · 2 unmodified lines
722733
723734 /**
724735 * Get a filter definition matching the given name.
736+ *
725737 * @param name the filter name to find
726738 * @return the filter definition, if any matching one is registered.
727739 * NULL if none found.
@@ -749,6 +761,7 @@ int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *in · 21 unmodified lines
749761
750762 /**
751763 * Initialize a filter.
764+ *
752765 * @param filter the filter to initialize
753766 * @param args A string of parameters to use when initializing the filter.
754767 * The format and meaning of this string varies by filter.
@@ -760,12 +773,14 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 5 unmodified lines
760773
761774 /**
762775 * Destroy a filter.
776+ *
763777 * @param filter the filter to destroy
764778 */
765779 void avfilter_destroy(AVFilterContext *filter);
766780
767781 /**
768782 * Insert a filter in the middle of an existing link.
783+ *
769784 * @param link the link into which the filter should be inserted
770785 * @param filt the filter to be inserted
771786 * @param in the input pad on the filter to connect
@@ -777,6 +792,7 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, · 5 unmodified lines
777792
778793 /**
779794 * Insert a new pad.
795+ *
780796 * @param idx Insertion point. Pad is inserted at the end if this point
781797 * is beyond the end of the list of pads.
782798 * @param count Pointer to the number of pads in the list

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t