FFmpeg
|
#include "avcodec.h"
#include "get_bits.h"
#include "put_bits.h"
#include "golomb.h"
#include "internal.h"
#include "mathops.h"
#include "mjpeg.h"
#include "jpegls.h"
Include dependency graph for jpeglsenc.c:

Go to the source code of this file.
Functions | |
static void | ls_encode_regular (JLSState *state, PutBitContext *pb, int Q, int err) |
static void | ls_encode_runterm (JLSState *state, PutBitContext *pb, int RItype, int err, int limit_add) |
static void | ls_encode_run (JLSState *state, PutBitContext *pb, int run, int comp, int trail) |
static void | ls_encode_line (JLSState *state, PutBitContext *pb, void *last, void *cur, int last2, int w, int stride, int comp, int bits) |
static void | ls_store_lse (JLSState *state, PutBitContext *pb) |
static int | encode_picture_ls (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
static av_cold int | encode_init_ls (AVCodecContext *ctx) |
Variables | |
AVCodec | ff_jpegls_encoder |
Detailed Description
JPEG-LS encoder.
Definition in file jpeglsenc.c.
Function Documentation
|
static |
Definition at line 384 of file jpeglsenc.c.
|
static |
Definition at line 230 of file jpeglsenc.c.
|
inlinestatic |
Encode one line of image
Definition at line 116 of file jpeglsenc.c.
Referenced by encode_picture_ls().
|
inlinestatic |
Encode error from regular symbol
Definition at line 41 of file jpeglsenc.c.
Referenced by ls_encode_line().
|
inlinestatic |
Encode run value as specified by JPEG-LS standard
Definition at line 96 of file jpeglsenc.c.
Referenced by ls_encode_line().
|
inlinestatic |
Encode error from run termination
Definition at line 66 of file jpeglsenc.c.
Referenced by ls_encode_line().
|
static |
Definition at line 211 of file jpeglsenc.c.
Referenced by encode_picture_ls().
Variable Documentation
AVCodec ff_jpegls_encoder |
Initial value:
= {
.name = "jpegls",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_JPEGLS,
.priv_data_size = sizeof(JpeglsContext),
.init = encode_init_ls,
.encode2 = encode_picture_ls,
},
.long_name = NULL_IF_CONFIG_SMALL("JPEG-LS"),
}
Definition: pixfmt.h:67
static int encode_picture_ls(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet)
Definition: jpeglsenc.c:230
Definition: libavcodec/avcodec.h:114
Definition: avutil.h:143
struct JpeglsContext JpeglsContext
Definition at line 397 of file jpeglsenc.c.
Generated on Tue Sep 2 2025 06:56:07 for FFmpeg by
