X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fqimage%2Fqimage_wrapper.h;h=9c9243ef0589170c92988e8c38d9ab0f84224628;hb=440ed00f0eb850d21ef10c7ed4762f9ba4e2b69c;hp=a8c5e493f5437d1d2e415be257127b6838e7ab3a;hpb=945cf9233a46d7c47d5030c0efad7561e7245954;p=melted diff --git a/src/modules/qimage/qimage_wrapper.h b/src/modules/qimage/qimage_wrapper.h index a8c5e49..9c9243e 100644 --- a/src/modules/qimage/qimage_wrapper.h +++ b/src/modules/qimage/qimage_wrapper.h @@ -27,6 +27,7 @@ #include #include "config.h" +#include #ifdef __cplusplus extern "C" { @@ -38,11 +39,18 @@ struct producer_qimage_s mlt_properties filenames; int count; int image_idx; + uint8_t *current_image; + uint8_t *current_alpha; + int current_width; + int current_height; + mlt_cache_item image_cache; + mlt_cache_item alpha_cache; + pthread_mutex_t mutex; }; typedef struct producer_qimage_s *producer_qimage; -extern void refresh_qimage( mlt_frame, int width, int height ); +extern void refresh_qimage( producer_qimage, mlt_frame, int width, int height ); #ifdef USE_KDE extern void init_qimage(); #endif