|
Libav
|
MJPEG encoder. More...
#include <assert.h>#include "libavutil/pixdesc.h"#include "avcodec.h"#include "mpegvideo.h"#include "mjpeg.h"#include "mjpegenc.h"Go to the source code of this file.
Functions | |
| av_cold int | ff_mjpeg_encode_init (MpegEncContext *s) |
| void | ff_mjpeg_encode_close (MpegEncContext *s) |
| static int | put_huffman_table (PutBitContext *p, int table_class, int table_id, const uint8_t *bits_table, const uint8_t *value_table) |
| static void | jpeg_table_header (PutBitContext *p, ScanTable *intra_scantable, uint16_t intra_matrix[64]) |
| static void | jpeg_put_comments (AVCodecContext *avctx, PutBitContext *p) |
| void | ff_mjpeg_encode_picture_header (AVCodecContext *avctx, PutBitContext *pb, ScanTable *intra_scantable, uint16_t intra_matrix[64]) |
| static void | escape_FF (PutBitContext *pb, int start) |
| void | ff_mjpeg_encode_stuffing (PutBitContext *pbc) |
| void | ff_mjpeg_encode_picture_trailer (PutBitContext *pb, int header_bits) |
| void | ff_mjpeg_encode_dc (PutBitContext *pb, int val, uint8_t *huff_size, uint16_t *huff_code) |
| static void | encode_block (MpegEncContext *s, int16_t *block, int n) |
| void | ff_mjpeg_encode_mb (MpegEncContext *s, int16_t block[6][64]) |
Variables | |
| AVCodec | ff_mjpeg_encoder |
MJPEG encoder.
Definition in file mjpegenc.c.
| av_cold int ff_mjpeg_encode_init | ( | MpegEncContext * | s | ) |
Definition at line 42 of file mjpegenc.c.
Referenced by ff_MPV_encode_init().
| void ff_mjpeg_encode_close | ( | MpegEncContext * | s | ) |
Definition at line 75 of file mjpegenc.c.
Referenced by ff_MPV_encode_end().
|
static |
Definition at line 81 of file mjpegenc.c.
Referenced by jpeg_table_header().
|
static |
Definition at line 101 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_picture_header().
|
static |
Definition at line 135 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_picture_header().
| void ff_mjpeg_encode_picture_header | ( | AVCodecContext * | avctx, |
| PutBitContext * | pb, | ||
| ScanTable * | intra_scantable, | ||
| uint16_t | intra_matrix[64] | ||
| ) |
Definition at line 177 of file mjpegenc.c.
Referenced by encode_picture(), and ljpeg_encode_frame().
|
static |
Definition at line 272 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_picture_trailer().
| void ff_mjpeg_encode_stuffing | ( | PutBitContext * | pbc | ) |
Definition at line 324 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_picture_trailer(), and write_slice_end().
| void ff_mjpeg_encode_picture_trailer | ( | PutBitContext * | pb, |
| int | header_bits | ||
| ) |
Definition at line 331 of file mjpegenc.c.
Referenced by ff_MPV_encode_picture(), and ljpeg_encode_frame().
| void ff_mjpeg_encode_dc | ( | PutBitContext * | pb, |
| int | val, | ||
| uint8_t * | huff_size, | ||
| uint16_t * | huff_code | ||
| ) |
Definition at line 343 of file mjpegenc.c.
Referenced by encode_block(), ljpeg_encode_bgr(), and ljpeg_encode_yuv_mb().
|
static |
Definition at line 365 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_mb().
| void ff_mjpeg_encode_mb | ( | MpegEncContext * | s, |
| int16_t | block[6][64] | ||
| ) |
Definition at line 423 of file mjpegenc.c.
Referenced by encode_mb_internal().
| AVCodec ff_mjpeg_encoder |
Definition at line 440 of file mjpegenc.c.
1.8.1.2