Libav
|
MJPEG encoder. More...
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "jpegtables.h"
#include "mjpegenc_common.h"
#include "mpegvideo.h"
#include "mjpeg.h"
#include "mjpegenc.h"
Go to the source code of this file.
Macros | |
#define | OFFSET(x) offsetof(MpegEncContext, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
av_cold int | ff_mjpeg_encode_init (MpegEncContext *s) |
void | ff_mjpeg_encode_close (MpegEncContext *s) |
static void | encode_block (MpegEncContext *s, int16_t *block, int n) |
void | ff_mjpeg_encode_mb (MpegEncContext *s, int16_t block[8][64]) |
Variables | |
static const AVOption | options [] |
static const AVClass | mjpeg_class |
AVCodec | ff_mjpeg_encoder |
MJPEG encoder.
Definition in file mjpegenc.c.
#define OFFSET | ( | x | ) | offsetof(MpegEncContext, x) |
Definition at line 155 of file mjpegenc.c.
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 156 of 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(), and put_marker().
void ff_mjpeg_encode_close | ( | MpegEncContext * | s | ) |
Definition at line 75 of file mjpegenc.c.
Referenced by ff_mpv_encode_end(), and put_marker().
|
static |
Definition at line 80 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_mb().
void ff_mjpeg_encode_mb | ( | MpegEncContext * | s, |
int16_t | block[8][64] | ||
) |
Definition at line 138 of file mjpegenc.c.
Referenced by encode_mb_internal(), and put_marker().
|
static |
Definition at line 157 of file mjpegenc.c.
|
static |
Definition at line 166 of file mjpegenc.c.
AVCodec ff_mjpeg_encoder |
Definition at line 173 of file mjpegenc.c.