Fujitsu DTV/STB solution driver (FAPex driver) Documentation [V01L00R00]


FAPEX_TSD_ReadInfoStrT Struct Reference

read information parameters for the TSD driver More...

Data Fields

uint32_t fillSize
uint32_t readOffset
uint32_t sectionOffset
uint32_t sectionLength
int32_t sectionNo
uint32_t bufferStatus

Detailed Description

read information parameters for the TSD driver

Each parameter are indicated as the figure below.
The 'mmaping address' is return value of FAPEX_TSD_Mmap.

tsd_ReadInfoStrT.png

The related ioctl command type : FAPEX_IOCCOM_TSD_GET_BUFFER_READINFO

See also:
FAPEX_TSD_Ioctl, FAPEX_TSD_Mmap

Field Documentation

buffer filling size

read pointer offset
This is offset value from buffer top address mapped by FAPEX_TSD_Mmap.

read pointer offset of current section
This is offset value from buffer top address mapped by FAPEX_TSD_Mmap.

The length of current section
This value includes 3 bytes field from 'table_id' to 'section_length'. And this is rounded up to multiples of 4.
There may not be section data for sectionLength in the buffer enough. So, it is necessary to compare with fillSize and the difference between readOffset and sectionOffset.

section order number
If the section end is not detected, this value is '-1'.
If the section end is detected, this value is order number set by FAPEX_IOCCOM_TSD_SET_SECTION_FILTER command.

The buffer status
The value of bufferStatus is the bitwise-inclusive OR of values from the following list.

Parameters:
FAPEX_TSD_BUFFSTAT_NONEnormal status
FAPEX_TSD_BUFFSTAT_PACKET_ENDpacket end
FAPEX_TSD_BUFFSTAT_SECTION_ENDsection end
FAPEX_TSD_BUFFSTAT_SCRAMBLED_PACKETscrambled packet
FAPEX_TSD_BUFFSTAT_CRCERRORCRC error
FAPEX_TSD_BUFFSTAT_THRESHUNDERunder Low level threshold
FAPEX_TSD_BUFFSTAT_THRESHOVERover High level threshold
FAPEX_TSD_BUFFSTAT_OVERFLOWoverflow
FAPEX_TSD_BUFFSTAT_TIMEOUTtimeout
FAPEX_TSD_BUFFSTAT_STOPPEDstopped TSD channel demuxing

The documentation for this struct was generated from the following file:


Copyright © 2006-2010 by Fujitsu Semiconductor Europe GmbH
Copyright © 2008-2010 by Fujitsu Semiconductor Limited

Disclaimer:
Please note that the use of this has been based on the terms and conditions of "DK Consent Letter (For Linux)" agreement between you and Fujitsu Semiconductor Limited.
The contents of this document may be revised without prior notice. Contact our sales department for confirmation. The information in this document are presented as is, no license is granted by implication or otherwise.
More...

FUJITSU sales representatives