SmolRTSP 0.2.0
A small, portable, extensible RTSP 1.0 implementation in C99
Loading...
Searching...
No Matches
SmolRTSP_JpegXsPayloadHeader Struct Reference

A JPEG XS RTP payload header (RFC 9134 §4.3). More...

#include <jpegxs.h>

Data Fields

bool sequential
 T – packets are sent sequentially by the transmitter.
 
SmolRTSP_JpegXsPackMode pack_mode
 K – packetization mode.
 
bool last_in_unit
 L – last packet of the current packetization unit.
 
SmolRTSP_JpegXsInterlace interlace
 I – 2-bit interlaced-scan field.
 
uint8_t frame_counter
 F – frame counter, mod 32 (5 bits).
 
uint16_t sep_counter
 SEP – slice/extended-packet counter, 11 bits.
 
uint16_t packet_counter
 P – packet counter within the unit, mod 2048 (11 bits).
 

Detailed Description

A JPEG XS RTP payload header (RFC 9134 §4.3).

Bit layout, transmitted in network byte order:

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|T|K|L| I |F counter|     SEP counter     |     P counter       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

The documentation for this struct was generated from the following file: