libjxl

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

render.h (611B)


      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_RENDER_H_
      7 #define LIB_JPEGLI_RENDER_H_
      8 
      9 #include <stdint.h>
     10 
     11 #include "lib/jpegli/common.h"
     12 
     13 namespace jpegli {
     14 
     15 void PrepareForOutput(j_decompress_ptr cinfo);
     16 
     17 void ProcessOutput(j_decompress_ptr cinfo, size_t* num_output_rows,
     18                    JSAMPARRAY scanlines, size_t max_output_rows);
     19 
     20 void ProcessRawOutput(j_decompress_ptr cinfo, JSAMPIMAGE data);
     21 
     22 }  // namespace jpegli
     23 
     24 #endif  // LIB_JPEGLI_RENDER_H_