Bugfix in HistogramWidget and PlaYUVerFrameStatistics

Conditions were not proper checking if frame exists
Change on some variables name
Still incomplete the code and some variable must be renamed
to include code style
This commit is contained in:
jfmcarreira committed 2014-04-05 14:35:42 +01:00
1 parent d06f333a6e
commit e0695f9cdc
5 files changed
+32 -26

No files matched your search

+2 -2
View File
@@ -87,11 +87,11 @@ public:
PlaYUVerFrameStatistics( uchar *data, uint width, uint height, int bitsPerChannel, Int pixel_format, QObject *parent = 0, Options options = CalcLumaWhenRGB );
PlaYUVerFrameStatistics( const PlaYUVerFrame& image, QObject *parent = 0, Options options = CalcLumaWhenRGB );
PlaYUVerFrameStatistics( const PlaYUVerFrame& playuver_frame, QObject *parent = 0, Options options = CalcLumaWhenRGB );
~PlaYUVerFrameStatistics();
void setup( uchar *data, uint width, uint height, int bitsPerChannel, Int pixel_format, QObject *parent = 0, Options options = CalcLumaWhenRGB );
void setup( Pel *data, uint width, uint height, int bitsPerChannel, Int pixel_format, QObject *parent = 0, Options options = CalcLumaWhenRGB );
/** Method to stop threaded computations.*/
void stopCalcHistogramValues( void );