FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
jpegls.c File Reference

JPEG-LS common code. More...

#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.
 

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().

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().

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(), and ls_store_lse().