Backed out 3 changesets (bug 1790375) for causing wd failures on fetch_error.py....
[gecko.git] / third_party / jpeg-xl / lib / jpegli / upsample.h
blob1a057208dcc25a7928349df9ba3064df011724f7
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.
6 #ifndef LIB_JPEGLI_UPSAMPLE_H_
7 #define LIB_JPEGLI_UPSAMPLE_H_
9 #include <stddef.h>
11 #include "lib/jxl/base/compiler_specific.h"
13 namespace jpegli {
15 void Upsample2Horizontal(float* JXL_RESTRICT row,
16 float* JXL_RESTRICT scratch_space, size_t len_out);
18 void Upsample2Vertical(const float* JXL_RESTRICT row_top,
19 const float* JXL_RESTRICT row_mid,
20 const float* JXL_RESTRICT row_bot,
21 float* JXL_RESTRICT row_out0,
22 float* JXL_RESTRICT row_out1, size_t len);
24 } // namespace jpegli
26 #endif // LIB_JPEGLI_UPSAMPLE_H_