mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
removed BGR24 special handling
This commit is contained in:
parent
0f903e2448
commit
8ec2c48d6b
@ -122,18 +122,6 @@ void EncoderThread::process()
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
if (_pixelFormat == PixelFormat::BGR24)
|
|
||||||
{
|
|
||||||
if (_flipMode == FlipMode::NO_CHANGE)
|
|
||||||
_imageResampler.setFlipMode(FlipMode::NO_CHANGE);
|
|
||||||
else if (_flipMode == FlipMode::HORIZONTAL)
|
|
||||||
_imageResampler.setFlipMode(FlipMode::HORIZONTAL);
|
|
||||||
else if (_flipMode == FlipMode::VERTICAL)
|
|
||||||
_imageResampler.setFlipMode(FlipMode::VERTICAL);
|
|
||||||
else if (_flipMode == FlipMode::BOTH)
|
|
||||||
_imageResampler.setFlipMode(FlipMode::BOTH);
|
|
||||||
}
|
|
||||||
|
|
||||||
Image<ColorRgb> image = Image<ColorRgb>();
|
Image<ColorRgb> image = Image<ColorRgb>();
|
||||||
_imageResampler.processImage(
|
_imageResampler.processImage(
|
||||||
_localData,
|
_localData,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user