ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_jpeg_htab_t Struct Reference

Decoded Huffman table – 256 entries indexed by symbol order. More...

#include <ra8_jpeg_sw_internal.h>

Data Fields

uint8_t bits [k_ra8_jpeg_huff_lengths]
 BITS list.
uint8_t vals [k_ra8_jpeg_huff_max]
 Symbol order.
uint16_t huffcode [k_ra8_jpeg_huff_max]
 Code per symbol.
uint8_t huffsize [k_ra8_jpeg_huff_max]
 Code length.
int32_t mincode [k_ra8_jpeg_huff_lengths]
 Mincode.
int32_t maxcode [k_ra8_jpeg_huff_lengths]
 Maxcode.
uint16_t valptr [k_ra8_jpeg_huff_lengths]
 Valptr.
uint16_t total
 Total.

Detailed Description

Decoded Huffman table – 256 entries indexed by symbol order.

Stores the canonical Huffman code for each symbol and the mincode/maxcode arrays from T.81 Annex C/F that drive the symbol lookup.

Definition at line 385 of file ra8_jpeg_sw_internal.h.

Field Documentation

◆ bits

uint8_t ra8_jpeg_htab_t::bits[k_ra8_jpeg_huff_lengths]

◆ huffcode

uint16_t ra8_jpeg_htab_t::huffcode[k_ra8_jpeg_huff_max]

Code per symbol.

Definition at line 388 of file ra8_jpeg_sw_internal.h.

Referenced by internal_htab_build_lookup(), and priv_jpeg_sw_htab_build().

◆ huffsize

uint8_t ra8_jpeg_htab_t::huffsize[k_ra8_jpeg_huff_max]

Code length.

Definition at line 389 of file ra8_jpeg_sw_internal.h.

Referenced by priv_jpeg_sw_htab_build().

◆ maxcode

int32_t ra8_jpeg_htab_t::maxcode[k_ra8_jpeg_huff_lengths]

Maxcode.

Definition at line 391 of file ra8_jpeg_sw_internal.h.

Referenced by internal_htab_build_lookup().

◆ mincode

int32_t ra8_jpeg_htab_t::mincode[k_ra8_jpeg_huff_lengths]

Mincode.

Definition at line 390 of file ra8_jpeg_sw_internal.h.

Referenced by internal_htab_build_lookup(), and priv_jpeg_sw_htab_decode().

◆ total

uint16_t ra8_jpeg_htab_t::total

Total.

Definition at line 393 of file ra8_jpeg_sw_internal.h.

Referenced by priv_jpeg_sw_htab_build(), and priv_jpeg_sw_htab_decode().

◆ valptr

uint16_t ra8_jpeg_htab_t::valptr[k_ra8_jpeg_huff_lengths]

Valptr.

Definition at line 392 of file ra8_jpeg_sw_internal.h.

Referenced by internal_htab_build_lookup(), and priv_jpeg_sw_htab_decode().

◆ vals

uint8_t ra8_jpeg_htab_t::vals[k_ra8_jpeg_huff_max]

Symbol order.

Definition at line 387 of file ra8_jpeg_sw_internal.h.

Referenced by internal_dec_parse_dht_one(), and priv_jpeg_sw_htab_decode().


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