FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
MJpegContext Struct Reference

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

#include <mjpegenc.h>

Data Fields

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

uint8_t MJpegContext::huff_size_dc_luminance[12]

DC luminance Huffman table size.

Definition at line 61 of file mjpegenc.h.

Referenced by encode_block(), ff_mjpeg_build_optimal_huffman(), ff_mjpeg_encode_init(), and ff_mjpeg_encode_picture_frame().

uint16_t MJpegContext::huff_code_dc_luminance[12]

DC luminance Huffman table codes.

Definition at line 62 of file mjpegenc.h.

Referenced by encode_block(), ff_mjpeg_build_optimal_huffman(), ff_mjpeg_encode_init(), and ff_mjpeg_encode_picture_frame().

uint8_t MJpegContext::huff_size_dc_chrominance[12]

DC chrominance Huffman table size.

Definition at line 63 of file mjpegenc.h.

Referenced by encode_block(), ff_mjpeg_build_optimal_huffman(), ff_mjpeg_encode_init(), and ff_mjpeg_encode_picture_frame().

uint16_t MJpegContext::huff_code_dc_chrominance[12]

DC chrominance Huffman table codes.

Definition at line 64 of file mjpegenc.h.

Referenced by encode_block(), ff_mjpeg_build_optimal_huffman(), ff_mjpeg_encode_init(), and ff_mjpeg_encode_picture_frame().

uint8_t MJpegContext::huff_size_ac_luminance[256]

AC luminance Huffman table size.

Definition at line 66 of file mjpegenc.h.

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

uint16_t MJpegContext::huff_code_ac_luminance[256]

AC luminance Huffman table codes.

Definition at line 67 of file mjpegenc.h.

Referenced by encode_block(), ff_mjpeg_build_optimal_huffman(), ff_mjpeg_encode_init(), and ff_mjpeg_encode_picture_frame().

uint8_t MJpegContext::huff_size_ac_chrominance[256]

AC chrominance Huffman table size.

Definition at line 68 of file mjpegenc.h.

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

uint16_t MJpegContext::huff_code_ac_chrominance[256]

AC chrominance Huffman table codes.

Definition at line 69 of file mjpegenc.h.

Referenced by encode_block(), ff_mjpeg_build_optimal_huffman(), ff_mjpeg_encode_init(), and ff_mjpeg_encode_picture_frame().

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

Storage for AC luminance VLC (in MpegEncContext)

Definition at line 72 of file mjpegenc.h.

Referenced by ff_mjpeg_encode_init(), and ff_mjpeg_encode_stuffing().

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

Storage for AC chrominance VLC (in MpegEncContext)

Definition at line 74 of file mjpegenc.h.

Referenced by ff_mjpeg_encode_init(), and ff_mjpeg_encode_stuffing().

uint8_t MJpegContext::bits_dc_luminance[17]

DC luminance Huffman bits.

Definition at line 77 of file mjpegenc.h.

Referenced by ff_mjpeg_build_optimal_huffman(), and jpeg_table_header().

uint8_t MJpegContext::val_dc_luminance[12]

DC luminance Huffman values.

Definition at line 78 of file mjpegenc.h.

Referenced by ff_mjpeg_build_optimal_huffman(), and jpeg_table_header().

uint8_t MJpegContext::bits_dc_chrominance[17]

DC chrominance Huffman bits.

Definition at line 79 of file mjpegenc.h.

Referenced by ff_mjpeg_build_optimal_huffman(), and jpeg_table_header().

uint8_t MJpegContext::val_dc_chrominance[12]

DC chrominance Huffman values.

Definition at line 80 of file mjpegenc.h.

Referenced by ff_mjpeg_build_optimal_huffman(), and jpeg_table_header().

uint8_t MJpegContext::bits_ac_luminance[17]

AC luminance Huffman bits.

Definition at line 83 of file mjpegenc.h.

Referenced by ff_mjpeg_build_optimal_huffman(), and jpeg_table_header().

uint8_t MJpegContext::val_ac_luminance[256]

AC luminance Huffman values.

Definition at line 84 of file mjpegenc.h.

Referenced by ff_mjpeg_build_optimal_huffman(), and jpeg_table_header().

uint8_t MJpegContext::bits_ac_chrominance[17]

AC chrominance Huffman bits.

Definition at line 85 of file mjpegenc.h.

Referenced by ff_mjpeg_build_optimal_huffman(), and jpeg_table_header().

uint8_t MJpegContext::val_ac_chrominance[256]

AC chrominance Huffman values.

Definition at line 86 of file mjpegenc.h.

Referenced by ff_mjpeg_build_optimal_huffman(), and jpeg_table_header().

size_t MJpegContext::huff_ncode

Number of current entries in the buffer.

Definition at line 88 of file mjpegenc.h.

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

MJpegHuffmanCode* MJpegContext::huff_buffer

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