LIBJXL: jxl/decode.h Source File

LIBJXL

Loading...
Searching...
No Matches
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/cms_interface.h"
20#include "jxl/codestream_header.h"
21#include "jxl/color_encoding.h"
22#include "jxl/jxl_export.h"
23#include "jxl/memory_manager.h"
24#include "jxl/parallel_runner.h"
25#include "jxl/types.h"
26#include "jxl/version.h"
27
28#if defined(__cplusplus) || defined(c_plusplus)
29extern "C" {
30#endif
31
39JXL_EXPORT uint32_t JxlDecoderVersion(void);
40
43 typedef enum {
46 JXL_SIG_NOT_ENOUGH_BYTES = 0,
47
49 JXL_SIG_INVALID = 1,
50
54 JXL_SIG_CODESTREAM = 2,
55
59 JXL_SIG_CONTAINER = 3,
60} JxlSignature;
61
77JXL_EXPORT JxlSignature JxlSignatureCheck(const uint8_t* buf, size_t len);
78
85 typedef struct JxlDecoderStruct JxlDecoder;
86
99JXL_EXPORT JxlDecoder* JxlDecoderCreate(const JxlMemoryManager* memory_manager);
100
108JXL_EXPORT void JxlDecoderReset(JxlDecoder* dec);
109
115JXL_EXPORT void JxlDecoderDestroy(JxlDecoder* dec);
116
123 typedef enum {
137 JXL_DEC_SUCCESS = 0,
138
142 JXL_DEC_ERROR = 1,
143
158 JXL_DEC_NEED_MORE_INPUT = 2,
159
169 JXL_DEC_NEED_PREVIEW_OUT_BUFFER = 3,
170
178 JXL_DEC_NEED_IMAGE_OUT_BUFFER = 5,
179
185 JXL_DEC_JPEG_NEED_MORE_OUTPUT = 6,
186
191 JXL_DEC_BOX_NEED_MORE_OUTPUT = 7,
192
200 JXL_DEC_BASIC_INFO = 0x40,
201
210 JXL_DEC_EXTENSIONS = 0x80,
211
220 JXL_DEC_COLOR_ENCODING = 0x100,
221
230 JXL_DEC_PREVIEW_IMAGE = 0x200,
231
251 JXL_DEC_FRAME = 0x400,
252
264 JXL_DEC_FULL_IMAGE = 0x1000,
265
277 JXL_DEC_JPEG_RECONSTRUCTION = 0x2000,
278
314 JXL_DEC_BOX = 0x4000,
315
331 JXL_DEC_FRAME_PROGRESSION = 0x8000,
332} JxlDecoderStatus;
333
357JXL_EXPORT void JxlDecoderRewind(JxlDecoder* dec);
358
377JXL_EXPORT void JxlDecoderSkipFrames(JxlDecoder* dec, size_t amount);
378
391JXL_EXPORT JxlDecoderStatus JxlDecoderSkipCurrentFrame(JxlDecoder* dec);
392
407JXL_DEPRECATED JXL_EXPORT JxlDecoderStatus
408JxlDecoderDefaultPixelFormat(const JxlDecoder* dec, JxlPixelFormat* format);
409
422JXL_EXPORT JxlDecoderStatus
423JxlDecoderSetParallelRunner(JxlDecoder* dec, JxlParallelRunner parallel_runner,
424 void* parallel_runner_opaque);
425
441JXL_EXPORT size_t JxlDecoderSizeHintBasicInfo(const JxlDecoder* dec);
442
455JXL_EXPORT JxlDecoderStatus JxlDecoderSubscribeEvents(JxlDecoder* dec,
456 int events_wanted);
457
489JXL_EXPORT JxlDecoderStatus
490JxlDecoderSetKeepOrientation(JxlDecoder* dec, JXL_BOOL skip_reorientation);
491
507JXL_EXPORT JxlDecoderStatus
508JxlDecoderSetUnpremultiplyAlpha(JxlDecoder* dec, JXL_BOOL unpremul_alpha);
509
520JXL_EXPORT JxlDecoderStatus
521JxlDecoderSetRenderSpotcolors(JxlDecoder* dec, JXL_BOOL render_spotcolors);
522
536JXL_EXPORT JxlDecoderStatus JxlDecoderSetCoalescing(JxlDecoder* dec,
537 JXL_BOOL coalescing);
538
579JXL_EXPORT JxlDecoderStatus JxlDecoderProcessInput(JxlDecoder* dec);
580
595JXL_EXPORT JxlDecoderStatus JxlDecoderSetInput(JxlDecoder* dec,
596 const uint8_t* data,
597 size_t size);
598
618JXL_EXPORT size_t JxlDecoderReleaseInput(JxlDecoder* dec);
619
638JXL_EXPORT void JxlDecoderCloseInput(JxlDecoder* dec);
639
651JXL_EXPORT JxlDecoderStatus JxlDecoderGetBasicInfo(const JxlDecoder* dec,
652 JxlBasicInfo* info);
653
666JXL_EXPORT JxlDecoderStatus JxlDecoderGetExtraChannelInfo(
667 const JxlDecoder* dec, size_t index, JxlExtraChannelInfo* info);
668
683JXL_EXPORT JxlDecoderStatus JxlDecoderGetExtraChannelName(const JxlDecoder* dec,
684 size_t index,
685 char* name,
686 size_t size);
687
693 typedef enum {
696 JXL_COLOR_PROFILE_TARGET_ORIGINAL = 0,
697
699 JXL_COLOR_PROFILE_TARGET_DATA = 1,
700} JxlColorProfileTarget;
701
751JXL_EXPORT JxlDecoderStatus JxlDecoderGetColorAsEncodedProfile(
752 const JxlDecoder* dec, const JxlPixelFormat* unused_format,
753 JxlColorProfileTarget target, JxlColorEncoding* color_encoding);
754
778JXL_EXPORT JxlDecoderStatus JxlDecoderGetICCProfileSize(
779 const JxlDecoder* dec, const JxlPixelFormat* unused_format,
780 JxlColorProfileTarget target, size_t* size);
781
798JXL_EXPORT JxlDecoderStatus JxlDecoderGetColorAsICCProfile(
799 const JxlDecoder* dec, const JxlPixelFormat* unused_format,
800 JxlColorProfileTarget target, uint8_t* icc_profile, size_t size);
801
812JXL_EXPORT JxlDecoderStatus JxlDecoderSetPreferredColorProfile(
813 JxlDecoder* dec, const JxlColorEncoding* color_encoding);
814
825JXL_EXPORT JxlDecoderStatus JxlDecoderSetDesiredIntensityTarget(
826 JxlDecoder* dec, float desired_intensity_target);
827
869JXL_EXPORT JxlDecoderStatus JxlDecoderSetOutputColorProfile(
870 JxlDecoder* dec, const JxlColorEncoding* color_encoding,
871 const uint8_t* icc_data, size_t icc_size);
872
885JXL_EXPORT void JxlDecoderSetCms(JxlDecoder* dec, JxlCmsInterface cms);
886// TODO(firsching): add a function JxlDecoderSetDefaultCms() for setting a
887// default in case libjxl is build with an CMS.
888
901JXL_EXPORT JxlDecoderStatus JxlDecoderPreviewOutBufferSize(
902 const JxlDecoder* dec, const JxlPixelFormat* format, size_t* size);
903
919JXL_EXPORT JxlDecoderStatus JxlDecoderSetPreviewOutBuffer(
920 JxlDecoder* dec, const JxlPixelFormat* format, void* buffer, size_t size);
921
934JXL_EXPORT JxlDecoderStatus JxlDecoderGetFrameHeader(const JxlDecoder* dec,
935 JxlFrameHeader* header);
936
949JXL_EXPORT JxlDecoderStatus JxlDecoderGetFrameName(const JxlDecoder* dec,
950 char* name, size_t size);
951
964JXL_EXPORT JxlDecoderStatus JxlDecoderGetExtraChannelBlendInfo(
965 const JxlDecoder* dec, size_t index, JxlBlendInfo* blend_info);
966
982JXL_EXPORT JxlDecoderStatus JxlDecoderImageOutBufferSize(
983 const JxlDecoder* dec, const JxlPixelFormat* format, size_t* size);
984
1001JXL_EXPORT JxlDecoderStatus JxlDecoderSetImageOutBuffer(
1002 JxlDecoder* dec, const JxlPixelFormat* format, void* buffer, size_t size);
1003
1020 typedef void (*JxlImageOutCallback)(void* opaque, size_t x, size_t y,
1021 size_t num_pixels, const void* pixels);
1022
1035 typedef void* (*JxlImageOutInitCallback)(void* init_opaque, size_t num_threads,
1036 size_t num_pixels_per_thread);
1037
1054 typedef void (*JxlImageOutRunCallback)(void* run_opaque, size_t thread_id,
1055 size_t x, size_t y, size_t num_pixels,
1056 const void* pixels);
1057
1065 typedef void (*JxlImageOutDestroyCallback)(void* run_opaque);
1066
1109JXL_EXPORT JxlDecoderStatus
1110JxlDecoderSetImageOutCallback(JxlDecoder* dec, const JxlPixelFormat* format,
1111 JxlImageOutCallback callback, void* opaque);
1112
1132JXL_EXPORT JxlDecoderStatus JxlDecoderSetMultithreadedImageOutCallback(
1133 JxlDecoder* dec, const JxlPixelFormat* format,
1134 JxlImageOutInitCallback init_callback, JxlImageOutRunCallback run_callback,
1135 JxlImageOutDestroyCallback destroy_callback, void* init_opaque);
1136
1152JXL_EXPORT JxlDecoderStatus JxlDecoderExtraChannelBufferSize(
1153 const JxlDecoder* dec, const JxlPixelFormat* format, size_t* size,
1154 uint32_t index);
1155
1186JXL_EXPORT JxlDecoderStatus
1187JxlDecoderSetExtraChannelBuffer(JxlDecoder* dec, const JxlPixelFormat* format,
1188 void* buffer, size_t size, uint32_t index);
1189
1208JXL_EXPORT JxlDecoderStatus JxlDecoderSetJPEGBuffer(JxlDecoder* dec,
1209 uint8_t* data, size_t size);
1210
1227JXL_EXPORT size_t JxlDecoderReleaseJPEGBuffer(JxlDecoder* dec);
1228
1251JXL_EXPORT JxlDecoderStatus JxlDecoderSetBoxBuffer(JxlDecoder* dec,
1252 uint8_t* data, size_t size);
1253
1270JXL_EXPORT size_t JxlDecoderReleaseBoxBuffer(JxlDecoder* dec);
1271
1292JXL_EXPORT JxlDecoderStatus JxlDecoderSetDecompressBoxes(JxlDecoder* dec,
1293 JXL_BOOL decompress);
1294
1360JXL_EXPORT JxlDecoderStatus JxlDecoderGetBoxType(JxlDecoder* dec,
1361 JxlBoxType type,
1362 JXL_BOOL decompressed);
1363
1381JXL_EXPORT JxlDecoderStatus JxlDecoderGetBoxSizeRaw(const JxlDecoder* dec,
1382 uint64_t* size);
1383
1395JXL_EXPORT JxlDecoderStatus
1396JxlDecoderSetProgressiveDetail(JxlDecoder* dec, JxlProgressiveDetail detail);
1397
1406JXL_EXPORT size_t JxlDecoderGetIntendedDownsamplingRatio(JxlDecoder* dec);
1407
1424JXL_EXPORT JxlDecoderStatus JxlDecoderFlushImage(JxlDecoder* dec);
1425
1438JXL_EXPORT JxlDecoderStatus
1439JxlDecoderSetImageOutBitDepth(JxlDecoder* dec, const JxlBitDepth* bit_depth);
1440
1441#if defined(__cplusplus) || defined(c_plusplus)
1442}
1443#endif
1444
1445#endif /* JXL_DECODE_H_ */
1446
cms_interface.h
Interface to allow the injection of different color management systems (CMSes, also called color mana...
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:152
JXL_BOOL
#define JXL_BOOL
Definition: types.h:31
JxlProgressiveDetail
JxlProgressiveDetail
Definition: types.h:162
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)
JxlDecoderSetOutputColorProfile
JXL_EXPORT JxlDecoderStatus JxlDecoderSetOutputColorProfile(JxlDecoder *dec, const JxlColorEncoding *color_encoding, const uint8_t *icc_data, size_t icc_size)
JxlDecoderReleaseInput
JXL_EXPORT size_t JxlDecoderReleaseInput(JxlDecoder *dec)
JxlDecoderPreviewOutBufferSize
JXL_EXPORT JxlDecoderStatus JxlDecoderPreviewOutBufferSize(const JxlDecoder *dec, const JxlPixelFormat *format, size_t *size)
JxlDecoderSetImageOutBitDepth
JXL_EXPORT JxlDecoderStatus JxlDecoderSetImageOutBitDepth(JxlDecoder *dec, const JxlBitDepth *bit_depth)
JxlDecoderRewind
JXL_EXPORT void JxlDecoderRewind(JxlDecoder *dec)
JxlDecoderDefaultPixelFormat
JXL_DEPRECATED JXL_EXPORT JxlDecoderStatus JxlDecoderDefaultPixelFormat(const JxlDecoder *dec, JxlPixelFormat *format)
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:693
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:43
JxlDecoderSetCms
JXL_EXPORT void JxlDecoderSetCms(JxlDecoder *dec, JxlCmsInterface cms)
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:1035
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:1054
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)
JxlImageOutCallback
void(* JxlImageOutCallback)(void *opaque, size_t x, size_t y, size_t num_pixels, const void *pixels)
Definition: decode.h:1020
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:1065
JxlDecoderFlushImage
JXL_EXPORT JxlDecoderStatus JxlDecoderFlushImage(JxlDecoder *dec)
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:123
JxlDecoder
struct JxlDecoderStruct JxlDecoder
Definition: decode.h:85
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:699
JXL_COLOR_PROFILE_TARGET_ORIGINAL
@ JXL_COLOR_PROFILE_TARGET_ORIGINAL
Definition: decode.h:696
JXL_SIG_NOT_ENOUGH_BYTES
@ JXL_SIG_NOT_ENOUGH_BYTES
Definition: decode.h:46
JXL_SIG_INVALID
@ JXL_SIG_INVALID
Definition: decode.h:49
JXL_SIG_CONTAINER
@ JXL_SIG_CONTAINER
Definition: decode.h:59
JXL_SIG_CODESTREAM
@ JXL_SIG_CODESTREAM
Definition: decode.h:54
JXL_DEC_JPEG_RECONSTRUCTION
@ JXL_DEC_JPEG_RECONSTRUCTION
Definition: decode.h:277
JXL_DEC_JPEG_NEED_MORE_OUTPUT
@ JXL_DEC_JPEG_NEED_MORE_OUTPUT
Definition: decode.h:185
JXL_DEC_BASIC_INFO
@ JXL_DEC_BASIC_INFO
Definition: decode.h:200
JXL_DEC_EXTENSIONS
@ JXL_DEC_EXTENSIONS
Definition: decode.h:210
JXL_DEC_FRAME_PROGRESSION
@ JXL_DEC_FRAME_PROGRESSION
Definition: decode.h:331
JXL_DEC_ERROR
@ JXL_DEC_ERROR
Definition: decode.h:142
JXL_DEC_NEED_IMAGE_OUT_BUFFER
@ JXL_DEC_NEED_IMAGE_OUT_BUFFER
Definition: decode.h:178
JXL_DEC_FULL_IMAGE
@ JXL_DEC_FULL_IMAGE
Definition: decode.h:264
JXL_DEC_COLOR_ENCODING
@ JXL_DEC_COLOR_ENCODING
Definition: decode.h:220
JXL_DEC_SUCCESS
@ JXL_DEC_SUCCESS
Definition: decode.h:137
JXL_DEC_PREVIEW_IMAGE
@ JXL_DEC_PREVIEW_IMAGE
Definition: decode.h:230
JXL_DEC_BOX_NEED_MORE_OUTPUT
@ JXL_DEC_BOX_NEED_MORE_OUTPUT
Definition: decode.h:191
JXL_DEC_BOX
@ JXL_DEC_BOX
Definition: decode.h:314
JXL_DEC_NEED_MORE_INPUT
@ JXL_DEC_NEED_MORE_INPUT
Definition: decode.h:158
JXL_DEC_NEED_PREVIEW_OUT_BUFFER
@ JXL_DEC_NEED_PREVIEW_OUT_BUFFER
Definition: decode.h:169
JXL_DEC_FRAME
@ JXL_DEC_FRAME
Definition: decode.h:251
memory_manager.h
Abstraction functions used by JPEG XL to allocate memory.
parallel_runner.h
JxlBasicInfo
Definition: codestream_header.h:96
JxlBitDepth
Definition: types.h:139
JxlBlendInfo
Definition: codestream_header.h:329
JxlCmsInterface
Definition: cms_interface.h:209
JxlColorEncoding
Definition: color_encoding.h:116
JxlExtraChannelInfo
Definition: codestream_header.h:264
JxlFrameHeader
Definition: codestream_header.h:388
JxlMemoryManagerStruct
Definition: memory_manager.h:51
JxlPixelFormat
Definition: types.h:86
types.h
Data types for the JPEG XL API, for both encoding and decoding.