FFmpeg
|
MJPEG encoder. More...
Go to the source code of this file.
Data Structures | |
struct | MJpegHuffmanCode |
Buffer of JPEG frame data. More... | |
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_init (MpegEncContext *s) |
void | ff_mjpeg_encode_close (MpegEncContext *s) |
void | ff_mjpeg_encode_mb (MpegEncContext *s, int16_t block[12][64]) |
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 95 of file mjpegenc.h.
|
inlinestatic |
Definition at line 101 of file mjpegenc.h.
Referenced by encode_picture_ls(), ff_mjpeg_encode_picture_header(), ff_mjpeg_encode_picture_trailer(), ff_mjpeg_encode_stuffing(), jpeg_put_comments(), jpeg_table_header(), and ls_store_lse().
int ff_mjpeg_encode_init | ( | MpegEncContext * | s | ) |
Definition at line 70 of file mjpegenc.c.
Referenced by ff_mpv_encode_init().
void ff_mjpeg_encode_close | ( | MpegEncContext * | s | ) |
Definition at line 125 of file mjpegenc.c.
Referenced by ff_mpv_encode_end().
void ff_mjpeg_encode_mb | ( | MpegEncContext * | s, |
int16_t | block[12][64] | ||
) |
Definition at line 282 of file mjpegenc.c.
Referenced by encode_mb_internal().