FFmpeg
|
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "encode.h"
#include "get_bits.h"
#include "put_bits.h"
#include "put_golomb.h"
#include "mathops.h"
#include "mjpeg.h"
#include "jpegls.h"
Go to the source code of this file.
Data Structures | |
struct | JPEGLSContext |
Macros | |
#define | UNCHECKED_BITSTREAM_READER 1 |
#define | OFFSET(x) offsetof(JPEGLSContext, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
static void | put_marker_byteu (PutByteContext *pb, enum JpegMarker code) |
static void | ls_encode_regular (JLSState *state, PutBitContext *pb, int Q, int err) |
Encode error from regular symbol. More... | |
static void | ls_encode_runterm (JLSState *state, PutBitContext *pb, int RItype, int err, int limit_add) |
Encode error from run termination. More... | |
static void | ls_encode_run (JLSState *state, PutBitContext *pb, int run, int comp, int trail) |
Encode run value as specified by JPEG-LS standard. More... | |
static void | ls_encode_line (JLSState *state, PutBitContext *pb, void *tmp, const void *in, int last2, int w, int stride, int comp, int bits) |
Encode one line of image. More... | |
static void | ls_store_lse (JLSState *state, PutByteContext *pb) |
static int | encode_picture_ls (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
static av_cold int | encode_jpegls_init (AVCodecContext *avctx) |
static av_cold int | encode_jpegls_close (AVCodecContext *avctx) |
Variables | |
static const AVOption | options [] |
static const AVClass | jpegls_class |
const FFCodec | ff_jpegls_encoder |
JPEG-LS encoder.
Definition in file jpeglsenc.c.
#define UNCHECKED_BITSTREAM_READER 1 |
Definition at line 28 of file jpeglsenc.c.
#define OFFSET | ( | x | ) | offsetof(JPEGLSContext, x) |
Definition at line 457 of file jpeglsenc.c.
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 458 of file jpeglsenc.c.
|
inlinestatic |
Definition at line 52 of file jpeglsenc.c.
Referenced by encode_picture_ls(), and ls_store_lse().
|
inlinestatic |
Encode error from regular symbol.
Definition at line 61 of file jpeglsenc.c.
Referenced by ls_encode_line().
|
inlinestatic |
Encode error from run termination.
Definition at line 89 of file jpeglsenc.c.
Referenced by ls_encode_line().
|
inlinestatic |
Encode run value as specified by JPEG-LS standard.
Definition at line 122 of file jpeglsenc.c.
Referenced by ls_encode_line().
|
inlinestatic |
Encode one line of image.
Definition at line 144 of file jpeglsenc.c.
Referenced by encode_picture_ls().
|
static |
Definition at line 249 of file jpeglsenc.c.
Referenced by encode_picture_ls().
|
static |
Definition at line 272 of file jpeglsenc.c.
|
static |
Definition at line 422 of file jpeglsenc.c.
|
static |
Definition at line 449 of file jpeglsenc.c.
Definition at line 459 of file jpeglsenc.c.
|
static |
Definition at line 468 of file jpeglsenc.c.
const FFCodec ff_jpegls_encoder |
Definition at line 475 of file jpeglsenc.c.