Skip to content

Commit

Permalink
rebased
Browse files Browse the repository at this point in the history
  • Loading branch information
chbartsch committed Feb 25, 2022
1 parent d8285cd commit 88054d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/flatbufserver/FlatBufferClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <QRgb>

// util includes
#include <utils/ImageResampler.h>
#include <utils/FrameDecoder.h>

FlatBufferClient::FlatBufferClient(QTcpSocket* socket, int timeout, bool hdrToneMappingEnabled, uint8_t* lutBuffer, QObject *parent)
: QObject(parent)
Expand Down Expand Up @@ -177,7 +177,7 @@ void FlatBufferClient::handleImageCommand(const hyperhdrnet::Image* image)
memmove(imageDest.memptr(), imageData->data(), imageData->size());

// tone mapping
ImageResampler::applyLUT((uint8_t*)imageDest.memptr(), imageDest.width(), imageDest.height(), _lutBuffer, _hdrToneMappingEnabled);
FrameDecoder::applyLUT((uint8_t*)imageDest.memptr(), imageDest.width(), imageDest.height(), _lutBuffer, _hdrToneMappingEnabled);

emit setGlobalInputImage(_priority, imageDest, duration);
}
Expand Down

0 comments on commit 88054d0

Please sign in to comment.