libavcodec/ljpegenc.c File Reference

lossless JPEG encoder. More...

#include "avcodec.h"
#include "dsputil.h"
#include "internal.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, AVPacket *pkt, const AVFrame *pict, int *got_packet)

Variables

AVCodec ff_ljpeg_encoder


Detailed Description

lossless JPEG encoder.

Definition in file ljpegenc.c.


Function Documentation

static int encode_picture_lossless ( AVCodecContext avctx,
AVPacket pkt,
const AVFrame pict,
int *  got_packet 
) [static]

Definition at line 41 of file ljpegenc.c.


Variable Documentation

Initial value:

 { 
    .name           = "ljpeg",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_LJPEG,
    .priv_data_size = sizeof(MpegEncContext),
    .init           = ff_MPV_encode_init,
    .encode2        = encode_picture_lossless,
    .close          = ff_MPV_encode_end,
    .long_name      = NULL_IF_CONFIG_SMALL("Lossless JPEG"),
}

Definition at line 213 of file ljpegenc.c.


Generated on Fri Oct 26 02:47:57 2012 for FFmpeg by  doxygen 1.5.8