1 // Copyright (c) the JPEG XL Project Authors. All rights reserved.
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_
11 #include "lib/jxl/base/compiler_specific.h"
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
);
26 #endif // LIB_JPEGLI_UPSAMPLE_H_