]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_frame.h
Add mlt_audio_format_size().
[mlt] / src / framework / mlt_frame.h
index ead3098a9a8ada4dafd0120bdaf0b71a2ada6a1f..13d0e268a670e33c2143a13577d6247ebbe52d13 100644 (file)
@@ -135,7 +135,9 @@ extern mlt_properties mlt_frame_unique_properties( mlt_frame self, mlt_service s
 extern int mlt_sample_calculator( float fps, int frequency, int64_t position );
 extern int64_t mlt_sample_calculator_to_now( float fps, int frequency, int64_t position );
 extern const char * mlt_image_format_name( mlt_image_format format );
+extern int mlt_image_format_size( mlt_image_format format, int width, int height, int *bpp );
 extern const char * mlt_audio_format_name( mlt_audio_format format );
+extern int mlt_audio_format_size( mlt_audio_format format, int samples, int channels );
 extern void mlt_frame_write_ppm( mlt_frame frame );
 
 /** This macro scales RGB into the YUV gamut - y is scaled by 219/255 and uv by 224/255. */