DSMCC
15.3.1
|
00001 /******************************************************************************* 00002 * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org) 00003 * Copyright © 2013 Ocean Blue Software Ltd 00004 * 00005 * This file is part of a DTVKit Software Component 00006 * You are permitted to copy, modify or distribute this file subject to the terms 00007 * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org 00008 * 00009 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 00010 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES 00011 * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. 00012 * 00013 * If you or your organisation is not a member of DTVKit then you have access 00014 * to this source code outside of the terms of the licence agreement 00015 * and you are expected to delete this and any associated files immediately. 00016 * Further information on DTVKit, membership and terms can be found at www.dtvkit.org 00017 *******************************************************************************/ 00026 #if !defined( _STB_FILTER_H ) 00027 #define _STB_FILTER_H 00028 00029 #include "dmxtypes.h" 00030 00031 #if defined(__cplusplus) 00032 extern "C" { 00033 #endif 00034 00035 typedef void (*F_FILTER_CALLBACK)(DMXREF dmx, U16BIT bytes, PIDFILT pfid); 00036 00045 PIDFILT STB_DMXGrabPIDFilter(DMXREF dmx, U16BIT pid, F_FILTER_CALLBACK func); 00046 00056 BOOLEAN STB_DMXCopyPIDFilterSect(DMXREF dmx, U8BIT *buffer, U16BIT size, PIDFILT pfid); 00057 00063 void STB_DMXSkipPIDFilterSect(DMXREF dmx, PIDFILT pfid); 00064 00071 SECFILT STB_DMXGrabSectFilter(DMXREF dmx, PIDFILT pfid); 00072 00082 void STB_DMXSetupSectFilter(DMXREF dmx, SECFILT sfid, U8BIT *match_ptr, U8BIT *mask_ptr, 00083 U8BIT not_equal_byte_index, BOOLEAN crc); 00084 00090 void STB_DMXStartPIDFilter(DMXREF dmx, PIDFILT pfid); 00091 00097 void STB_DMXStopPIDFilter(DMXREF dmx, PIDFILT pfid); 00098 00104 void STB_DMXReleasePIDFilter(DMXREF dmx, PIDFILT pfid); 00105 00111 void STB_DMXReleaseSectFilter(DMXREF dmx, SECFILT sfid); 00112 00113 00114 #if defined(__cplusplus) 00115 } 00116 #endif 00117 00118 #endif /* _STB_FILTER_H */