Patent ID: 7370144

Claim:
A data processing method for accessing a target sample in a media data stream, the media data stream having a plurality of samples, the method comprising: providing at least one time to sample box (STTS) listing entries and the corresponding sample information, the sample information comprises a decoding time of samples in the corresponding entry; providing at least one sample to chunk box (STSC), comprising chunks of the media data stream, and the sample information comprises the number of samples in respective chunks; providing target sample information corresponding to the target sample, wherein the target sample information comprises a specific decoding time, and the sample information for a predetermined number is calculated and the calculated result is stored in at least one cache entry; locating one of the cache entries by comparing the target sample information with the calculated result of respective cache entries; and after locating the cache entry, locating the target sample from the entries corresponding to the located cache entry.