5#include <Common/assertion.h>
6#include <Common/primitive_type.h>
28 PH_ASSERT(out_dstFrame);
36 out_dstFrame->
setPixel(x, y, pixel.
div(pixel + 1.0_r));
Definition FrameOperator.h:9
Definition NaiveReinhardToneMapping.h:14
void operate(const HdrRgbFrame &srcFrame, HdrRgbFrame *out_dstFrame) override
Definition NaiveReinhardToneMapping.h:26
NaiveReinhardToneMapping()
Definition NaiveReinhardToneMapping.h:23
void forEachPixel(PerPixelOperation op)
Iterate over all pixels in the frame in row-major order.
Definition TFrame.ipp:252
void setPixel(const math::TVector2< uint32 > &coordPx, const PixelType &pixel)
Definition TFrame.ipp:370
math::TVector2< uint32 > getSizePx() const
Definition TFrame.ipp:428
void setSize(uint32 wPx, uint32 hPx)
Definition TFrame.ipp:237
Derived div(const Derived &rhs) const
Definition TArithmeticArrayBase.ipp:134
Definition TArithmeticArray.h:13
The root for all renderer implementations.
Definition EEngineProject.h:6