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.


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


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

Initial value:

    .name           = "ljpeg",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_LJPEG,
    .priv_data_size = sizeof(MpegEncContext),
    .init           = MPV_encode_init,
    .encode         = encode_picture_lossless,
    .close          = MPV_encode_end,
    .long_name      = NULL_IF_CONFIG_SMALL("Lossless JPEG"),

Definition at line 189 of file ljpegenc.c.

Generated on Fri Oct 26 02:46:09 2012 for FFmpeg by  doxygen 1.5.8