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"),
}

Definition at line 189 of file ljpegenc.c.