comparison src/recpt1.h @ 152:30e91361506a

EXPERIMENTAL: Enable change phisical channel by DLNA.(ISDB-T only)
author Naoya OYAMA <naoya.oyama@gmail.com>
date Sun, 02 Sep 2012 01:59:27 +0900
parents 5eab7c73a28a
children 5d010d0ff6a1
comparison
equal deleted inserted replaced
151:f7f594bf4e98 152:30e91361506a
17 #define MAX_READ_SIZE (188 * 87) /* 188*87=16356 splitterが188アライメントを期待しているのでこの数字とする*/ 17 #define MAX_READ_SIZE (188 * 87) /* 188*87=16356 splitterが188アライメントを期待しているのでこの数字とする*/
18 #define WRITE_SIZE (1024 * 1024 * 2) 18 #define WRITE_SIZE (1024 * 1024 * 2)
19 #define TRUE 1 19 #define TRUE 1
20 #define FALSE 0 20 #define FALSE 0
21 #define STREAM_MAX (16) 21 #define STREAM_MAX (16)
22 #define CHANNEL_MAX (256)
22 23
23 24
24 /* type definitions */ 25 /* type definitions */
25 typedef int boolean; 26 typedef int boolean;
26 27
98 int msqid; 99 int msqid;
99 splitter *splitter; 100 splitter *splitter;
100 streamer *streamer; 101 streamer *streamer;
101 } thread_data; 102 } thread_data;
102 103
104 struct channel_info {
105 char *sid;
106 char *tp;
107 char *name;
108 };
109
110 struct channel_info_list {
111 int nr_channel;
112 struct channel_info *channel_info[CHANNEL_MAX];
113 };
114
103 QUEUE_T *create_queue(size_t size); 115 QUEUE_T *create_queue(size_t size);
104 BUFSZ *dequeue(QUEUE_T *p_queue); 116 BUFSZ *dequeue(QUEUE_T *p_queue);
105 ARIB_STD_B25_BUFFER *stream_dequeue(STREAM_QUEUE_T *p_queue); 117 ARIB_STD_B25_BUFFER *stream_dequeue(STREAM_QUEUE_T *p_queue);
106 void destroy_queue(QUEUE_T *p_queue); 118 void destroy_queue(QUEUE_T *p_queue);
107 void destroy_stream_queue(STREAM_QUEUE_T *p_queue); 119 void destroy_stream_queue(STREAM_QUEUE_T *p_queue);