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

encode.c File Reference


Detailed Description

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

Definition in file encode.c.

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

Go to the source code of this file.

Functions

static unsigned enc (FILE *in, pulse_error_t err, pulse_w_t wr, unsigned begin, unsigned intra, unsigned plus4)
static void encBlock (const char *buf, unsigned size, unsigned plus4)
unsigned encode (FILE *in, pulse_error_t err, pulse_w_t wr, unsigned begin, unsigned intra)
unsigned encode264 (FILE *in, pulse_error_t err, pulse_w_t wr, unsigned begin, unsigned intra)
static void encode264Block (const char *buf, unsigned size)
static void encodeBit (unsigned b)
static void encodeBlock (const char *buf, unsigned size)
static void encodeByte (unsigned char c)
static void encodeMarker (void)
static void encodeSync (unsigned count)

Variables

static pulse_w_t enc_wr


Generated by  Doxygen 1.6.0   Back to index