18 lines
464 B
C++
18 lines
464 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include <cstdint>
|
|
|
|
namespace pdfengine {
|
|
|
|
class SampleDecoder {
|
|
public:
|
|
static std::vector<uint8_t> unpackSamples(const std::vector<uint8_t>& rawBytes,
|
|
int width,
|
|
int height,
|
|
int components,
|
|
int bitsPerComponent);
|
|
};
|
|
|
|
} // namespace pdfengine
|