FFmpeg
Loading...
Searching...
No Matches
jpegxl.h
Go to the documentation of this file.
1/*
2 * JPEG XL Common Header Definitions
3 * Copyright (c) 2023 Leo Izen <leo.izen@gmail.com>
4 *
5 * This file is part of FFmpeg.
6 *
7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22#ifndef AVCODEC_JPEGXL_H
23#define AVCODEC_JPEGXL_H
24
25#define FF_JPEGXL_CODESTREAM_SIGNATURE_LE 0x0aff
26#define FF_JPEGXL_CONTAINER_SIGNATURE_LE 0x204c584a0c000000
27#define FF_JPEGXL_CODESTREAM_SIGNATURE_BE 0xff0a
28#define FF_JPEGXL_CONTAINER_SIGNATURE_BE 0x0000000c4a584c20
29
34
41
49
61
68
75
82
93
94#endif /* AVCODEC_JPEGXL_H */
FFJXLWhitePoint
Definition jpegxl.h:69
@ JPEGXL_WP_DCI
Definition jpegxl.h:73
@ JPEGXL_WP_CUSTOM
Definition jpegxl.h:71
@ JPEGXL_WP_D65
Definition jpegxl.h:70
@ JPEGXL_WP_E
Definition jpegxl.h:72
FFJXLBlendMode
Definition jpegxl.h:42
@ JPEGXL_BM_MUL
Definition jpegxl.h:47
@ JPEGXL_BM_ADD
Definition jpegxl.h:44
@ JPEGXL_BM_REPLACE
Definition jpegxl.h:43
@ JPEGXL_BM_BLEND
Definition jpegxl.h:45
@ JPEGXL_BM_MULADD
Definition jpegxl.h:46
FFJXLFrameEncoding
Definition jpegxl.h:30
@ JPEGXL_ENC_VARDCT
Definition jpegxl.h:31
@ JPEGXL_ENC_MODULAR
Definition jpegxl.h:32
FFJXLPrimaries
Definition jpegxl.h:76
@ JPEGXL_PR_SRGB
Definition jpegxl.h:77
@ JPEGXL_PR_CUSTOM
Definition jpegxl.h:78
@ JPEGXL_PR_P3
Definition jpegxl.h:80
@ JPEGXL_PR_2100
Definition jpegxl.h:79
FFJXLColorSpace
Definition jpegxl.h:62
@ JPEGXL_CS_RGB
Definition jpegxl.h:63
@ JPEGXL_CS_GRAY
Definition jpegxl.h:64
@ JPEGXL_CS_UNKNOWN
Definition jpegxl.h:66
@ JPEGXL_CS_XYB
Definition jpegxl.h:65
FFJXLExtraChannelType
Definition jpegxl.h:50
@ JPEGXL_CT_SPOT_COLOR
Definition jpegxl.h:53
@ JPEGXL_CT_SELECTION_MASK
Definition jpegxl.h:54
@ JPEGXL_CT_CFA
Definition jpegxl.h:56
@ JPEGXL_CT_NON_OPTIONAL
Definition jpegxl.h:58
@ JPEGXL_CT_ALPHA
Definition jpegxl.h:51
@ JPEGXL_CT_OPTIONAL
Definition jpegxl.h:59
@ JPEGXL_CT_THERMAL
Definition jpegxl.h:57
@ JPEGXL_CT_BLACK
Definition jpegxl.h:55
@ JPEGXL_CT_DEPTH
Definition jpegxl.h:52
FFJXLFrameType
Definition jpegxl.h:35
@ JPEGXL_FRAME_LF
Definition jpegxl.h:37
@ JPEGXL_FRAME_SKIP_PROGRESSIVE
Definition jpegxl.h:39
@ JPEGXL_FRAME_REGULAR
Definition jpegxl.h:36
@ JPEGXL_FRAME_REFERENCE_ONLY
Definition jpegxl.h:38
FFJXLTransferCharacteristic
Definition jpegxl.h:83
@ JPEGXL_TR_UNKNOWN
Definition jpegxl.h:85
@ JPEGXL_TR_PQ
Definition jpegxl.h:88
@ JPEGXL_TR_SRGB
Definition jpegxl.h:87
@ JPEGXL_TR_DCI
Definition jpegxl.h:89
@ JPEGXL_TR_BT709
Definition jpegxl.h:84
@ JPEGXL_TR_GAMMA
Definition jpegxl.h:91
@ JPEGXL_TR_HLG
Definition jpegxl.h:90
@ JPEGXL_TR_LINEAR
Definition jpegxl.h:86