FFmpeg
 All Data Structures 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 the decoder
 
int ff_mqc_decode (MqcState *mqc, uint8_t *cxstate)
 returns decoded bit with context cx
 

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 the decoder

Definition at line 71 of file mqcdec.c.

Referenced by decode_cblk().

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