Visible to Intel only — GUID: fus1477318621130
Ixiasoft
Visible to Intel only — GUID: fus1477318621130
Ixiasoft
9.62. btc_dptx_mst_tavgts_set
Prototype: |
|
Thread-safe: |
No |
Available from ISR: |
No |
Include: |
< btc_dptx_syslib.h > |
Return: |
0 = success, 1 = fail |
Parameters: |
|
Description: |
This function sets Target Average Time Slots value. A value of 64 causes the VCP Fill sequence to occupy every time slot allocated for strm_idx stream. |
Example: |
btc_dptx_mst_tavgts_set(0,p_ppbn,p_GUID,p_rfn,p_nd); |
The Target Average Time Slots value (TAVG_TS) is expressed as the fractional part of the number of time slots per MTU occupied by a stream times 64, assuming that the allocated time slots are the ceiling of this number.
For instance, if 4.7 time slots/MTU are occupied (5 time slots/MTU are allocated in the VCP ID Table):
TAVG_TS = CEIL(FRAC(4.7)*64) = CEIL(0.7*64) = 45If TAVG_TS is set to 64, VCP Fill is produced to each time slot allocated to the stream.