11 template <
class Pixel>
14 std::unique_ptr<PostProcessor> postProcessor_)
15 : postProcessor(std::move(postProcessor_))
17 , pixelFormat(screen.getSDLFormat())
21 template <
class Pixel>
26 template <
class Pixel>
29 return postProcessor.get();
32 template <
class Pixel>
35 workFrame = postProcessor->rotateFrames(std::move(workFrame),
45 auto background =
static_cast<Pixel>(SDL_MapRGB(&pixelFormat, r, g, b));
46 for (
int y = 0; y < 480; ++y) {
47 workFrame->setBlank(y, background);
54 return workFrame.get();
62 #if HAVE_32BPP || COMPONENT_GL