mqcdec.c File Reference

MQ-coder decoder. More...

#include "mqc.h"
Include dependency graph for mqcdec.c:

Go to the source code of this file.

Functions

static void bytein (MqcState *mqc)
 
static int exchange (MqcState *mqc, uint8_t *cxstate, int lps)
 
void ff_mqc_initdec (MqcState *mqc, uint8_t *bp)
 initialize the decoder More...
 
int ff_mqc_decode (MqcState *mqc, uint8_t *cxstate)
 returns decoded bit with context cx More...
 

Detailed Description

MQ-coder decoder.

Author
Kamil Nowosad

Definition in file mqcdec.c.

Function Documentation

static void bytein ( MqcState mqc)
static

Definition at line 30 of file mqcdec.c.

Referenced by exchange(), and ff_mqc_initdec().

static int exchange ( MqcState mqc,
uint8_t cxstate,
int  lps 
)
static

Definition at line 45 of file mqcdec.c.

Referenced by ff_mqc_decode().

int ff_mqc_decode ( MqcState mqc,
uint8_t cxstate 
)

returns decoded bit with context cx

Definition at line 81 of file mqcdec.c.

Referenced by decode_clnpass(), decode_refpass(), and decode_sigpass().

void ff_mqc_initdec ( MqcState mqc,
uint8_t bp 
)

initialize the decoder

Definition at line 71 of file mqcdec.c.

Referenced by decode_cblk().