|
FFmpeg
|
Go to the source code of this file.
Data Structures | |
| struct | MJpegContext |
| Holds JPEG frame data and Huffman table data. More... | |
Enumerations | |
| enum | HuffmanTableOption { HUFFMAN_TABLE_DEFAULT = 0, HUFFMAN_TABLE_OPTIMAL = 1, NB_HUFFMAN_TABLE_OPTION = 2 } |
| Enum for the Huffman encoding strategy. More... | |
Functions | |
| static void | put_marker (PutBitContext *p, enum JpegMarker code) |
| int | ff_mjpeg_encode_stuffing (MPVEncContext *s) |
| Writes the complete JPEG frame when optimal huffman tables are enabled, otherwise writes the stuffing. More... | |
MJPEG encoder.
Definition in file mjpegenc.h.
| enum HuffmanTableOption |
Enum for the Huffman encoding strategy.
| Enumerator | |
|---|---|
| HUFFMAN_TABLE_DEFAULT | Use the default Huffman tables. |
| HUFFMAN_TABLE_OPTIMAL | Compute and use optimal Huffman tables. |
| NB_HUFFMAN_TABLE_OPTION | |
Definition at line 83 of file mjpegenc.h.
|
inlinestatic |
Definition at line 89 of file mjpegenc.h.
Referenced by ff_mjpeg_encode_picture_header(), ff_mjpeg_encode_picture_trailer(), ff_mjpeg_encode_stuffing(), jpeg_put_comments(), and jpeg_table_header().
| int ff_mjpeg_encode_stuffing | ( | MPVEncContext *const | s | ) |
Writes the complete JPEG frame when optimal huffman tables are enabled, otherwise writes the stuffing.
Header + values + stuffing.
| s | The MPVEncContext. |
Definition at line 238 of file mjpegenc.c.
Referenced by write_slice_end().
1.8.17