38#ifndef IMAGE_CODECS_VC1_H
39#define IMAGE_CODECS_VC1_H
41#include "common/bitstream.h"
42#include "common/scummsys.h"
43#include "image/codecs/codec.h"
50 constexpr VC1Ratio(
int numerator = 0,
int denominator = 1) : num(numerator), den(denominator) {}
54 int bitrtq_postproc = 0;
65 int frmrtq_postproc = 0;
67 int hrd_num_leaky_buckets = 0;
68 int hrd_param_flag = 0;
74 int max_coded_height = 0;
75 int max_coded_width = 0;
82 int quantizer_mode = 0;
84 int range_mapuv_flag = 0;
86 int range_mapy_flag = 0;
95 int resync_marker = 0;
97 int transfer_char = 0;
100 const uint8 *zz_8x4 =
nullptr;
101 const uint8 *zz_4x8 =
nullptr;
112 int decode(uint8 *data,
int *rawFlag,
int width,
int height,
int stride,
Common::BitStream8MSB *bits)
const;
127 WMV3Decoder(
int width,
int height,
bool advanced =
false);
136 bool hasError()
const;
139 VC1::Decoder *_decoder;
Definition: bitstream.h:55
const Graphics::Surface * drainFrame()
bool setOutputPixelFormat(const Graphics::PixelFormat &format) override
bool setExtraData(Common::SeekableReadStream &stream)
const Graphics::Surface * decodeFrame(Common::SeekableReadStream &stream) override
Graphics::PixelFormat getPixelFormat() const override
Definition: vc1.h:134