Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
cx25821-video-upstream.h File Reference
#include <linux/mutex.h>
#include <linux/workqueue.h>

Go to the source code of this file.

Macros

#define OUTPUT_FRMT_656   0
 
#define OPEN_FILE_1   0
 
#define NUM_PROGS   8
 
#define NUM_FRAMES   2
 
#define ODD_FIELD   0
 
#define EVEN_FIELD   1
 
#define TOP_OFFSET   0
 
#define FIFO_DISABLE   0
 
#define FIFO_ENABLE   1
 
#define TEST_FRAMES   5
 
#define END_OF_FILE   0
 
#define IN_PROGRESS   1
 
#define RESET_STATUS   -1
 
#define NUM_NO_OPS   5
 
#define WIDTH_D1   720
 
#define NTSC_LINES_PER_FRAME   480
 
#define PAL_LINES_PER_FRAME   576
 
#define PAL_LINE_SZ   1440
 
#define Y422_LINE_SZ   1440
 
#define Y411_LINE_SZ   1080
 
#define NTSC_FIELD_HEIGHT   240
 
#define NTSC_ODD_FLD_LINES   241
 
#define PAL_FIELD_HEIGHT   288
 
#define FRAME_SIZE_NTSC_Y422   (NTSC_LINES_PER_FRAME * Y422_LINE_SZ)
 
#define FRAME_SIZE_NTSC_Y411   (NTSC_LINES_PER_FRAME * Y411_LINE_SZ)
 
#define FRAME_SIZE_PAL_Y422   (PAL_LINES_PER_FRAME * Y422_LINE_SZ)
 
#define FRAME_SIZE_PAL_Y411   (PAL_LINES_PER_FRAME * Y411_LINE_SZ)
 
#define NTSC_DATA_BUF_SZ   (Y422_LINE_SZ * NTSC_LINES_PER_FRAME)
 
#define PAL_DATA_BUF_SZ   (Y422_LINE_SZ * PAL_LINES_PER_FRAME)
 
#define RISC_WRITECR_INSTRUCTION_SIZE   16
 
#define RISC_SYNC_INSTRUCTION_SIZE   4
 
#define JUMP_INSTRUCTION_SIZE   12
 
#define MAXSIZE_NO_OPS   36
 
#define DWORD_SIZE   4
 
#define USE_RISC_NOOP_VIDEO   1
 
#define PAL_US_VID_PROG_SIZE
 
#define PAL_RISC_BUF_SIZE   (2 * PAL_US_VID_PROG_SIZE)
 
#define PAL_VID_PROG_SIZE
 
#define ODD_FLD_PAL_PROG_SIZE
 
#define ODD_FLD_NTSC_PROG_SIZE
 
#define NTSC_US_VID_PROG_SIZE
 
#define NTSC_RISC_BUF_SIZE   (2 * (RISC_SYNC_INSTRUCTION_SIZE + NTSC_US_VID_PROG_SIZE))
 
#define FRAME1_VID_PROG_SIZE
 

Macro Definition Documentation

#define DWORD_SIZE   4

Definition at line 64 of file cx25821-video-upstream.h.

#define END_OF_FILE   0

Definition at line 36 of file cx25821-video-upstream.h.

#define EVEN_FIELD   1

Definition at line 31 of file cx25821-video-upstream.h.

#define FIFO_DISABLE   0

Definition at line 33 of file cx25821-video-upstream.h.

#define FIFO_ENABLE   1

Definition at line 34 of file cx25821-video-upstream.h.

#define FRAME1_VID_PROG_SIZE
#define FRAME_SIZE_NTSC_Y411   (NTSC_LINES_PER_FRAME * Y411_LINE_SZ)

Definition at line 53 of file cx25821-video-upstream.h.

#define FRAME_SIZE_NTSC_Y422   (NTSC_LINES_PER_FRAME * Y422_LINE_SZ)

Definition at line 52 of file cx25821-video-upstream.h.

#define FRAME_SIZE_PAL_Y411   (PAL_LINES_PER_FRAME * Y411_LINE_SZ)

Definition at line 55 of file cx25821-video-upstream.h.

#define FRAME_SIZE_PAL_Y422   (PAL_LINES_PER_FRAME * Y422_LINE_SZ)

Definition at line 54 of file cx25821-video-upstream.h.

