#include "core/fpdfapi/page/cpdf_transferfunc.h"
#include <stdint.h>
#include <utility>
#include "core/fpdfapi/page/cpdf_transferfuncdib.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fxcrt/check_op.h"
#include "core/fxcrt/fixed_size_data_vector.h"
#include "core/fxge/dib/cfx_dibbase.h"
CPDF_TransferFunc::CPDF_TransferFunc(bool bIdentify,
FixedSizeDataVector<uint8_t> samples_r,
FixedSizeDataVector<uint8_t> samples_g,
FixedSizeDataVector<uint8_t> samples_b)
: … { … }
CPDF_TransferFunc::~CPDF_TransferFunc() = default;
FX_COLORREF CPDF_TransferFunc::TranslateColor(FX_COLORREF colorref) const { … }
RetainPtr<CFX_DIBBase> CPDF_TransferFunc::TranslateImage(
RetainPtr<CFX_DIBBase> pSrc) { … }
pdfium::span<const uint8_t> CPDF_TransferFunc::GetSamplesR() const { … }
pdfium::span<const uint8_t> CPDF_TransferFunc::GetSamplesG() const { … }
pdfium::span<const uint8_t> CPDF_TransferFunc::GetSamplesB() const { … }