*/
#include "bcdisplayinfo.h"
+#include "bccolors.h"
#include "clip.h"
#include "bchash.h"
#include "filexml.h"
#include "guicast.h"
#include "language.h"
#include "loadbalance.h"
-#include "cicolors.h"
+#include "bccolors.h"
#include "pluginvclient.h"
#include "fonts.h"
#include "scopewindow.h"
VideoScopeUnit(VideoScopeEffect *plugin, VideoScopeEngine *server);
void process_package(LoadPackage *package);
VideoScopeEffect *plugin;
- YUV yuv;
};
class VideoScopeEngine : public LoadServer
-const char* VideoScopeEffect::plugin_title() { return _("VideoScope"); }
+const char* VideoScopeEffect::plugin_title() { return N_("VideoScope"); }
int VideoScopeEffect::is_realtime() { return 1; }
int VideoScopeEffect::load_configuration()
FileXML output;
// cause data to be stored directly in text
- output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
+ output.set_shared_output(keyframe->xbuf);
output.tag.set_title("VIDEOSCOPE");
void VideoScopeEffect::read_data(KeyFrame *keyframe)
{
FileXML input;
- input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data()));
+ input.set_shared_input(keyframe->xbuf);
int result = 0;
{ \
if(sizeof(type) == 2) \
{ \
- yuv.yuv_to_rgb_16(r, \
- g, \
- b, \
- in_pixel[0], \
- in_pixel[1], \
- in_pixel[2]); \
+ YUV::yuv.yuv_to_rgb_16(r, g, b, \
+ in_pixel[0], in_pixel[1], in_pixel[2]); \
} \
else \
{ \
- yuv.yuv_to_rgb_8(r, \
- g, \
- b, \
- in_pixel[0], \
- in_pixel[1], \
- in_pixel[2]); \
+ YUV::yuv.yuv_to_rgb_8(r, g, b, \
+ in_pixel[0], in_pixel[1], in_pixel[2]); \
} \
} \
else \