summaryrefslogtreecommitdiffstats
path: root/third_party/jpeg-xl/lib/extras/alpha_blend.h
blob: e49349393c97cba0116bf608f29de5bc0b49c8ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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_ALPHA_BLEND_H_
#define LIB_EXTRAS_ALPHA_BLEND_H_

#include "lib/extras/packed_image.h"

namespace jxl {
namespace extras {

void AlphaBlend(PackedPixelFile* ppf, const float background[3]);

}  // namespace extras
}  // namespace jxl

#endif  // LIB_EXTRAS_ALPHA_BLEND_H_