Skip to main content

parse_dqt

Function parse_dqt 

Source
pub fn parse_dqt(data: &[u8]) -> Result<Vec<(u8, QuantTable)>>
Expand description

Parse a DQT marker segment body (after the 2-byte length).

Returns a list of (table_id, QuantTable) pairs. A single DQT segment can contain multiple tables.