FFmpeg
|
JPEG-LS common code. More...
Go to the source code of this file.
Data Structures | |
struct | JpeglsContext |
struct | JLSState |
Macros | |
#define | R(a, i) (bits == 8 ? ((uint8_t *)(a))[i] : ((uint16_t *)(a))[i]) |
#define | W(a, i, v) (bits == 8 ? (((uint8_t *)(a))[i] = v) : (((uint16_t *)(a))[i] = v)) |
Functions | |
void | ff_jpegls_init_state (JLSState *state) |
Calculate initial JPEG-LS parameters. More... | |
static int | ff_jpegls_quantize (JLSState *s, int v) |
Calculate quantized gradient value, used for context determination. More... | |
void | ff_jpegls_reset_coding_parameters (JLSState *s, int reset_all) |
Calculate JPEG-LS codec values. More... | |
static void | ff_jpegls_downscale_state (JLSState *state, int Q) |
static int | ff_jpegls_update_state_regular (JLSState *state, int Q, int err) |
JPEG-LS common code.
Definition in file jpegls.h.
Definition at line 122 of file jpegls.h.
Referenced by epic_decode_pixel_pred(), epic_decode_run_length(), evolve(), fill_rgb2yuv_table(), filter_color(), filter_color2(), filter_mono(), ls_decode_line(), and ls_encode_line().
Calculate initial JPEG-LS parameters.
Definition at line 31 of file jpegls.c.
Referenced by encode_picture_ls(), and ff_jpegls_decode_picture().
Calculate quantized gradient value, used for context determination.
Definition at line 55 of file jpegls.h.
Referenced by ls_decode_line(), and ls_encode_line().
Calculate JPEG-LS codec values.
Definition at line 62 of file jpegls.c.
Referenced by encode_picture_ls(), ff_jpegls_decode_picture(), and ls_store_lse().
Definition at line 87 of file jpegls.h.
Referenced by ff_jpegls_update_state_regular(), ls_encode_runterm(), and ls_get_code_runterm().
Definition at line 97 of file jpegls.h.
Referenced by ls_encode_regular(), and ls_get_code_regular().