FFmpeg
Macros | Functions
jpegxl_probe.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define FF_JPEGXL_CODESTREAM_SIGNATURE_LE   0x0aff
 
#define FF_JPEGXL_CONTAINER_SIGNATURE_LE   0x204c584a0c000000
 

Functions

int ff_jpegxl_verify_codestream_header (const uint8_t *buf, int buflen, int validate_level)
 verify that a codestream header is valid More...
 

Macro Definition Documentation

◆ FF_JPEGXL_CODESTREAM_SIGNATURE_LE

#define FF_JPEGXL_CODESTREAM_SIGNATURE_LE   0x0aff

Definition at line 27 of file jpegxl_probe.h.

◆ FF_JPEGXL_CONTAINER_SIGNATURE_LE

#define FF_JPEGXL_CONTAINER_SIGNATURE_LE   0x204c584a0c000000

Definition at line 28 of file jpegxl_probe.h.

Function Documentation

◆ ff_jpegxl_verify_codestream_header()

int ff_jpegxl_verify_codestream_header ( const uint8_t *  buf,
int  buflen,
int  validate_level 
)

verify that a codestream header is valid

Returns
Negative upon error, 0 upon verifying that the codestream is not animated, and 1 upon verifying that it is animated

Definition at line 247 of file jpegxl_probe.c.

Referenced by jpegxl_anim_probe(), jpegxl_anim_read_header(), and jpegxl_probe().