int ( * intf_ProcessKey ) ( struct intf_thread_s *, int );
void ( * intf_AssignKey ) ( struct intf_thread_s *, int, int, int );
- void ( * intf_Msg ) ( char *, ... );
- void ( * intf_ErrMsg ) ( char *, ... );
- void ( * intf_WarnMsg ) ( int, char *, ... );
+ void ( * intf_Msg ) ( char *, ... );
+ void ( * intf_ErrMsg ) ( char *, ... );
+ void ( * intf_WarnMsg ) ( int, char *, ... );
+ void ( * intf_WarnMsgImm ) ( int, char *, ... );
+#ifdef TRACE
+ void ( * intf_DbgMsg ) ( char *, char *, int, char *, ... );
+ void ( * intf_DbgMsgImm ) ( char *, char *, int, char *, ... );
+#endif
int ( * intf_PlaylistAdd ) ( struct playlist_s *, int, const char* );
int ( * intf_PlaylistDelete ) ( struct playlist_s *, int );
void ( * msleep ) ( mtime_t );
mtime_t ( * mdate ) ( void );
+ int ( * network_ChannelCreate )( void );
int ( * network_ChannelJoin ) ( int );
void ( * input_SetStatus ) ( struct input_thread_s *, int );
- void ( * input_SetRate ) ( struct input_thread_s *, int );
void ( * input_Seek ) ( struct input_thread_s *, off_t );
void ( * input_DumpStream ) ( struct input_thread_s * );
char * ( * input_OffsetToTime ) ( struct input_thread_s *, char *, off_t );
struct es_descriptor_s *, boolean_t );
int ( * input_ChangeArea ) ( struct input_thread_s *,
struct input_area_s * );
+ struct es_descriptor_s * ( * input_FindES ) ( struct input_thread_s *,
+ u16 );
+ struct es_descriptor_s * ( * input_AddES ) ( struct input_thread_s *,
+ struct pgrm_descriptor_s *, u16, size_t );
+ void ( * input_DelES ) ( struct input_thread_s *,
+ struct es_descriptor_s * );
+ int ( * input_SelectES ) ( struct input_thread_s *,
+ struct es_descriptor_s * );
+ int ( * input_UnselectES ) ( struct input_thread_s *,
+ struct es_descriptor_s * );
+ struct pgrm_descriptor_s* ( * input_AddProgram ) ( struct input_thread_s *,
+ u16, size_t );
+ void ( * input_DelProgram ) ( struct input_thread_s *,
+ struct pgrm_descriptor_s * );
+ struct input_area_s * ( * input_AddArea ) ( struct input_thread_s * );
+ void ( * input_DelArea ) ( struct input_thread_s *,
+ struct input_area_s * );
+
+ void ( * InitBitstream ) ( struct bit_stream_s *,
+ struct decoder_fifo_s *,
+ void ( * ) ( struct bit_stream_s *,
+ boolean_t ),
+ void * );
+ int ( * input_InitStream ) ( struct input_thread_s *, size_t );
+ void ( * input_EndStream ) ( struct input_thread_s * );
+
+ void ( * input_ParsePES ) ( struct input_thread_s *,
+ struct es_descriptor_s * );
+ void ( * input_GatherPES ) ( struct input_thread_s *,
+ struct data_packet_s *,
+ struct es_descriptor_s *,
+ boolean_t, boolean_t );
+ void ( * input_DecodePES ) ( struct decoder_fifo_s *,
+ struct pes_packet_s * );
+ struct es_descriptor_s * ( * input_ParsePS ) ( struct input_thread_s *,
+ struct data_packet_s * );
+ void ( * input_DemuxPS ) ( struct input_thread_s *,
+ struct data_packet_s * );
+ void ( * input_DemuxTS ) ( struct input_thread_s *,
+ struct data_packet_s * );
+ void ( * input_DemuxPSI ) ( struct input_thread_s *,
+ struct data_packet_s *,
+ struct es_descriptor_s *,
+ boolean_t, boolean_t );
+
+ int ( * input_ClockManageControl ) ( struct input_thread_s *,
+ struct pgrm_descriptor_s *,
+ mtime_t );
+
+ int ( * input_NetlistInit ) ( struct input_thread_s *,
+ int, int, size_t, int );
+ struct iovec * ( * input_NetlistGetiovec ) ( void * p_method_data );
+ void ( * input_NetlistMviovec ) ( void * , size_t,
+ struct data_packet_s **);
+ struct data_packet_s * ( * input_NetlistNewPacket ) ( void *, size_t );
+ struct pes_packet_s * ( * input_NetlistNewPES ) ( void * );
+ void ( * input_NetlistDeletePacket ) ( void *, struct data_packet_s * );
+ void ( * input_NetlistDeletePES ) ( void *, struct pes_packet_s * );
+ void ( * input_NetlistEnd ) ( struct input_thread_s * );
} module_symbols_t;
(p_symbols)->intf_Msg = intf_Msg; \
(p_symbols)->intf_ErrMsg = intf_ErrMsg; \
(p_symbols)->intf_WarnMsg = intf_WarnMsg; \
+ (p_symbols)->intf_WarnMsgImm = intf_WarnMsgImm; \
(p_symbols)->intf_PlaylistAdd = intf_PlaylistAdd; \
(p_symbols)->intf_PlaylistDelete = intf_PlaylistDelete; \
(p_symbols)->intf_PlaylistNext = intf_PlaylistNext; \
(p_symbols)->intf_UrlDecode = intf_UrlDecode; \
(p_symbols)->msleep = msleep; \
(p_symbols)->mdate = mdate; \
+ (p_symbols)->network_ChannelCreate = network_ChannelCreate; \
(p_symbols)->network_ChannelJoin = network_ChannelJoin; \
(p_symbols)->input_SetStatus = input_SetStatus; \
- (p_symbols)->input_SetRate = input_SetRate; \
(p_symbols)->input_Seek = input_Seek; \
(p_symbols)->input_DumpStream = input_DumpStream; \
(p_symbols)->input_OffsetToTime = input_OffsetToTime; \
(p_symbols)->input_ChangeES = input_ChangeES; \
(p_symbols)->input_ToggleES = input_ToggleES; \
- (p_symbols)->input_ChangeArea = input_ChangeArea;
+ (p_symbols)->input_ChangeArea = input_ChangeArea; \
+ (p_symbols)->input_FindES = input_FindES; \
+ (p_symbols)->input_AddES = input_AddES; \
+ (p_symbols)->input_DelES = input_DelES; \
+ (p_symbols)->input_SelectES = input_SelectES; \
+ (p_symbols)->input_UnselectES = input_UnselectES; \
+ (p_symbols)->input_AddProgram = input_AddProgram; \
+ (p_symbols)->input_DelProgram = input_DelProgram; \
+ (p_symbols)->input_AddArea = input_AddArea; \
+ (p_symbols)->input_DelArea = input_DelArea; \
+ (p_symbols)->InitBitstream = InitBitstream; \
+ (p_symbols)->input_InitStream = input_InitStream; \
+ (p_symbols)->input_EndStream = input_EndStream; \
+ (p_symbols)->input_ParsePES = input_ParsePES; \
+ (p_symbols)->input_GatherPES = input_GatherPES; \
+ (p_symbols)->input_DecodePES = input_DecodePES; \
+ (p_symbols)->input_ParsePS = input_ParsePS; \
+ (p_symbols)->input_DemuxPS = input_DemuxPS; \
+ (p_symbols)->input_DemuxTS = input_DemuxTS; \
+ (p_symbols)->input_DemuxPSI = input_DemuxPSI; \
+ (p_symbols)->input_ClockManageControl = input_ClockManageControl; \
+ (p_symbols)->input_NetlistInit = input_NetlistInit; \
+ (p_symbols)->input_NetlistGetiovec = input_NetlistGetiovec; \
+ (p_symbols)->input_NetlistMviovec = input_NetlistMviovec; \
+ (p_symbols)->input_NetlistNewPacket = input_NetlistNewPacket; \
+ (p_symbols)->input_NetlistNewPES = input_NetlistNewPES; \
+ (p_symbols)->input_NetlistDeletePacket = input_NetlistDeletePacket; \
+ (p_symbols)->input_NetlistDeletePES = input_NetlistDeletePES; \
+ (p_symbols)->input_NetlistEnd = input_NetlistEnd;
+#define STORE_TRACE_SYMBOLS( p_symbols ) \
+ (p_symbols)->intf_DbgMsg = _intf_DbgMsg; \
+ (p_symbols)->intf_DbgMsgImm = _intf_DbgMsgImm;
+
#ifdef PLUGIN
extern module_symbols_t* p_symbols;
# define TestProgram(a) p_symbols->TestProgram(a)
# define TestMethod(a,b) p_symbols->TestMethod(a,b)
-# define TestCPU(a,b) p_symbols->TestCPU(a)
+# define TestCPU(a) p_symbols->TestCPU(a)
# define intf_AssignKey(a,b,c,d) p_symbols->intf_AssignKey(a,b,c,d)
# define intf_ProcessKey(a,b) p_symbols->intf_ProcessKey(a,b)
-# define intf_Msg(a,b...) p_symbols->intf_Msg(a, ## b)
-# define intf_ErrMsg(a,b...) p_symbols->intf_ErrMsg(a, ## b)
-# define intf_WarnMsg(a,b,c...) p_symbols->intf_WarnMsg(a,b, ## c)
+# define intf_Msg p_symbols->intf_Msg
+# define intf_ErrMsg p_symbols->intf_ErrMsg
+# define intf_WarnMsg p_symbols->intf_WarnMsg
+# define intf_WarnMsgImm p_symbols->intf_WarnMsgImm
+#ifdef TRACE
+# undef intf_DbgMsg
+# undef intf_DbgMsgImm
+# define intf_DbgMsg( format, args... ) \
+ p_symbols->intf_DbgMsg( __FILE__, __FUNCTION__, \
+ __LINE__, format, ## args )
+# define intf_DbgMsgImm( format, args... ) \
+ p_symbols->intf_DbgMsgImm( __FILE__, __FUNCTION__, \
+ __LINE__, format, ## args )
+#endif
# define intf_PlaylistAdd(a,b,c) p_symbols->intf_PlaylistAdd(a,b,c)
# define intf_PlaylistDelete(a,b) p_symbols->intf_PlaylistDelete(a,b)
# define msleep(a) p_symbols->msleep(a)
# define mdate() p_symbols->mdate()
+# define network_ChannelCreate() p_symbols->network_ChannelCreate()
# define network_ChannelJoin(a) p_symbols->network_ChannelJoin(a)
# define input_SetStatus(a,b) p_symbols->input_SetStatus(a,b)
-# define input_SetRate(a,b) p_symbols->input_SetRate(a,b)
# define input_Seek(a,b) p_symbols->input_Seek(a,b)
# define input_DumpStream(a) p_symbols->input_DumpStream(a)
# define input_OffsetToTime(a,b,c) p_symbols->input_OffsetToTime(a,b,c)
# define input_ChangeES(a,b,c) p_symbols->input_ChangeES(a,b,c)
# define input_ToggleES(a,b,c) p_symbols->input_ToggleES(a,b,c)
# define input_ChangeArea(a,b) p_symbols->input_ChangeArea(a,b)
+# define input_FindES p_symbols->input_FindES
+# define input_AddES p_symbols->input_AddES
+# define input_DelES p_symbols->input_DelES
+# define input_SelectES p_symbols->input_SelectES
+# define input_UnselectES p_symbols->input_UnselectES
+# define input_AddProgram p_symbols->input_AddProgram
+# define input_DelProgram p_symbols->input_DelProgram
+# define input_AddArea p_symbols->input_AddArea
+# define input_DelArea p_symbols->input_DelArea
+
+# define InitBitstream p_symbols->InitBitstream
+# define input_InitStream p_symbols->input_InitStream
+# define input_EndStream p_symbols->input_EndStream
+
+# define input_ParsePES p_symbols->input_ParsePES
+# define input_GatherPES p_symbols->input_GatherPES
+# define input_DecodePES p_symbols->input_DecodePES
+# define input_ParsePS p_symbols->input_ParsePS
+# define input_DemuxPS p_symbols->input_DemuxPS
+# define input_DemuxTS p_symbols->input_DemuxTS
+# define input_DemuxPSI p_symbols->input_DemuxPSI
+
+# define input_ClockManageControl p_symbols->input_ClockManageControl
+
+# define input_NetlistInit p_symbols->input_NetlistInit
+# define input_NetlistGetiovec p_symbols->input_NetlistGetiovec
+# define input_NetlistMviovec p_symbols->input_NetlistMviovec
+# define input_NetlistNewPacket p_symbols->input_NetlistNewPacket
+# define input_NetlistNewPES p_symbols->input_NetlistNewPES
+# define input_NetlistDeletePacket p_symbols->input_NetlistDeletePacket
+# define input_NetlistDeletePES p_symbols->input_NetlistDeletePES
+# define input_NetlistEnd p_symbols->input_NetlistEnd
#endif