#include "core/fpdfapi/page/cpdf_sampledfunc.h"
#include <algorithm>
#include <utility>
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
#include "core/fpdfapi/parser/cpdf_stream_acc.h"
#include "core/fxcrt/cfx_bitstream.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/fx_memory_wrappers.h"
#include "core/fxcrt/fx_safe_types.h"
#include "third_party/abseil-cpp/absl/container/inlined_vector.h"
namespace {
bool IsValidBitsPerSample(uint32_t x) { … }
}
CPDF_SampledFunc::CPDF_SampledFunc() : … { … }
CPDF_SampledFunc::~CPDF_SampledFunc() = default;
bool CPDF_SampledFunc::v_Init(const CPDF_Object* pObj, VisitedSet* pVisited) { … }
bool CPDF_SampledFunc::v_Call(pdfium::span<const float> inputs,
pdfium::span<float> results) const { … }
#if defined(PDF_USE_SKIA)
RetainPtr<CPDF_StreamAcc> CPDF_SampledFunc::GetSampleStream() const { … }
#endif