comparison recpt1/recpt1.h @ 100:aeba1988234f

support macros to specify sid: - macros: hd, sd1, sd2, sd3, 1seg and all are supported. - if sid has been specified but no suitable sid found, fall back to "all". technical summary: - use splitter structure as the argument where it is applicable. - add tab configuration to some source files.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 13 Feb 2010 19:43:25 +0900
parents 52f8e081763d
children
comparison
equal deleted inserted replaced
99:3a3f15b063e1 100:aeba1988234f
1 /* -*- tab-width: 4; indent-tabs-mode: nil -*- */
1 #ifndef _RECPT1_H_ 2 #ifndef _RECPT1_H_
2 #define _RECPT1_H_ 3 #define _RECPT1_H_
3 4
4 #define NUM_BSDEV 8 5 #define NUM_BSDEV 8
5 #define NUM_ISDB_T_DEV 8 6 #define NUM_ISDB_T_DEV 8
6 #define CHTYPE_SATELLITE 0 /* satellite digital */ 7 #define CHTYPE_SATELLITE 0 /* satellite digital */
7 #define CHTYPE_GROUND 1 /* terrestrial digital */ 8 #define CHTYPE_GROUND 1 /* terrestrial digital */
8 #define MAX_QUEUE 8192 9 #define MAX_QUEUE 8192
9 //#define MAX_READ_SIZE (1024 * 16)
10 #define MAX_READ_SIZE (188 * 87) /* 188*87=16356 splitterが188アライメントを期待しているのでこの数字とする*/ 10 #define MAX_READ_SIZE (188 * 87) /* 188*87=16356 splitterが188アライメントを期待しているのでこの数字とする*/
11 #define WRITE_SIZE (1024 * 1024 * 2) 11 #define WRITE_SIZE (1024 * 1024 * 2)
12 #define TRUE 1 12 #define TRUE 1
13 #define FALSE 0 13 #define FALSE 0
14 14