FFmpeg
Data Fields
MJpegContext Struct Reference

Holds JPEG frame data and Huffman table data. More...

#include <mjpegenc.h>

Data Fields

int huffman
 
int force_duplicated_matrix
 
uint8_t huff_size_dc_luminance [12]
 DC luminance Huffman table size. More...
 
uint16_t huff_code_dc_luminance [12]
 DC luminance Huffman table codes. More...
 
uint8_t huff_size_dc_chrominance [12]
 DC chrominance Huffman table size. More...
 
uint16_t huff_code_dc_chrominance [12]
 DC chrominance Huffman table codes. More...
 
uint8_t huff_size_ac_luminance [256]
 AC luminance Huffman table size. More...
 
uint16_t huff_code_ac_luminance [256]
 AC luminance Huffman table codes. More...
 
uint8_t huff_size_ac_chrominance [256]
 AC chrominance Huffman table size. More...
 
uint16_t huff_code_ac_chrominance [256]
 AC chrominance Huffman table codes. More...
 
uint8_t uni_ac_vlc_len [64 *64 *2]
 Storage for AC luminance VLC (in MpegEncContext) More...
 
uint8_t uni_chroma_ac_vlc_len [64 *64 *2]
 Storage for AC chrominance VLC (in MpegEncContext) More...
 
uint8_t bits_dc_luminance [17]
 DC luminance Huffman bits. More...
 
uint8_t val_dc_luminance [12]
 DC luminance Huffman values. More...
 
uint8_t bits_dc_chrominance [17]
 DC chrominance Huffman bits. More...
 
uint8_t val_dc_chrominance [12]
 DC chrominance Huffman values. More...
 
uint8_t bits_ac_luminance [17]
 AC luminance Huffman bits. More...
 
uint8_t val_ac_luminance [256]
 AC luminance Huffman values. More...
 
uint8_t bits_ac_chrominance [17]
 AC chrominance Huffman bits. More...
 
uint8_t val_ac_chrominance [256]
 AC chrominance Huffman values. More...
 
size_t huff_ncode
 Number of current entries in the buffer. More...
 
MJpegHuffmanCodehuff_buffer
 Buffer for Huffman code values. More...
 

Detailed Description

Holds JPEG frame data and Huffman table data.

Definition at line 59 of file mjpegenc.h.

Field Documentation

◆ huffman

int MJpegContext::huffman

◆ force_duplicated_matrix

int MJpegContext::force_duplicated_matrix

Definition at line 62 of file mjpegenc.h.

Referenced by jpeg_table_header().

◆ huff_size_dc_luminance

uint8_t MJpegContext::huff_size_dc_luminance[12]

DC luminance Huffman table size.

Definition at line 64 of file mjpegenc.h.

Referenced by encode_block(), and ff_mjpeg_encode_init().

◆ huff_code_dc_luminance

uint16_t MJpegContext::huff_code_dc_luminance[12]

DC luminance Huffman table codes.

Definition at line 65 of file mjpegenc.h.

Referenced by encode_block(), and ff_mjpeg_encode_init().

◆ huff_size_dc_chrominance

uint8_t MJpegContext::huff_size_dc_chrominance[12]

DC chrominance Huffman table size.

Definition at line 66 of file mjpegenc.h.

Referenced by encode_block(), and ff_mjpeg_encode_init().

◆ huff_code_dc_chrominance

uint16_t MJpegContext::huff_code_dc_chrominance[12]

DC chrominance Huffman table codes.

Definition at line 67 of file mjpegenc.h.

Referenced by encode_block(), and ff_mjpeg_encode_init().

◆ huff_size_ac_luminance

uint8_t MJpegContext::huff_size_ac_luminance[256]

AC luminance Huffman table size.

Definition at line 69 of file mjpegenc.h.

Referenced by encode_block(), ff_mjpeg_encode_init(), and ff_mjpeg_encode_stuffing().

◆ huff_code_ac_luminance

uint16_t MJpegContext::huff_code_ac_luminance[256]

AC luminance Huffman table codes.

Definition at line 70 of file mjpegenc.h.

Referenced by encode_block(), and ff_mjpeg_encode_init().

◆ huff_size_ac_chrominance

uint8_t MJpegContext::huff_size_ac_chrominance[256]

AC chrominance Huffman table size.

Definition at line 71 of file mjpegenc.h.

Referenced by encode_block(), ff_mjpeg_encode_init(), and ff_mjpeg_encode_stuffing().

◆ huff_code_ac_chrominance

uint16_t MJpegContext::huff_code_ac_chrominance[256]

AC chrominance Huffman table codes.

Definition at line 72 of file mjpegenc.h.

Referenced by encode_block(), and ff_mjpeg_encode_init().

◆ uni_ac_vlc_len

uint8_t MJpegContext::uni_ac_vlc_len[64 *64 *2]

Storage for AC luminance VLC (in MpegEncContext)

Definition at line 75 of file mjpegenc.h.

Referenced by ff_mjpeg_encode_init(), and ff_mjpeg_encode_stuffing().

◆ uni_chroma_ac_vlc_len

uint8_t MJpegContext::uni_chroma_ac_vlc_len[64 *64 *2]

Storage for AC chrominance VLC (in MpegEncContext)

Definition at line 77 of file mjpegenc.h.

Referenced by ff_mjpeg_encode_init(), and ff_mjpeg_encode_stuffing().

◆ bits_dc_luminance

uint8_t MJpegContext::bits_dc_luminance[17]

DC luminance Huffman bits.

Definition at line 80 of file mjpegenc.h.

Referenced by jpeg_table_header().

◆ val_dc_luminance

uint8_t MJpegContext::val_dc_luminance[12]

DC luminance Huffman values.

Definition at line 81 of file mjpegenc.h.

Referenced by jpeg_table_header().

◆ bits_dc_chrominance

uint8_t MJpegContext::bits_dc_chrominance[17]

DC chrominance Huffman bits.

Definition at line 82 of file mjpegenc.h.

Referenced by jpeg_table_header().

◆ val_dc_chrominance

uint8_t MJpegContext::val_dc_chrominance[12]

DC chrominance Huffman values.

Definition at line 83 of file mjpegenc.h.

Referenced by jpeg_table_header().

◆ bits_ac_luminance

uint8_t MJpegContext::bits_ac_luminance[17]

AC luminance Huffman bits.

Definition at line 86 of file mjpegenc.h.

Referenced by jpeg_table_header().

◆ val_ac_luminance

uint8_t MJpegContext::val_ac_luminance[256]

AC luminance Huffman values.

Definition at line 87 of file mjpegenc.h.

Referenced by jpeg_table_header().

◆ bits_ac_chrominance

uint8_t MJpegContext::bits_ac_chrominance[17]

AC chrominance Huffman bits.

Definition at line 88 of file mjpegenc.h.

Referenced by jpeg_table_header().

◆ val_ac_chrominance

uint8_t MJpegContext::val_ac_chrominance[256]

AC chrominance Huffman values.

Definition at line 89 of file mjpegenc.h.

Referenced by jpeg_table_header().

◆ huff_ncode

size_t MJpegContext::huff_ncode

Number of current entries in the buffer.

Definition at line 91 of file mjpegenc.h.

Referenced by ff_mjpeg_encode_init().

◆ huff_buffer

MJpegHuffmanCode* MJpegContext::huff_buffer

Buffer for Huffman code values.

Definition at line 92 of file mjpegenc.h.

Referenced by alloc_huffman(), and mjpeg_encode_close().


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