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

MQ-coder common (decoder/encoder) functions. More...

#include <string.h>
#include <stdint.h>
#include "libavutil/attributes.h"
#include "mqc.h"

Go to the source code of this file.

Data Structures

struct  MqcCxState
 

Functions

void av_cold ff_mqc_init_context_tables (void)
 MQ-coder Initialize context tables (QE, NLPS, NMPS)
 
void ff_mqc_init_contexts (MqcState *mqc)
 MQ-coder context initialisations.
 

Variables

static const MqcCxState cx_states [47]
 
uint16_t ff_mqc_qe [2 *47]
 
uint8_t ff_mqc_nlps [2 *47]
 
uint8_t ff_mqc_nmps [2 *47]
 

Detailed Description

MQ-coder common (decoder/encoder) functions.

Author
Kamil Nowosad

Definition in file mqc.c.

Function Documentation

void av_cold ff_mqc_init_context_tables ( void  )

MQ-coder Initialize context tables (QE, NLPS, NMPS)

Definition at line 97 of file mqc.c.

Referenced by j2kenc_init(), and jpeg2000_init_static_data().

void ff_mqc_init_contexts ( MqcState mqc)

MQ-coder context initialisations.

Parameters
mqcMQ-coder context

Definition at line 111 of file mqc.c.

Referenced by ff_mqc_initdec(), and ff_mqc_initenc().

Variable Documentation

const MqcCxState cx_states[47]
static

Definition at line 43 of file mqc.c.

uint16_t ff_mqc_qe[2 *47]

Definition at line 93 of file mqc.c.

Referenced by exchange(), ff_mqc_decode(), ff_mqc_encode(), and ff_mqc_init_context_tables().

uint8_t ff_mqc_nlps[2 *47]

Definition at line 94 of file mqc.c.

Referenced by exchange(), ff_mqc_encode(), and ff_mqc_init_context_tables().

uint8_t ff_mqc_nmps[2 *47]

Definition at line 95 of file mqc.c.

Referenced by exchange(), ff_mqc_encode(), and ff_mqc_init_context_tables().