prepare bottom-up image handling

This commit is contained in:
Thinner77
2024-06-03 18:01:51 +02:00
parent 1fd40571af
commit ac9aaf4037
6 changed files with 30 additions and 8 deletions

View File

@@ -15,6 +15,7 @@ public:
void setVerticalPixelDecimation(int decimator) { _verticalDecimation = decimator; }
void setCropping(int cropLeft, int cropRight, int cropTop, int cropBottom);
void setVideoMode(VideoMode mode) { _videoMode = mode; }
void setBottomUp(bool isBottomUp) { _bottomUp = isBottomUp; }
void setFlipMode(FlipMode mode) { _flipMode = mode; }
void processImage(const uint8_t * data, int width, int height, int lineLength, PixelFormat pixelFormat, Image<ColorRgb> & outputImage) const;
@@ -26,6 +27,7 @@ private:
int _cropTop;
int _cropBottom;
VideoMode _videoMode;
bool _bottomUp;
FlipMode _flipMode;
};