Functions | Variables

libavcodec/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 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

Initial value:
 { 
    "ljpeg",
    AVMEDIA_TYPE_VIDEO,
    CODEC_ID_LJPEG,
    sizeof(MpegEncContext),
    MPV_encode_init,
    encode_picture_lossless,
    MPV_encode_end,
    .long_name = NULL_IF_CONFIG_SMALL("Lossless JPEG"),
}

Definition at line 189 of file ljpegenc.c.