US20120301118A1 - Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory - Google Patents
Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory Download PDFInfo
- Publication number
- US20120301118A1 US20120301118A1 US13/562,333 US201213562333A US2012301118A1 US 20120301118 A1 US20120301118 A1 US 20120301118A1 US 201213562333 A US201213562333 A US 201213562333A US 2012301118 A1 US2012301118 A1 US 2012301118A1
- Authority
- US
- United States
- Prior art keywords
- data
- bitstream
- encoded bitstream
- buffer
- sectors
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
- 238000000034 method Methods 0.000 title claims description 12
- 230000003287 optical effect Effects 0.000 title description 27
- 238000012545 processing Methods 0.000 claims abstract description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000012937 correction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44004—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/84—Television signal recording using optical recording
- H04N5/85—Television signal recording using optical recording on discs or drums
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
- H04N5/92—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
- H04N5/926—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback by pulse code modulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/16—Analogue secrecy systems; Analogue subscription systems
Definitions
- the invention relates to optical disc player systems and a method for controlling a decoding unit to read data from a memory device, more particularly to an optical disc player system and a method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory, and an optical disc player system capable of saving the memory bandwidth between a bitstream demultiplexer and a memory.
- FIG. 1 illustrates a conventional DVD player system 1 that includes a channel decoder 11 for reading and error-correcting the encoded bitstream data from a disc, a track buffer 13 connected to the channel decoder 11 via a memory interface 15 for storing error-corrected bitstream data from the channel decoder 11 , a source decoder 12 connected to the channel decoder 11 for decoding the bitstream data from the channel decoder 11 , and a source buffer 14 connected to the source decoder 12 via a memory interface 16 for storing decoded video and audio data from the source decoder 12 .
- the channel decoder 11 and the source decoder 12 are implemented using two separate chips, thereby resulting in a relatively high cost.
- a combined chip integrated with the aforesaid functions of the channel and source decoders are provided.
- FIG. 2 illustrates another DVD player system 2 that includes a decoding unit 21 having a channel decoder 11 ′ and a source decoder 12 ′.
- the integrated decoding unit 21 performs functions the same as those in the system of FIG. 1 , and a combined buffer memory 22 connected to the decoding unit 21 via a memory interface 23 .
- the buffer memory 22 includes a track buffer 221 for storing data from a disc, and a bitstream buffer 222 for storing demultiplexed bitstream data processed by a bitstream demultiplexer 24 and decoded video and audio data for playback.
- the decoding unit 12 ′ includes an audio decoder 121 , a video decoder 122 , a sub-picture decoder 123 and a navigation decoder 124 .
- the bitstream demultiplexer 24 reads encoded bitstream data from the track buffer 221 of the buffer memory 221 via the memory interface 23 .
- the demultiplexed bitstream data is transferred to the bitstream buffer 222 of the buffer memory 22 via the memory interface 23 .
- the decoders 121 , 122 , 123 , 124 read the demultiplexed bitstream data stored in the bitstream buffer 222 of the buffer memory 22 for decoding via the memory interface 23 .
- the buffer memory 22 in the conventional system 2 of FIG. 2 must provide a large bandwidth for channel decoding and source decoding, thereby resulting in relatively high costs and power consumption.
- an object of the present invention is to provide an optical disc player system and a method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory that can reduce the memory bandwidth requirement so as to result in relatively low costs and power consumption.
- Another object of the present invention is to provide an optical disc player system capable of saving the memory bandwidth between a bitstream demultiplexer and a memory.
- a data processing apparatus for decoding a bitstream.
- the data processing apparatus includes a channel decoder, a demultiplexer and a plurality of decoders.
- the channel decoder is used for generating an encoded bitstream data from a received channel data and storing the encoded bitstream data to a buffer, wherein the encoded bitstream contains a plurality types of sectors.
- the demultiplexer is used for rearranging the stored encoded bitstream data according to the plurality of types and storing sectors corresponding to the same bitstream type in respective regions in the buffer.
- the decoders are used for decoding the sectors corresponding to the bitstream types, the decoders retrieving the rearranged data from the buffer according to corresponding one of the plurality of types.
- a method for decoding a bitstream has the following steps: (a) generating an encoded bitstream data from a received channel data and storing the encoded bitstream data to a buffer, wherein the encoded bitstream contains a plurality types of sectors; (b) rearranging the stored encoded bitstream data according to the plurality of types and storing sectors corresponding to the same bitstream type in respective regions in the buffer; (c) retrieving the rearranged data from the buffer according to corresponding one of the plurality of types; and (d) decoding the sectors corresponding to the bitstream types by a plurality of decoders.
- FIG. 1 is a schematic circuit block diagram of a conventional DVD player system
- FIG. 2 is a schematic circuit block diagram of another conventional DVD player system
- FIG. 3 is a schematic circuit block diagram illustrating a bitstream demultiplexing operation in the conventional DVD player system of FIG. 2 ;
- FIG. 4 is a schematic circuit block diagram illustrating the preferred embodiment of an optical disc player system according to the present invention.
- FIG. 5 is a flow chart illustrating a method of controlling a decoding unit in the preferred embodiment to read encoded bitstream data from a buffer memory
- FIG. 6 is a schematic circuit block diagram of an optical disc player system according to another embodiment of the present invention.
- FIG. 7 is a schematic circuit block diagram of an optical disc player system according to another embodiment of the present invention.
- an optical disc player system 3 such as a DVD player, according to the present invention is shown to include a buffer memory 33 , a header scanning controller 34 , a decoding unit 32 , and a reading pointer recorder 35 .
- the buffer memory 33 such as a track buffer, stores encoded bitstream data that is read by a disc reading module 31 from an optical disc (not shown) and that is error-corrected by a channel decoder 30 .
- the encoded bitstream data is divided into a plurality of sectors, each of which includes a data portion, and a header portion for indicating a bitstream type of the data portion.
- the header portion includes a sector ID, a pack header and a packet header.
- the header scanning controller 34 is connected to the buffer memory 33 via a memory interface 36 .
- the decoding unit 32 is connected to the header scanning controller 34 , and includes a channel decoder 321 and a set of different data decoders 322 including audio decoder 322 A, video decoder 322 B, sub-picture decoder 322 C, and navigation decoder 322 D.
- Each of the data decoder is used to decode data with a specific bitstream type.
- Each of the data decoders 322 A, 322 B, 322 C, 322 D is capable of sending a bitstream request for reading encoded bitstream data stored in the buffer memory 33 via the header scanning controller 34 .
- the decoding unit 32 includes an audio decoder 322 A for decoding audio data, a video decoder 322 B for decoding video data, a sub-picture decoder 322 C, and a navigation decoder 322 D.
- the reading pointer recorder 35 is connected to the header scanning controller 34 and stores four reading pointers associated with the data decoders 322 A, 322 B, 322 C, and 322 D.
- the four reading pointers are audio reading pointer, video reading pointer, sub-picture reading pointer, and navigation reading pointer respectively.
- the header scanning controller 34 reads one of the sectors stored in the buffer memory 33 according to the reading pointer from the reading pointer recorder 35 that is associated with one of the decoders 322 A, 322 B, 322 C, 322 D that sent out the bitstream request when the header scanning controller 34 receives the bitstream request from said one of the data decoders 322 A, 3228 , 322 C, 322 D.
- the header scanning controller 34 transfers the data portion of said one of the sectors that is being read from the buffer memory 33 to the data decoder ( 322 A, 322 B, 322 C, or 322 D) that sent out the bitstream request when the header portion of said one of the sectors that is being read from the buffer memory 33 indicates a bitstream type corresponding to that of the bitstream request, and the header scanning controller 34 also enables the reading pointer recorder 35 to adjust the reading pointer to point to a next one of the sectors stored in the buffer memory 33 after reading of said one of the sectors has been completed.
- the header scanning controller 34 enables the reading pointer recorder 35 to adjust the reading pointer associated with said one of the decoders 322 A, 322 B, 322 C, 322 D that sent out the bitstream request to point to a next one of the sectors stored in the buffer memory 33 , and reads the header portion of the next one of the sectors when the bitstream type indicated by the header portion of said one of the sectors being read from the buffer memory 33 does not correspond to that of the bitstream request.
- the header scanning controller 34 receives the bitstream request, reads the sector which is a video bitstream type (a video sector) according to the video reading pointer of the reading pointer recorder 35 . After the current video sector has been read from the buffer memory 33 , the header scanning controller 34 enables the reading pointer recorder 35 to move the video reading pointer to a next video sector in the buffer memory 33 .
- the similar procedure also applies to the audio decoder 322 A, the sub-picture decoder 322 C, and the navigation decoder 322 D.
- each of the sectors stored in the buffer memory 33 is defined by the header scanning controller 34 to be in a used state when the data portion thereof has been completely read, and to be in an unused state when otherwise.
- the header scanning controller 34 enables the reading pointer recorder 35 to adjust the four reading pointers to point the next audio sector, next video sector, next sub-picture sector, or next navigation sector in the buffer memory 33 that is in the unused state when the bitstream type indicated by the header portion of said one of the sectors being read from the buffer memory 33 does not correspond to that of the current bitstream request.
- the header scanning controller 34 determines whether one of the decoders 322 A, 322 B, 322 C, 322 D sends out the bitstream request. For example, the header scanning controller 34 detects that the audio decoder 321 sends out the bitstream request for decoding audio data.
- the header scanning controller 34 reads one of the sectors stored in the buffer memory 33 according to a reading pointer that is associated with said one of the decoders 322 A, 322 B, 322 C, 322 D that sends out the bitstream request (for example, the audio decoder 322 A).
- the header scanning controller 34 determines whether a portion of said one of the sectors being read from the buffer memory 33 is the header portion.
- the header scanning controller 34 determines whether the header portion of said one of the sectors that is being read from the buffer memory 33 indicates a bitstream type corresponding to that of the bitstream request.
- the header scanning controller 34 transfers the data portion of said one of the sectors that is being read from the buffer memory 33 to said one of the decoders 322 A, 322 B, 322 C, 322 D that sends out the bitstream request (for example, the audio decoder 322 A) upon determining in step 45 that the bitstream type indicated by the header portion of said one of the sectors corresponds to that of the bitstream request, and enables the reading pointer recorder 35 to adjust the reading pointer to point to a next one of the sectors stored in the buffer memory 33 after reading of said one of the sectors has been completed.
- the reading pointer recorder 35 adjusts the reading pointer to point to the next one of the sectors stored in the buffer memory 33 that is in the unused state. Furthermore, when it is determined in step 43 that the portion of said one of the sectors being read from the buffer memory 33 is not the header portion, the flow proceeds to step 46 . In step 47 , the header scanning controller 34 determines whether the data portion of said one of the sectors that is being read from the buffer memory 33 has been read completely. When the data portion of said one of the sectors that is being read from the buffer memory 33 has yet to be read completely, the flow proceeds back to step 41 .
- the header scanning controller 34 defines said one of the sectors to be in the used state when the data portion of said one of the sectors that is being read from the buffer memory 33 has been read completely, and the flow proceeds back to step 41 .
- the header scanning controller 34 enables the reading pointer recorder 35 to adjust the reading pointer associated with said one of the decoders 322 A, 322 B, 322 C, 322 D (for example, the audio decoder 322 A) that sends out the bitstream request to point to the next one of the sectors stored in the buffer memory 33 , and reads the header portion of the next one of the sectors when the bitstream type indicated by the header portion of said one of the sectors being read from the buffer memory 13 is determined in step 45 as not corresponding to that of the bitstream request.
- step 45 the reading pointer recorder 35 adjusts the reading pointer to point to the next one of the sectors stored in the buffer memory 33 that is in the unused state.
- step 44 when none of the decoders 321 , 322 , 323 , 324 sent out a bitstream request, the header scanning controller 34 determines whether decoding of the decoding unit 32 ends. If no, the flow proceeds back to step 41 .
- the header scanning controller 34 can control the decoding unit 32 to read encoded bitstream data from the buffer memory 33 through the memory interface 36 such that the buffer memory 33 has a relatively low memory bandwidth requirement, thereby resulting in relatively low costs and power consumption. An object of the invention is thus met.
- FIG. 6 is a schematic circuit block diagram of an optical disc player system 6 according to another embodiment of the present invention.
- the optical disc player system 6 includes the disc reading module 31 mentioned above.
- the optical disc player system 6 further includes a channel decoder 60 for generating encoded bitstream data S 2 according to an optical disc readout signal S 1 generated by the disc reading module 31 .
- the channel decoder 60 is a composite module 60 including the following components (not shown): a DVD/CD digital signal processor (DSP) for decoding the optical disc readout signal S 1 ; a DVD/CD servo controller for performing servo control while the optical disc player system 4 accessing the optical disc; and a DVD/CD error correction code (ECC) decoder for performing ECC correction to generate the encoded bitstream data S 2 .
- DSP digital signal processor
- ECC error correction code
- the optical disc player system 6 further includes a buffer memory 63 for storing the encoded bitstream data S 2 .
- the encoded bitstream data is divided into a plurality of sectors, each of which includes a data portion, and a header portion for indicating a bitstream type of the data portion.
- the header portion includes a sector ID, a pack header and a packet header.
- the optical disc player system 6 further includes: a memory interface 66 ; a header scanning controller 64 coupled to the buffer memory 63 via the memory interface 66 for scanning the header portion and accessing the encoded bitstream data stored in the buffer memory 63 ; and a bitstream demultiplexer 65 coupled to the header scanning controller 64 for rearranging the encoded bitstream data stored in the buffer memory 63 according to the bitstream type for continuously storing sectors corresponding to the same bitstream type in the same region within the buffer memory 63 .
- the header scanning controller 64 of this embodiment is a simplified variation of the header scanning controller 34 shown in FIG. 4 since the header scanning controller 64 does not need an additional component such as the reading pointer recorder 35 shown in FIG. 4 while the bitstream demultiplexer 65 is rearranging the encoded bitstream data stored in the buffer memory 63 .
- the header scanning controller 64 is capable of scanning the header portion to determine the bitstream type of the corresponding data portion, the bitstream demultiplexer 65 does not need to read a data portion of an unwanted bitstream type.
- the bitstream demultiplexer 65 simply reads data of a specific bitstream type and continuously store the data of the specific bitstream type in a specific region within the buffer memory 63 . As a result, the memory bandwidth between the bitstream demultiplexer 65 and the buffer memory 63 is saved.
- the optical disc player system 6 further includes a decoding unit 62 coupled to the buffer memory 63 .
- the decoding unit 62 is a MPEG decoding unit 62 including an audio decoder 62 A for decoding audio data, a video decoder 62 B for decoding video data, a sub-picture decoder 62 C, and a navigation decoder 62 D.
- Each of the decoders 62 A, 62 B, 62 C, and 62 D is used to decode data with a specific bitstream type and is capable of reading encoded bitstream data stored in the buffer memory 63 by direct memory access (DMA).
- DMA direct memory access
- the channel decoder 60 , the decoding unit 62 , the bitstream demultiplexer 65 , and the header scanning controller 64 are integrated into a single chip 602 .
- FIG. 7 is a schematic circuit block diagram of an optical disc player system 7 according to another embodiment of the present invention.
- the embodiment shown in FIG. 7 is similar to the embodiment shown in FIG. 6 with exceptions described as follows.
- the header scanning controller 74 of this embodiment is a Central Processing Unit (CPU) 74 executing a specific program code 74 c , and the channel decoder 60 , the decoding unit 62 , and the bitstream demultiplexer 75 are integrated into a single chip 702 .
- CPU Central Processing Unit
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
A data processing apparatus for decoding a bitstream includes a channel decoder, a demultiplexer and a plurality of decoders. The channel decoder is used for generating an encoded bitstream data from a received channel data and storing the encoded bitstream data to a buffer, wherein the encoded bitstream contains a plurality types of sectors. The demultiplexer is used for rearranging the stored encoded bitstream data according to the plurality of types and storing sectors corresponding to the same bitstream type in respective regions in the buffer. The decoders are used for decoding the sectors corresponding to the bitstream types, the decoders retrieving the rearranged data from the buffer according to corresponding one of the plurality of types.
Description
- This application is a continuation of the co-pending U.S. application Ser. No. 12/471,408, which is a continuation of U.S. application Ser. No. 11/279,253 (which is a continuation-in-part of U.S. application Ser. No. 10/376,443 (expressly abandoned during examination)). The entire contents of these related applications are incorporated herein by reference.
- 1. Field of the Invention
- The invention relates to optical disc player systems and a method for controlling a decoding unit to read data from a memory device, more particularly to an optical disc player system and a method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory, and an optical disc player system capable of saving the memory bandwidth between a bitstream demultiplexer and a memory.
- 2. Description of the Prior Art
-
FIG. 1 illustrates a conventionalDVD player system 1 that includes achannel decoder 11 for reading and error-correcting the encoded bitstream data from a disc, atrack buffer 13 connected to thechannel decoder 11 via amemory interface 15 for storing error-corrected bitstream data from thechannel decoder 11, asource decoder 12 connected to thechannel decoder 11 for decoding the bitstream data from thechannel decoder 11, and asource buffer 14 connected to thesource decoder 12 via amemory interface 16 for storing decoded video and audio data from thesource decoder 12. In an actual design, thechannel decoder 11 and thesource decoder 12 are implemented using two separate chips, thereby resulting in a relatively high cost. In order to reduce costs, there is provided a combined chip integrated with the aforesaid functions of the channel and source decoders. -
FIG. 2 illustrates anotherDVD player system 2 that includes adecoding unit 21 having achannel decoder 11′ and asource decoder 12′. The integrateddecoding unit 21 performs functions the same as those in the system ofFIG. 1 , and a combinedbuffer memory 22 connected to thedecoding unit 21 via amemory interface 23. Referring toFIG. 3 , thebuffer memory 22 includes atrack buffer 221 for storing data from a disc, and abitstream buffer 222 for storing demultiplexed bitstream data processed by abitstream demultiplexer 24 and decoded video and audio data for playback. Thedecoding unit 12′ includes anaudio decoder 121, avideo decoder 122, asub-picture decoder 123 and anavigation decoder 124. During a decoding procedure, thebitstream demultiplexer 24 reads encoded bitstream data from thetrack buffer 221 of thebuffer memory 221 via thememory interface 23. After error-correcting and demultiplexing of the encoded bitstream data, the demultiplexed bitstream data is transferred to thebitstream buffer 222 of thebuffer memory 22 via thememory interface 23. Thedecoders bitstream buffer 222 of thebuffer memory 22 for decoding via thememory interface 23. As such, thebuffer memory 22 in theconventional system 2 ofFIG. 2 must provide a large bandwidth for channel decoding and source decoding, thereby resulting in relatively high costs and power consumption. - Therefore, an object of the present invention is to provide an optical disc player system and a method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory that can reduce the memory bandwidth requirement so as to result in relatively low costs and power consumption. Another object of the present invention is to provide an optical disc player system capable of saving the memory bandwidth between a bitstream demultiplexer and a memory.
- According to a first aspect of the present invention, a data processing apparatus for decoding a bitstream is disclosed. The data processing apparatus includes a channel decoder, a demultiplexer and a plurality of decoders. The channel decoder is used for generating an encoded bitstream data from a received channel data and storing the encoded bitstream data to a buffer, wherein the encoded bitstream contains a plurality types of sectors. The demultiplexer is used for rearranging the stored encoded bitstream data according to the plurality of types and storing sectors corresponding to the same bitstream type in respective regions in the buffer. The decoders are used for decoding the sectors corresponding to the bitstream types, the decoders retrieving the rearranged data from the buffer according to corresponding one of the plurality of types.
- According to a second aspect of the present invention, a method for decoding a bitstream has the following steps: (a) generating an encoded bitstream data from a received channel data and storing the encoded bitstream data to a buffer, wherein the encoded bitstream contains a plurality types of sectors; (b) rearranging the stored encoded bitstream data according to the plurality of types and storing sectors corresponding to the same bitstream type in respective regions in the buffer; (c) retrieving the rearranged data from the buffer according to corresponding one of the plurality of types; and (d) decoding the sectors corresponding to the bitstream types by a plurality of decoders.
- These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
- Other features and advantages of the present invention will become apparent in the following detailed description of the preferred embodiment and the variations thereof with reference to the accompanying drawings, of which:
-
FIG. 1 is a schematic circuit block diagram of a conventional DVD player system; -
FIG. 2 is a schematic circuit block diagram of another conventional DVD player system; -
FIG. 3 is a schematic circuit block diagram illustrating a bitstream demultiplexing operation in the conventional DVD player system ofFIG. 2 ; -
FIG. 4 is a schematic circuit block diagram illustrating the preferred embodiment of an optical disc player system according to the present invention; -
FIG. 5 is a flow chart illustrating a method of controlling a decoding unit in the preferred embodiment to read encoded bitstream data from a buffer memory; -
FIG. 6 is a schematic circuit block diagram of an optical disc player system according to another embodiment of the present invention; and -
FIG. 7 is a schematic circuit block diagram of an optical disc player system according to another embodiment of the present invention. - Referring to
FIG. 4 , the preferred embodiment of an opticaldisc player system 3, such as a DVD player, according to the present invention is shown to include abuffer memory 33, aheader scanning controller 34, adecoding unit 32, and areading pointer recorder 35. - The
buffer memory 33, such as a track buffer, stores encoded bitstream data that is read by adisc reading module 31 from an optical disc (not shown) and that is error-corrected by a channel decoder 30. The encoded bitstream data is divided into a plurality of sectors, each of which includes a data portion, and a header portion for indicating a bitstream type of the data portion. The header portion includes a sector ID, a pack header and a packet header. - The
header scanning controller 34 is connected to thebuffer memory 33 via amemory interface 36. - The
decoding unit 32 is connected to theheader scanning controller 34, and includes achannel decoder 321 and a set ofdifferent data decoders 322 includingaudio decoder 322A,video decoder 322B,sub-picture decoder 322C, andnavigation decoder 322D. Each of the data decoder is used to decode data with a specific bitstream type. Each of thedata decoders buffer memory 33 via theheader scanning controller 34. In this embodiment, thedecoding unit 32 includes anaudio decoder 322A for decoding audio data, avideo decoder 322B for decoding video data, asub-picture decoder 322C, and anavigation decoder 322D. - The
reading pointer recorder 35 is connected to theheader scanning controller 34 and stores four reading pointers associated with thedata decoders - The
header scanning controller 34 reads one of the sectors stored in thebuffer memory 33 according to the reading pointer from thereading pointer recorder 35 that is associated with one of thedecoders header scanning controller 34 receives the bitstream request from said one of thedata decoders - The
header scanning controller 34 transfers the data portion of said one of the sectors that is being read from thebuffer memory 33 to the data decoder (322A, 322B, 322C, or 322D) that sent out the bitstream request when the header portion of said one of the sectors that is being read from thebuffer memory 33 indicates a bitstream type corresponding to that of the bitstream request, and theheader scanning controller 34 also enables thereading pointer recorder 35 to adjust the reading pointer to point to a next one of the sectors stored in thebuffer memory 33 after reading of said one of the sectors has been completed. - Furthermore, the
header scanning controller 34 enables thereading pointer recorder 35 to adjust the reading pointer associated with said one of thedecoders buffer memory 33, and reads the header portion of the next one of the sectors when the bitstream type indicated by the header portion of said one of the sectors being read from thebuffer memory 33 does not correspond to that of the bitstream request. - For example, when the
video decoder 322B sends out a bitstream request for video data, theheader scanning controller 34 receives the bitstream request, reads the sector which is a video bitstream type (a video sector) according to the video reading pointer of thereading pointer recorder 35. After the current video sector has been read from thebuffer memory 33, theheader scanning controller 34 enables thereading pointer recorder 35 to move the video reading pointer to a next video sector in thebuffer memory 33. The similar procedure also applies to theaudio decoder 322A, thesub-picture decoder 322C, and thenavigation decoder 322D. - It is noted that each of the sectors stored in the
buffer memory 33 is defined by theheader scanning controller 34 to be in a used state when the data portion thereof has been completely read, and to be in an unused state when otherwise. Theheader scanning controller 34 enables thereading pointer recorder 35 to adjust the four reading pointers to point the next audio sector, next video sector, next sub-picture sector, or next navigation sector in thebuffer memory 33 that is in the unused state when the bitstream type indicated by the header portion of said one of the sectors being read from thebuffer memory 33 does not correspond to that of the current bitstream request. - Referring to
FIG. 5 , there is shown a flow chart to illustrate how theheader scanning controller 34 controls thedecoding unit 32 in the opticaldisc player system 3 of the preferred embodiment to read the bitstream data from thebuffer memory 33. Instep 41, theheader scanning controller 34 determines whether one of thedecoders header scanning controller 34 detects that theaudio decoder 321 sends out the bitstream request for decoding audio data. Instep 42, theheader scanning controller 34 reads one of the sectors stored in thebuffer memory 33 according to a reading pointer that is associated with said one of thedecoders audio decoder 322A). Instep 43, theheader scanning controller 34 determines whether a portion of said one of the sectors being read from thebuffer memory 33 is the header portion. Instep 45, when the portion of said one of the sectors is the header portion, theheader scanning controller 34 determines whether the header portion of said one of the sectors that is being read from thebuffer memory 33 indicates a bitstream type corresponding to that of the bitstream request. Instep 46, theheader scanning controller 34 transfers the data portion of said one of the sectors that is being read from thebuffer memory 33 to said one of thedecoders audio decoder 322A) upon determining instep 45 that the bitstream type indicated by the header portion of said one of the sectors corresponds to that of the bitstream request, and enables thereading pointer recorder 35 to adjust the reading pointer to point to a next one of the sectors stored in thebuffer memory 33 after reading of said one of the sectors has been completed. It is noted that, in this case, thereading pointer recorder 35 adjusts the reading pointer to point to the next one of the sectors stored in thebuffer memory 33 that is in the unused state. Furthermore, when it is determined instep 43 that the portion of said one of the sectors being read from thebuffer memory 33 is not the header portion, the flow proceeds to step 46. Instep 47, theheader scanning controller 34 determines whether the data portion of said one of the sectors that is being read from thebuffer memory 33 has been read completely. When the data portion of said one of the sectors that is being read from thebuffer memory 33 has yet to be read completely, the flow proceeds back to step 41. Instep 48, theheader scanning controller 34 defines said one of the sectors to be in the used state when the data portion of said one of the sectors that is being read from thebuffer memory 33 has been read completely, and the flow proceeds back to step 41. Instep 49, theheader scanning controller 34 enables thereading pointer recorder 35 to adjust the reading pointer associated with said one of thedecoders audio decoder 322A) that sends out the bitstream request to point to the next one of the sectors stored in thebuffer memory 33, and reads the header portion of the next one of the sectors when the bitstream type indicated by the header portion of said one of the sectors being read from thebuffer memory 13 is determined instep 45 as not corresponding to that of the bitstream request. The flow then proceeds back to step 45. It is noted that, in this case, thereading pointer recorder 35 adjusts the reading pointer to point to the next one of the sectors stored in thebuffer memory 33 that is in the unused state. Instep 44, when none of thedecoders header scanning controller 34 determines whether decoding of thedecoding unit 32 ends. If no, the flow proceeds back to step 41. - Accordingly, in the optical
disc player system 3 of the present invention, theheader scanning controller 34 can control thedecoding unit 32 to read encoded bitstream data from thebuffer memory 33 through thememory interface 36 such that thebuffer memory 33 has a relatively low memory bandwidth requirement, thereby resulting in relatively low costs and power consumption. An object of the invention is thus met. -
FIG. 6 is a schematic circuit block diagram of an opticaldisc player system 6 according to another embodiment of the present invention. The opticaldisc player system 6 includes thedisc reading module 31 mentioned above. The opticaldisc player system 6 further includes achannel decoder 60 for generating encoded bitstream data S2 according to an optical disc readout signal S1 generated by thedisc reading module 31. In this embodiment, thechannel decoder 60 is acomposite module 60 including the following components (not shown): a DVD/CD digital signal processor (DSP) for decoding the optical disc readout signal S1; a DVD/CD servo controller for performing servo control while the optical disc player system 4 accessing the optical disc; and a DVD/CD error correction code (ECC) decoder for performing ECC correction to generate the encoded bitstream data S2. - As shown in
FIG. 6 , the opticaldisc player system 6 further includes abuffer memory 63 for storing the encoded bitstream data S2. The encoded bitstream data is divided into a plurality of sectors, each of which includes a data portion, and a header portion for indicating a bitstream type of the data portion. Wherein, the header portion includes a sector ID, a pack header and a packet header. The opticaldisc player system 6 further includes: amemory interface 66; aheader scanning controller 64 coupled to thebuffer memory 63 via thememory interface 66 for scanning the header portion and accessing the encoded bitstream data stored in thebuffer memory 63; and abitstream demultiplexer 65 coupled to theheader scanning controller 64 for rearranging the encoded bitstream data stored in thebuffer memory 63 according to the bitstream type for continuously storing sectors corresponding to the same bitstream type in the same region within thebuffer memory 63. - Please note, the
header scanning controller 64 of this embodiment is a simplified variation of theheader scanning controller 34 shown inFIG. 4 since theheader scanning controller 64 does not need an additional component such as thereading pointer recorder 35 shown inFIG. 4 while thebitstream demultiplexer 65 is rearranging the encoded bitstream data stored in thebuffer memory 63. As theheader scanning controller 64 is capable of scanning the header portion to determine the bitstream type of the corresponding data portion, thebitstream demultiplexer 65 does not need to read a data portion of an unwanted bitstream type. Thebitstream demultiplexer 65 simply reads data of a specific bitstream type and continuously store the data of the specific bitstream type in a specific region within thebuffer memory 63. As a result, the memory bandwidth between thebitstream demultiplexer 65 and thebuffer memory 63 is saved. - The optical
disc player system 6 further includes adecoding unit 62 coupled to thebuffer memory 63. In this embodiment, thedecoding unit 62 is aMPEG decoding unit 62 including anaudio decoder 62A for decoding audio data, avideo decoder 62B for decoding video data, asub-picture decoder 62C, and anavigation decoder 62D. Each of thedecoders buffer memory 63 by direct memory access (DMA). Please note, thechannel decoder 60, thedecoding unit 62, thebitstream demultiplexer 65, and theheader scanning controller 64 are integrated into asingle chip 602. -
FIG. 7 is a schematic circuit block diagram of an opticaldisc player system 7 according to another embodiment of the present invention. The embodiment shown inFIG. 7 is similar to the embodiment shown inFIG. 6 with exceptions described as follows. As shown inFIG. 7 , theheader scanning controller 74 of this embodiment is a Central Processing Unit (CPU) 74 executing a specific program code 74 c, and thechannel decoder 60, thedecoding unit 62, and thebitstream demultiplexer 75 are integrated into asingle chip 702. - While the present invention has been described in connection with what is considered the most practical and preferred embodiment, it is understood that this invention is not limited to the disclosed embodiments but is intended to cover various arrangements included within the spirit and scope of the broadest interpretation so as to encompass all such modifications and equivalent arrangements.
- Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Claims (7)
1. A data processing apparatus for decoding a bitstream, comprising:
a channel decoder for generating an encoded bitstream data from a received channel data and storing the encoded bitstream data to a buffer, wherein the encoded bitstream contains a plurality types of sectors;
a demultiplexer for rearranging the stored encoded bitstream data according to the plurality of types and storing sectors corresponding to the same bitstream type in respective regions in the buffer; and
a plurality of decoders for decoding the sectors corresponding to the bitstream types, the decoders retrieving the rearranged data from the buffer according to corresponding one of the plurality of types.
2. The data processing apparatus as claimed in claim 1 , wherein the data processing apparatus is a integrated single chip.
3. The data processing apparatus as claimed in claim 1 , wherein the decoders retrieving the rearranged data from the buffer by direct memory access (DMA).
4. The data processing apparatus as claimed in claim 1 , wherein the channel decoder corrects error of the received channel data so as to generate the encoded bitstream data.
5. A method for decoding a bitstream, comprising the following steps:
(a) generating an encoded bitstream data from a received channel data and storing the encoded bitstream data to a buffer, wherein the encoded bitstream contains a plurality types of sectors;
(b) rearranging the stored encoded bitstream data according to the plurality of types and storing sectors corresponding to the same bitstream type in respective regions in the buffer;
(c) retrieving the rearranged data from the buffer according to corresponding one of the plurality of types; and
(d) decoding the sectors corresponding to the bitstream types by a plurality of decoders.
6. The method as claimed in claim 5 , wherein the step (c) further comprises: retrieving the rearranged data from the buffer by direct memory access (DMA).
7. The method as claimed in claim 5 , wherein the step (a) further comprises: generating the encoded bitstream data by correcting error of the received channel data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/562,333 US20120301118A1 (en) | 2002-03-01 | 2012-07-31 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
Applications Claiming Priority (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW091103814A TW591611B (en) | 2002-03-01 | 2002-03-01 | Method to control the integrated decoding unit to read the data in the merged memory device |
TW091103814 | 2002-03-01 | ||
US10/376,443 US20030165330A1 (en) | 2002-03-01 | 2003-02-28 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
US11/279,253 US7555201B2 (en) | 2002-03-01 | 2006-04-11 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
US12/471,408 US8254765B2 (en) | 2002-03-01 | 2009-05-25 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
US13/562,333 US20120301118A1 (en) | 2002-03-01 | 2012-07-31 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/471,408 Continuation US8254765B2 (en) | 2002-03-01 | 2009-05-25 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
Publications (1)
Publication Number | Publication Date |
---|---|
US20120301118A1 true US20120301118A1 (en) | 2012-11-29 |
Family
ID=27802794
Family Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/376,443 Abandoned US20030165330A1 (en) | 2002-03-01 | 2003-02-28 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
US11/279,253 Expired - Lifetime US7555201B2 (en) | 2002-03-01 | 2006-04-11 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
US12/471,408 Expired - Fee Related US8254765B2 (en) | 2002-03-01 | 2009-05-25 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
US13/562,333 Abandoned US20120301118A1 (en) | 2002-03-01 | 2012-07-31 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
Family Applications Before (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/376,443 Abandoned US20030165330A1 (en) | 2002-03-01 | 2003-02-28 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
US11/279,253 Expired - Lifetime US7555201B2 (en) | 2002-03-01 | 2006-04-11 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
US12/471,408 Expired - Fee Related US8254765B2 (en) | 2002-03-01 | 2009-05-25 | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory |
Country Status (2)
Country | Link |
---|---|
US (4) | US20030165330A1 (en) |
TW (1) | TW591611B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110090309A1 (en) * | 2009-10-16 | 2011-04-21 | Sony Corporation | Image processing apparatus and image processing method |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8731378B2 (en) * | 2003-06-30 | 2014-05-20 | Broadcom Corporation | System, method, and apparatus for playing back a plurality of video elementary streams with one playback channel |
JP2005346838A (en) * | 2004-06-03 | 2005-12-15 | Matsushita Electric Ind Co Ltd | Information reproducing method |
TWI287790B (en) * | 2005-06-23 | 2007-10-01 | Sunplus Technology Co Ltd | Buffer management device, record and reproduction device and management method for buffer memory |
US20110054917A1 (en) * | 2009-08-28 | 2011-03-03 | Electronics And Telecommunications Research Institute | Apparatus and method for structuring bitstream for object-based audio service, and apparatus for encoding the bitstream |
EP2580912B1 (en) | 2010-07-09 | 2017-01-25 | Samsung Electronics Co., Ltd | Method for decoding video by using block merging |
CN104067309A (en) * | 2011-12-28 | 2014-09-24 | 英特尔公司 | Pipelined image processing sequencer |
TWI530169B (en) * | 2013-08-23 | 2016-04-11 | 晨星半導體股份有限公司 | Method of processing video/audio data and module thereof |
CN105103446B (en) * | 2014-03-12 | 2017-11-24 | 华为技术有限公司 | A kind of signal processing apparatus |
US20170063471A1 (en) * | 2015-08-28 | 2017-03-02 | Red Sunrise Co., Ltd. | Audio signal transmission system with enhanced audio signal recognition and data processing method for the same |
EP3148103B1 (en) * | 2015-09-28 | 2022-04-20 | Nxp B.V. | Audio data processing |
US10489159B2 (en) | 2016-12-21 | 2019-11-26 | Microsoft Technology Licensing, Llc | Pipelined decompression of sliding window compressed data |
US10483981B2 (en) | 2016-12-30 | 2019-11-19 | Microsoft Technology Licensing, Llc | Highspeed/low power symbol compare |
US10691361B2 (en) * | 2017-02-24 | 2020-06-23 | Microsoft Technology Licensing, Llc | Multi-format pipelined hardware decompressor |
CN107240408B (en) * | 2017-05-11 | 2019-05-10 | 中国科学院信息工程研究所 | A read-write control system for CD-ROM media |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5663962A (en) * | 1994-09-29 | 1997-09-02 | Cselt- Centro Studi E Laboratori Telecomunicazioni S.P.A. | Method of multiplexing streams of audio-visual signals coded according to standard MPEG1 |
US6463209B2 (en) * | 1997-02-18 | 2002-10-08 | Thomson Licensing Sa | Controlled data flow |
US6647202B1 (en) * | 1998-07-30 | 2003-11-11 | Matsushita Electric Industrial Co., Ltd. | Video signal reproducing apparatus capable of reproducing bitstreams and video signal reproducing method |
US7460629B2 (en) * | 2001-06-29 | 2008-12-02 | Agere Systems Inc. | Method and apparatus for frame-based buffer control in a communication system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1066085A (en) * | 1996-08-14 | 1998-03-06 | Sony Corp | Image processing unit, image processing method and recording medium |
DE69830784T2 (en) * | 1997-08-26 | 2006-05-18 | Koninklijke Philips Electronics N.V. | SYSTEM FOR THE TRANSFER OF CONTENT INFORMATION AND ADDITIONAL INFORMATION RELATING TO IT |
KR100272493B1 (en) | 1997-08-30 | 2000-11-15 | 윤종용 | Apparatus of processing data for digital video disk and compact disk |
KR100511250B1 (en) * | 1998-04-09 | 2005-11-03 | 엘지전자 주식회사 | Digital Audio / Video (A / V) Systems |
US6466736B1 (en) | 1998-12-31 | 2002-10-15 | Oak Technology, Inc. | Integrated DVD/CD controller |
-
2002
- 2002-03-01 TW TW091103814A patent/TW591611B/en not_active IP Right Cessation
-
2003
- 2003-02-28 US US10/376,443 patent/US20030165330A1/en not_active Abandoned
-
2006
- 2006-04-11 US US11/279,253 patent/US7555201B2/en not_active Expired - Lifetime
-
2009
- 2009-05-25 US US12/471,408 patent/US8254765B2/en not_active Expired - Fee Related
-
2012
- 2012-07-31 US US13/562,333 patent/US20120301118A1/en not_active Abandoned
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5663962A (en) * | 1994-09-29 | 1997-09-02 | Cselt- Centro Studi E Laboratori Telecomunicazioni S.P.A. | Method of multiplexing streams of audio-visual signals coded according to standard MPEG1 |
US6463209B2 (en) * | 1997-02-18 | 2002-10-08 | Thomson Licensing Sa | Controlled data flow |
US6647202B1 (en) * | 1998-07-30 | 2003-11-11 | Matsushita Electric Industrial Co., Ltd. | Video signal reproducing apparatus capable of reproducing bitstreams and video signal reproducing method |
US7460629B2 (en) * | 2001-06-29 | 2008-12-02 | Agere Systems Inc. | Method and apparatus for frame-based buffer control in a communication system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110090309A1 (en) * | 2009-10-16 | 2011-04-21 | Sony Corporation | Image processing apparatus and image processing method |
US8810628B2 (en) * | 2009-10-16 | 2014-08-19 | Sony Corporation | Image processing apparatus and image processing method |
Also Published As
Publication number | Publication date |
---|---|
TW591611B (en) | 2004-06-11 |
US8254765B2 (en) | 2012-08-28 |
US20090232482A1 (en) | 2009-09-17 |
US20030165330A1 (en) | 2003-09-04 |
US20060165390A1 (en) | 2006-07-27 |
US7555201B2 (en) | 2009-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8254765B2 (en) | Optical disc player system and method of controlling a decoding unit in the optical disc player system to read encoded bitstream data from a buffer memory | |
CN1147151C (en) | Playback method and apparatus for reproducing encoded data in reverse playback operation | |
US7738325B2 (en) | Reading and writing methods and apparatus for Blu-Rays discs | |
US7889864B2 (en) | Data processing system and method | |
WO2001020457A1 (en) | Method and apparatus for controlling multi-channel bitstreams | |
JP2001346205A (en) | Method for concealing signal error | |
KR100235438B1 (en) | Compensation method and device for reproducing audio signal in optical disc | |
KR100233722B1 (en) | Apparatus for testing a digital signal process part of digital video disk player | |
US7471880B2 (en) | DVD-ROM controller and MPEG decoder with shared memory controller | |
US6847687B2 (en) | Audio and video processing apparatus | |
CN101163243B (en) | stream data reproduction system | |
JPH06124168A (en) | Data decoder | |
US7423559B2 (en) | Reproduction apparatus | |
KR100257196B1 (en) | Data decoding device for digital video disk-ROM | |
US20080091438A1 (en) | Audio signal decoder and resource access control method | |
JP2008135133A (en) | Bit stream reproducing device | |
KR100216026B1 (en) | Decoding device for digital video disc system | |
US6636463B2 (en) | Method and apparatus for compensating data in reproducing optical disk | |
KR0135483B1 (en) | Cd-rom drive circuit | |
KR100503459B1 (en) | A/V program recording/reproducing apparatus having a function of delecting error file automatically and a method delecting error file | |
JP2007300371A (en) | Recorder-reproducer, recording and reproducing method, and recording and reproducing program | |
JP2006236534A (en) | Information recording and reproducing method and device | |
KR20040096333A (en) | method for recycling optical recode | |
JPH11250566A (en) | Method and device for controlling data stream buffering | |
JPH10173539A (en) | Decoding and reproducing device for digitally compressed data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: MEDIATEK INC., TAIWAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:JU, SHANG-TZU;REEL/FRAME:028680/0341 Effective date: 20040623 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |
|
AS | Assignment |
Owner name: XUESHAN TECHNOLOGIES INC., CANADA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MEDIATEK INC.;REEL/FRAME:055443/0818 Effective date: 20201223 |