34 #define MAX_HW_SECT_FILT_LEN 8 36 #define STB_DMX_PID_FILTER_INVALID 0xffff 37 #define STB_DMX_SECT_FILTER_INVALID 0xffff 39 #define STB_TPID_CBUFF_PRIORITY 10 50 } E_STB_DMX_DESC_TRACK;
56 } E_STB_DMX_DESC_KEY_PARITY;
62 DESC_TYPE_AES_SCTE_52,
65 } E_STB_DMX_DESC_TYPE;
72 } E_STB_DMX_KEY_USAGE;
79 } E_STB_DMX_DEMUX_SOURCE;
83 DMX_CAPS_LIVE = 0x0001,
84 DMX_CAPS_PIP = 0x0002,
85 DMX_CAPS_RECORDING = 0x0004,
86 DMX_CAPS_PLAYBACK = 0x0008,
87 DMX_CAPS_MONITOR_SI = 0x0010
95 DMX_PID_TYPE_SUBTITLES,
102 typedef void (*FILTER_CALLBACK)( U8BIT path, U16BIT bytes, U16BIT pfilt_id );
110 E_STB_AV_VIDEO_CODEC video_codec;
111 E_STB_AV_AUDIO_CODEC audio_codec;
172 U16BIT text_pid, U16BIT data_pid, U16BIT ad_pid);
227 U8BIT not_equal_byte_index, BOOLEAN crc);
293 BOOLEAN
STB_DMXGetKeyUsage(U8BIT path, E_STB_DMX_DESC_TRACK track, E_STB_DMX_KEY_USAGE *key_usage);
303 BOOLEAN
STB_DMXSetKeyUsage(U8BIT path, E_STB_DMX_DESC_TRACK track, E_STB_DMX_KEY_USAGE key_usage);
341 #endif // _STBHWDMX_H void STB_DMXStopPIDFilter(U8BIT path, U16BIT pfilt_id)
Stop Specified PID Filter Collecting Data.
void STB_DMXSetServicePids(U8BIT path, U16BIT num_pids, S_DMX_PID_INFO *pid_array)
Sets the array of PIDs that make up a service and would be included in a single program transport str...
void STB_DMXSetupSectFilter(U8BIT path, U16BIT sfilt_id, U8BIT *match_ptr, U8BIT *mask_ptr, U8BIT not_equal_byte_index, BOOLEAN crc)
Configures a match and mask for a specified section filter.
BOOLEAN STB_DMXGetDescramblerKey(U8BIT path, E_STB_DMX_DESC_TRACK track)
Acquires a descrambler for the specified track on this path.
BOOLEAN STB_DMXGetKeyUsage(U8BIT path, E_STB_DMX_DESC_TRACK track, E_STB_DMX_KEY_USAGE *key_usage)
Get the descrambler key usage for the specified track on this path as set by STB_DMXSetKeyUsage.
void STB_DMXStartPIDFilter(U8BIT path, U16BIT pfilt_id)
Start Specified PID Filter Collecting Data.
BOOLEAN STB_DMXCopyPIDFilterSect(U8BIT path, U8BIT *buffer, U16BIT size, U16BIT pfilt_id)
Copies a filtered section to caller's buffer.
U16BIT STB_DMXGetCapabilities(U8BIT path)
Returns the capability flags of the given demux.
void STB_DMXChangeDecodePIDs(U8BIT path, U16BIT pcr_pid, U16BIT video_pid, U16BIT audio_pid, U16BIT text_pid, U16BIT data_pid, U16BIT ad_pid)
Changes the packet IDs for the PCR Video, Audio, Text and Data.
void STB_DMXGetDemuxSource(U8BIT path, E_STB_DMX_DEMUX_SOURCE *source, U8BIT *param)
Gets the current source of a given demux.
Header file - Function prototypes for A/V control.
void STB_DMXSetDemuxSource(U8BIT path, E_STB_DMX_DEMUX_SOURCE source, U8BIT param)
Configures the source of the demux.
void STB_DMXWriteDemux(U8BIT path, U8BIT *data, U32BIT size)
Writes data to the demux from memory.
BOOLEAN STB_DMXSetDescramblerKeyData(U8BIT path, E_STB_DMX_DESC_TRACK track, E_STB_DMX_DESC_KEY_PARITY parity, U8BIT *data)
Set the descrambler key data for the specified track on this path.
void STB_DMXChangeTextPID(U8BIT path, U16BIT text_pid)
Changes just the teletext PID.
BOOLEAN STB_DMXSetDescramblerType(U8BIT path, E_STB_DMX_DESC_TRACK track, E_STB_DMX_DESC_TYPE type)
Set the descrambler type for the specified track on this path.
void STB_DMXInitialise(U8BIT paths, BOOLEAN inc_pes_collection)
Initialises the demux / programmable transport interface.
void STB_DMXReadTextPES(U8BIT path, U8BIT **buffer, U32BIT *num_bytes)
Reads Teletext PES data from the demux.
void STB_DMXSkipPIDFilterSect(U8BIT path, U16BIT pfilt_id)
Skips (discards) a section in the PID filter buffer.
BOOLEAN STB_DMXSetKeyUsage(U8BIT path, E_STB_DMX_DESC_TRACK track, E_STB_DMX_KEY_USAGE key_usage)
Set the descrambler key usage for the specified track on this path.
System Wide Global Technical Data Type Definitions.
U16BIT STB_DMXGrabSectFilter(U8BIT path, U16BIT pfilt_id)
Allocated a new section filter on the specified PID filter.
void STB_DMXReleaseSectFilter(U8BIT path, U16BIT sfilt_id)
Releases a previously allocated section filter.
BOOLEAN STB_DMXGetDescramblerType(U8BIT path, E_STB_DMX_DESC_TRACK track, E_STB_DMX_DESC_TYPE *type)
Get the descrambler type for the specified track on this path, as set by STB_DMXSetDescramblerType.
Definition: stbhwdmx.h:104
BOOLEAN STB_DMXFreeDescramblerKey(U8BIT path, E_STB_DMX_DESC_TRACK track)
Frees the descrambler for the specified track on this path.
U16BIT STB_DMXGrabPIDFilter(U8BIT path, U16BIT pid, FILTER_CALLBACK func)
Get a New PID Filter & Setup Associated Buffer and Callback Function Address.
U8BIT STB_DMXGetMaxSectionFilters(void)
Returns the maximum number of section filters available on this hw.
void STB_DMXReleasePIDFilter(U8BIT path, U16BIT pfilt_id)
Releases a previously allocated PID filter.