#define IN_PROGRESS   1

Definition at line 37 of file cx25821-video-upstream.h.

#define JUMP_INSTRUCTION_SIZE   12

Definition at line 62 of file cx25821-video-upstream.h.

#define MAXSIZE_NO_OPS   36

Definition at line 63 of file cx25821-video-upstream.h.

#define NTSC_DATA_BUF_SZ   (Y422_LINE_SZ * NTSC_LINES_PER_FRAME)

Definition at line 57 of file cx25821-video-upstream.h.

#define NTSC_FIELD_HEIGHT   240

Definition at line 48 of file cx25821-video-upstream.h.

#define NTSC_LINES_PER_FRAME   480

Definition at line 43 of file cx25821-video-upstream.h.

#define NTSC_ODD_FLD_LINES   241

Definition at line 49 of file cx25821-video-upstream.h.

#define NTSC_RISC_BUF_SIZE   (2 * (RISC_SYNC_INSTRUCTION_SIZE + NTSC_US_VID_PROG_SIZE))

Definition at line 96 of file cx25821-video-upstream.h.

#define NTSC_US_VID_PROG_SIZE
#define NUM_FRAMES   2

Definition at line 29 of file cx25821-video-upstream.h.

#define NUM_NO_OPS   5

Definition at line 39 of file cx25821-video-upstream.h.

#define NUM_PROGS   8

Definition at line 28 of file cx25821-video-upstream.h.

#define ODD_FIELD   0

Definition at line 30 of file cx25821-video-upstream.h.

#define ODD_FLD_NTSC_PROG_SIZE
Value:
RISC_SYNC_INSTRUCTION_SIZE + RISC_WRITECR_INSTRUCTION_SIZE + \
NUM_NO_OPS * DWORD_SIZE)

Definition at line 86 of file cx25821-video-upstream.h.

#define ODD_FLD_PAL_PROG_SIZE
Value:
RISC_SYNC_INSTRUCTION_SIZE + RISC_WRITECR_INSTRUCTION_SIZE + \
NUM_NO_OPS * DWORD_SIZE)

Definition at line 81 of file cx25821-video-upstream.h.

#define OPEN_FILE_1   0

Definition at line 27 of file cx25821-video-upstream.h.

#define OUTPUT_FRMT_656   0

Definition at line 26 of file cx25821-video-upstream.h.

#define PAL_DATA_BUF_SZ   (Y422_LINE_SZ * PAL_LINES_PER_FRAME)

Definition at line 58 of file cx25821-video-upstream.h.

#define PAL_FIELD_HEIGHT   288

Definition at line 50 of file cx25821-video-upstream.h.

#define PAL_LINE_SZ   1440

Definition at line 45 of file cx25821-video-upstream.h.

#define PAL_LINES_PER_FRAME   576

Definition at line 44 of file cx25821-video-upstream.h.

#define PAL_RISC_BUF_SIZE   (2 * PAL_US_VID_PROG_SIZE)

Definition at line 74 of file cx25821-video-upstream.h.

#define PAL_US_VID_PROG_SIZE
Value:
RISC_WRITECR_INSTRUCTION_SIZE + RISC_SYNC_INSTRUCTION_SIZE + \
NUM_NO_OPS * DWORD_SIZE)

Definition at line 69 of file cx25821-video-upstream.h.

#define PAL_VID_PROG_SIZE
#define RESET_STATUS   -1

Definition at line 38 of file cx25821-video-upstream.h.

#define RISC_SYNC_INSTRUCTION_SIZE   4

Definition at line 61 of file cx25821-video-upstream.h.

#define RISC_WRITECR_INSTRUCTION_SIZE   16

Definition at line 60 of file cx25821-video-upstream.h.

#define TEST_FRAMES   5

Definition at line 35 of file cx25821-video-upstream.h.

#define TOP_OFFSET   0

Definition at line 32 of file cx25821-video-upstream.h.

#define USE_RISC_NOOP_VIDEO   1

Definition at line 66 of file cx25821-video-upstream.h.

#define WIDTH_D1   720

Definition at line 42 of file cx25821-video-upstream.h.

#define Y411_LINE_SZ   1080

Definition at line 47 of file cx25821-video-upstream.h.

#define Y422_LINE_SZ   1440

Definition at line 46 of file cx25821-video-upstream.h.