22#ifndef IMAGE_CODECS_XAN_H
23#define IMAGE_CODECS_XAN_H
25#include "image/codecs/codec.h"
45 XanDecoder (
int width,
int height,
int bitsPerPixel);
51 if (format.bytesPerPixel != 2 && format.bytesPerPixel != 4)
53 _pixelFormat = format;
67 void convertYUVtoRGBSurface();
Graphics::PixelFormat getPixelFormat() const override
Definition: xan.h:49
const Graphics::Surface * decodeFrame(Common::SeekableReadStream &stream) override
bool setOutputPixelFormat(const Graphics::PixelFormat &format) override
Definition: xan.h:50