blob: 4cfec444f4c50e7fdaf9991feeccd93620bce874 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (c) the JPEG XL Project Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#ifndef LIB_EXTRAS_HLG_H_
#define LIB_EXTRAS_HLG_H_
#include "lib/jxl/image_bundle.h"
namespace jxl {
float GetHlgGamma(float peak_luminance, float surround_luminance = 5.f);
Status HlgOOTF(ImageBundle* ib, float gamma, ThreadPool* pool = nullptr);
Status HlgInverseOOTF(ImageBundle* ib, float gamma, ThreadPool* pool = nullptr);
} // namespace jxl
#endif // LIB_EXTRAS_HLG_H_
|