-
-
Notifications
You must be signed in to change notification settings - Fork 404
RGB24 and BGR24 cleanup #1749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RGB24 and BGR24 cleanup #1749
Conversation
Great! Can you also complete support for BGR16 and BGR32? Pixelformat.h and ImageResampler already know about these formats, so it's only adding some more "if"s in V4L2 gabber 😄. PS: Looks like MF doesn't know about BGR-Formats: https://learn.microsoft.com/de-de/windows/win32/medfound/video-subtype-guids |
Done. It stepped away from BGR16, as I do not think a grey-scale format is too relevant and ImageResampler does not have a implementation yet. Windows MF is now fixed, too. |
Hi @Lord-Grey, you are great, and fast 😄 . hyperion.ng/libsrc/utils/ImageResampler.cpp Line 120 in 76fff98
wbr |
I am sorry, I confused myself. I was referring to RGB16… :( Thanks for a 2nd pair of eyes reviewing! |
Hi, the other option would be to remove support for BGR16 completely because it hasn't been usable so far and nobody seems to have needed it. I don't know, it's your decision. ;-) wbr |
I do not know if there are side effects on other grabbers. |
This reverts commit 4297538.
Summary
What kind of change does this PR introduce? (check at least one)
If changing the UI of web configuration, please provide the before/after screenshot:
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing setups:
The PR fulfills these requirements:
Fixes: #xxx[,#xxx]
, where "xxx" is the issue number)If adding a new feature, the PR's description includes:
PLEASE DON'T FORGET TO ADD YOUR CHANGES TO CHANGELOG.MD
To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
Other information: