11#include <promeki/config.h>
12#if PROMEKI_ENABLE_PROAV
19PROMEKI_NAMESPACE_BEGIN
52class JpegXsBitstream {
55 enum Marker : uint16_t {
92 uint8_t numComponents = 0;
96 uint8_t hSubsampling[4] = {1, 1, 1, 1};
97 uint8_t vSubsampling[4] = {1, 1, 1, 1};
98 uint8_t perComponentBitDepth[4] = {0, 0, 0, 0};
125 static Error parsePictureHeader(
const BufferView &view, PictureInfo &out);
142 static PixelFormat::ID pixelFormatFor(
const PictureInfo &info);