7#ifndef CORE_FXCODEC_FLATE_FLATEMODULE_H_
8#define CORE_FXCODEC_FLATE_FLATEMODULE_H_
14#include "core/fxcrt/data_vector.h"
15#include "core/fxcrt/fx_memory_wrappers.h"
16#include "third_party/base/containers/span.h"
25 pdfium::span<
const uint8_t> src_span,
37 pdfium::span<
const uint8_t> src_span,
43 uint32_t estimated_size,
int GetIntegerFor(const ByteString &key) const
bool WriteTo(IFX_ArchiveStream *archive, const CPDF_Encryptor *encryptor) const override
bool WriteDictTo(IFX_ArchiveStream *archive, const CPDF_Encryptor *encryptor) const
pdfium::span< const uint8_t > GetSpan() const
CPDF_FlateEncoder(RetainPtr< const CPDF_Stream > pStream, bool bFlateEncode)
void UpdateLength(size_t size)
static DataVector< uint8_t > Encode(pdfium::span< const uint8_t > src_span)
static std::unique_ptr< ScanlineDecoder > CreateDecoder(pdfium::span< const uint8_t > src_span, int width, int height, int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns)
static uint32_t FlateOrLZWDecode(bool bLZW, pdfium::span< const uint8_t > src_span, bool bEarlyChange, int predictor, int Colors, int BitsPerComponent, int Columns, uint32_t estimated_size, std::unique_ptr< uint8_t, FxFreeDeleter > *dest_buf, uint32_t *dest_size)
FlateModule & operator=(const FlateModule &)=delete
FlateModule(const FlateModule &)=delete