Patent ID: 8094712

Claim:
An apparatus for processing a data stream including encoded data sets and raw data sets, the data stream having a hierarchical layer structure, the apparatus comprising: a first processing circuit, for generating an enable signal corresponding to a predetermined layer of the hierarchical layer structure when detecting that a data set of the data stream corresponds to the predetermined layer; a second processing circuit, coupled to the first processing circuit, for detecting whether an identifier of the data set corresponds to one predetermined raw data set identifier when receiving the enable signal from the first processing circuit; and a third processing circuit, wherein when the second processing circuit determines that the identifier of the data set corresponds to one predetermined raw data set identifier, the second processing circuit notifies the third processing circuit to process the data set, and when the second processing circuit fails to determine that the identifier of the data set corresponds to one predetermined raw data set identifier, the second processing circuit notifies the third processing circuit to discard the data set.