FFmpeg
|
MJPEG encoder. More...
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "mjpeg.h"
#include "mjpegenc.h"
Go to the source code of this file.
Macros | |
#define | V_MAX 2 |
MJPEG encoder.
Definition in file mjpegenc.c.
#define V_MAX 2 |
Definition at line 526 of file mjpegenc.c.
Referenced by amv_encode_picture().
av_cold int ff_mjpeg_encode_init | ( | MpegEncContext * | s | ) |
Definition at line 40 of file mjpegenc.c.
Referenced by ff_MPV_encode_init().
void ff_mjpeg_encode_close | ( | MpegEncContext * | s | ) |
Definition at line 78 of file mjpegenc.c.
Referenced by ff_MPV_encode_end().
|
static |
Definition at line 84 of file mjpegenc.c.
Referenced by jpeg_table_header().
|
static |
Definition at line 104 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_picture_header().
|
static |
Definition at line 161 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_picture_header().
void ff_mjpeg_init_hvsample | ( | AVCodecContext * | avctx, |
int | hsample[3], | ||
int | vsample[3] | ||
) |
Definition at line 203 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_picture_header(), and ljpeg_encode_init().
void ff_mjpeg_encode_picture_header | ( | AVCodecContext * | avctx, |
PutBitContext * | pb, | ||
ScanTable * | intra_scantable, | ||
uint16_t | luma_intra_matrix[64], | ||
uint16_t | chroma_intra_matrix[64] | ||
) |
Definition at line 229 of file mjpegenc.c.
Referenced by encode_picture(), and ljpeg_encode_frame().
void ff_mjpeg_escape_FF | ( | PutBitContext * | pb, |
int | start | ||
) |
Definition at line 328 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_stuffing(), and ljpeg_encode_frame().
void ff_mjpeg_encode_stuffing | ( | MpegEncContext * | s | ) |
Definition at line 387 of file mjpegenc.c.
Referenced by write_slice_end().
void ff_mjpeg_encode_picture_trailer | ( | PutBitContext * | pb, |
int | header_bits | ||
) |
Definition at line 403 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 410 of file mjpegenc.c.
Referenced by encode_block(), ljpeg_encode_bgr(), and ljpeg_encode_yuv_mb().
|
static |
Definition at line 432 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 490 of file mjpegenc.c.
Referenced by encode_mb_internal().
|
static |
Definition at line 527 of file mjpegenc.c.