Class libjxl :: jxl :: Quantizer
class Quantizer
{ ... };
static const int32_t kQuantMax
Quantizer(const DequantMatrices* dequant)
Quantizer(const DequantMatrices* dequant, int quant_dc, int global_scale)
static auto ClampVal(float val) -> int32_t
auto ClearDCMul() -> void
auto ComputeGlobalScaleAndQuant(float quant_dc, float quant_median, float quant_median_absd) -> void
auto Decode(BitReader* reader) -> Status
auto DequantMatrix(size_t quant_kind, size_t c) const -> const float*
auto DumpQuantizationMap(const jxl::ImageI& raw_quant_field) const -> void
auto GetDcStep(size_t c) const -> float
auto GetInvDcStep(size_t c) const -> float
auto GetParams() const -> QuantizerParams
auto InvDequantMatrix(size_t quant_kind, size_t c) const -> const float*
auto InvGlobalScale() const -> float
auto InvMulDC() const -> const float*
auto MulDC() const -> const float*
auto Scale() const -> float
auto ScaleGlobalScale(const float scale) -> float
auto SetQuant(float quant_dc, float quant_ac, jxl::ImageI* raw_quant_field) -> void
auto SetQuantField(float quant_dc, const jxl::ImageF& qf, jxl::ImageI* raw_quant_field) -> void
auto SetQuantField(const float quant_dc, const jxl::ImageF& qf, jxl::ImageI* raw_quant_field) -> void
auto SetQuantFieldRect(const jxl::ImageF& qf, const jxl::Rect& rect, jxl::ImageI* raw_quant_field) const -> void
auto inv_quant_ac(int32_t quant) const -> float
auto inv_quant_dc() const -> float