add default stride handling, code cleaning

This commit is contained in:
unknown
2024-06-04 19:56:58 +02:00
parent ac9aaf4037
commit 382cc13650
3 changed files with 19 additions and 13 deletions

View File

@@ -46,6 +46,7 @@ public:
int numerator = 0;
int denominator = 0;
PixelFormat pf = PixelFormat::NO_CHANGE;
long defstride = 0;
GUID guid = GUID_NULL;
};
@@ -108,6 +109,7 @@ private:
EncoderThreadManager* _threadManager;
PixelFormat _pixelFormat,
_pixelFormatConfig;
bool _bottomUp;
int _lineLength,
_frameByteSize,
_noSignalCounterThreshold,