MF-grabber: Add support for bottom-up image handling (#1752)

* prepare bottom-up image handling

* add default stride handling, code cleaning

* fix code

* move whole logic to MF-grabber

* minor fix

---------

Co-authored-by: Thinner77 <none>
This commit is contained in:
Thinner77
2024-06-14 20:40:17 +02:00
committed by GitHub
parent 943f9e22f3
commit 7f90637a2d
3 changed files with 24 additions and 3 deletions

View File

@@ -124,10 +124,10 @@ inline QString pixelFormatToString(const PixelFormat& pixelFormat)
enum class FlipMode
{
NO_CHANGE,
HORIZONTAL,
VERTICAL,
BOTH,
NO_CHANGE
BOTH
};
inline FlipMode parseFlipMode(const QString& flipMode)