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

MQ-coder decoder. More...

#include "mqc.h"

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 MQ-decoder.
 
int ff_mqc_decode (MqcState *mqc, uint8_t *cxstate)
 MQ decoder.
 

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

void ff_mqc_initdec ( MqcState mqc,
uint8_t bp 
)

Initialize MQ-decoder.

Parameters
mqcMQ decoder state
bpbyte poiter

Definition at line 71 of file mqcdec.c.

Referenced by decode_cblk().

int ff_mqc_decode ( MqcState mqc,
uint8_t cxstate 
)

MQ decoder.

Parameters
mqcMQ decoder state
cxstateContext
Returns
Decision (0 ot 1)

Definition at line 81 of file mqcdec.c.

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