#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 |
Definition in file ljpegenc.c.
static int encode_picture_lossless | ( | AVCodecContext * | avctx, | |
AVPacket * | pkt, | |||
const AVFrame * | pict, | |||
int * | got_packet | |||
) | [static] |
Definition at line 41 of file ljpegenc.c.
Initial value:
{ .name = "ljpeg", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_LJPEG, .priv_data_size = sizeof(MpegEncContext), .init = ff_MPV_encode_init, .encode2 = encode_picture_lossless, .close = ff_MPV_encode_end, .pix_fmts = (const enum PixelFormat[]){ PIX_FMT_BGR24, PIX_FMT_BGRA, PIX_FMT_BGR0, PIX_FMT_YUVJ420P, PIX_FMT_YUVJ444P, PIX_FMT_YUVJ422P, PIX_FMT_YUV420P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_NONE}, .long_name = NULL_IF_CONFIG_SMALL("Lossless JPEG"), }
Definition at line 214 of file ljpegenc.c.