libjxl

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

no_png.h (675B)


      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 TOOLS_WASM_DEMO_NO_PNG_H_
      7 #define TOOLS_WASM_DEMO_NO_PNG_H_
      8 
      9 #include <stddef.h>
     10 #include <stdint.h>
     11 
     12 #include <vector>
     13 
     14 extern "C" {
     15 
     16 uint8_t* WrapPixelsToPng(size_t width, size_t height, size_t bit_depth,
     17                          bool has_alpha, const uint8_t* input,
     18                          const std::vector<uint8_t>& icc,
     19                          const std::vector<uint8_t>& cicp,
     20                          uint32_t* output_size);
     21 
     22 }  // extern "C"
     23 
     24 #endif  // TOOLS_WASM_DEMO_NO_PNG_H_