#include "jpegls.h"
Go to the source code of this file.
Functions | |
void | ff_jpegls_init_state (JLSState *state) |
Calculate initial JPEG-LS parameters. | |
static int | iso_clip (int v, int vmin, int vmax) |
Custom value clipping function used in T1, T2, T3 calculation. | |
void | ff_jpegls_reset_coding_parameters (JLSState *s, int reset_all) |
Calculate JPEG-LS codec values. | |
Variables | |
const uint8_t | ff_log2_run [32] |
Definition in file jpegls.c.
void ff_jpegls_init_state | ( | JLSState * | state | ) |
Calculate initial JPEG-LS parameters.
Definition at line 37 of file jpegls.c.
Referenced by encode_picture_ls(), and ff_jpegls_decode_picture().
void ff_jpegls_reset_coding_parameters | ( | JLSState * | s, | |
int | reset_all | |||
) |
Calculate JPEG-LS codec values.
Definition at line 66 of file jpegls.c.
Referenced by encode_picture_ls(), ff_jpegls_decode_picture(), and ls_store_lse().
static int iso_clip | ( | int | v, | |
int | vmin, | |||
int | vmax | |||
) | [inline, static] |
Custom value clipping function used in T1, T2, T3 calculation.
Definition at line 61 of file jpegls.c.
Referenced by ff_jpegls_reset_coding_parameters().
const uint8_t ff_log2_run[32] |
Initial value:
{ 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 9,10,11,12,13,14,15 }
Definition at line 30 of file jpegls.c.
Referenced by ls_decode_line(), ls_encode_line(), and ls_encode_run().