LIBJXL: jxl/compressed_icc.h Source File

LIBJXL |

Loading...
Searching...
No Matches
compressed_icc.h
Go to the documentation of this file.
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
12
13#ifndef JXL_COMPRESSED_ICC_H_
14#define JXL_COMPRESSED_ICC_H_
15
16#include <jxl/jxl_export.h>
17#include <jxl/memory_manager.h>
18#include <jxl/types.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
41JXL_EXPORT JXL_BOOL JxlICCProfileEncode(const JxlMemoryManager* memory_manager,
42 const uint8_t* icc, size_t icc_size,
43 uint8_t** compressed_icc,
44 size_t* compressed_icc_size);
45
64JXL_EXPORT JXL_BOOL JxlICCProfileDecode(const JxlMemoryManager* memory_manager,
65 const uint8_t* compressed_icc,
66 size_t compressed_icc_size,
67 uint8_t** icc, size_t* icc_size);
68
69#ifdef __cplusplus
70}
71#endif
72
73#endif /* JXL_COMPRESSED_ICC_H_ */
74
JxlMemoryManager
struct JxlMemoryManagerStruct JxlMemoryManager
JXL_BOOL
#define JXL_BOOL
Definition types.h:29
JxlICCProfileDecode
JXL_EXPORT JXL_BOOL JxlICCProfileDecode(const JxlMemoryManager *memory_manager, const uint8_t *compressed_icc, size_t compressed_icc_size, uint8_t **icc, size_t *icc_size)
JxlICCProfileEncode
JXL_EXPORT JXL_BOOL JxlICCProfileEncode(const JxlMemoryManager *memory_manager, const uint8_t *icc, size_t icc_size, uint8_t **compressed_icc, size_t *compressed_icc_size)
memory_manager.h
Abstraction functions used by JPEG XL to allocate memory.
types.h
Data types for the JPEG XL API, for both encoding and decoding.