jpegls.c File Reference

JPEG-LS common code. More...

#include "jpegls.h"
Include dependency graph for jpegls.c:

Go to the source code of this file.

Functions

void ff_jpegls_init_state (JLSState *state)
 Calculate initial JPEG-LS parameters. More...
 
static int iso_clip (int v, int vmin, int vmax)
 Custom value clipping function used in T1, T2, T3 calculation. More...
 
void ff_jpegls_reset_coding_parameters (JLSState *s, int reset_all)
 Calculate JPEG-LS codec values. More...
 

Detailed Description

JPEG-LS common code.

Definition in file jpegls.c.

Function Documentation

void ff_jpegls_init_state ( JLSState state)

Calculate initial JPEG-LS parameters.

Definition at line 30 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 57 of file jpegls.c.

Referenced by encode_picture_ls(), ff_jpegls_decode_picture(), ff_jpegls_quantize(), and ls_store_lse().

static int iso_clip ( int  v,
int  vmin,
int  vmax 
)
inlinestatic

Custom value clipping function used in T1, T2, T3 calculation.

Definition at line 52 of file jpegls.c.

Referenced by ff_jpegls_reset_coding_parameters().