Project

General

Profile

Actions

Support Request #7875

closed

getting current position of adtf file library reader

Added by hidden over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Customer:
DAIMLER
Department:
MBRDI
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Product Issue Opened
Platform:
Topic:
FileLibrary::Reader
FAQ Links:

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.

Actions #1

Updated by hidden over 4 years ago

  • Status changed from New to In Progress
  • Topic set to FileLibrary::Reader
Actions #2

Updated by hidden over 4 years ago

  • 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

Actions #3

Updated by hidden over 4 years ago

  • 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
Actions #4

Updated by hidden over 4 years ago

  • Status changed from To Be Closed to Closed
Actions

Also available in: Atom PDF