MythTV  master
Functions
cc.cpp File Reference
#include <array>
#include <cstdlib>
#include <cstdarg>
#include <unistd.h>
#include <cstring>
#include <cctype>
#include <cerrno>
#include <fcntl.h>
#include <sys/types.h>
#include "cc.h"
Include dependency graph for cc.cpp:

Go to the source code of this file.

Functions

static int parityok (int n)
 
static bool decodebit (const unsigned char *data, int threshold, int scale1)
 
static int decode (unsigned char *vbiline, int scale0, int scale1)
 
void cc_close (struct cc *cc)
 
void cc_decode (struct cc *cc)
 

Function Documentation

◆ parityok()

static int parityok ( int  n)
static

Definition at line 35 of file cc.cpp.

Referenced by decode().

◆ decodebit()

static bool decodebit ( const unsigned char *  data,
int  threshold,
int  scale1 
)
static

Definition at line 58 of file cc.cpp.

Referenced by decode().

◆ decode()

static int decode ( unsigned char *  vbiline,
int  scale0,
int  scale1 
)
static

◆ cc_close()

void cc_close ( struct cc cc)

Definition at line 207 of file cc.cpp.

◆ cc_decode()

void cc_decode ( struct cc cc)

Definition at line 237 of file cc.cpp.