libjxl

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

enc_gaborish.h (767B)


      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_JXL_GABORISH_H_
      7 #define LIB_JXL_GABORISH_H_
      8 
      9 // Linear smoothing (3x3 convolution) for deblocking without too much blur.
     10 
     11 #include "lib/jxl/base/data_parallel.h"
     12 #include "lib/jxl/base/status.h"
     13 #include "lib/jxl/image.h"
     14 
     15 namespace jxl {
     16 
     17 // Used in encoder to reduce the impact of the decoder's smoothing.
     18 // This is not exact. Works in-place to reduce memory use.
     19 // The input is typically in XYB space.
     20 Status GaborishInverse(Image3F* in_out, const Rect& rect, const float mul[3],
     21                        ThreadPool* pool);
     22 
     23 }  // namespace jxl
     24 
     25 #endif  // LIB_JXL_GABORISH_H_