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 307 of file ljpegenc.c.
◆ ff_ljpeg_encoder
AVPixelFormat
Pixel format.
static av_cold int ljpeg_encode_init(AVCodecContext *avctx)
@ AVCOL_RANGE_JPEG
Full range content.
@ 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...
#define AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
This encoder can reorder user opaque values from input AVFrames and return them with corresponding ou...
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define CODEC_LONG_NAME(str)
@ 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 AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
static const AVOption options[]
@ AVCOL_RANGE_MPEG
Narrow or limited range content.
static const float pred[4]
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ 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)
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.