ljpegenc.c File Reference

lossless JPEG encoder. More...

#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "mjpeg.h"
#include "mjpegenc.h"

Go to the source code of this file.

Functions

static int encode_picture_lossless (AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)
 

Variables

AVCodec ff_ljpeg_encoder
 

Detailed Description

lossless JPEG encoder.

Definition in file ljpegenc.c.

Function Documentation

static int encode_picture_lossless ( AVCodecContext avctx,
unsigned char *  buf,
int  buf_size,
void data 
)
static

Definition at line 40 of file ljpegenc.c.

Variable Documentation

AVCodec ff_ljpeg_encoder
Initial value:
= {
.name = "ljpeg",
.priv_data_size = sizeof(MpegEncContext),
.long_name = NULL_IF_CONFIG_SMALL("Lossless JPEG"),
}
struct MpegEncContext MpegEncContext
MpegEncContext.
int MPV_encode_init(AVCodecContext *avctx)
static int encode_picture_lossless(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)
Definition: ljpegenc.c:40
static int init(AVCodecParserContext *s)
Definition: h264_parser.c:336
int MPV_encode_end(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:191
static void close(AVCodecParserContext *s)
Definition: h264_parser.c:327

Definition at line 189 of file ljpegenc.c.