int current_height;
mlt_cache_item image_cache;
mlt_cache_item alpha_cache;
- pthread_mutex_t mutex;
+ mlt_cache_item qimage_cache;
+ void *qimage;
+ mlt_image_format format;
};
typedef struct producer_qimage_s *producer_qimage;
-extern void refresh_qimage( producer_qimage, mlt_frame, int width, int height );
-#ifdef USE_KDE
+extern int refresh_qimage( producer_qimage self, mlt_frame frame );
+extern void refresh_image( producer_qimage, mlt_frame, mlt_image_format, int width, int height );
+extern void make_tempfile( producer_qimage, const char *xml );
extern void init_qimage();
-#endif
+
#ifdef __cplusplus
}