⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

mp3_huffman_decode_pair

Function mp3_huffman_decode_pair 

Source
pub fn mp3_huffman_decode_pair(
    reader: &mut Mp3BitstreamReader<'_>,
    table_id: u8,
) -> CodecResult<(i32, i32)>
Expand description

Decode a pair of Huffman-coded values from the bitstream

Returns (x, y) values. For tables with linbits > 0, extended values are read from additional bits after the Huffman code.