MJPEG encoder.
More...
#include <stdint.h>
#include "mjpeg.h"
#include "mpegvideo.h"
#include "put_bits.h"
Go to the source code of this file.
§ MJpegHuffmanCode
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.
§ 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.
|