FFmpeg  2.1.1
Functions | Variables
ljpegenc.c File Reference

lossless JPEG encoder. More...

#include "avcodec.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 40 of file ljpegenc.c.

Variable Documentation

AVCodec ff_ljpeg_encoder
Initial value:
= {
.name = "ljpeg",
.long_name = NULL_IF_CONFIG_SMALL("Lossless JPEG"),
.priv_data_size = sizeof(MpegEncContext),
.pix_fmts = (const enum AVPixelFormat[]){
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static int encode_picture_lossless(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet)
Definition: ljpegenc.c:40
int ff_MPV_encode_end(AVCodecContext *avctx)
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
Definition: avcodec.h:4538
Pixel format.
Definition: avcodec.h:4533
packed RGB 8:8:8, 24bpp, BGRBGR...
Definition: avcodec.h:4537
int ff_MPV_encode_init(AVCodecContext *avctx)
packed BGR 8:8:8, 32bpp, BGR0BGR0...
Definition: avcodec.h:4692
planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV444P and setting color_...
Definition: avcodec.h:4548
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:151
AVPixelFormat
Pixel format.
Definition: pixfmt.h:66
planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV420P and setting color_...
Definition: avcodec.h:4546
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: avcodec.h:4534
static void close(AVCodecParserContext *s)
Definition: h264_parser.c:538
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
Definition: avcodec.h:4539
MpegEncContext.
Definition: mpegvideo.h:245
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
Definition: avcodec.h:4565
planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV422P and setting color_...
Definition: avcodec.h:4547

Definition at line 222 of file ljpegenc.c.