summaryrefslogtreecommitdiff
path: root/lib/jxl/noise.h
diff options
context:
space:
mode:
authorJiyong <jiyong.min@samsung.com>2023-12-26 10:55:00 +0900
committerJiyong <jiyong.min@samsung.com>2023-12-26 11:08:07 +0900
commit3b773d382e34fcfc7c8995d8bd681a6ef0529b02 (patch)
tree2dd316dd1fb388662a34065d3e15b2298384fbfe /lib/jxl/noise.h
parent7fa2aaed0a5c855460b77fb1fedcc01591ff6470 (diff)
downloadlibjxl-3b773d382e34fcfc7c8995d8bd681a6ef0529b02.tar.gz
libjxl-3b773d382e34fcfc7c8995d8bd681a6ef0529b02.tar.bz2
libjxl-3b773d382e34fcfc7c8995d8bd681a6ef0529b02.zip
Imported Upstream version 0.9.0upstream/0.9.0upstream
Change-Id: I60862786d19d92bb65425923bfeaa8ec236d8722
Diffstat (limited to 'lib/jxl/noise.h')
-rw-r--r--lib/jxl/noise.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jxl/noise.h b/lib/jxl/noise.h
index d897ea3..585fab0 100644
--- a/lib/jxl/noise.h
+++ b/lib/jxl/noise.h
@@ -38,7 +38,7 @@ struct NoiseParams {
static inline std::pair<int, float> IndexAndFrac(float x) {
constexpr size_t kScaleNumerator = NoiseParams::kNumNoisePoints - 2;
- // TODO: instead of 1, this should be a proper Y range.
+ // TODO(user): instead of 1, this should be a proper Y range.
constexpr float kScale = kScaleNumerator / 1;
float scaled_x = std::max(0.f, x * kScale);
float floor_x;