FFmpeg  4.0
Data Fields
PackageMergerList Struct Reference

Used to store intermediate lists in the package merge algorithm. More...

#include <libavcodec/mjpegenc_huffman.h>

Data Fields

int nitems
 number of items in the list and probability ex. 4 More...
 
int item_idx [515]
 index range for each item in items 0, 2, 5, 9, 13 More...
 
int probability [514]
 probability of each item 3, 8, 18, 46 More...
 
int items [257 *16]
 chain of all individual values that make up items A, B, A, B, C, A, B, C, D, C, D, D, E More...
 

Detailed Description

Used to store intermediate lists in the package merge algorithm.

Definition at line 261 of file magicyuvenc.c.

Field Documentation

◆ nitems

int PackageMergerList::nitems

number of items in the list and probability ex. 4

Definition at line 262 of file magicyuvenc.c.

Referenced by ff_mjpegenc_huffman_compute_bits(), and magy_huffman_compute_bits().

◆ item_idx

int PackageMergerList::item_idx

index range for each item in items 0, 2, 5, 9, 13

Definition at line 263 of file magicyuvenc.c.

Referenced by ff_mjpegenc_huffman_compute_bits(), and magy_huffman_compute_bits().

◆ probability

int PackageMergerList::probability

probability of each item 3, 8, 18, 46

Definition at line 264 of file magicyuvenc.c.

Referenced by ff_mjpegenc_huffman_compute_bits(), and magy_huffman_compute_bits().

◆ items

int PackageMergerList::items

chain of all individual values that make up items A, B, A, B, C, A, B, C, D, C, D, D, E

Definition at line 265 of file magicyuvenc.c.

Referenced by ff_mjpegenc_huffman_compute_bits(), and magy_huffman_compute_bits().


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