summaryrefslogtreecommitdiff
path: root/lib/jxl/quantizer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jxl/quantizer.cc')
-rw-r--r--lib/jxl/quantizer.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/jxl/quantizer.cc b/lib/jxl/quantizer.cc
index 814aea2..b9ea43e 100644
--- a/lib/jxl/quantizer.cc
+++ b/lib/jxl/quantizer.cc
@@ -5,7 +5,6 @@
#include "lib/jxl/quantizer.h"
-#include <stdio.h>
#include <string.h>
#include <algorithm>
@@ -125,12 +124,11 @@ Status QuantizerParams::VisitFields(Visitor* JXL_RESTRICT visitor) {
return true;
}
-Status Quantizer::Encode(BitWriter* writer, size_t layer,
- AuxOut* aux_out) const {
+QuantizerParams Quantizer::GetParams() const {
QuantizerParams params;
params.global_scale = global_scale_;
params.quant_dc = quant_dc_;
- return Bundle::Write(params, writer, layer, aux_out);
+ return params;
}
Status Quantizer::Decode(BitReader* reader) {