summaryrefslogtreecommitdiffstats
path: root/third_party/jpeg-xl/lib/extras/alpha_blend.h
blob: 4d78e8681b6a9a98b3c90b3b29d5177caf1bc664 (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, float background[3]);

}  // namespace extras
}  // namespace jxl

#endif  // LIB_EXTRAS_ALPHA_BLEND_H_