Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / plugins / threshold / histogramengine.h
blobfe8c2deb3684f4b554a02842213217614febe0e0
1 #ifndef HISTOGRAMENGINE_H
2 #define HISTOGRAMENGINE_H
4 #include "histogramengine.inc"
5 #include "loadbalance.h"
6 #include "../colors/plugincolors.inc"
7 #include "vframe.inc"
9 #include <stdint.h>
11 class HistogramPackage : public LoadPackage
13 public:
14 HistogramPackage();
15 int start, end;
18 class HistogramUnit : public LoadClient
20 public:
21 HistogramUnit(HistogramEngine *server);
22 ~HistogramUnit();
23 void process_package(LoadPackage *package);
24 HistogramEngine *server;
25 int64_t *accum[5];
28 class HistogramEngine : public LoadServer
30 public:
31 HistogramEngine(int total_clients, int total_packages);
32 ~HistogramEngine();
33 void process_packages(VFrame *data);
34 void init_packages();
35 LoadClient* new_client();
36 LoadPackage* new_package();
37 VFrame *data;
38 YUV *yuv;
39 int64_t *accum[5];
43 #endif