Go to the documentation of this file.
10 #define MAX_SAA7146_CAPTURE_BUFFERS 32
11 #define BUFFER_TIMEOUT (HZ/2)
13 #define WRITE_RPS0(x) do { \
14 dev->d_rps0.cpu_addr[ count++ ] = cpu_to_le32(x); \
17 #define WRITE_RPS1(x) do { \
18 dev->d_rps1.cpu_addr[ count++ ] = cpu_to_le32(x); \
30 #define FORMAT_BYTE_SWAP 0x1
31 #define FORMAT_IS_PLANAR 0x2
101 #define STATUS_OVERLAY 0x01
102 #define STATUS_CAPTURE 0x02
148 #define SAA7146_USE_PORT_B_FOR_VBI 0x2
218 #define RESOURCE_DMA1_HPS 0x1
219 #define RESOURCE_DMA2_CLP 0x2
220 #define RESOURCE_DMA3_BRS 0x4
223 #define SAA7146_HPS_SOURCE_PORT_A 0x00
224 #define SAA7146_HPS_SOURCE_PORT_B 0x01
225 #define SAA7146_HPS_SOURCE_YPB_CPA 0x02
226 #define SAA7146_HPS_SOURCE_YPA_CPB 0x03
229 #define SAA7146_HPS_SYNC_PORT_A 0x00
230 #define SAA7146_HPS_SYNC_PORT_B 0x01
234 #define SAA7146_CLIPPING_MEM (16 * 4 * sizeof(u32))
237 #define SAA7146_CLIPPING_RECT 0x4
238 #define SAA7146_CLIPPING_RECT_INVERTED 0x5
239 #define SAA7146_CLIPPING_MASK 0x6
240 #define SAA7146_CLIPPING_MASK_INVERTED 0x7
243 #define RGB08_COMPOSED 0x0217
245 #define RGB15_COMPOSED 0x0213
246 #define RGB16_COMPOSED 0x0210
247 #define RGB24_COMPOSED 0x0201
248 #define RGB32_COMPOSED 0x0202
251 #define YUV411_COMPOSED 0x0003
252 #define YUV422_COMPOSED 0x0000
254 #define YUV411_DECOMPOSED 0x100b
255 #define YUV422_DECOMPOSED 0x1009
256 #define YUV420_DECOMPOSED 0x100a
258 #define IS_PLANAR(x) (x & 0xf000)
261 #define SAA7146_NO_SWAP (0x0)
262 #define SAA7146_TWO_BYTE_SWAP (0x1)
263 #define SAA7146_FOUR_BYTE_SWAP (0x2)