]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_profile.h
Return a sensible size for glsl image types.
[mlt] / src / framework / mlt_profile.h
index bd673a131379192317431dc846bf7fc0f6c39301..c545404c840810afc5d1c262e363f246f6d521f6 100644 (file)
@@ -42,7 +42,8 @@ struct mlt_profile_s
        int sample_aspect_den;  /**< the denominator of the pixel aspect ratio */
        int display_aspect_num; /**< the numerator of the image aspect ratio in case it can not be simply derived (e.g. ITU-R 601) */
        int display_aspect_den; /**< the denominator of the image aspect ratio in case it can not be simply derived (e.g. ITU-R 601) */
-       int luma_function;
+       int colorspace;         /**< the Y'CbCr colorspace standard: =601 for ITU-R 601, =709 for ITU-R 709, or =240 for SMPTE240M */
+       int is_explicit;        /**< used internally to indicate if the profile was requested explicitly or computed or defaulted */
 };
 
 extern mlt_profile mlt_profile_init( const char *name );
@@ -53,4 +54,7 @@ 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( mlt_profile profile );
+extern mlt_profile mlt_profile_clone( mlt_profile profile );
+extern mlt_properties mlt_profile_list( );
+extern void mlt_profile_from_producer( mlt_profile profile, mlt_producer producer );
 #endif