#include "avcodec.h"
#include "get_bits.h"
#include "golomb.h"
#include "mathops.h"
#include "mjpeg.h"
#include "mjpegdec.h"
#include "jpegls.h"
#include "jpeglsdec.h"
Go to the source code of this file.
Functions | |
| int | ff_jpegls_decode_lse (MJpegDecodeContext *s) |
| Decode LSE block with initialization parameters. | |
| static int | ls_get_code_regular (GetBitContext *gb, JLSState *state, int Q) |
| Get context-dependent Golomb code, decode it and update context. | |
| static int | ls_get_code_runterm (GetBitContext *gb, JLSState *state, int RItype, int limit_add) |
| Get Golomb code, decode it and update state for run termination. | |
| static void | ls_decode_line (JLSState *state, MJpegDecodeContext *s, void *last, void *dst, int last2, int w, int stride, int comp, int bits) |
| Decode one line of image. | |
| int | ff_jpegls_decode_picture (MJpegDecodeContext *s, int near, int point_transform, int ilv) |
Variables | |
| AVCodec | ff_jpegls_decoder |
Definition in file jpeglsdec.c.
| int ff_jpegls_decode_lse | ( | MJpegDecodeContext * | s | ) |
Decode LSE block with initialization parameters.
Definition at line 52 of file jpeglsdec.c.
Referenced by ff_mjpeg_decode_frame().
| int ff_jpegls_decode_picture | ( | MJpegDecodeContext * | s, | |
| int | near, | |||
| int | point_transform, | |||
| int | ilv | |||
| ) |
| static void ls_decode_line | ( | JLSState * | state, | |
| MJpegDecodeContext * | s, | |||
| void * | last, | |||
| void * | dst, | |||
| int | last2, | |||
| int | w, | |||
| int | stride, | |||
| int | comp, | |||
| int | bits | |||
| ) | [inline, static] |
Decode one line of image.
Definition at line 157 of file jpeglsdec.c.
Referenced by ff_jpegls_decode_picture().
| static int ls_get_code_regular | ( | GetBitContext * | gb, | |
| JLSState * | state, | |||
| int | Q | |||
| ) | [inline, static] |
Get context-dependent Golomb code, decode it and update context.
Definition at line 90 of file jpeglsdec.c.
Referenced by ls_decode_line().
| static int ls_get_code_runterm | ( | GetBitContext * | gb, | |
| JLSState * | state, | |||
| int | RItype, | |||
| int | limit_add | |||
| ) | [inline, static] |
Get Golomb code, decode it and update state for run termination.
Definition at line 118 of file jpeglsdec.c.
Referenced by ls_decode_line().
Initial value:
{
.name = "jpegls",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_JPEGLS,
.priv_data_size = sizeof(MJpegDecodeContext),
.init = ff_mjpeg_decode_init,
.close = ff_mjpeg_decode_end,
.decode = ff_mjpeg_decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("JPEG-LS"),
}
Definition at line 366 of file jpeglsdec.c.
1.5.8