libjxl

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

dec_transforms_testonly.h (1081B)


      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_DEC_TRANSFORMS_TESTONLY_H_
      7 #define LIB_JXL_DEC_TRANSFORMS_TESTONLY_H_
      8 
      9 // Facade for (non-inlined) inverse integral transforms.
     10 
     11 #include <stddef.h>
     12 #include <stdint.h>
     13 
     14 #include "lib/jxl/ac_strategy.h"
     15 #include "lib/jxl/base/compiler_specific.h"
     16 
     17 namespace jxl {
     18 
     19 void TransformToPixels(AcStrategy::Type strategy,
     20                        float* JXL_RESTRICT coefficients,
     21                        float* JXL_RESTRICT pixels, size_t pixels_stride,
     22                        float* JXL_RESTRICT scratch_space);
     23 
     24 // Equivalent of the above for DC image.
     25 void LowestFrequenciesFromDC(jxl::AcStrategy::Type strategy, const float* dc,
     26                              size_t dc_stride, float* llf,
     27                              float* JXL_RESTRICT scratch);
     28 
     29 void AFVIDCT4x4(const float* JXL_RESTRICT coeffs, float* JXL_RESTRICT pixels);
     30 
     31 }  // namespace jxl
     32 
     33 #endif  // LIB_JXL_DEC_TRANSFORMS_TESTONLY_H_