Logo Search packages:      
Sourcecode: c2n version File versions  Download package

decode.c File Reference


Detailed Description

C2N pulse stream decoder
Author:
Marko Mäkelä (msmakela@nic.funet.fi)

Definition in file decode.c.

#include <stdio.h>
#include <stdlib.h>
#include "c2n.h"
#include "decode.h"

Go to the source code of this file.

Functions

static unsigned dec (pulse_r_t rd, pulse_error_t err, FILE *out)
static unsigned dec264Block (void)
static unsigned decBlock (void)
unsigned decode (pulse_r_t rd, pulse_error_t err, FILE *out)
unsigned decode264 (pulse_r_t rd, pulse_error_t err, FILE *out)
static unsigned decodeBlock (void)
static unsigned decodeBytes (unsigned len)
static void output (char c)
static enum pulse skip_sync (void)

Variables

static unsigned block = 0
static unsigned chk = 0
static pulse_error_t dec_err
static pulse_r_t dec_rd
static char * decbuf = 0
static unsigned declen = 0
static unsigned plus4


Generated by  Doxygen 1.6.0   Back to index