FFmpeg  4.0
Data Fields
MJpegHuffmanCode Struct Reference

Buffer of JPEG frame data. More...

#include <libavcodec/mjpegenc.h>

Data Fields

uint8_t table_id
 The Huffman table id associated with the data. More...
 
uint8_t code
 The exponent. More...
 
uint16_t mant
 The mantissa. More...
 

Detailed Description

Buffer of JPEG frame data.

Optimal Huffman table generation requires the frame data to be loaded into a buffer so that the tables can be computed. There are at most mb_width*mb_height*12*64 of these per frame.

Definition at line 49 of file mjpegenc.h.

Field Documentation

◆ table_id

uint8_t MJpegHuffmanCode::table_id

The Huffman table id associated with the data.

Definition at line 51 of file mjpegenc.h.

Referenced by ff_mjpeg_build_optimal_huffman(), ff_mjpeg_encode_code(), and ff_mjpeg_encode_picture_frame().

◆ code

uint8_t MJpegHuffmanCode::code

The exponent.

Definition at line 52 of file mjpegenc.h.

Referenced by ff_mjpeg_build_optimal_huffman(), ff_mjpeg_encode_code(), and ff_mjpeg_encode_picture_frame().

◆ mant

uint16_t MJpegHuffmanCode::mant

The mantissa.

Definition at line 53 of file mjpegenc.h.

Referenced by ff_mjpeg_encode_coef(), and ff_mjpeg_encode_picture_frame().


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