libcaption
Macros | Functions | Variables
captioner.c File Reference
#include "caption.h"
#include "flv.h"
#include <errno.h>
#include <fcntl.h>
#include <linux/input.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

Macros

#define MAX_CAP_LENGTH   (SCREEN_ROWS * SCREEN_COLS)
 

Functions

int data_ready (int fd)
 
int main (int argc, char **argv)
 

Variables

char charcode []
 

Macro Definition Documentation

◆ MAX_CAP_LENGTH

#define MAX_CAP_LENGTH   (SCREEN_ROWS * SCREEN_COLS)

Function Documentation

◆ data_ready()

int data_ready ( int  fd)

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ charcode

char charcode[]
Initial value:
= {
0, 0, '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '-', '=', 0, 0,
'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', '[', ']', '\n', 0, 'A', 'S',
'D', 'F', 'G', 'H', 'J', 'K', 'L', ';', '\'', '`', 0, '\\', 'Z', 'X', 'C', 'V',
'B', 'N', 'M', ',', '.', '/', 0, '*', 0, ' ', 0, 0, 0, 0, 0, 0,
}