Go to the source code of this file.
|
static int | ljpeg_encode_bgr (AVCodecContext *avctx, PutBitContext *pb, const AVFrame *frame) |
|
static void | ljpeg_encode_yuv_mb (LJpegEncContext *s, PutBitContext *pb, const AVFrame *frame, int predictor, int mb_x, int mb_y) |
|
static int | ljpeg_encode_yuv (AVCodecContext *avctx, PutBitContext *pb, const AVFrame *frame) |
|
static int | ljpeg_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
|
static av_cold int | ljpeg_encode_close (AVCodecContext *avctx) |
|
static av_cold int | ljpeg_encode_init (AVCodecContext *avctx) |
|
lossless JPEG encoder.
Definition in file ljpegenc.c.
◆ OFFSET
◆ VE
◆ ljpeg_encode_bgr()
◆ ljpeg_encode_yuv_mb()
◆ ljpeg_encode_yuv()
◆ ljpeg_encode_frame()
◆ ljpeg_encode_close()
◆ ljpeg_encode_init()
◆ options
◆ ljpeg_class
Initial value:= {
.class_name = "ljpeg",
}
Definition at line 319 of file ljpegenc.c.
◆ ff_ljpeg_encoder
AVPixelFormat
Pixel format.
static av_cold int ljpeg_encode_init(AVCodecContext *avctx)
@ AV_PIX_FMT_BGR24
packed RGB 8:8:8, 24bpp, BGRBGR...
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
#define FF_CODEC_ENCODE_CB(func)
@ AV_PIX_FMT_YUVJ422P
planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV422P and setting col...
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
@ AV_PIX_FMT_YUVJ444P
planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV444P and setting col...
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
#define LIBAVUTIL_VERSION_INT
@ AV_PIX_FMT_YUVJ420P
planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV420P and setting col...
static int ljpeg_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet)
const char * av_default_item_name(void *ptr)
Return the context name.
static av_cold int ljpeg_encode_close(AVCodecContext *avctx)
static const AVClass ljpeg_class
@ AV_PIX_FMT_BGR0
packed BGR 8:8:8, 32bpp, BGRXBGRX... X=unused/undefined
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVOption options[]
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
static const float pred[4]
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)