X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_filter.h;h=66e2e471c007abe850d4485b923203f52c8fd6a0;hb=f4d4669b66a9f23be85527f65dec19a566db561c;hp=c67c9abcc745ffad1c0c415b019507e0b7827ac0;hpb=e5fd66367b6f976e3bcb0ada98408afcb40cb2ce;p=melted diff --git a/src/framework/mlt_filter.h b/src/framework/mlt_filter.h index c67c9ab..66e2e47 100644 --- a/src/framework/mlt_filter.h +++ b/src/framework/mlt_filter.h @@ -1,7 +1,10 @@ -/* - * mlt_filter.h -- abstraction for all filter services - * Copyright (C) 2003-2004 Ushodaya Enterprises Limited - * Author: Charles Yates +/** + * \file mlt_filter.h + * \brief abstraction for all filter services + * \see mlt_filter_s + * + * Copyright (C) 2003-2009 Ushodaya Enterprises Limited + * \author Charles Yates * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -25,27 +28,27 @@ /** \brief Filter abstract service class * + * A filter is a service that may modify the output of a single producer. + * * \extends mlt_service_s + * \properties \em track the index of the track of a multitrack on which the filter is applied */ struct mlt_filter_s { - /* We're implementing service here */ + /** We're implementing service here */ struct mlt_service_s parent; - /* public virtual */ + /** public virtual */ void ( *close )( mlt_filter ); - /* protected filter method */ + /** protected filter method */ mlt_frame ( *process )( mlt_filter, mlt_frame ); - /* Protected */ + /** Protected */ void *child; }; -/** Public final methods -*/ - #define MLT_FILTER_SERVICE( filter ) ( &( filter )->parent ) #define MLT_FILTER_PROPERTIES( filter ) MLT_SERVICE_PROPERTIES( MLT_FILTER_SERVICE( filter ) )