X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_profile.h;fp=src%2Fframework%2Fmlt_profile.h;h=29ee633d4ba47dd824ace2fa6c09f2045c6e186b;hb=40b169c095486ba1b868486eb98a47c41f36ce8c;hp=0000000000000000000000000000000000000000;hpb=207fccbe14c08ffb2bf429dd590b17f43fc50b04;p=melted diff --git a/src/framework/mlt_profile.h b/src/framework/mlt_profile.h new file mode 100644 index 0000000..29ee633 --- /dev/null +++ b/src/framework/mlt_profile.h @@ -0,0 +1,49 @@ +/* + * mlt_profile.h -- video output definition + * Copyright (C) 2007 Ushodaya Enterprises Limited + * Author: Dan Dennedy + * + * This library 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. + * + * This library 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 this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef _MLT_PROFILE_H +#define _MLT_PROFILE_H + +#include "mlt_types.h" + +struct mlt_profile_s +{ + char* name; + int frame_rate_num; + int frame_rate_den; + int width; + int height; + int progressive; + int sample_aspect_num; + int sample_aspect_den; + int display_aspect_num; + int display_aspect_den; +}; + +extern mlt_profile mlt_profile_get( ); +extern mlt_profile mlt_profile_select( const char *name ); +extern mlt_profile mlt_profile_load_file( const char *file ); +extern mlt_profile mlt_profile_load_properties( mlt_properties properties ); +extern mlt_profile mlt_profile_load_string( const char *string ); +extern double mlt_profile_fps( mlt_profile profile ); +extern double mlt_profile_sar( mlt_profile profile ); +extern double mlt_profile_dar( mlt_profile profile ); +extern void mlt_profile_close( ); +#endif