Go to the documentation of this file.
44 #define ZORAN_NAME "ZORAN"
46 #define ZR_DEVNAME(zr) ((zr)->name)
48 #define BUZ_MAX_WIDTH (zr->timing->Wa)
49 #define BUZ_MAX_HEIGHT (zr->timing->Ha)
50 #define BUZ_MIN_WIDTH 32
51 #define BUZ_MIN_HEIGHT 24
53 #define BUZ_NUM_STAT_COM 4
54 #define BUZ_MASK_STAT_COM 3
56 #define BUZ_MAX_FRAME 256
57 #define BUZ_MASK_FRAME 255
59 #define BUZ_MAX_INPUT 16
61 #if VIDEO_MAX_FRAME <= 32
62 # define V4L_MAX_FRAME 32
63 #elif VIDEO_MAX_FRAME <= 64
64 # define V4L_MAX_FRAME 64
66 # error "Too many video frame buffers to handle"
68 #define V4L_MASK_FRAME (V4L_MAX_FRAME - 1)
70 #define MAX_FRAME (BUZ_MAX_FRAME > VIDEO_MAX_FRAME ? BUZ_MAX_FRAME : VIDEO_MAX_FRAME)
116 #define ZORAN_MAP_MODE_JPG ZORAN_MAP_MODE_JPG_REC
147 #define ZORAN_FORMAT_COMPRESSED 1<<0
148 #define ZORAN_FORMAT_OVERLAY 1<<1
149 #define ZORAN_FORMAT_CAPTURE 1<<2
150 #define ZORAN_FORMAT_PLAYBACK 1<<3
319 #define NO_GRAB_ACTIVE (-1)
358 #ifdef CONFIG_PROC_FS
396 #define btwrite(dat,adr) writel((dat), zr->zr36057_mem+(adr))
397 #define btread(adr) readl(zr->zr36057_mem+(adr))
399 #define btand(dat,adr) btwrite((dat) & btread(adr), adr)
400 #define btor(dat,adr) btwrite((dat) | btread(adr), adr)
401 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)