#include "core/fpdfapi/page/cpdf_transferfuncdib.h"
#include <utility>
#include "build/build_config.h"
#include "core/fpdfapi/page/cpdf_transferfunc.h"
#include "core/fxcrt/check.h"
#include "core/fxcrt/zip.h"
#include "core/fxge/calculate_pitch.h"
#if defined(PDF_USE_SKIA)
#include "core/fxcrt/notreached.h"
#endif
namespace {
CFX_DIBBase::kPlatformRGBStruct MakePlatformRGBStruct(uint8_t red,
uint8_t green,
uint8_t blue) { … }
}
CPDF_TransferFuncDIB::CPDF_TransferFuncDIB(
RetainPtr<const CFX_DIBBase> src,
RetainPtr<CPDF_TransferFunc> transfer_func)
: … { … }
CPDF_TransferFuncDIB::~CPDF_TransferFuncDIB() = default;
FXDIB_Format CPDF_TransferFuncDIB::GetDestFormat() const { … }
void CPDF_TransferFuncDIB::TranslateScanline(
pdfium::span<const uint8_t> src_span) const { … }
pdfium::span<const uint8_t> CPDF_TransferFuncDIB::GetScanline(int line) const { … }