14#include <smolrtsp/priv/compiler_attrs.h>
19#define SMOLRTSP_JPEGXS_PAYLOAD_HEADER_SIZE 4
51#define SMOLRTSP_JPEGXS_SEP_HEADER_SEGMENT 0x7FF
SmolRTSP_JpegXsPackMode
JPEG XS packetization mode – the K bit of the payload header (RFC 9134 §4.3).
Definition jpegxs.h:25
@ SMOLRTSP_JPEGXS_PACK_SLICE
K=1: slice mode.
Definition jpegxs.h:31
@ SMOLRTSP_JPEGXS_PACK_CODESTREAM
K=0: codestream mode.
Definition jpegxs.h:28
SmolRTSP_JpegXsInterlace
Interlaced-scan information – the I field (2 bits) of the payload header (RFC 9134 §4....
Definition jpegxs.h:38
@ SMOLRTSP_JPEGXS_INTERLACE_PROGRESSIVE
I=00: progressively scanned.
Definition jpegxs.h:40
@ SMOLRTSP_JPEGXS_INTERLACE_FIELD_2
I=11: second field of an interlaced frame.
Definition jpegxs.h:44
@ SMOLRTSP_JPEGXS_INTERLACE_FIELD_1
I=10: first field of an interlaced frame.
Definition jpegxs.h:42
void SmolRTSP_JpegXsPayloadHeader_serialize(SmolRTSP_JpegXsPayloadHeader self, uint8_t buffer[restrict])
Serializes self into buffer in network byte order.