FFmpeg
|
#include "libavutil/frame.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.h"
#include "jpegtables.h"
#include "mjpegenc_common.h"
#include "mjpeg.h"
Go to the source code of this file.
Data Structures | |
struct | LJpegEncContext |
Macros | |
#define | OFFSET(x) offsetof(LJpegEncContext, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
static int | ljpeg_encode_bgr (AVCodecContext *avctx, PutBitContext *pb, const AVFrame *frame) |
static void | ljpeg_encode_yuv_mb (LJpegEncContext *s, PutBitContext *pb, const AVFrame *frame, int predictor, int mb_x, int mb_y) |
static int | ljpeg_encode_yuv (AVCodecContext *avctx, PutBitContext *pb, const AVFrame *frame) |
static int | ljpeg_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
static av_cold int | ljpeg_encode_close (AVCodecContext *avctx) |
static av_cold int | ljpeg_encode_init (AVCodecContext *avctx) |
Variables | |
static const AVOption | options [] |
static const AVClass | ljpeg_class |
const FFCodec | ff_ljpeg_encoder |
lossless JPEG encoder.
Definition in file ljpegenc.c.
#define OFFSET | ( | x | ) | offsetof(LJpegEncContext, x) |
Definition at line 296 of file ljpegenc.c.
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 297 of file ljpegenc.c.
|
static |
Definition at line 59 of file ljpegenc.c.
Referenced by ljpeg_encode_frame().
|
inlinestatic |
Definition at line 121 of file ljpegenc.c.
Referenced by ljpeg_encode_yuv().
|
static |
Definition at line 186 of file ljpegenc.c.
Referenced by ljpeg_encode_frame().
|
static |
Definition at line 208 of file ljpegenc.c.
|
static |
Definition at line 261 of file ljpegenc.c.
|
static |
Definition at line 270 of file ljpegenc.c.
|
static |
Definition at line 298 of file ljpegenc.c.
|
static |
Definition at line 307 of file ljpegenc.c.
const FFCodec ff_ljpeg_encoder |
Definition at line 314 of file ljpegenc.c.