FFmpeg
Functions | Variables
jpeglsdec.c File Reference

JPEG-LS decoder. More...

#include "avcodec.h"
#include "get_bits.h"
#include "golomb.h"
#include "internal.h"
#include "mathops.h"
#include "mjpeg.h"
#include "mjpegdec.h"
#include "jpegls.h"
#include "jpeglsdec.h"

Functions

int ff_jpegls_decode_lse (MJpegDecodeContext *s)
 Decode LSE block with initialization parameters.
 
int ff_jpegls_decode_picture (MJpegDecodeContext *s, int near, int point_transform, int ilv)
 

Variables

AVCodec ff_jpegls_decoder
 

Detailed Description

JPEG-LS decoder.

Variable Documentation

§ ff_jpegls_decoder

AVCodec ff_jpegls_decoder
Initial value:
= {
.name = "jpegls",
.long_name = NULL_IF_CONFIG_SMALL("JPEG-LS"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_JPEGLS,
.priv_data_size = sizeof(MJpegDecodeContext),
.init = ff_mjpeg_decode_init,
.close = ff_mjpeg_decode_end,
.decode = ff_mjpeg_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
}
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
Definition: internal.h:40
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: mjpegdec.h:46
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959