GB2329802A - Bus access priority control in MPEG processor - Google Patents

Bus access priority control in MPEG processor Download PDF

Info

Publication number
GB2329802A
GB2329802A GB9720236A GB9720236A GB2329802A GB 2329802 A GB2329802 A GB 2329802A GB 9720236 A GB9720236 A GB 9720236A GB 9720236 A GB9720236 A GB 9720236A GB 2329802 A GB2329802 A GB 2329802A
Authority
GB
United Kingdom
Prior art keywords
video
audio
data
mpeg
processor
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.)
Granted
Application number
GB9720236A
Other versions
GB2329802B (en
GB9720236D0 (en
Inventor
Wen-Yi Wu
Jyh-Shin Pan
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
United Microelectronics Corp
Original Assignee
United Microelectronics Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Priority claimed from TW086109102A external-priority patent/TW338132B/en
Application filed by United Microelectronics Corp filed Critical United Microelectronics Corp
Priority to GB9720236A priority Critical patent/GB2329802B/en
Priority to FR9712551A priority patent/FR2765439B1/en
Priority to JP27781397A priority patent/JPH1132332A/en
Priority to DE1997147864 priority patent/DE19747864B4/en
Publication of GB9720236D0 publication Critical patent/GB9720236D0/en
Publication of GB2329802A publication Critical patent/GB2329802A/en
Application granted granted Critical
Publication of GB2329802B publication Critical patent/GB2329802B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Abstract

An adaptive-selection method for memory access priority control in MPEG processor. The processor has functional modules that include an input interface, a CPU, an audio decoder, a video decoder, an audio processor, a video processor and a memory controller. Each of the modules gains control over the data bus via arbitration by the memory controller for accessing the memory. The access priority of the CPU to the data bus is maintained at a relatively lower level except when the CPU needs to perform parsing 330 on the MPEG compressed data and implementing the initial decoding 320 of the audio compressed data. The use of data bus bandwidth is therefore balanced among all the system resources thereby increasing the overall system performance.

Description

ADAPTIVE-SELECTION METHOD FOR MEMORY ACCESS PRIORITY CONTROL IN MPEG PROCESSOR This invention relates in general to the memory access priority control in MPEG (Motion Picture Experts Group) circuitry, and in particular to an adaptiveselection method for memory access priority control in an MPEG processor.
More particularly, this invention relates to an adaptive-selection method for dynamic control of memory access priority in an MPEG processor for improving decompression performance by reducing unnecessary takeover of the system resource.
Description of the Related Art As a result of advancements in fields including the digital signal processing technology, material science, as well as laser engineering, storage and retrieval of audio and video signals in digital format have become the selection of nature for high-fidelity sound and motion picture reproduction industry. In the broadcast of entertainment programs, there has been the similar trend of change toward digital format and away from the aging analog format that laid its technological basis several decades ago.
Due to the huge installation base of analog receiver equipment at the consumer end such as television sets' and'radio receivers, other than the last segment of signal transmission to the subscriber end is still implemented in the analog scheme, there has been the ever popular use of digital format when the program signal is manipulated or processed, either in the process of storage/retrieval or transmission. For example, satellites broadcast digital signals to ground stations, which then convert and relays the program signal in analog to the subscribers' houses via the cable network. There has even been several proposed standards for all-digital broadcast systems such as those incorporated with the widely expected High-Definition TV (HDTV). The above-mentioned trend of switching away from the analog toward the digital processing scheme is because, based on what are currently available, the technology of digital storage and retrieval for audio and video signals, better than its analog counterpart, provides much better results. Digital processing provides virtually the only means for superior quality of sound and video reproduction in the cost-effective manner that human physical perception capabilities of both hearing and vision can demand.
Among the various digital signal compressionldecompression schemes, MPEG standard, either MPEG-I or MPEG-ll, emerges as one of the most promising and widely-accepted in the multimedia industry. At the signal decompression, namely, the reproduction end, like many others, the MPEG scheme relies on the use of digital signal processing (DSP) circuit elements to implement data retrieval for the playback of programs from a source that supplies signals containing compressed audio and video data. The source of compressed data for the MPEG processor circuitry in a playback device may be, for example, the latest members in the popular Compact Disc (CD) family of data storage formats that include the Video CD (VCD) or the Digital Video Disc (DVD). Or, the MPEG processor circuitry may also receive its compressed data signal source from a digital broadcast station.
To implement the audio and video signal reproduction utilizing compressed data fetched from signal sources in a multimedia application that employs the MPEG standard, dedicated digital electronic hardware circuitry known as MPEG processors must be used. These MPEG processors may be constructed utilizing digital circuitry elements built around digital signal processors and microprocessors that execute a firmware scheme for the implementation of the MPEG decompression operation. Memory resources are also used in the process of implementing the MPEG decompression. In fact, MPEG processors rely heavily on the use of memory subsystem as the multimedia data is being decompressed for program playback.
However, conventional hardware modules in the digital electronic circuitry that implements the MPEG standard of audio and video signal decompression employ a fixed memory access priority in a small and selfsustained firmware system. In such conventional MPEG systems, utilization of system resources can not be optimized to take full advantage of the supported bandwidth of the data bus that links the CPU, the DSP (digital signal processor), the memory and the supporting logic circuitry of the system together. As is familiar to persons skilled in the art of digital processing, unbalanced use of resources in a digital system can be translated directly into the waste of overall system power. Increase of the performance capabilities of many of the constituent parts in the system will be necessary. Such performance increase is necessary in order to achieve the same level of system processing capability as that which has well balanced use of resources. In other words, an MPEG system conducting unbalanced usage of resources (including the bus bandwidth) among all the constituent modules would require the use of either more powerful CPU, DSP, or other circuitry when compared to the one that has weil-balanced system resource utilization.
In particular, in the case of MPEG decompression operation, if the memory access priority is fixed among all the functional modules in the MPEG processor, there would be the phenomenal wastes of memory bus bandwidth as the CPU is trapped in an endless scanning firmware loop. On the other hand, whenever any module in the MPEG processor requires to access resources over the system bus, it is frequently the situation that the bus is occupied. In this case, the requesting module has to be put to waiting status. The result is that the system spends considerable time for the controlling CPU to execute its polling, while the DSP section of the system jams along the way trying to gain access to the bus for accessing data in the memory subsystem.
SUMMARY OF THE INVENTION It is therefore an object of the invention to provide an adaptive-selection method for memory access priority control in MPEG processor for achieving more balanced utilization of memory bus bandwidth.
It is another object of the invention to provide an adaptive-selection method for memory access priority control in MPEG processor that achieves more balanced utilization of memory bus bandwidth for improving overall MPEG decompression performance rating.
It is yet another object of the invention to provide an adaptive-selection method for memory access priority control in MPEG processor that achieves more balanced utilization of memory bus bandwidth by dynamic priority adjustment of access rights to the system bus for improving overall MPEG decompression performance rating.
The present invention achieves the above-identified objects by providing an adaptive-selection method for memory access priority control in MPEG processor. The processor has functional modules that include a CPU for parsing the audio compressed data and the video compressed data from he MPEG compressed data, and a memory controller is used to arbitrate the access priority of each of the modules over the data bus via for accessing the memory. The access priority of the CPU to the data bus is maintained at a relatively lower level except when the CPU needs to perform parsing on the MPEG compressed data and implementing the initial decoding of the audio compressed data. The use of data bus bandwidth is therefore balanced among all the system resources thereby increasing the overall system performance.
BRIEF DESCRIPTION OF THE DRAWINGS Other objects, features and advantages of the invention will become apparent by way of the presentation of the following detailed description of the preferred but non-limiting embodiments. The description is made with reference to the accompanying drawings in which: FIG. 1 is a block diagram showing the internal configuration of an MPEG processor; FIG. 2 is a flow chart showing the firmware routine of a conventional MPEG processor used for controlling the implementation of the decompression operation in a fixed priority scheme; and FIG. 3 is a flow chart showing the firmware routine in accordance with the preferred embodiment of the present invention for an MPEG processor used for controlling the implementation of the decompression operation in an adaptiveselect priority scheme.
DESCRIPTION OF THE PREFERRED EMBODIMENT Refer to FIG. 1, a block diagram is shown depicting the internal configuration of a typical MPEG processor. Hardware circuitry structural configuration and general operation of such an MPEG processor is examined for the purpose of the description of the invention.
As is illustrated in the block diagram, an MPEG processor, generally designated by the reference numeral 100, has a number of functional modules inter-linked together by a data bus and a network of several control signal lines.
The MPEG processor 100 receives input compressed data complying to the MPEG compression standard at one end, and produces decompressed audio and video program signals at the other after processing.
In the illustrated example, the MPEG processor 100 receives a string of compressed data from a CD compatible device, which may be a VCD or a DVD, and generates PCM signal as audio output, and NTSC signal as video output. As is well known, input to the MPEG processor 100 may also come from a multimedia signal source such as a broadcast station transmitting digital signals complying to the MPEG standard. On the other hand, the video output signal as generated by the MPEG processor 100 may be a PAL signal or may also be in the form of, for example, the standard VGA format popular in the personal computer industry. This video output signal can then be relayed to appropriate circuitry for further processing and display.
In the hardware configuration of FIG. 1, the MPEG processor 100 operates to decompress its received MPEG data in cooperation with a memory system, generally identified by the reference numeral 400 in the drawing. In this described example, the memory blocks in the memory system 400 necessary for the implementation of MPEG decompression scheme is physically independent from the MPEG processor 100. The MPEG processor 100 accesses the memory 400 via the data bus connecting between the two. As persons skilled in the art should all be well aware, this use of memory block arrangement physically external to the MPEG processor is not absolutely necessary. The inclusion of working memory blocks internal to the MPEG processor is also possible. In the case of the illustrated example of FIG. 1, in one particular situation, the MPEG processor 100 can be one incorporated in the VCD (or DVD) drive subsystem installed to the expansion bus of a personal computer system. This specific arrangement may take a designated memory segment of the addressable memory space in the host computer system as the working memory area The MPEG processor 100 as illustrated in FIG. 1 has a CD interface module 110 that is used as the interface between the processor itself and the MPEG compressed signal source. This signal source can be a CD compatible device of either VCD or DVD, as in this described example. Under normal situations, the CD interface 110 receives data signals prepared in the MPEG compressed format that is transmitted in serial. This is because standard CDcompatible drives, like many other magnetic media-based drives, access data stored on the surface of the storage media thereof in a stream of single bits.
Though not shown in the drawing, the CD interface 110 may thus include serialto-parallel conversion circuitry that converts the received serial data into parallel for subsequent processing in the processor internal circuitry as per the specification of the MPEG standard. The input data thus processed is then buffered in a FIFO (first-in first-out) 112 and can then be cranked out to the subsequent circuitry module in the processor 100 for further processing.
The CD interface 110 is linked to the rest of the circuitry of the MPEG processor 100 via a data bus MEM BUS. Essentially, in the depicted example, the memory system 400 that serves as the working memory for the processor reside on the data bus MEM~BUS, as is seen in the drawing. The major functional circuitry modules of the MPEG processor 100 also reside on this data bus so as to be able to access the system memory 400 as they operate. The bidirectional indication of the bus segments leading in and out of the functional modules in the drawing schematically points out the fact that data are transmitted bi-directionally, as the need arises.
The functional modules in the MPEG processor 100, other than the CD interface 110 that provides an input interface to the system, include a CPU 120, an MPEG audio decoder 130, a PCM processor 132, an MPEG video decoder 140, a video processor 142, and a memory controller 150. As mentioned, these modules reside on the data bus MEM~BUS, allowing to access the system memory 400 as the MPEG processor 100 operates to generate audio and video outputs from the MPEG data received over the external source via the CD interface 110 The CPU 120 may be a microprocessor or rnicrocontroller that executes a firmware routine for coordinating the operation of the functional modules in the MPEG processor 100 in the process of MPEG data decompression. Once the routine is started, the CPU 120 coordinates all the functional modules in a preprogrammed priority scheme that allows each of the modules to access the memory resource when required under control of the memory controller 150.
When the memory controller 150 grants the right of access to the memory resource 400 via the data bus MEM~BUS based on the prioritized scheme to any module, the module, namely any selected one among the CD interface 110, the MPEG audio decoder 130, the PCM processor 132, the MPEG video decoder 140, the video processor 142 and the CPU 120, is then allowed to access the memory resource 400 independently.
As persons skilled in the art should all be famiLiar with, multiple devices residing on a common data bus is allowed to access the shared target memory resource one at a time. This is a process of competition over the access right to the data bus MEM~BUS conducted under the set scheme of priority determination. In the conventional MPEG processors, this scheme Is a fixed method. Such prior-art priority scheme requires the controlling element, the memory controller 150 in the case of the discussed hardware configuration of FIG. 1, to monitor the requesting status of all the functional modules, and grants the access right to the data bus for memory access based on the priority method embedded in the firmware routine.
In the case of the depicted hardware configuration example of FIG. 1, the functional modules in the MPEG processor 100 are coordinated under arbitration by the memory controller 150 to gain access over the data bus MEM~BUS in an orderly manner. It should be pointed out that each of the functional modules in the MPEG processor 100, except being tied to the memory resource 400 via the data bus MEM~BUS, is also equipped with additional handshaking control signal lines connected to the memory controller 150. These control lines facilitate the control of each of the modules' access operation to the memory resource.
And, the CPU 120 in the MPEG processor 100 is also responsible for the parsing of the MPEG compressed data into the audio, video and other supporting data segments constituting the compressed data complying to the MPEG standard. In the depicted hardware example of FIG. 1, the CD interface 110, as described above, receives the serial bit stream of compressed data from the external source, and then stores the received MPEG-compressed data in the CD FIFO 422 of the memory resource 400. As described, this process requires the coordination by the memory controller 150. Then, under control of the firmware routine, the CPU 120 also implements parsing on the data retrieved from the CD FIFO 422, and then stores the generated audio and video compressed signals in the audio buffer 412 and the video buffer 414 respectively.
On the other end, the MPEG audio decoder 130 and the MPEG video decoder 140 substantially play the role of audio and video DSP that actually crunch their respective data for decoding to obtain the corresponding audio and video data in the uncompressed format. As is well known, these operations involves the use of decoding algorithms For example, when the MPEG video decoder 140 requests to access the memory resource 400, it flags the requesting signal over the VD~MEM control lines to the memory controller 150. The memory controller 150, upon receiving the request, arbitrates based on the predetermined memory access priority scheme, and if the arbitration result as achieved by the memory controller 150 is to grant the access to the data bus MEM BUS, MPEG video decoder 140 may then initiate its memory access in the memory resource 400 via the data bus MEM~BUS. The MPEG video decoder 140 may then, for example, retrieve the data stored in the designated location, the video buffer 414 in the memory resource 400, for performing the processing of the compressed video data which were previously parsed and written in video buffer 414 by the CPU 120. On the other hand, the MPEG video decoder 140 may, for example, also store its generated data to the designated location, the frame buffer 432 in the memory resource 400. And, this data stored in frame buffer 432 may later be retrieved by the video processor 142 in a similar manner involving the arbitration of the memory controller 150. The video processor 142 may then output its generated result as the video output, an NTSC signal in the case of FIG. 1. As is well known, the video processor 142 may then output a PAL signal in another case.
Thus, in the MPEG processor 100 having the hardware configuration outlined in FIG. 1, the CPU 120 is required to perform the parsing of the MPEG compressed data and the initial audio and video decoding in an efficient manner.
In other words, the CPU 120 must be assigned high priority of access right over the data bus to conclude such parsing and initial decoding as fast as possible. As mentioned above, prior art MPEG processors facilitate this operation in a fixed priority scheme. In such fixed priority methods, once the CPU 120 is engaged in the steps of the program loop, all the functional modules in the MPEG processor 100 are not allowed to perform their respective function call operations. This fixed priority scheme suffers at least one major drawback. Namely, CPU 120 itself also consumes bandwidth of the data bus MEM~BUS as it performs its routine and access the memory resource 400. Therefore, there is frequently the case that the CPU 120 is trapped temporarily in the program loop scanning to see if any functional module in the MPEG processor 100 requests for access to the data bus MEM BUS. During this trapped period, all the functional modules are not allowed to perform their respective functionality as the data bus MEM BUS has been locked up by the CPU 120. Thus, the situation frequently ends up that the MPEG processor 100 spends more time in looping than actually performing the MPEG data decompression. The overall performance of these prior art MPEG processors employing fixed priority scheme are therefore quite inefficient.
For example, due to the fact that CD drives (including VCD and DVD, the latest members developed out of the very original CD family) outputs data in serial format, it is very likely that an empty CD FIFO 422 in the memory resource 400 constitutes the bottleneck of the internal operations in the entire MPEG processor 100. A bottleneck is formed in such a situations since the fixed priority method adopted by these prior-art MPEG processors does not have the flexibility of allowing other functional modules that really needs to access the data bus MEM~BUS for performing its function. They will have to rotate in the endless cycle as all the functional modules in the MPEG processor are equally assigned the same priority. This requires that each of them be rotated in a loop, and each has to follow the same sequence of steps before can get attended.
FIG. 2 shows a flow chart that outlines the firmware routine of a conventional MPEG processor operating in an endless loop. This prior-art routine is based on a fixed priority method and is used for controlling the implementation of the decompression operation performed over MPEG compressed data received externally. As is illustrated in FIG. 2, this prior-art firmware routine executed by the CPU 120 in the hardware configuration of FIG.
1 is a continuous loop that cycles from step 220 once started at step 200.
Specifically, when the routine starts at step 200, the MPEG processor 100 sets up the initial conditions for the priority scheme for all the functions to be performed by the processor in the process of implementing MPEG decompression.
In the prior-art endless routine of FIG. 2, all the functional modules in the MPEG processor 100, including CD interface 112, MPEG audio decoder 130, PCM processor 132, MPEG video decoder 140, video processor 142 and CPU 120, are all arbitrated by the memory controller 150 when the need to access the data bus MEM~BUS arises. Since the memory access priority has been set in step 210, and no further step alters this priority, all the basic functionality of either the compressed data parsing, as well as the audio data and the video data decoding, are allowed to enjoy the same and un-altered priority level.
In FIG. 2, the cycling routine first checks to see ifthe audio decoding functionality is necessary at step 220. For this decision-making step, CPU 120 determines whether or not it is necessary to perform audio decoding. The routine jumps to step 222, where the endless routine branches out of the loop temporarily to perform a function call by executing a subroutine, namely function call A as identified in this step block. In this called subroutine, CPU 120 decodes the data corresponding to the compressed audio data stored in the memory resource 400.
After decode, CPU 120 then outputs the decoded compressed audio data to the memory resource. This is implemented by the CPU 120 via access to the data bus MEM~BUS by the memory controller 150. After this, the program subroutine generally outlined in the program step 222 can be concluded, and program control may then be returned back to the main cycling loop. In other words, the loop transfers to step 230 for further processing.
If, on the other hand, CPU 120 decides in step 220 that it is not necessary to perform initial audio decode, the routine of FIG. 2 will then proceed to step 230.
At step 230, in a similar manner, CPU 120 determines whether or not the CD data or MPEG bit stream as extracted from the external source by the CD interface 110 of the MPEG processor 100 should be parsed. If the functionality is requested via proper flagging, CPU 120 then branches out of the main program loop again and coordinates to perform a series of operations identified as function call B outlined in the program step 232. These included CPU 120 parsing the CD data obtained via the CD interface 110 The MPEG bit stream is also subject to system level parsing. The data corresponding to the audio compressed data obtained as a result of the MPEG parsing operation is then output to the memory resource 400. The parsed video data is also decoded by the CPU 120, followed by the initial video decoding, and the result is then output to the video buffer 414 in memory 400. Then, program transfer is again returned to the main loop, and continues to proceed at step 240.
If the system decided that the program branch to function call B at step 230 is not necessary, the main cycling loop then advances to step 240. The routine decides at step 240 whether or not further MPEG decompression fimctionality generally outlined in the branched step 242 as function call C as performed by the CPU 120 is necessary. If yes, the CPU 120 coordinates to proceed the program branching accordingly and then returns to the main loop. If the result of decision is negative, the loop just maintains in the main program cycle and gets back to step 220, where the routine cycle is repeated again.
In the firmware routine of FIG. 2 for the conventional MPEG processor, the services to the function call subroutines branched out of the main cycling loop, namely operations outlined in steps 222, 232 and 242, are arranged in the fixed scheme of attendance. As mentioned above, there is considerable time wasted in cycling through the main program loop as function calls A, B and C would have to be cycled several times before the service modules of any of them can actually be executed.
An embodiment of the invention as demonstrated in the flow chart of FIG.
3 has a dynamic service priority assignment scheme to improve the effective service duty cycle of the MPEG processor firmware routine, thereby promoting the overall MPEG decompression efficiency. As is illustrated in FIG. 3, the flow chart shows the firmware routine in accordance with the preferred embodiment of the present invention for an MPEG processor. This routine is used for controlling the implementation of a decompression performed over the compressed data complying to the MPEG standard.
For a detailed description of the firmware routine outlined in the flow chart of FIG. 3, still consider the use of an MPEG processor 100 as illustrated in FIG. 1. As is illustrated, this exemplified firmware routine executed by the CPU 120 in the hardware configuration of FIG. 1 is also built around a continuous program loop that cycles from step 320 once started at step 300. Specifically, when the routine starts at step 300, the MPEG processor 100 establishes the initial conditions for the priority scheme of memory access for all the functions to be performed in the processor in the process of implementing the MPEG decompression. Note, however, that this set of priority condition is only the initial setting, parameters of which will be dynamically adjusted as the operation of the MPEG processor 100 performs its tasks.
As seen in FIG. 3, the cycling main routine first checks to see if the audio decoding functionality is necessary at step 320. For this decision-making step, if the CPU 120 determines that there is the need to implement the initial audio decoding, the firmware routine jumps to step 322, where the access priority of the CPU 120 to the data bus MEM BUS is raised. The priority raise is with respect to the original level as set up in step 3 10 when the routine was initially started. Then, the routine proceeds to step 324, where a function call identified as function call A is performed by executing a corresponding function subroutine.
Similar as in the case described above for the prior-art routine, CPU 120 decodes the data corresponding to the audio compressed data stored in the memory resource 400, and then stores the result in the memory resource 400 again. This is facilitated by CPU 120 governing the access to the data bus MEM~BUS via control by the memory controller 150. After this, the program subroutine generally outlined in the program step 324 can be concluded and program control may then be transferred to step 326, where the priority level assigned to the CPU 120 for accessing the memory resource 400 via control over the data bus MEM~BUS is lowered. At this moment, the CPU priority for requesting service via the data bus can be lowered to a level lower than the initial setting. Then, the firmware routine transfers to step 330 for subsequent MPEG decompression processing.
On the other hand, if initial audio decoding is decided by the CPU 120 at step 320 to be un-necessary, the routine of FIG. 3 will then proceed directly to step 330.
At step 330, in a manner similar to that at step 320, CPU 120 determines whether or not service to another functional subroutine is demanded. For example, step 330 determines whether or not the CD data or MPEG bit stream as extracted from the external source by the CD interface 110 of the MPEG processor 100 should be parsed. If the functionality is requested via proper flagging, the routine then proceeds to step 332 to raise the priority level for the CPU 120 to access the data bus MEM~BUS The priority raise is with respect to the original level as set up in step 310 when the routine was initially started.
Then, the routine proceeds to step 334, where a function call identified as function call B is performed by executing a corresponding function subroutine.
Again, similar as was in the case described above for the prior-art routine, dedicated functional operations required in the process of implementing the MPEG data decompression can be performed in this subroutine. For example, in this called subroutine, the operations include CPU I20 parsing the CD data obtained via the CD interface 110. The MPEG bit stream is also subject to system level parsing. The data corresponding to the audio compressed data obtained as a result of the MPEG parsing operation is then output to the memory resource 400. The video data is parsed, and then the initial video decoding performed by the CPU 120, and the obtained data is then output to the video buffer 414 in memory 400. Then, the program control is transferred to step 336, where the CPU priority for accessing the memory resource 400 over the data bus MEM BUS is lowered to normal. After this step, the routine continues at step 340.
If, however, the system decided that the program branch to service function call B at step 330 is not unnecessary, the main cycling loop then advances to step 340. The routine decides at step 340 whether or not further MPEG decompression functionality generally outlined in the branched step 342 as function call C as performed by the CPU 120 is necessary. If yes, the CPU 120 coordinates to proceed the branching accordingly and then returns to the main loop. If the decision is negative, the loop just maintains in the main program cycle and gets back to step 320, where the routine cycle is repeated again.
In the firmware routine of FIG. 3 depicting a preferred embodiment of the invention for operating the MPEG processor, the services to the function call subroutines branched out of the main cycling loop, namely operations outlined in steps 324, 334 and 342, are arranged in a dynamic scheme of attendance priority.
The CPU priority to access the memory resource 400 via the data bus MEM~BUS is only raised to a level higher than normal when necessary, and during all other time periods when it is unnecessary for the CPU 120 to take control over the data bus, its access priority is lowered then normal. As a result, this prevents the nse of the situation in which the CPU is inadvertently occupying the data bus MEM~BUS when actually it is not necessary. That is, simply because of the rotation of the priority list happens to be pointing to the CPU 120 does not imply that the data bus would be occupied useless while some other functional module is seeking to gain control In the depicted flow chart of FIG.
3, even though the main cycling loop of firmware routine is pointing to the CPU 120 when it is not necessary to have the data bus MEM~BUS access right granted, there will be no obstacle for other functional modules in the MPEG processor 100 to gain access over the memory resource 400. This is because that the CPU priority had been maintained at its relatively lower level. Thus, the overall MPEG decompression performance can be substantially improved over that of the prior art method.
While the invention has been described by way of example and in terms of preferred embodiment, it is to be understood that the invention need not be limited to the disclosed embodiments. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit of the appended claims, the scope of which should be accorded the broadest interpretation so as to encompass all such modifications and similar structures.

Claims (13)

  1. CLAIMS: 1. An adaptive-selection method for memory access priority control in MPEG processor, said processor comprising: an input interface for receiving compressed data and generating MPEG compressed data; a central processing unit for parsing audio and video compressed data from the MPEG compressed data; an audio decoder and a video decoder for decoding audio and video data from the audio and video compressed data respectively; an audio processor and a video processor for generating audio and video decompressed output signals from the audio and video data respectiveIy; and a memory controller arbitrating the access right over a data bus storing the MPEG data, audio and video compressed data, audio and video data in a memory; wherein the input interface, the central processing unit, the audio and video decoders, the audio and video processors and the memory controller are linked together over the data bus for communicating data therebetween; the adaptive-selection method is an endless routine and comprising the steps of: raising the access priority of the central processing unit to the data bus if the central processing unit needs to perform initial audio decoding, and lowering the raised access priority after the initial. decoding of the audio data; and raising the access priority of the central processing unit to the data bus if the central processing unit needs to parse the audio and video compressed data, implementing the parsing of the audio and video compressed data by the central processing unit, and lowering the raised access priority after the parsing
  2. 2. The adaptive-selection method of claim I, wherein the step of raising the access priority of the central processing unit to the data bus if the central processing unit needs to parse MPEG compressed data and then implementing the initial audio decoding further comprises: the central processing unit retrieving the MPEG compressed data stored in the memory via the data bus for parsing to generate the data corresponding to the audio compressed data and the data corresponding to the video compressed data; storing the data corresponding to the audio compressed data in the memory via the data bus; initial decoding the data corresponding to the video compressed data to obtain the video compressed data; and storing the video compressed data in the memory via the data bus.
  3. 3. The adaptive-selection method of claim 2, wherein the step of raising the access priority of the central processing unit to the data bus if the central processing unit needs to parse MPEG compressed data and then implementing the initial audio decoding further comprises: the central processing unit retrieving the data corresponding to the audio compressed data stored in the memory via the data bus for initial decoding to generate the audio compressed data; and storing the audio compressed data in the memory via the data bus.
  4. 4. The adaptive-selection method of claim 3, wherein the input interface is a CD interface for receiving MPEG compressed data generated by a Video Compact Disc.
  5. 5. The adaptive-selection method of claim 3, wherein the input interface is a CD interface for receiving MPEG compressed data generated by a Digital Video Disc.
  6. 6. The adaptive-selection method of claim 4, wherein the CD interface further comprises a serial-to-parallel converter for converting the serial compressed data generated by the Video Compact Disc into parallel data.
  7. 7 The adaptive-selection method of claim 5, wherein the CD interface further comprises a serial-to-parallel converter for converting the serial compressed data generated by the Digital Video Disc into parallel data.
  8. 8. The adaptive-selection method of claim 3 wherein the input interface is a digital broadcast receiving interface for receiving compressed data generated by a digital broadcast station.
  9. 9. The adaptive-selection method of claim 3, wherein the audio processor is a PCM processor for generating PCM output as the audio decompressed output signal.
  10. 10. The adaptive-selection method of claim 3, wherein the video processor is an NTSC processor for generating NTSC output as the video decompressed output signal.
  11. 11. The adaptive-selection method of claim 3, wherein the video processor is a PAL processor for generating PAL output as the video decompressed output signal.
  12. 12. The adaptive-selection method of claim 3, wherein the video processor is a VGA processor for generating VGA output as the video decompressed output signal.
  13. 13. A adaptive-selection method substantially as hereinbefore described with reference to and/or as illustrated in Figs. 1 and/or 3 of the accompanying drawings.
GB9720236A 1997-06-28 1997-09-23 Adaptive-selection method for memory access priority control in MPEG processor Expired - Fee Related GB2329802B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
GB9720236A GB2329802B (en) 1997-06-28 1997-09-23 Adaptive-selection method for memory access priority control in MPEG processor
FR9712551A FR2765439B1 (en) 1997-06-28 1997-10-08 ADAPTIVE SELECTION METHOD FOR MEMORY ACCESS PRIORITY CONTROL IN AN MPEG PROCESSING UNIT
JP27781397A JPH1132332A (en) 1997-06-28 1997-10-09 Adaptive selection method for memory access priority control in mpeg processor
DE1997147864 DE19747864B4 (en) 1997-06-28 1997-10-30 Adaptive section method for priority control of memory access in an MPEG processor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW086109102A TW338132B (en) 1997-06-28 1997-06-28 The adaptive selecting method for memory access priority control in MPEG processor
GB9720236A GB2329802B (en) 1997-06-28 1997-09-23 Adaptive-selection method for memory access priority control in MPEG processor

Publications (3)

Publication Number Publication Date
GB9720236D0 GB9720236D0 (en) 1997-11-26
GB2329802A true GB2329802A (en) 1999-03-31
GB2329802B GB2329802B (en) 1999-08-18

Family

ID=26312303

Family Applications (1)

Application Number Title Priority Date Filing Date
GB9720236A Expired - Fee Related GB2329802B (en) 1997-06-28 1997-09-23 Adaptive-selection method for memory access priority control in MPEG processor

Country Status (4)

Country Link
JP (1) JPH1132332A (en)
DE (1) DE19747864B4 (en)
FR (1) FR2765439B1 (en)
GB (1) GB2329802B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6889274B2 (en) * 1998-12-03 2005-05-03 Renesas Technology Corporation. Signal processing circuit
FR2800551B1 (en) * 1999-11-03 2002-01-04 St Microelectronics Sa MPEG DECODER USING SHARED MEMORY
US7170936B2 (en) * 2002-03-28 2007-01-30 Intel Corporation Transcoding apparatus, system, and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0778709A1 (en) * 1995-12-04 1997-06-11 STMicroelectronics S.r.l. MPEG-2 decoding with a reduced RAM requisite by ADPCM recompression before storing MPEG decompressed data

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2096584A1 (en) * 1992-05-28 1993-11-29 Frank H. Liao Variable length code decoder for video decompression operations
CA2146472C (en) * 1994-04-22 2007-10-09 Kevin Elliott Bridgewater Packet video signal inverse transport processor with memory address circuitry
TW245871B (en) * 1994-08-15 1995-04-21 Gen Instrument Corp Method and apparatus for efficient addressing of dram in a video decompression processor
US6330644B1 (en) * 1994-10-27 2001-12-11 Canon Kabushiki Kaisha Signal processor with a plurality of kinds of processors and a shared memory accessed through a versatile control means
EP0772159B1 (en) * 1995-10-30 2004-01-21 STMicroelectronics S.A. Memory sharing in a MPEG decoder
EP0790557A2 (en) * 1996-02-14 1997-08-20 Matsushita Electric Industrial Co., Ltd. Task managemant apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0778709A1 (en) * 1995-12-04 1997-06-11 STMicroelectronics S.r.l. MPEG-2 decoding with a reduced RAM requisite by ADPCM recompression before storing MPEG decompressed data

Also Published As

Publication number Publication date
GB2329802B (en) 1999-08-18
FR2765439A1 (en) 1998-12-31
DE19747864B4 (en) 2004-04-08
FR2765439B1 (en) 1999-09-24
DE19747864A1 (en) 1999-01-07
GB9720236D0 (en) 1997-11-26
JPH1132332A (en) 1999-02-02

Similar Documents

Publication Publication Date Title
US5982360A (en) Adaptive-selection method for memory access priority control in MPEG processor
US6263023B1 (en) High definition television decoder
US6873625B1 (en) Intermediate data based video/audio streaming method
US10250664B2 (en) Placeshifting live encoded video faster than real time
US7030930B2 (en) System for digitized audio stream synchronization and method thereof
US6678737B1 (en) Home network appliance and method
US7751480B2 (en) Video encoding and video/audio/data multiplexing device
US7389366B2 (en) System and method for dual IDE channel servicing using single multiplexed interface having first and second channel transfer over a common bus
US20080205389A1 (en) Selection of transrate and transcode processes by host computer
US20070079351A1 (en) System and method for balancing video encoding tasks between multiple processors
US6205429B1 (en) System and method to manipulate information in an audio decoder
US20180213015A1 (en) Reducing latency for streaming video
US20050053131A1 (en) Video encoding using parallel processors
US7000039B2 (en) Information processing apparatus for recording streaming data in a storage device
US20060002682A1 (en) Recording apparatus and recording control method
KR20010008975A (en) apparatus and method for recorded format modifying of audio/visual data in digital TV
WO2006127647A2 (en) Time-shifting audio and video programs
GB2329802A (en) Bus access priority control in MPEG processor
JPH09130749A (en) Decoding system for dynamic image data
CN1310498C (en) Digital video-audio decoder
US8885053B2 (en) Integrated circuit and electric device for avoiding latency time caused by contention
NL1007453C2 (en) Adaptive selecting method for memory access priority control in MPEG processor
JP2004166189A (en) Multimedia data management apparatus, network system, and multimedia data management method
JP2002051310A (en) Device and method for processing image and recording medium
CN1110964C (en) Adaptive access priority selecting method for memory in MPEG circuit

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 20090923