alpha_blend.h (466B)
1 // Copyright (c) the JPEG XL Project Authors. All rights reserved. 2 // 3 // Use of this source code is governed by a BSD-style 4 // license that can be found in the LICENSE file. 5 6 #ifndef LIB_EXTRAS_ALPHA_BLEND_H_ 7 #define LIB_EXTRAS_ALPHA_BLEND_H_ 8 9 #include "lib/extras/packed_image.h" 10 11 namespace jxl { 12 namespace extras { 13 14 void AlphaBlend(PackedPixelFile* ppf, const float background[3]); 15 16 } // namespace extras 17 } // namespace jxl 18 19 #endif // LIB_EXTRAS_ALPHA_BLEND_H_