LIBJXL: jxl/decode.h Source File

LIBJXL

decode.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
13#ifndef JXL_DECODE_H_
14#define JXL_DECODE_H_
15
16#include <stddef.h>
17#include <stdint.h>
18
19#include "jxl/codestream_header.h"
20#include "jxl/color_encoding.h"
21#include "jxl/jxl_export.h"
22#include "jxl/memory_manager.h"
23#include "jxl/parallel_runner.h"
24#include "jxl/types.h"
25#include "jxl/version.h"
26
27#if defined(__cplusplus) || defined(c_plusplus)
28extern "C" {
29#endif
30
38JXL_EXPORT uint32_t JxlDecoderVersion(void);
39
42 typedef enum {
45 JXL_SIG_NOT_ENOUGH_BYTES = 0,
46
48 JXL_SIG_INVALID = 1,
49
53 JXL_SIG_CODESTREAM = 2,
54
58 JXL_SIG_CONTAINER = 3,
59} JxlSignature;
60
76JXL_EXPORT JxlSignature JxlSignatureCheck(const uint8_t* buf, size_t len);
77
84 typedef struct JxlDecoderStruct JxlDecoder;
85
98JXL_EXPORT JxlDecoder* JxlDecoderCreate(const JxlMemoryManager* memory_manager);
99
107JXL_EXPORT void JxlDecoderReset(JxlDecoder* dec);
108
114JXL_EXPORT void JxlDecoderDestroy(JxlDecoder* dec);
115
122 typedef enum {
136 JXL_DEC_SUCCESS = 0,
137
141 JXL_DEC_ERROR = 1,
142
157 JXL_DEC_NEED_MORE_INPUT = 2,
158
168 JXL_DEC_NEED_PREVIEW_OUT_BUFFER = 3,
169
178 JXL_DEC_NEED_DC_OUT_BUFFER = 4,
179
187 JXL_DEC_NEED_IMAGE_OUT_BUFFER = 5,
188
194 JXL_DEC_JPEG_NEED_MORE_OUTPUT = 6,
195
200 JXL_DEC_BOX_NEED_MORE_OUTPUT = 7,
201
209 JXL_DEC_BASIC_INFO = 0x40,
210
219 JXL_DEC_EXTENSIONS = 0x80,
220
229 JXL_DEC_COLOR_ENCODING = 0x100,
230
239 JXL_DEC_PREVIEW_IMAGE = 0x200,
240
260 JXL_DEC_FRAME = 0x400,
261
275 JXL_DEC_DC_IMAGE = 0x800,
276
289 JXL_DEC_FULL_IMAGE = 0x1000,
290
302 JXL_DEC_JPEG_RECONSTRUCTION = 0x2000,
303
339 JXL_DEC_BOX = 0x4000,
340
356 JXL_DEC_FRAME_PROGRESSION = 0x8000,
357} JxlDecoderStatus;
358
382JXL_EXPORT void JxlDecoderRewind(JxlDecoder* dec);
383
402JXL_EXPORT void JxlDecoderSkipFrames(JxlDecoder* dec, size_t amount);
403
416JXL_EXPORT JxlDecoderStatus JxlDecoderSkipCurrentFrame(JxlDecoder* dec);
417
432JXL_EXPORT JXL_DEPRECATED JxlDecoderStatus
433JxlDecoderDefaultPixelFormat(const JxlDecoder* dec, JxlPixelFormat* format);
434
447JXL_EXPORT JxlDecoderStatus
448JxlDecoderSetParallelRunner(JxlDecoder* dec, JxlParallelRunner parallel_runner,
449 void* parallel_runner_opaque);
450
466JXL_EXPORT size_t JxlDecoderSizeHintBasicInfo(const JxlDecoder* dec);
467
480JXL_EXPORT JxlDecoderStatus JxlDecoderSubscribeEvents(JxlDecoder* dec,
481 int events_wanted);
482
514JXL_EXPORT JxlDecoderStatus
515JxlDecoderSetKeepOrientation(JxlDecoder* dec, JXL_BOOL skip_reorientation);
516
532JXL_EXPORT JxlDecoderStatus
533JxlDecoderSetUnpremultiplyAlpha(JxlDecoder* dec, JXL_BOOL unpremul_alpha);
534
545JXL_EXPORT JxlDecoderStatus
546JxlDecoderSetRenderSpotcolors(JxlDecoder* dec, JXL_BOOL render_spotcolors);
547
561JXL_EXPORT JxlDecoderStatus JxlDecoderSetCoalescing(JxlDecoder* dec,
562 JXL_BOOL coalescing);
563
606JXL_EXPORT JxlDecoderStatus JxlDecoderProcessInput(JxlDecoder* dec);
607
622JXL_EXPORT JxlDecoderStatus JxlDecoderSetInput(JxlDecoder* dec,
623 const uint8_t* data,
624 size_t size);
625
645JXL_EXPORT size_t JxlDecoderReleaseInput(JxlDecoder* dec);
646
665JXL_EXPORT void JxlDecoderCloseInput(JxlDecoder* dec);
666
678JXL_EXPORT JxlDecoderStatus JxlDecoderGetBasicInfo(const JxlDecoder* dec,
679 JxlBasicInfo* info);
680
693JXL_EXPORT JxlDecoderStatus JxlDecoderGetExtraChannelInfo(
694 const JxlDecoder* dec, size_t index, JxlExtraChannelInfo* info);
695
710JXL_EXPORT JxlDecoderStatus JxlDecoderGetExtraChannelName(const JxlDecoder* dec,
711 size_t index,
712 char* name,
713 size_t size);
714
720 typedef enum {
723 JXL_COLOR_PROFILE_TARGET_ORIGINAL = 0,
724
726 JXL_COLOR_PROFILE_TARGET_DATA = 1,
727} JxlColorProfileTarget;
728
766JXL_EXPORT JxlDecoderStatus JxlDecoderGetColorAsEncodedProfile(
767 const JxlDecoder* dec, const JxlPixelFormat* unused_format,
768 JxlColorProfileTarget target, JxlColorEncoding* color_encoding);
769
793JXL_EXPORT JxlDecoderStatus JxlDecoderGetICCProfileSize(
794 const JxlDecoder* dec, const JxlPixelFormat* unused_format,
795 JxlColorProfileTarget target, size_t* size);
796
813JXL_EXPORT JxlDecoderStatus JxlDecoderGetColorAsICCProfile(
814 const JxlDecoder* dec, const JxlPixelFormat* unused_format,
815 JxlColorProfileTarget target, uint8_t* icc_profile, size_t size);
816
850JXL_EXPORT JxlDecoderStatus JxlDecoderSetPreferredColorProfile(
851 JxlDecoder* dec, const JxlColorEncoding* color_encoding);
852
863JXL_EXPORT JxlDecoderStatus JxlDecoderSetDesiredIntensityTarget(
864 JxlDecoder* dec, float desired_intensity_target);
865
878JXL_EXPORT JxlDecoderStatus JxlDecoderPreviewOutBufferSize(
879 const JxlDecoder* dec, const JxlPixelFormat* format, size_t* size);
880
896JXL_EXPORT JxlDecoderStatus JxlDecoderSetPreviewOutBuffer(
897 JxlDecoder* dec, const JxlPixelFormat* format, void* buffer, size_t size);
898
911JXL_EXPORT JxlDecoderStatus JxlDecoderGetFrameHeader(const JxlDecoder* dec,
912 JxlFrameHeader* header);
913
926JXL_EXPORT JxlDecoderStatus JxlDecoderGetFrameName(const JxlDecoder* dec,
927 char* name, size_t size);
928
941JXL_EXPORT JxlDecoderStatus JxlDecoderGetExtraChannelBlendInfo(
942 const JxlDecoder* dec, size_t index, JxlBlendInfo* blend_info);
943
958JXL_EXPORT JXL_DEPRECATED JxlDecoderStatus JxlDecoderDCOutBufferSize(
959 const JxlDecoder* dec, const JxlPixelFormat* format, size_t* size);
960
979JXL_EXPORT JXL_DEPRECATED JxlDecoderStatus JxlDecoderSetDCOutBuffer(
980 JxlDecoder* dec, const JxlPixelFormat* format, void* buffer, size_t size);
981
997JXL_EXPORT JxlDecoderStatus JxlDecoderImageOutBufferSize(
998 const JxlDecoder* dec, const JxlPixelFormat* format, size_t* size);
999
1016JXL_EXPORT JxlDecoderStatus JxlDecoderSetImageOutBuffer(
1017 JxlDecoder* dec, const JxlPixelFormat* format, void* buffer, size_t size);
1018
1035 typedef void (*JxlImageOutCallback)(void* opaque, size_t x, size_t y,
1036 size_t num_pixels, const void* pixels);
1037
1050 typedef void* (*JxlImageOutInitCallback)(void* init_opaque, size_t num_threads,
1051 size_t num_pixels_per_thread);
1052
1069 typedef void (*JxlImageOutRunCallback)(void* run_opaque, size_t thread_id,
1070 size_t x, size_t y, size_t num_pixels,
1071 const void* pixels);
1072
1080 typedef void (*JxlImageOutDestroyCallback)(void* run_opaque);
1081
1124JXL_EXPORT JxlDecoderStatus
1125JxlDecoderSetImageOutCallback(JxlDecoder* dec, const JxlPixelFormat* format,
1126 JxlImageOutCallback callback, void* opaque);
1127
1147JXL_EXPORT JxlDecoderStatus JxlDecoderSetMultithreadedImageOutCallback(
1148 JxlDecoder* dec, const JxlPixelFormat* format,
1149 JxlImageOutInitCallback init_callback, JxlImageOutRunCallback run_callback,
1150 JxlImageOutDestroyCallback destroy_callback, void* init_opaque);
1151
1167JXL_EXPORT JxlDecoderStatus JxlDecoderExtraChannelBufferSize(
1168 const JxlDecoder* dec, const JxlPixelFormat* format, size_t* size,
1169 uint32_t index);
1170
1201JXL_EXPORT JxlDecoderStatus
1202JxlDecoderSetExtraChannelBuffer(JxlDecoder* dec, const JxlPixelFormat* format,
1203 void* buffer, size_t size, uint32_t index);
1204
1223JXL_EXPORT JxlDecoderStatus JxlDecoderSetJPEGBuffer(JxlDecoder* dec,
1224 uint8_t* data, size_t size);
1225
1242JXL_EXPORT size_t JxlDecoderReleaseJPEGBuffer(JxlDecoder* dec);
1243
1266JXL_EXPORT JxlDecoderStatus JxlDecoderSetBoxBuffer(JxlDecoder* dec,
1267 uint8_t* data, size_t size);
1268
1285JXL_EXPORT size_t JxlDecoderReleaseBoxBuffer(JxlDecoder* dec);
1286
1307JXL_EXPORT JxlDecoderStatus JxlDecoderSetDecompressBoxes(JxlDecoder* dec,
1308 JXL_BOOL decompress);
1309
1375JXL_EXPORT JxlDecoderStatus JxlDecoderGetBoxType(JxlDecoder* dec,
1376 JxlBoxType type,
1377 JXL_BOOL decompressed);
1378
1396JXL_EXPORT JxlDecoderStatus JxlDecoderGetBoxSizeRaw(const JxlDecoder* dec,
1397 uint64_t* size);
1398
1410JXL_EXPORT JxlDecoderStatus
1411JxlDecoderSetProgressiveDetail(JxlDecoder* dec, JxlProgressiveDetail detail);
1412
1421JXL_EXPORT size_t JxlDecoderGetIntendedDownsamplingRatio(JxlDecoder* dec);
1422
1439JXL_EXPORT JxlDecoderStatus JxlDecoderFlushImage(JxlDecoder* dec);
1440
1441#if defined(__cplusplus) || defined(c_plusplus)
1442}
1443#endif
1444
1445#endif /* JXL_DECODE_H_ */
1446
codestream_header.h
Definitions of structs and enums for the metadata from the JPEG XL codestream headers (signature,...
color_encoding.h
Color Encoding definitions used by JPEG XL. All CIE units are for the standard 1931 2 degree observer...
JxlParallelRunner
JxlParallelRetCode(* JxlParallelRunner)(void *runner_opaque, void *jpegxl_opaque, JxlParallelRunInit init, JxlParallelRunFunction func, uint32_t start_range, uint32_t end_range)
Definition: parallel_runner.h:119
JxlBoxType
char JxlBoxType[4]
Definition: types.h:116
JXL_BOOL
#define JXL_BOOL
Definition: types.h:31
JxlProgressiveDetail
JxlProgressiveDetail
Definition: types.h:126
JxlDecoderReleaseBoxBuffer
JXL_EXPORT size_t JxlDecoderReleaseBoxBuffer(JxlDecoder *dec)
JxlDecoderSkipFrames
JXL_EXPORT void JxlDecoderSkipFrames(JxlDecoder *dec, size_t amount)
JxlDecoderVersion
JXL_EXPORT uint32_t JxlDecoderVersion(void)
JxlDecoderReleaseInput
JXL_EXPORT size_t JxlDecoderReleaseInput(JxlDecoder *dec)
JxlDecoderSetDCOutBuffer
JXL_EXPORT JXL_DEPRECATED JxlDecoderStatus JxlDecoderSetDCOutBuffer(JxlDecoder *dec, const JxlPixelFormat *format, void *buffer, size_t size)
JxlDecoderPreviewOutBufferSize
JXL_EXPORT JxlDecoderStatus JxlDecoderPreviewOutBufferSize(const JxlDecoder *dec, const JxlPixelFormat *format, size_t *size)
JxlDecoderRewind
JXL_EXPORT void JxlDecoderRewind(JxlDecoder *dec)
JxlDecoderSetMultithreadedImageOutCallback
JXL_EXPORT JxlDecoderStatus JxlDecoderSetMultithreadedImageOutCallback(JxlDecoder *dec, const JxlPixelFormat *format, JxlImageOutInitCallback init_callback, JxlImageOutRunCallback run_callback, JxlImageOutDestroyCallback destroy_callback, void *init_opaque)
JxlDecoderSetDesiredIntensityTarget
JXL_EXPORT JxlDecoderStatus JxlDecoderSetDesiredIntensityTarget(JxlDecoder *dec, float desired_intensity_target)
JxlDecoderSetPreviewOutBuffer
JXL_EXPORT JxlDecoderStatus JxlDecoderSetPreviewOutBuffer(JxlDecoder *dec, const JxlPixelFormat *format, void *buffer, size_t size)
JxlDecoderGetFrameName
JXL_EXPORT JxlDecoderStatus JxlDecoderGetFrameName(const JxlDecoder *dec, char *name, size_t size)
JxlDecoderGetExtraChannelName
JXL_EXPORT JxlDecoderStatus JxlDecoderGetExtraChannelName(const JxlDecoder *dec, size_t index, char *name, size_t size)
JxlDecoderSetCoalescing
JXL_EXPORT JxlDecoderStatus JxlDecoderSetCoalescing(JxlDecoder *dec, JXL_BOOL coalescing)
JxlDecoderSetInput
JXL_EXPORT JxlDecoderStatus JxlDecoderSetInput(JxlDecoder *dec, const uint8_t *data, size_t size)
JxlDecoderGetBoxSizeRaw
JXL_EXPORT JxlDecoderStatus JxlDecoderGetBoxSizeRaw(const JxlDecoder *dec, uint64_t *size)
JxlDecoderCloseInput
JXL_EXPORT void JxlDecoderCloseInput(JxlDecoder *dec)
JxlDecoderGetFrameHeader
JXL_EXPORT JxlDecoderStatus JxlDecoderGetFrameHeader(const JxlDecoder *dec, JxlFrameHeader *header)
JxlDecoderSizeHintBasicInfo
JXL_EXPORT size_t JxlDecoderSizeHintBasicInfo(const JxlDecoder *dec)
JxlDecoderGetColorAsEncodedProfile
JXL_EXPORT JxlDecoderStatus JxlDecoderGetColorAsEncodedProfile(const JxlDecoder *dec, const JxlPixelFormat *unused_format, JxlColorProfileTarget target, JxlColorEncoding *color_encoding)
JxlDecoderSetImageOutBuffer
JXL_EXPORT JxlDecoderStatus JxlDecoderSetImageOutBuffer(JxlDecoder *dec, const JxlPixelFormat *format, void *buffer, size_t size)
JxlDecoderGetIntendedDownsamplingRatio
JXL_EXPORT size_t JxlDecoderGetIntendedDownsamplingRatio(JxlDecoder *dec)
JxlDecoderImageOutBufferSize
JXL_EXPORT JxlDecoderStatus JxlDecoderImageOutBufferSize(const JxlDecoder *dec, const JxlPixelFormat *format, size_t *size)
JxlDecoderGetICCProfileSize
JXL_EXPORT JxlDecoderStatus JxlDecoderGetICCProfileSize(const JxlDecoder *dec, const JxlPixelFormat *unused_format, JxlColorProfileTarget target, size_t *size)
JxlDecoderGetExtraChannelInfo
JXL_EXPORT JxlDecoderStatus JxlDecoderGetExtraChannelInfo(const JxlDecoder *dec, size_t index, JxlExtraChannelInfo *info)
JxlDecoderSkipCurrentFrame
JXL_EXPORT JxlDecoderStatus JxlDecoderSkipCurrentFrame(JxlDecoder *dec)
JxlDecoderSetDecompressBoxes
JXL_EXPORT JxlDecoderStatus JxlDecoderSetDecompressBoxes(JxlDecoder *dec, JXL_BOOL decompress)
JxlDecoderCreate
JXL_EXPORT JxlDecoder * JxlDecoderCreate(const JxlMemoryManager *memory_manager)
JxlDecoderReleaseJPEGBuffer
JXL_EXPORT size_t JxlDecoderReleaseJPEGBuffer(JxlDecoder *dec)
JxlColorProfileTarget
JxlColorProfileTarget
Definition: decode.h:720
JxlDecoderExtraChannelBufferSize
JXL_EXPORT JxlDecoderStatus JxlDecoderExtraChannelBufferSize(const JxlDecoder *dec, const JxlPixelFormat *format, size_t *size, uint32_t index)
JxlDecoderSetBoxBuffer
JXL_EXPORT JxlDecoderStatus JxlDecoderSetBoxBuffer(JxlDecoder *dec, uint8_t *data, size_t size)
JxlSignature
JxlSignature
Definition: decode.h:42
JxlDecoderSubscribeEvents
JXL_EXPORT JxlDecoderStatus JxlDecoderSubscribeEvents(JxlDecoder *dec, int events_wanted)
JxlDecoderSetParallelRunner
JXL_EXPORT JxlDecoderStatus JxlDecoderSetParallelRunner(JxlDecoder *dec, JxlParallelRunner parallel_runner, void *parallel_runner_opaque)
JxlDecoderProcessInput
JXL_EXPORT JxlDecoderStatus JxlDecoderProcessInput(JxlDecoder *dec)
JxlImageOutInitCallback
void *(* JxlImageOutInitCallback)(void *init_opaque, size_t num_threads, size_t num_pixels_per_thread)
Definition: decode.h:1050
JxlImageOutRunCallback
void(* JxlImageOutRunCallback)(void *run_opaque, size_t thread_id, size_t x, size_t y, size_t num_pixels, const void *pixels)
Definition: decode.h:1069
JxlDecoderSetPreferredColorProfile
JXL_EXPORT JxlDecoderStatus JxlDecoderSetPreferredColorProfile(JxlDecoder *dec, const JxlColorEncoding *color_encoding)
JxlDecoderSetImageOutCallback
JXL_EXPORT JxlDecoderStatus JxlDecoderSetImageOutCallback(JxlDecoder *dec, const JxlPixelFormat *format, JxlImageOutCallback callback, void *opaque)
JxlDecoderDCOutBufferSize
JXL_EXPORT JXL_DEPRECATED JxlDecoderStatus JxlDecoderDCOutBufferSize(const JxlDecoder *dec, const JxlPixelFormat *format, size_t *size)
JxlImageOutCallback
void(* JxlImageOutCallback)(void *opaque, size_t x, size_t y, size_t num_pixels, const void *pixels)
Definition: decode.h:1035
JxlDecoderGetBoxType
JXL_EXPORT JxlDecoderStatus JxlDecoderGetBoxType(JxlDecoder *dec, JxlBoxType type, JXL_BOOL decompressed)
JxlDecoderGetBasicInfo
JXL_EXPORT JxlDecoderStatus JxlDecoderGetBasicInfo(const JxlDecoder *dec, JxlBasicInfo *info)
JxlDecoderSetUnpremultiplyAlpha
JXL_EXPORT JxlDecoderStatus JxlDecoderSetUnpremultiplyAlpha(JxlDecoder *dec, JXL_BOOL unpremul_alpha)
JxlDecoderGetColorAsICCProfile
JXL_EXPORT JxlDecoderStatus JxlDecoderGetColorAsICCProfile(const JxlDecoder *dec, const JxlPixelFormat *unused_format, JxlColorProfileTarget target, uint8_t *icc_profile, size_t size)
JxlDecoderSetKeepOrientation
JXL_EXPORT JxlDecoderStatus JxlDecoderSetKeepOrientation(JxlDecoder *dec, JXL_BOOL skip_reorientation)
JxlImageOutDestroyCallback
void(* JxlImageOutDestroyCallback)(void *run_opaque)
Definition: decode.h:1080
JxlDecoderFlushImage
JXL_EXPORT JxlDecoderStatus JxlDecoderFlushImage(JxlDecoder *dec)
JxlDecoderDefaultPixelFormat
JXL_EXPORT JXL_DEPRECATED JxlDecoderStatus JxlDecoderDefaultPixelFormat(const JxlDecoder *dec, JxlPixelFormat *format)
JxlDecoderGetExtraChannelBlendInfo
JXL_EXPORT JxlDecoderStatus JxlDecoderGetExtraChannelBlendInfo(const JxlDecoder *dec, size_t index, JxlBlendInfo *blend_info)
JxlDecoderSetJPEGBuffer
JXL_EXPORT JxlDecoderStatus JxlDecoderSetJPEGBuffer(JxlDecoder *dec, uint8_t *data, size_t size)
JxlDecoderDestroy
JXL_EXPORT void JxlDecoderDestroy(JxlDecoder *dec)
JxlSignatureCheck
JXL_EXPORT JxlSignature JxlSignatureCheck(const uint8_t *buf, size_t len)
JxlDecoderSetProgressiveDetail
JXL_EXPORT JxlDecoderStatus JxlDecoderSetProgressiveDetail(JxlDecoder *dec, JxlProgressiveDetail detail)
JxlDecoderStatus
JxlDecoderStatus
Definition: decode.h:122
JxlDecoder
struct JxlDecoderStruct JxlDecoder
Definition: decode.h:84
JxlDecoderSetRenderSpotcolors
JXL_EXPORT JxlDecoderStatus JxlDecoderSetRenderSpotcolors(JxlDecoder *dec, JXL_BOOL render_spotcolors)
JxlDecoderReset
JXL_EXPORT void JxlDecoderReset(JxlDecoder *dec)
JxlDecoderSetExtraChannelBuffer
JXL_EXPORT JxlDecoderStatus JxlDecoderSetExtraChannelBuffer(JxlDecoder *dec, const JxlPixelFormat *format, void *buffer, size_t size, uint32_t index)
JXL_COLOR_PROFILE_TARGET_DATA
@ JXL_COLOR_PROFILE_TARGET_DATA
Definition: decode.h:726
JXL_COLOR_PROFILE_TARGET_ORIGINAL
@ JXL_COLOR_PROFILE_TARGET_ORIGINAL
Definition: decode.h:723
JXL_SIG_NOT_ENOUGH_BYTES
@ JXL_SIG_NOT_ENOUGH_BYTES
Definition: decode.h:45
JXL_SIG_INVALID
@ JXL_SIG_INVALID
Definition: decode.h:48
JXL_SIG_CONTAINER
@ JXL_SIG_CONTAINER
Definition: decode.h:58
JXL_SIG_CODESTREAM
@ JXL_SIG_CODESTREAM
Definition: decode.h:53
JXL_DEC_JPEG_RECONSTRUCTION
@ JXL_DEC_JPEG_RECONSTRUCTION
Definition: decode.h:302
JXL_DEC_JPEG_NEED_MORE_OUTPUT
@ JXL_DEC_JPEG_NEED_MORE_OUTPUT
Definition: decode.h:194
JXL_DEC_BASIC_INFO
@ JXL_DEC_BASIC_INFO
Definition: decode.h:209
JXL_DEC_EXTENSIONS
@ JXL_DEC_EXTENSIONS
Definition: decode.h:219
JXL_DEC_FRAME_PROGRESSION
@ JXL_DEC_FRAME_PROGRESSION
Definition: decode.h:356
JXL_DEC_DC_IMAGE
@ JXL_DEC_DC_IMAGE
Definition: decode.h:275
JXL_DEC_ERROR
@ JXL_DEC_ERROR
Definition: decode.h:141
JXL_DEC_NEED_IMAGE_OUT_BUFFER
@ JXL_DEC_NEED_IMAGE_OUT_BUFFER
Definition: decode.h:187
JXL_DEC_FULL_IMAGE
@ JXL_DEC_FULL_IMAGE
Definition: decode.h:289
JXL_DEC_COLOR_ENCODING
@ JXL_DEC_COLOR_ENCODING
Definition: decode.h:229
JXL_DEC_SUCCESS
@ JXL_DEC_SUCCESS
Definition: decode.h:136
JXL_DEC_PREVIEW_IMAGE
@ JXL_DEC_PREVIEW_IMAGE
Definition: decode.h:239
JXL_DEC_BOX_NEED_MORE_OUTPUT
@ JXL_DEC_BOX_NEED_MORE_OUTPUT
Definition: decode.h:200
JXL_DEC_BOX
@ JXL_DEC_BOX
Definition: decode.h:339
JXL_DEC_NEED_DC_OUT_BUFFER
@ JXL_DEC_NEED_DC_OUT_BUFFER
Definition: decode.h:178
JXL_DEC_NEED_MORE_INPUT
@ JXL_DEC_NEED_MORE_INPUT
Definition: decode.h:157
JXL_DEC_NEED_PREVIEW_OUT_BUFFER
@ JXL_DEC_NEED_PREVIEW_OUT_BUFFER
Definition: decode.h:168
JXL_DEC_FRAME
@ JXL_DEC_FRAME
Definition: decode.h:260
memory_manager.h
Abstraction functions used by JPEG XL to allocate memory.
parallel_runner.h
JxlBasicInfo
Definition: codestream_header.h:105
JxlBlendInfo
Definition: codestream_header.h:338
JxlColorEncoding
Definition: color_encoding.h:116
JxlExtraChannelInfo
Definition: codestream_header.h:273
JxlFrameHeader
Definition: codestream_header.h:397
JxlMemoryManagerStruct
Definition: memory_manager.h:51
JxlPixelFormat
Definition: types.h:87
types.h
Data types for the JPEG XL API, for both encoding and decoding.