libjxl

FORK: libjxl patches used on blog
git clone https://git.neptards.moe/blog/libjxl.git
Log | Files | Refs | Submodules | README | LICENSE

upsample.h (804B)


      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_JPEGLI_UPSAMPLE_H_
      7 #define LIB_JPEGLI_UPSAMPLE_H_
      8 
      9 #include <stddef.h>
     10 
     11 #include "lib/jxl/base/compiler_specific.h"
     12 
     13 namespace jpegli {
     14 
     15 void Upsample2Horizontal(float* JXL_RESTRICT row,
     16                          float* JXL_RESTRICT scratch_space, size_t len_out);
     17 
     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);
     23 
     24 }  // namespace jpegli
     25 
     26 #endif  // LIB_JPEGLI_UPSAMPLE_H_