Support Request #7875
closed
getting current position of adtf file library reader
Added by hidden about 5 years ago.
Updated almost 5 years ago.
Requester's Priority:
Normal
Resolution:
Product Issue Opened
Topic:
FileLibrary::Reader
Description
Supportanfrage
class adtf_file::Reader in adtf_file_reader.h does not provide any method to get the current position of reader. (ie., no method equivalent to GetCurrentBlockPos() in adtf streaming library). It would be nice if this is supported directly by adtf_file::Reader class.
Is there any way to get the information?
Does adtf file library improves performance of random reading (through seekTo() method) compared with Seek method() of adtf streaming library for adtf2 files?
Lösung
no, there is currently no possibility to retrieve the current position. I've create a ticket for it: CDIFHD-70.
Altough the performance of adtf_file has greatly improved to the ADTF Streaming Library, random seeking will not be much faster, as this always requires a lookup via the chunk index table to jump to the nearest indexed chunk and then a search to the actual requested block.
- Status changed from New to In Progress
- Topic set to FileLibrary::Reader
- Product Issue Numbers set to CDIFHD-70
Hi,
no, there is currently no possibility to retrieve the current position. I've create a ticket for it: CDIFHD-70.
Altough the performance of adtf_file has greatly improved to the ADTF Streaming Library, random seeking will not be much faster, as this always requires a lookup via the chunk index table to jump to the nearest indexed chunk and then a search to the actual requested block.
Regards,
Martin
- Project changed from 9 to Public Support
- Description updated (diff)
- Status changed from In Progress to To Be Closed
- Private changed from Yes to No
- Resolution set to Product Issue Opened
- Product Issue Numbers changed from CDIFHD-70 to https://www.cip.audi.de/jira/browse/CDIFHD-70
- Support Level changed from 2nd Level to 3rd Level
- Status changed from To Be Closed to Closed
Also available in: Atom
PDF