X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fsrc%2FMltFrame.h;h=9d564ab816a56b364d4cbdbbeddba3e607b11cc0;hb=f4963a6aa07644399b273b5d2b1f9299c9047414;hp=7a8039abe6559995b4144684f4e2488163059ad4;hpb=01116637238e74419971afc26311c7a65b7b43aa;p=melted diff --git a/mlt++/src/MltFrame.h b/mlt++/src/MltFrame.h index 7a8039a..9d564ab 100644 --- a/mlt++/src/MltFrame.h +++ b/mlt++/src/MltFrame.h @@ -21,17 +21,19 @@ #ifndef _MLTPP_FRAME_H_ #define _MLTPP_FRAME_H_ +#include "config.h" + #include #include "MltProperties.h" namespace Mlt { class Properties; + class Producer; - class Frame : public Properties + class MLTPP_DECLSPEC Frame : public Properties { private: - bool destroy; mlt_frame instance; public: Frame( mlt_frame frame ); @@ -40,7 +42,10 @@ namespace Mlt virtual mlt_frame get_frame( ); mlt_properties get_properties( ); uint8_t *get_image( mlt_image_format &format, int &w, int &h, int writable = 0 ); + unsigned char *fetch_image( mlt_image_format format, int w, int h, int writable = 0 ); int16_t *get_audio( mlt_audio_format &format, int &frequency, int &channels, int &samples ); + unsigned char *get_waveform( int w, int h ); + Producer *get_original_producer( ); }; }