US20100239233A1 - Video Processing and Optical Recording - Google Patents

Video Processing and Optical Recording Download PDF

Info

Publication number
US20100239233A1
US20100239233A1 US12/790,384 US79038410A US2010239233A1 US 20100239233 A1 US20100239233 A1 US 20100239233A1 US 79038410 A US79038410 A US 79038410A US 2010239233 A1 US2010239233 A1 US 2010239233A1
Authority
US
United States
Prior art keywords
video
mpeg
signal
stream
memory
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
Application number
US12/790,384
Inventor
You-Min Yeh
Chien-Chung Chen
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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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
Application filed by MediaTek Inc filed Critical MediaTek Inc
Priority to US12/790,384 priority Critical patent/US20100239233A1/en
Publication of US20100239233A1 publication Critical patent/US20100239233A1/en
Assigned to MEDIATEK, INC. reassignment MEDIATEK, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CHEN, CHIEN-CHUNG, YEH, YOU-MIN
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/84Television signal recording using optical recording
    • H04N5/85Television signal recording using optical recording on discs or drums
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4135Peripherals receiving signals from specially adapted client devices external recorder
    • 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4382Demodulation or channel decoding, e.g. QPSK demodulation
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/7921Processing of colour television signals in connection with recording for more than one processing mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/804Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/804Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
    • H04N9/806Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components with processing of the sound signal
    • H04N9/8063Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components with processing of the sound signal using time division multiplex of the PCM audio and PCM video signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/82Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback the individual colour picture signal components being recorded simultaneously only
    • H04N9/8205Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback the individual colour picture signal components being recorded simultaneously only involving the multiplexing of an additional signal and the colour video signal

Definitions

  • This description relates to video processing and optical recording.
  • a digital television signal includes modulated multiplexed transport stream signals that are compressed according to, e.g., MPEG (Moving Picture Experts Group) standard, defined in ISO/IEC MPEG specification, also referred to as ISO/IEC 13818, herein incorporated by reference.
  • MPEG Motion Picture Experts Group
  • the MPEG encoded signals are modulated using, e.g., vestigial side band (VSB) modulation or quadrature amplitude modulation (QAM).
  • VSB vestigial side band
  • QAM quadrature amplitude modulation
  • the digital television signal may comply with, e.g., ATSC (Advanced Television Systems Committee), DVB (Digital Video Broadcasting), or ISDB (Integrated Services Digital Broadcasting) standard.
  • a viewer of a digital TV program uses a digital TV processing module, such as a set top box or an integrated receiver, to process the digital TV signal and generate analog audio and video signals that can be output to speakers and a display (e.g., a cathode ray tube or a flat panel display).
  • the digital TV processing module includes a system controller to control processing of the digital TV signal, including demodulation, MPEG decoding, video post-processing, and TV encoding, such as PAL (phase-alternating line), NTSC (National Television Systems Committee), or SÉCAM (séquentiel 07 Marie code) encoding.
  • a dynamic random access memory (DRAM) is provided in the set top box to store data during processing of the digital TV signal.
  • a DVD recording system can store multimedia data on a digital versatile disc (DVD) that complies with standards established by DVD Forum.
  • audio and video signals are compressed and multiplexed according to the MPEG standard, and channel encoded according to the DVD standard.
  • the DVD recording system includes a system controller to control processing of the audio and video signals, including MPEG encoding and EFM+ (eight-to-sixteen) modulation.
  • a DRAM buffer is provided in the DVD recording system to store data during the processing of the audio and video signals.
  • the DVD recording system typically includes playback functionality, in which multimedia data retrieved from the DVD disc are processed to generate analog audio and video signals that can be output to the speakers and the display.
  • the system controller in the DVD recording system controls processing of the data retrieved from the DVD disc, including EFM+ demodulation and MPEG decoding.
  • the DRAM buffer in the DVD recording system is used to store data during processing of the data read from the DVD disc.
  • the system controller and DRAM of the digital TV signal processing module operate independently of the system controller and DRAM of the DVD recording system.
  • the invention features an apparatus that includes a transport stream demultiplexer to demultiplex at least one compressed video stream from an encoded transport stream having multiplexed compressed video streams, a video encoder to compress a video stream to generate a second compressed video stream, and a controller to allocate portions of a shared memory to the transport stream demultiplexer and the video encoder based on respective memory requirements.
  • the apparatus includes a common memory controller for controlling access to the memory by the transport stream demultiplexer and the video encoder.
  • the apparatus includes a demodulator to demodulate a signal from a digital television tuner to generate the encoded transport stream.
  • the apparatus includes a recording module to record at least one of the compressed video streams demultiplexed by the transport stream demultiplexer and the second compressed video stream to a recording medium.
  • the apparatus includes a transport stream to program stream encoder to convert the demultiplexed compressed video stream into an MPEG program stream.
  • the apparatus includes a program stream to transport stream encoder to convert the second compressed video stream into an MPEG transport stream.
  • the apparatus includes at least one of a video decoder, a video post-processor, an audio encoder, and an audio decoder, in which the controller allocates portions of the shared memory to the at least one of the video decoder, the video post-processor, the audio encoder, and the audio decoder based on respective memory requirements.
  • the invention features a system that includes a demodulator to demodulate a signal from a digital television tuner to generate an MPEG transport stream having multiplexed compressed video streams, a transport stream demultiplexer to demultiplex at least one compressed video stream from the MPEG transport stream, an MPEG video decoder to decode the compressed video stream, an MPEG video encoder to compress another video stream to generate a second compressed video stream, and a memory shared by the transport stream demultiplexer, the MPEG video decoder, and the MPEG video encoder.
  • the system includes a controller to control the transport stream demultiplexer, the video decoder, and the video encoder, and allocate portions of the shared memory to the transport stream demultiplexer, the video decoder, and the video encoder based on respective memory requirements.
  • the system includes a recording module to record at least one of the compressed video streams demultiplexed by the transport stream demultiplexer and the second compressed video stream to a recording medium.
  • the invention features a system that includes a system controller to control operations of a first module for decoding a digital TV signal and a second module for encoding a video signal for recording to an optical recording medium, and a system resource shared by the first and second modules, the system controller allocating portions of the system resource to the first and second modules based on requirements of the modules.
  • Implementations of the invention may include one or more of the following features.
  • the system resource includes memory.
  • the system controller adjusts speeds of the first and second modules so that peak requirements of the system resource from the first and second modules occur at controlled times.
  • the first module includes an MPEG decoder to decode the MPEG encoded audio and video signals.
  • the second module includes an MPEG encoder for compressing the video signal according to MPEG encoding to generate a compressed video signal.
  • the invention features a system that includes means for dynamically allocating portions of a shared memory for use in (a) demultiplexing a signal having multiplexed digitally encoded video streams and (b) encoding another video stream, and means for simultaneously demultiplexing the signal and encoding the other stream using the respective allocated portions of the memory.
  • the invention features a system that includes a system controller to control operations of a first module for decoding a digital radio signal and a second module for encoding an audio signal for recording to an optical recording medium, and a memory shared by the first and second modules, the system controller allocating portions of the memory to the first and second modules based on requirements of the modules.
  • the invention features a method that includes dynamically allocating portions of a shared memory for use in (a) demultiplexing a signal having multiplexed digitally encoded video streams and (b) encoding another video stream, and demultiplexing the signal and encoding the other stream using the respective allocated portions of the memory.
  • Implementations of the invention may include one or more of the following features.
  • the method includes controlling the demultiplexing and the encoding operations using a common controller.
  • Demultiplexing a signal having multiplexed digitally encoded video streams includes demultiplexing an MPEG transport stream having multiplexed MPEG encoded video streams to select one of the MPEG encoded video streams.
  • the method includes converting a selected MPEG encoded video stream into an MPEG program stream, and storing data used during the conversion in the shared memory.
  • the method includes encoding the MPEG program stream according to an optical storage standard to generate a signal suitable for storage in an optical storage medium that supports direct recording of an MPEG program stream, and storing data used during the encoding of the MPEG program stream in the memory.
  • the method includes decoding the selected MPEG encoded video stream according to MPEG decoding, and storing data used during the decoding in the shared memory.
  • the other video stream is encoded to generate an MPEG program stream, and the method also includes converting the MPEG program stream into an MPEG transport stream, and storing data used during the decoding in the memory.
  • the method includes encoding the MPEG transport stream according to an optical storage standard to generate a signal suitable for storage in an optical storage medium that supports direct recording of an MPEG transport stream, and storing data used during the encoding of the MPEG transport stream in the memory.
  • the invention features a method that includes using a controller to control operations of a first module for decoding a digital TV signal and a second module for encoding a video signal for recording to an optical recording medium, and storing data used during operations of the first and second modules in a shared memory, in which allocation of a first portion of the memory to store data used by the first module is partially dependent on an operation condition of the second module.
  • Implementations of the invention may include one or more of the following features.
  • the method includes dynamically allocating a first portion of the memory to store data used during operations of the first module, and dynamically allocating a second portion of the memory to store data used during operation of the second module.
  • the method includes adjusting speeds of the first and second modules so that peak requirements of the memory from the first and second modules occur at controlled times.
  • the method includes demodulating a digital TV signal.
  • Operations of the first module include demultiplexing an MPEG transport stream derived from the demodulated digital TV signal to generate MPEG encoded audio and video signals.
  • Operations of the first module include decoding the MPEG encoded audio and video signals according to MPEG decoding to generate decoded audio and video signals.
  • Operations of the first module include video post-processing the decoded video signal to improve image quality of the video signal.
  • Operations of the first module include encoding the post-processed signal to generate an encoded signal that can be displayed on a television.
  • Operations of the second module include compressing the video signal according to MPEG encoding to generate a compressed video signal.
  • Operations of the second module include encoding the compressed video signal according to an optical storage standard to generate a signal having a waveform suitable for storage on an optical storage medium.
  • Operations of the first module include converting an MPEG transport stream derived from the digital TV signal into an MPEG program stream.
  • Operations of the second module include converting an MPEG program stream derived from the video signal into an MPEG transport stream.
  • the invention features a computer program product that causes a controller to perform operations including setting register values to control operations of a first module for decoding a digital TV signal and a second module for encoding a video signal for recording to an optical recording medium, and dynamically allocating a first portion of a memory to store data used during operations of the first module, and dynamically allocating a second portion of the memory to store data used during operations of the second module.
  • the invention features a method that includes using a common controller to control operations of a first module for decoding a digital radio signal and a second module for encoding an audio signal for recording to an optical recording medium, and storing data used during operations of the first and second modules in a shared memory, in which allocation of a first portion of memory to store data used by the first module is partially dependent on an operation condition of the second module.
  • FIGS. 1-3 show diagrams of a combined digital TV decoding and optical recording system.
  • FIGS. 4-5 show signal flow diagrams representing the flow of signals in the combined digital TV decoding and optical recording system.
  • FIG. 1 shows a schematic diagram of a combined digital TV decoding and optical recording system 100 that has a common system controller 102 and a common DRAM 104 .
  • the system controller 102 controls both a digital TV and an optical storage processing module 106 , which executes a process 108 for processing a digital TV signal, a process 110 for processing multimedia signals to be recorded to an optical storage medium 114 , and a process 112 for processing encoded multimedia signals retrieved from the optical storage medium 114 .
  • the DRAM 104 stores data generated by the module 106 while executing the processes 108 , 110 , and 112 .
  • the system controller 102 is an embedded controller that is embedded in an integrated circuit that includes an MPEG encoder and decoder.
  • the DRAM 104 can be, e.g., double data rate (DDR) DRAM.
  • a digital TV signal can be processed at the same time that multimedia signals are recorded to the optical storage medium 114 .
  • a user may view a first digital TV program at the same time that a second digital TV program is being recorded onto the optical storage medium 114 .
  • the system controller 102 allocates a first portion of the DRAM 104 for decoding the digital TV signal, and allocates a second portion of the DRAM 104 for processing data recorded to or read from the optical storage medium 114 .
  • the system controller 102 determines the sizes of the first and second DRAM portions based on operation requirements, in which the sizes of the first and second DRAM portions may change over time.
  • the memory that is allocated for each process may depend on the encoding or decoding standard that is being supported, the bandwidth of the input transport stream, and how many multiplexed streams are being processed.
  • a memory buffer of 512 mega bits is used to process two high definition TV signals having a total bandwidth of 1 gigabytes per second.
  • a memory buffer of 256 Mbits is used to process an analog standard definition video signal and associated analog stereo audio signals for storage in the optical storage medium 114 . If separate system controllers were used to control the processing of the digital TV signal and the processing of the multimedia signals for storage, one system controller would not know the system resource requirements of the processes controlled by the other system controller, so a memory of 768 Mbits is used to accommodate the peak requirements of both processes.
  • the combined system controller 102 can determine when the processes 108 , 110 , and 112 will have peak memory requirements, and either slow down or speed up one of the processes 108 , 110 , and 112 so that the peak memory requirements from the three processes 108 , 110 , and 112 do not occur at the same time, thereby allowing a smaller DRAM 104 to be shared by the three processes 108 , 110 , and 112 .
  • the system controller 102 can also adjust the quality of the encoding and decoding processes in response to the amount of memory resources available.
  • a combined system controller 102 and a common DRAM 104 of 768 Mbits are used. While the memory size is the same as the case when separate controllers were used, sharing a common memory and a common controller has the advantage that the controller has more flexibility in allocating memory portions, and can improve the quality of one process if the memory requirement of another process is reduced.
  • more memory and bandwidth can be allocated for encoding the analog multimedia signals to implement more complex encoding algorithms to achieve a higher compression ratio and/or a better audio/video quality.
  • Using a common system controller and a common DRAM 104 reduces component costs, circuit board size, and power consumption.
  • the transport stream demultiplexer 115 and the video encoder 154 each uses a portion of memory as output buffer.
  • a single output buffer in memory may be shared by both the demultiplexer 115 and the video encoder 154 .
  • sharing of information among the three process 108 , 110 , and 112 would be more efficient by using a common system controller. If two controllers were used, a more complicated hand-shaking protocol would be required for the two controllers to communicate with each other.
  • FIG. 2 shows a block diagram of an example of a combined digital TV decoding and optical recording system 200 , in which the optical storage medium is a DVD disc 80 .
  • the DVD disc 80 can be a DVD-R, DVD+R, DVD-RW, DVD+RW, DVD-RAM, double layer DVD-R, double layer DVD+R disc, or other recordable or rewritable discs that support direct recording of MPEG program streams.
  • the system 200 includes components for processing a digital TV signal and components for processing signals to be written to and retrieved from the DVD disc 80 .
  • a command bus 82 is provided for transmitting control information between the system controller 102 and other components of the system 200 .
  • a memory bus is provided to allow components of the system 200 to access the DRAM 104 .
  • a digital tuner 90 receives a digital television signal 92 from, e.g., a cable or an antenna.
  • the signal 92 includes audio and video signals that are compressed using the MPEG standard and modulated using VSB or QAM modulation.
  • the tuner 90 filters the signal 92 to select a physical channel, and outputs a modulated transport stream 94 .
  • the term “physical channel” refers to a channel having a specific bandwidth (e.g., 6 to 8 MHz) and occupies a particular frequency band.
  • the physical channels have center frequencies that are spaced 6 to 8 MHz apart.
  • Each physical channel may include an MPEG transport stream having one or more programming channels, depending on the bit rate of the programming channels.
  • programming channel refers to a channel that includes audio, video, and auxiliary signals associated with a program, such as a movie program or a news program.
  • Auxiliary signals may include, e.g., captioning information.
  • Each programming channel may have a bit rate of 3 mega bits per second (Mbps) to 18 Mbps, depending on the program content and on whether the program is standard definition (having 704 ⁇ 480 resolution for NTSC, 768 ⁇ 576 or 1024 ⁇ 576 for PAL) or high definition (having 1280 ⁇ 720 or 1920 ⁇ 1080 resolution).
  • the MPEG standard specifies two stream formats: a “program stream” format that is more suitable for error-free environments, and a “transport stream” format that is more suitable for error-prone environments, such as satellite and cable networks.
  • a program stream includes streams (e.g., a video stream, one or more audio streams, and a private data stream) that is associated with a single program.
  • a program stream includes packets that have variable lengths, in which packets from different streams associated with the same program are time-multiplexed in the program stream.
  • a transport stream can include streams from one or multiple programs.
  • a transport stream includes packets that have fixed-lengths—188 bytes, in which packets from different streams of different programs are time-multiplexed in the transport stream.
  • a demodulator 96 demodulates the transport stream 94 according to VSB or QAM demodulation to generate an MPEG transport stream 98 .
  • a transport stream demultiplexer 115 demultiplexes the transport stream 98 to separate the multiplexed programming channels into individual programming channels, and to separate video, audio, and auxiliary signals in each programming channel into separate streams to be stored in the DRAM 104 .
  • Some digital TV tuners 90 have built-in demodulators. In that case, the output of the digital TV tuner 90 is sent directly to the transport stream demultiplexer 115 .
  • the video and audio signals output by the transport stream demultiplexer 115 have been compressed according to the MPEG algorithm.
  • a standard definition or high definition MPEG audio/video decoder 116 retrieves the video, audio, and auxiliary signals stored in the DRAM 104 , and decodes the signals to generate decompressed video 118 , audio 120 , and auxiliary signals.
  • the video decoding process includes inverse zigzag ordering, inverse quantization, inverse discrete cosine transformation, and motion compensation.
  • reference frames such as intra (I) or predicted (P) frames are stored in the DRAM 104 and are used to reconstruct compressed frames such as P or bi-directional predicted (B) frames based on motion compensation vectors.
  • the reconstructed P or B frames may also be stored in the DRAM 104
  • the decompressed audio signals 120 are in digital format, which is converted into analog signals 124 by an audio digital-to-analog converter 122 .
  • the analog signals 124 can be output to audio speakers.
  • the decompressed video signal 118 is processed by a video post-processor 126 that performs video post-processing, which may include, e.g., a de-blocking process to smooth the transitions between adjacent macroblocks of an image, a de-ringing process to remove sudden transitions from one image to a subsequent image, a scaling process to scale the image to fit the resolution of the display or to meet a specific requirement of the viewer, and a color space transformation to adjust the color profile of the image according to the color gamut of the display.
  • video post-processing the post-processed video data is stored in the DRAM 104 .
  • a TV encoder 130 encodes the post-processed video signal 128 into an analog video signal 131 according to, e.g., PAL, NTSC, or SECAM standard so that the analog video signal 131 can be shown on a television.
  • Some digital televisions can accept the post-processed video signal 128 directly, in which the TV encoder 130 is not required.
  • the system controller 102 uses the decompressed auxiliary signals for functions such as captioning, surround mode selection, menu screen generation, and electronic program guide (EPG).
  • functions such as captioning, surround mode selection, menu screen generation, and electronic program guide (EPG).
  • an optical pickup head When playing multimedia programs stored on the DVD disc 80 , an optical pickup head (not shown) reads data from the disc 80 and outputs a multimedia signal 132 that is channel encoded and EFM+ modulated according to the DVD standard.
  • a first signal processor 134 demodulates and decodes the signal 132 according to the DVD standard, and stores the multimedia signal in the DRAM 104 .
  • the multimedia signal output from the first signal processor 134 includes audio and video signals that are compressed according to the MPEG algorithm, and are processed by the MPEG audio and video decoder 116 , the audio DAC 122 , the video post-processor 126 , and the TV encoder 130 similar to the processes described above for processing of the digital TV signal 92 .
  • Analog multimedia signals can be processed for storage to the DVD disc 80 .
  • An analog audio signal 140 can be received from, e.g., an analog television tuner (not shown), audio line-in jacks that receive separate left and right audio channels (and additional surround sound channels), or from a composite input.
  • An analog video signal 142 can be received from, e.g., an analog television tuner (not shown), video line-in jacks that receive separate red, green, and blue color signals, or from a composite input.
  • the analog audio and video signals 140 and 142 are converted to digital format by an audio analog-to-digital converter (ADC) 144 and a video ADC 146 , respectively.
  • Digital audio and video signals 156 and 158 can also be provided from a digital co-axial cable or a fiber optic cable.
  • the digital audio and video signals 148 and 150 are encoded by an MPEG audio encoder 152 and an MPEG video encoder 154 , respectively, according to the MPEG standard.
  • the encoding process includes, e.g., defining I frames, compressing the I frames using intraframe compression, and compressing P and B frames using motion compensation to generate motion vectors that represent movements and differences between macroblocks in the P or B frames and macroblocks in the I-frame. After motion compensation is performed, discrete cosine transformation, quantization, run length coding, and zigzag ordering of data are used to further compress the multimedia signals.
  • the I and P frames are stored in the DRAM 104 for use in determining motion vectors for P and B frames.
  • the MPEG audio encoder 152 and video encoder 154 compresses the audio and video signals, respectively, so that a standard definition multimedia program having a bit rate of about 50 Mbps can be compressed to about 3 Mbps, and a high definition multimedia program having a bit rate of about 270 Mbps can be compressed to about 18 Mbps.
  • a program stream multiplexer 160 retrieves the compressed audio and video signals from the DRAM 104 , and multiplexes the audio and video signals to generate a program stream.
  • the program stream includes packet headers, each followed by a number of packetized elementary stream (PES) packets.
  • the packet header includes control information, such as a presentation time stamp that indicates when the multimedia content in the PES packet is to be output (e.g., to a display and speakers).
  • the program stream multiplexer 160 stores the program stream having multiplexed audio and video signals in the DRAM 104 .
  • a second signal processor 162 retrieves the program stream from the DRAM 104 , and encodes the program stream into a format suitable for storage in a DVD disc, including adding identification codes, scrambling, error correction encoding, and applying EFM+ modulation according to the DVD standard.
  • the second signal processor 162 generates a modulated program stream 164 to drive a laser pickup head (not shown) to write the modulated program stream 164 in the DVD disc 80 .
  • a transport stream to program stream encoder (abbreviated as TS-to-PS encoder) 166 is provided to convert the transport stream signal generated by the transport stream demultiplexer 115 into a program stream format.
  • the program stream can then be processed by the second signal processor 162 for storage in the DVD disc 80 .
  • This allows a user to store digital TV programs in the DVD disc 80 .
  • An example of the TS-to-PS encoder 166 can be found in U.S. patent application Ser. No. ______, filed Mar. 22, 2005, titled “Systems and Method for Stream Format Conversion,” reference number MTKI-04-094, herein incorporated by reference.
  • the system controller 102 controls operations of the modules in the system 200 by setting values of registers in the system 200 at various stages of the processes. For example, the viewer may watch a digital TV program while storing the program in the DVD disc 80 .
  • the system controller 102 controls the demodulator 96 , the transport stream demultiplexer 115 , the MPEG decoder 116 , the audio DAC 122 , the video post processor 126 , and the TV encoder 130 according to interrupts or status information sent from those units to allow a digital TV program to be shown on a television.
  • the system controller 102 controls the transport stream demultiplexer 115 , the TS-to-PS encoder 166 , and the second signal processor 162 according to the interrupts or status information sent from those units, so that the digital TV program can be stored in the DVD disc 80 .
  • the viewer watches a digital TV program while storing a video from an analog camcorder (not shown) to the DVD disc 80 .
  • the operation of the system controller 102 in controlling processing of the digital TV signal is similar to that described above.
  • the system controller 102 controls the audio and video ADCs 144 and 146 , the MPEG audio and video encoders 152 and 154 , the program stream multiplexer 160 , and second signal processor 162 , so that the analog video can be stored in the DVD disc 80 .
  • the viewer watches an analog TV program while storing the analog TV program to the DVD disc 80 .
  • the analog audio signal 140 and the analog video signal 142 can be sent to the speakers and the television to allow the user to view the analog TV program.
  • the system controller 102 controls the audio and video ADCs 144 and 146 , the MPEG audio and video encoders 152 and 154 , the program stream multiplexer 160 , and the second signal processor 162 so that the analog video signal can be stored in the DVD disc 80 , as described above.
  • the viewer watches a movie program stored in the DVD disc 80 while at the same time watches a digital TV news program using a picture-in-picture function.
  • the operation of the system controller 102 in controlling processing of the digital TV signal is similar to that described above, except that the output of the digital TV program is output to a small window of the display rather than the full display.
  • the system controller 102 controls the first signal processor 134 , the MPEG A/V decoder 116 , the video post processor 126 , the TV encoder 130 , and the audio DAC 122 properly, so that the multimedia program in the DVD disc can be viewed on the display.
  • FIG. 3 shows a block diagram of an example of a combined digital TV decoding and optical recording system 210 , in which the optical storage medium is a Blu-ray disc 212 that is compatible with the Blu-ray Disc standard established by the Blu-ray Disc Association.
  • the Blu-ray disc 212 can be, e.g., a recordable (BD Recordable), a rewritable (BD Recordable), or other optical discs that support direct recording of MPEG transport streams.
  • a Blu-ray Disc drive (not shown) is used to access the Blu-ray disc 212 and generate an output signal 133 .
  • the system 210 includes a controller 102 for controlling various other modules of the system 210 , and a DRAM 104 to store data during processing of the digital TV signal and multimedia signals written to or retrieved from the Blu-ray disc 212 .
  • the system 210 includes a demodulator 96 and a transport stream demultiplexer 115 similar to those in system 200 ( FIG. 2 ).
  • a TS-to-PS encoder is not required in system 210 because the Blu-ray disc 212 supports direct recording of MPEG transport streams.
  • the system 210 includes a first signal processor 214 that demodulates and decodes the signal 133 according to the Blu-ray Disc standard and stores the multimedia signal in the DRAM 104 .
  • the multimedia signal output from the first signal processor 214 includes audio and video signals that are compressed according to the MPEG algorithm, and can be processed by the MPEG audio and video decoder 116 , the audio DAC decoder 122 , the video post-processor 126 , and the TV encoder 130 for viewing and listening similar to the processes described above.
  • the system 210 includes an audio ADC 114 , a video ADC 146 , an MPEG audio encoder 152 , an MPEG video encoder 154 , and a program stream multiplexer 160 that operate similar to those in system 200 .
  • a program stream to transport stream encoder (abbreviated as PS-to-TS encoder) 216 is provided to convert the MPEG program stream generated by the program stream multiplexer 160 into an MPEG transport stream.
  • a second signal processor 218 encodes and modulates the MPEG transport stream from the PS-to-TS encoder 216 according to the Blu-ray Disc standard, and generates an output 220 suitable for storage in the Blu-ray disc 212 .
  • the systems 200 and 210 can be combined into one system that can record to or read from either a DVD disc or a Blu-ray disc.
  • the system controller 102 detects whether the optical recording medium is a DVD disc or a Blu-ray disc, and selects the appropriate signal processing module 134 or 214 , respectively.
  • the system controller 102 detects whether the optical recording medium is a DVD disc or a Blu-ray disc, and selects the appropriate signal processor 162 or 218 , respectively.
  • FIG. 4 shows a diagram representing the flow of signals in an example of the combined system when decoding audio and video signals for output to the speaker and display.
  • the digital TV signal 94 from the digital TV tuner 90 is processed by the demodulator 96 and the transport stream demultiplexer 115 to generate a multimedia signal 232 .
  • a signal 132 read from the DVD disc 80 is processed by the first signal processor 134 to generate a multimedia signal 234 .
  • a signal 235 read from the Blu-ray disc 212 is processed by the first signal processor 214 to generate a multimedia signal 237 .
  • the system controller 102 controls a switch 230 to select the multimedia signal 232 , 234 , or 237 , in which the selected signal is decoded by the MPEG A/V decoder 116 to generate a decoded video signal 118 and a decoded audio signal 120 .
  • the analog audio signal 140 is converted into the digital audio signal 148 by the audio ADC 144 .
  • the analog video signal 142 is converted into the digital video signal 150 by the video ADC 146 .
  • the system controller 102 controls a second switch 236 to select the decoded video 118 or the digital video signal 150 , in which the selected video signal is processed by the video post-processor 126 and the TV encoder 130 to generate an output video 131 .
  • the system controller 102 controls a third switch 238 to select the decoded audio signal 120 or the digital audio signal 148 , in which the selected audio signal is processed by the audio DAC 122 to generate an output audio 124 .
  • FIG. 5 shows a signal flow diagram representing the flow of signals in the combined system when encoding audio and video signals for storage in the DVD disc 80 or Blu-ray disc 212 .
  • the digital TV signal 94 from the digital TV tuner 90 is processed by the demodulator 96 and the transport stream demultiplexer 115 to generate an MPEG transport stream 232 .
  • the transport stream to program stream trans-encoder 166 converts the MPEG transport stream 232 into an MPEG program stream 242 .
  • the analog audio signal 140 is processed by the audio ADC 144 and the MPEG audio encoder 152 to generate an MPEG encoded audio signal 246 .
  • the analog video signal 142 is processed by the video ADC 146 and the MPEG video encoder 154 to generate an MPEG encoded video signal 248 .
  • the program stream multiplexer 160 multiplexes the encoded audio and video signals 246 and 248 to generate a multiplexed program stream 244 .
  • the PS-to-TS encoder 216 converts the program stream 244 into an MPEG transport stream 245 .
  • the system controller 102 can detect whether the optical recording medium is a DVD disc or a Blu-ray disc, and select the appropriate signal processor 162 or 218 , respectively.
  • the system controller 102 controls a switch 240 to select the program stream 242 or 244 , in which the selected program stream is processed by the second signal processor 162 and recorded to the DVD disc 80 .
  • the system controller 102 controls a switch 241 to select the transport stream 232 or 245 , in which the selected transport stream is processed by the second signal processor 218 and recorded to the Blu-ray disc 212 .
  • the DVD disc 80 can also be a CD disc, such as a CD-R (CD-Recordable) disc or CD-RW (CD-Rewritable) disc.
  • the DVD disc supports direct recording of MPEG program streams
  • the Blu-ray disc supports direct recording of MPEG transport streams.
  • the optical disc recording standards may evolve such that it may be possible to record MPEG transport streams in a DVD disc and MPEG program streams in a Blu-ray disc.
  • the PS-to-TS encoder 166 and the TS-to-PS encoder 216 may be omitted.
  • Other types of optical recording medium may also be used, such as High-Definition DVD (HD DVD), MiniDisc, or magnetic-optical discs.
  • the DRAM 104 can be synchronous DRAM, double data rate (DDR) DRAM, or reduced latency DRAM. Static random access memory (SRAM) can also be used, including quad data rate SRAM.
  • the memory 104 does not necessarily have to be a single chip.
  • the memory 104 can include multiple banks or multiple chips. Allocation of a first portion of memory to store data used during the processing of the digital TV signal is partially dependent on the encoding of the video signal for optical storage. Similarly, allocation of a second portion of the memory to store data used during encoding of the video signal for optical storage is partially dependent on processing of the digital TV signal.
  • a combined digital radio decoder and optical recording system can be implemented using the principles described above.
  • a common system controller controls a digital radio and optical storage processing module, which executes a first process for processing a digital radio signal, a second process for processing audio signals to be recorded to an optical storage medium, and a third process for processing encoded audio signals retrieved from the optical storage medium.
  • a common memory stores data generated by the digital radio and optical storage processing module while executing the first, second, and third processes.
  • the user may be listening to a first digital radio program at the same time that a second digital radio program is recorded to the optical storage medium.
  • the user may be listening to a first digital radio program at the same time that an analog audio signal is recorded to the optical storage medium.
  • the system controller allocates a first portion of the memory for decoding the digital radio signal, and allocates a second portion of the memory for processing the audio signal to be recorded to the optical storage medium.
  • the system controller determines the sizes of the first and second memory portions based on operation requirements, and the sizes of the first and second memory portions may change over time.
  • the system controller 102 can have many components, and does not necessarily have to be a single chip or be embedded in a combined-system chip.
  • the system controller 102 controls the processing of the digital TV signal in a way that is partially dependent on the encoding of the video signal for optical storage.
  • the system controller controls the encoding of the video signal for optical storage in a way that is partially dependent on processing of the digital TV signal.
  • the first and second signal processors 134 and 162 are the same signal processor executing different software code.
  • the first and second signal processors 214 and 218 are the same signal processor executing different software code.
  • the signal processors 134 , 162 , 214 , and 218 are the same signal processor executing different software code.

Abstract

A combined digital TV decoding and optical recording system includes a transport stream demultiplexer to demultiplex at least one compressed multimedia stream from an MPEG transport stream having multiplexed compressed multimedia streams. A video encoder compresses a video stream to generate a second compressed video stream. A common system controller controls operations of the transport stream demultiplexer and the video encoder, and allocates portions of a memory to the transport stream demultiplexer and the MPEG video encoder based on respective memory requirements.

Description

    RELATED APPLICATION
  • This application is a continuation of and claims the benefit of the priority date of U.S. Ser. No. 11/124,434, filed May 6, 2005, the contents of which are incorporated herein by reference.
  • BACKGROUND
  • This description relates to video processing and optical recording.
  • In one example, a digital television signal includes modulated multiplexed transport stream signals that are compressed according to, e.g., MPEG (Moving Picture Experts Group) standard, defined in ISO/IEC MPEG specification, also referred to as ISO/IEC 13818, herein incorporated by reference. The MPEG encoded signals are modulated using, e.g., vestigial side band (VSB) modulation or quadrature amplitude modulation (QAM). The digital television signal may comply with, e.g., ATSC (Advanced Television Systems Committee), DVB (Digital Video Broadcasting), or ISDB (Integrated Services Digital Broadcasting) standard.
  • A viewer of a digital TV program uses a digital TV processing module, such as a set top box or an integrated receiver, to process the digital TV signal and generate analog audio and video signals that can be output to speakers and a display (e.g., a cathode ray tube or a flat panel display). The digital TV processing module includes a system controller to control processing of the digital TV signal, including demodulation, MPEG decoding, video post-processing, and TV encoding, such as PAL (phase-alternating line), NTSC (National Television Systems Committee), or SÉCAM (séquentiel couleur avec mémoire) encoding. A dynamic random access memory (DRAM) is provided in the set top box to store data during processing of the digital TV signal.
  • A DVD recording system can store multimedia data on a digital versatile disc (DVD) that complies with standards established by DVD Forum. In one example, audio and video signals are compressed and multiplexed according to the MPEG standard, and channel encoded according to the DVD standard. The DVD recording system includes a system controller to control processing of the audio and video signals, including MPEG encoding and EFM+ (eight-to-sixteen) modulation. A DRAM buffer is provided in the DVD recording system to store data during the processing of the audio and video signals.
  • The DVD recording system typically includes playback functionality, in which multimedia data retrieved from the DVD disc are processed to generate analog audio and video signals that can be output to the speakers and the display. The system controller in the DVD recording system controls processing of the data retrieved from the DVD disc, including EFM+ demodulation and MPEG decoding. The DRAM buffer in the DVD recording system is used to store data during processing of the data read from the DVD disc.
  • The system controller and DRAM of the digital TV signal processing module operate independently of the system controller and DRAM of the DVD recording system.
  • SUMMARY
  • In general, in one aspect, the invention features an apparatus that includes a transport stream demultiplexer to demultiplex at least one compressed video stream from an encoded transport stream having multiplexed compressed video streams, a video encoder to compress a video stream to generate a second compressed video stream, and a controller to allocate portions of a shared memory to the transport stream demultiplexer and the video encoder based on respective memory requirements.
  • Implementations of the invention may include one or more of the following features. The apparatus includes a common memory controller for controlling access to the memory by the transport stream demultiplexer and the video encoder. The apparatus includes a demodulator to demodulate a signal from a digital television tuner to generate the encoded transport stream. The apparatus includes a recording module to record at least one of the compressed video streams demultiplexed by the transport stream demultiplexer and the second compressed video stream to a recording medium. The apparatus includes a transport stream to program stream encoder to convert the demultiplexed compressed video stream into an MPEG program stream. The apparatus includes a program stream to transport stream encoder to convert the second compressed video stream into an MPEG transport stream. The apparatus includes at least one of a video decoder, a video post-processor, an audio encoder, and an audio decoder, in which the controller allocates portions of the shared memory to the at least one of the video decoder, the video post-processor, the audio encoder, and the audio decoder based on respective memory requirements.
  • In general, in another aspect, the invention features a system that includes a demodulator to demodulate a signal from a digital television tuner to generate an MPEG transport stream having multiplexed compressed video streams, a transport stream demultiplexer to demultiplex at least one compressed video stream from the MPEG transport stream, an MPEG video decoder to decode the compressed video stream, an MPEG video encoder to compress another video stream to generate a second compressed video stream, and a memory shared by the transport stream demultiplexer, the MPEG video decoder, and the MPEG video encoder. The system includes a controller to control the transport stream demultiplexer, the video decoder, and the video encoder, and allocate portions of the shared memory to the transport stream demultiplexer, the video decoder, and the video encoder based on respective memory requirements. The system includes a recording module to record at least one of the compressed video streams demultiplexed by the transport stream demultiplexer and the second compressed video stream to a recording medium.
  • In general, in another aspect, the invention features a system that includes a system controller to control operations of a first module for decoding a digital TV signal and a second module for encoding a video signal for recording to an optical recording medium, and a system resource shared by the first and second modules, the system controller allocating portions of the system resource to the first and second modules based on requirements of the modules.
  • Implementations of the invention may include one or more of the following features. The system resource includes memory. The system controller adjusts speeds of the first and second modules so that peak requirements of the system resource from the first and second modules occur at controlled times. The first module includes an MPEG decoder to decode the MPEG encoded audio and video signals. The second module includes an MPEG encoder for compressing the video signal according to MPEG encoding to generate a compressed video signal.
  • In general, in another aspect, the invention features a system that includes means for dynamically allocating portions of a shared memory for use in (a) demultiplexing a signal having multiplexed digitally encoded video streams and (b) encoding another video stream, and means for simultaneously demultiplexing the signal and encoding the other stream using the respective allocated portions of the memory.
  • In general, in another aspect, the invention features a system that includes a system controller to control operations of a first module for decoding a digital radio signal and a second module for encoding an audio signal for recording to an optical recording medium, and a memory shared by the first and second modules, the system controller allocating portions of the memory to the first and second modules based on requirements of the modules.
  • In general, in another aspect, the invention features a method that includes dynamically allocating portions of a shared memory for use in (a) demultiplexing a signal having multiplexed digitally encoded video streams and (b) encoding another video stream, and demultiplexing the signal and encoding the other stream using the respective allocated portions of the memory.
  • Implementations of the invention may include one or more of the following features. The method includes controlling the demultiplexing and the encoding operations using a common controller. Demultiplexing a signal having multiplexed digitally encoded video streams includes demultiplexing an MPEG transport stream having multiplexed MPEG encoded video streams to select one of the MPEG encoded video streams. The method includes converting a selected MPEG encoded video stream into an MPEG program stream, and storing data used during the conversion in the shared memory. The method includes encoding the MPEG program stream according to an optical storage standard to generate a signal suitable for storage in an optical storage medium that supports direct recording of an MPEG program stream, and storing data used during the encoding of the MPEG program stream in the memory. The method includes decoding the selected MPEG encoded video stream according to MPEG decoding, and storing data used during the decoding in the shared memory. The other video stream is encoded to generate an MPEG program stream, and the method also includes converting the MPEG program stream into an MPEG transport stream, and storing data used during the decoding in the memory. The method includes encoding the MPEG transport stream according to an optical storage standard to generate a signal suitable for storage in an optical storage medium that supports direct recording of an MPEG transport stream, and storing data used during the encoding of the MPEG transport stream in the memory.
  • In general, in another aspect, the invention features a method that includes using a controller to control operations of a first module for decoding a digital TV signal and a second module for encoding a video signal for recording to an optical recording medium, and storing data used during operations of the first and second modules in a shared memory, in which allocation of a first portion of the memory to store data used by the first module is partially dependent on an operation condition of the second module.
  • Implementations of the invention may include one or more of the following features. The method includes dynamically allocating a first portion of the memory to store data used during operations of the first module, and dynamically allocating a second portion of the memory to store data used during operation of the second module. The method includes adjusting speeds of the first and second modules so that peak requirements of the memory from the first and second modules occur at controlled times. The method includes demodulating a digital TV signal. Operations of the first module include demultiplexing an MPEG transport stream derived from the demodulated digital TV signal to generate MPEG encoded audio and video signals. Operations of the first module include decoding the MPEG encoded audio and video signals according to MPEG decoding to generate decoded audio and video signals. Operations of the first module include video post-processing the decoded video signal to improve image quality of the video signal. Operations of the first module include encoding the post-processed signal to generate an encoded signal that can be displayed on a television. Operations of the second module include compressing the video signal according to MPEG encoding to generate a compressed video signal. Operations of the second module include encoding the compressed video signal according to an optical storage standard to generate a signal having a waveform suitable for storage on an optical storage medium. Operations of the first module include converting an MPEG transport stream derived from the digital TV signal into an MPEG program stream. Operations of the second module include converting an MPEG program stream derived from the video signal into an MPEG transport stream.
  • In general, in another aspect, the invention features a computer program product that causes a controller to perform operations including setting register values to control operations of a first module for decoding a digital TV signal and a second module for encoding a video signal for recording to an optical recording medium, and dynamically allocating a first portion of a memory to store data used during operations of the first module, and dynamically allocating a second portion of the memory to store data used during operations of the second module.
  • In general, in another aspect, the invention features a method that includes using a common controller to control operations of a first module for decoding a digital radio signal and a second module for encoding an audio signal for recording to an optical recording medium, and storing data used during operations of the first and second modules in a shared memory, in which allocation of a first portion of memory to store data used by the first module is partially dependent on an operation condition of the second module.
  • All of the publications, patent applications, patents, and other references mentioned are incorporated herein by reference. In case of conflict with the references incorporated by reference, the present specification, including definitions, will control.
  • DESCRIPTION OF DRAWINGS
  • FIGS. 1-3 show diagrams of a combined digital TV decoding and optical recording system.
  • FIGS. 4-5 show signal flow diagrams representing the flow of signals in the combined digital TV decoding and optical recording system.
  • DESCRIPTION
  • FIG. 1 shows a schematic diagram of a combined digital TV decoding and optical recording system 100 that has a common system controller 102 and a common DRAM 104. The system controller 102 controls both a digital TV and an optical storage processing module 106, which executes a process 108 for processing a digital TV signal, a process 110 for processing multimedia signals to be recorded to an optical storage medium 114, and a process 112 for processing encoded multimedia signals retrieved from the optical storage medium 114. The DRAM 104 stores data generated by the module 106 while executing the processes 108, 110, and 112. By using a common system controller 102 and a common DRAM 104, system resources can be used more efficiently and the amount of memory can be reduced.
  • In one example, the system controller 102 is an embedded controller that is embedded in an integrated circuit that includes an MPEG encoder and decoder. The DRAM 104 can be, e.g., double data rate (DDR) DRAM.
  • A digital TV signal can be processed at the same time that multimedia signals are recorded to the optical storage medium 114. For example, a user may view a first digital TV program at the same time that a second digital TV program is being recorded onto the optical storage medium 114. The system controller 102 allocates a first portion of the DRAM 104 for decoding the digital TV signal, and allocates a second portion of the DRAM 104 for processing data recorded to or read from the optical storage medium 114. The system controller 102 determines the sizes of the first and second DRAM portions based on operation requirements, in which the sizes of the first and second DRAM portions may change over time.
  • For example, the memory that is allocated for each process may depend on the encoding or decoding standard that is being supported, the bandwidth of the input transport stream, and how many multiplexed streams are being processed.
  • In one example, a memory buffer of 512 mega bits (Mbits) is used to process two high definition TV signals having a total bandwidth of 1 gigabytes per second. A memory buffer of 256 Mbits is used to process an analog standard definition video signal and associated analog stereo audio signals for storage in the optical storage medium 114. If separate system controllers were used to control the processing of the digital TV signal and the processing of the multimedia signals for storage, one system controller would not know the system resource requirements of the processes controlled by the other system controller, so a memory of 768 Mbits is used to accommodate the peak requirements of both processes.
  • In one example, by having the combined system controller 102 and a common DRAM 104, only 512 Mbits of memory is used for processing the high definition TV signals and the analog multimedia signals. When executing the processes 108, 110, and 112, the amount of memory required to temporarily store data varies depending on the stage of the processing. The combined system controller 102 can determine when the processes 108, 110, and 112 will have peak memory requirements, and either slow down or speed up one of the processes 108, 110, and 112 so that the peak memory requirements from the three processes 108, 110, and 112 do not occur at the same time, thereby allowing a smaller DRAM 104 to be shared by the three processes 108, 110, and 112. The system controller 102 can also adjust the quality of the encoding and decoding processes in response to the amount of memory resources available.
  • In another example, a combined system controller 102 and a common DRAM 104 of 768 Mbits are used. While the memory size is the same as the case when separate controllers were used, sharing a common memory and a common controller has the advantage that the controller has more flexibility in allocating memory portions, and can improve the quality of one process if the memory requirement of another process is reduced. In the example above, if instead of processing high definition TV signals, standard definition TV signals were processed, more memory and bandwidth can be allocated for encoding the analog multimedia signals to implement more complex encoding algorithms to achieve a higher compression ratio and/or a better audio/video quality.
  • Using a common system controller and a common DRAM 104 reduces component costs, circuit board size, and power consumption. For example, the transport stream demultiplexer 115 and the video encoder 154 each uses a portion of memory as output buffer. When a shared memory is used, a single output buffer in memory may be shared by both the demultiplexer 115 and the video encoder 154. In addition, sharing of information among the three process 108, 110, and 112 would be more efficient by using a common system controller. If two controllers were used, a more complicated hand-shaking protocol would be required for the two controllers to communicate with each other.
  • FIG. 2 shows a block diagram of an example of a combined digital TV decoding and optical recording system 200, in which the optical storage medium is a DVD disc 80. The DVD disc 80 can be a DVD-R, DVD+R, DVD-RW, DVD+RW, DVD-RAM, double layer DVD-R, double layer DVD+R disc, or other recordable or rewritable discs that support direct recording of MPEG program streams.
  • The system 200 includes components for processing a digital TV signal and components for processing signals to be written to and retrieved from the DVD disc 80. A command bus 82 is provided for transmitting control information between the system controller 102 and other components of the system 200. A memory bus is provided to allow components of the system 200 to access the DRAM 104.
  • Processing of a Digital TV Signal
  • The following describes processing of a digital TV signal. A digital tuner 90 receives a digital television signal 92 from, e.g., a cable or an antenna. The signal 92 includes audio and video signals that are compressed using the MPEG standard and modulated using VSB or QAM modulation. The tuner 90 filters the signal 92 to select a physical channel, and outputs a modulated transport stream 94.
  • The term “physical channel” refers to a channel having a specific bandwidth (e.g., 6 to 8 MHz) and occupies a particular frequency band. The physical channels have center frequencies that are spaced 6 to 8 MHz apart. Each physical channel may include an MPEG transport stream having one or more programming channels, depending on the bit rate of the programming channels.
  • The term “programming channel” refers to a channel that includes audio, video, and auxiliary signals associated with a program, such as a movie program or a news program. Auxiliary signals may include, e.g., captioning information. Each programming channel may have a bit rate of 3 mega bits per second (Mbps) to 18 Mbps, depending on the program content and on whether the program is standard definition (having 704×480 resolution for NTSC, 768×576 or 1024×576 for PAL) or high definition (having 1280×720 or 1920×1080 resolution).
  • The MPEG standard specifies two stream formats: a “program stream” format that is more suitable for error-free environments, and a “transport stream” format that is more suitable for error-prone environments, such as satellite and cable networks. A program stream includes streams (e.g., a video stream, one or more audio streams, and a private data stream) that is associated with a single program. A program stream includes packets that have variable lengths, in which packets from different streams associated with the same program are time-multiplexed in the program stream. A transport stream can include streams from one or multiple programs. A transport stream includes packets that have fixed-lengths—188 bytes, in which packets from different streams of different programs are time-multiplexed in the transport stream.
  • A demodulator 96 demodulates the transport stream 94 according to VSB or QAM demodulation to generate an MPEG transport stream 98. A transport stream demultiplexer 115 demultiplexes the transport stream 98 to separate the multiplexed programming channels into individual programming channels, and to separate video, audio, and auxiliary signals in each programming channel into separate streams to be stored in the DRAM 104.
  • Some digital TV tuners 90 have built-in demodulators. In that case, the output of the digital TV tuner 90 is sent directly to the transport stream demultiplexer 115.
  • The video and audio signals output by the transport stream demultiplexer 115 have been compressed according to the MPEG algorithm. A standard definition or high definition MPEG audio/video decoder 116 retrieves the video, audio, and auxiliary signals stored in the DRAM 104, and decodes the signals to generate decompressed video 118, audio 120, and auxiliary signals. The video decoding process includes inverse zigzag ordering, inverse quantization, inverse discrete cosine transformation, and motion compensation. During motion compensation, reference frames such as intra (I) or predicted (P) frames are stored in the DRAM 104 and are used to reconstruct compressed frames such as P or bi-directional predicted (B) frames based on motion compensation vectors. The reconstructed P or B frames may also be stored in the DRAM 104
  • The decompressed audio signals 120 are in digital format, which is converted into analog signals 124 by an audio digital-to-analog converter 122. The analog signals 124 can be output to audio speakers.
  • The decompressed video signal 118 is processed by a video post-processor 126 that performs video post-processing, which may include, e.g., a de-blocking process to smooth the transitions between adjacent macroblocks of an image, a de-ringing process to remove sudden transitions from one image to a subsequent image, a scaling process to scale the image to fit the resolution of the display or to meet a specific requirement of the viewer, and a color space transformation to adjust the color profile of the image according to the color gamut of the display. During video post-processing, the post-processed video data is stored in the DRAM 104.
  • A TV encoder 130 encodes the post-processed video signal 128 into an analog video signal 131 according to, e.g., PAL, NTSC, or SECAM standard so that the analog video signal 131 can be shown on a television. Some digital televisions can accept the post-processed video signal 128 directly, in which the TV encoder 130 is not required.
  • The system controller 102 uses the decompressed auxiliary signals for functions such as captioning, surround mode selection, menu screen generation, and electronic program guide (EPG).
  • Playback from Optical Storage
  • When playing multimedia programs stored on the DVD disc 80, an optical pickup head (not shown) reads data from the disc 80 and outputs a multimedia signal 132 that is channel encoded and EFM+ modulated according to the DVD standard. A first signal processor 134 demodulates and decodes the signal 132 according to the DVD standard, and stores the multimedia signal in the DRAM 104. The multimedia signal output from the first signal processor 134 includes audio and video signals that are compressed according to the MPEG algorithm, and are processed by the MPEG audio and video decoder 116, the audio DAC 122, the video post-processor 126, and the TV encoder 130 similar to the processes described above for processing of the digital TV signal 92.
  • Processing of Multimedia Signals for Optical Storage
  • Analog multimedia signals can be processed for storage to the DVD disc 80. An analog audio signal 140 can be received from, e.g., an analog television tuner (not shown), audio line-in jacks that receive separate left and right audio channels (and additional surround sound channels), or from a composite input. An analog video signal 142 can be received from, e.g., an analog television tuner (not shown), video line-in jacks that receive separate red, green, and blue color signals, or from a composite input. The analog audio and video signals 140 and 142 are converted to digital format by an audio analog-to-digital converter (ADC) 144 and a video ADC 146, respectively. Digital audio and video signals 156 and 158 can also be provided from a digital co-axial cable or a fiber optic cable.
  • The digital audio and video signals 148 and 150 are encoded by an MPEG audio encoder 152 and an MPEG video encoder 154, respectively, according to the MPEG standard. The encoding process includes, e.g., defining I frames, compressing the I frames using intraframe compression, and compressing P and B frames using motion compensation to generate motion vectors that represent movements and differences between macroblocks in the P or B frames and macroblocks in the I-frame. After motion compensation is performed, discrete cosine transformation, quantization, run length coding, and zigzag ordering of data are used to further compress the multimedia signals. During the encoding process, the I and P frames are stored in the DRAM 104 for use in determining motion vectors for P and B frames.
  • The MPEG audio encoder 152 and video encoder 154 compresses the audio and video signals, respectively, so that a standard definition multimedia program having a bit rate of about 50 Mbps can be compressed to about 3 Mbps, and a high definition multimedia program having a bit rate of about 270 Mbps can be compressed to about 18 Mbps.
  • A program stream multiplexer 160 retrieves the compressed audio and video signals from the DRAM 104, and multiplexes the audio and video signals to generate a program stream. The program stream includes packet headers, each followed by a number of packetized elementary stream (PES) packets. The packet header includes control information, such as a presentation time stamp that indicates when the multimedia content in the PES packet is to be output (e.g., to a display and speakers). The program stream multiplexer 160 stores the program stream having multiplexed audio and video signals in the DRAM 104.
  • A second signal processor 162 retrieves the program stream from the DRAM 104, and encodes the program stream into a format suitable for storage in a DVD disc, including adding identification codes, scrambling, error correction encoding, and applying EFM+ modulation according to the DVD standard. The second signal processor 162 generates a modulated program stream 164 to drive a laser pickup head (not shown) to write the modulated program stream 164 in the DVD disc 80.
  • A transport stream to program stream encoder (abbreviated as TS-to-PS encoder) 166 is provided to convert the transport stream signal generated by the transport stream demultiplexer 115 into a program stream format. The program stream can then be processed by the second signal processor 162 for storage in the DVD disc 80. This allows a user to store digital TV programs in the DVD disc 80. An example of the TS-to-PS encoder 166 can be found in U.S. patent application Ser. No. ______, filed Mar. 22, 2005, titled “Systems and Method for Stream Format Conversion,” reference number MTKI-04-094, herein incorporated by reference.
  • System Controller
  • The system controller 102 controls operations of the modules in the system 200 by setting values of registers in the system 200 at various stages of the processes. For example, the viewer may watch a digital TV program while storing the program in the DVD disc 80. The system controller 102 controls the demodulator 96, the transport stream demultiplexer 115, the MPEG decoder 116, the audio DAC 122, the video post processor 126, and the TV encoder 130 according to interrupts or status information sent from those units to allow a digital TV program to be shown on a television. At the same time, the system controller 102 controls the transport stream demultiplexer 115, the TS-to-PS encoder 166, and the second signal processor 162 according to the interrupts or status information sent from those units, so that the digital TV program can be stored in the DVD disc 80.
  • In another example, the viewer watches a digital TV program while storing a video from an analog camcorder (not shown) to the DVD disc 80. The operation of the system controller 102 in controlling processing of the digital TV signal is similar to that described above. At the same time, the system controller 102 controls the audio and video ADCs 144 and 146, the MPEG audio and video encoders 152 and 154, the program stream multiplexer 160, and second signal processor 162, so that the analog video can be stored in the DVD disc 80.
  • In another example, the viewer watches an analog TV program while storing the analog TV program to the DVD disc 80. The analog audio signal 140 and the analog video signal 142 can be sent to the speakers and the television to allow the user to view the analog TV program. The system controller 102 controls the audio and video ADCs 144 and 146, the MPEG audio and video encoders 152 and 154, the program stream multiplexer 160, and the second signal processor 162 so that the analog video signal can be stored in the DVD disc 80, as described above.
  • In another example, the viewer watches a movie program stored in the DVD disc 80 while at the same time watches a digital TV news program using a picture-in-picture function. The operation of the system controller 102 in controlling processing of the digital TV signal is similar to that described above, except that the output of the digital TV program is output to a small window of the display rather than the full display. At the same time, the system controller 102 controls the first signal processor 134, the MPEG A/V decoder 116, the video post processor 126, the TV encoder 130, and the audio DAC 122 properly, so that the multimedia program in the DVD disc can be viewed on the display.
  • Alternative Example of the Combined Digital TV Decoding and Optical Recording System
  • FIG. 3 shows a block diagram of an example of a combined digital TV decoding and optical recording system 210, in which the optical storage medium is a Blu-ray disc 212 that is compatible with the Blu-ray Disc standard established by the Blu-ray Disc Association. The Blu-ray disc 212 can be, e.g., a recordable (BD Recordable), a rewritable (BD Recordable), or other optical discs that support direct recording of MPEG transport streams. A Blu-ray Disc drive (not shown) is used to access the Blu-ray disc 212 and generate an output signal 133.
  • The system 210 includes a controller 102 for controlling various other modules of the system 210, and a DRAM 104 to store data during processing of the digital TV signal and multimedia signals written to or retrieved from the Blu-ray disc 212.
  • To process the digital TV signal 94, the system 210 includes a demodulator 96 and a transport stream demultiplexer 115 similar to those in system 200 (FIG. 2). A TS-to-PS encoder is not required in system 210 because the Blu-ray disc 212 supports direct recording of MPEG transport streams.
  • To process multimedia signals retrieved from the Blu-ray disc 212, the system 210 includes a first signal processor 214 that demodulates and decodes the signal 133 according to the Blu-ray Disc standard and stores the multimedia signal in the DRAM 104. The multimedia signal output from the first signal processor 214 includes audio and video signals that are compressed according to the MPEG algorithm, and can be processed by the MPEG audio and video decoder 116, the audio DAC decoder 122, the video post-processor 126, and the TV encoder 130 for viewing and listening similar to the processes described above.
  • To process multimedia signals that are to be recorded in the Blu-ray disc 212, the system 210 includes an audio ADC 114, a video ADC 146, an MPEG audio encoder 152, an MPEG video encoder 154, and a program stream multiplexer 160 that operate similar to those in system 200. A program stream to transport stream encoder (abbreviated as PS-to-TS encoder) 216 is provided to convert the MPEG program stream generated by the program stream multiplexer 160 into an MPEG transport stream. A second signal processor 218 encodes and modulates the MPEG transport stream from the PS-to-TS encoder 216 according to the Blu-ray Disc standard, and generates an output 220 suitable for storage in the Blu-ray disc 212.
  • The systems 200 and 210 can be combined into one system that can record to or read from either a DVD disc or a Blu-ray disc. When playing multimedia content from an optical storage medium, the system controller 102 detects whether the optical recording medium is a DVD disc or a Blu-ray disc, and selects the appropriate signal processing module 134 or 214, respectively. When writing multimedia content to an optical storage medium, the system controller 102 detects whether the optical recording medium is a DVD disc or a Blu-ray disc, and selects the appropriate signal processor 162 or 218, respectively.
  • FIG. 4 shows a diagram representing the flow of signals in an example of the combined system when decoding audio and video signals for output to the speaker and display. The digital TV signal 94 from the digital TV tuner 90 is processed by the demodulator 96 and the transport stream demultiplexer 115 to generate a multimedia signal 232. A signal 132 read from the DVD disc 80 is processed by the first signal processor 134 to generate a multimedia signal 234. A signal 235 read from the Blu-ray disc 212 is processed by the first signal processor 214 to generate a multimedia signal 237. The system controller 102 controls a switch 230 to select the multimedia signal 232, 234, or 237, in which the selected signal is decoded by the MPEG A/V decoder 116 to generate a decoded video signal 118 and a decoded audio signal 120.
  • The analog audio signal 140 is converted into the digital audio signal 148 by the audio ADC 144. The analog video signal 142 is converted into the digital video signal 150 by the video ADC 146. The system controller 102 controls a second switch 236 to select the decoded video 118 or the digital video signal 150, in which the selected video signal is processed by the video post-processor 126 and the TV encoder 130 to generate an output video 131. The system controller 102 controls a third switch 238 to select the decoded audio signal 120 or the digital audio signal 148, in which the selected audio signal is processed by the audio DAC 122 to generate an output audio 124.
  • FIG. 5 shows a signal flow diagram representing the flow of signals in the combined system when encoding audio and video signals for storage in the DVD disc 80 or Blu-ray disc 212. The digital TV signal 94 from the digital TV tuner 90 is processed by the demodulator 96 and the transport stream demultiplexer 115 to generate an MPEG transport stream 232. The transport stream to program stream trans-encoder 166 converts the MPEG transport stream 232 into an MPEG program stream 242.
  • The analog audio signal 140 is processed by the audio ADC 144 and the MPEG audio encoder 152 to generate an MPEG encoded audio signal 246. The analog video signal 142 is processed by the video ADC 146 and the MPEG video encoder 154 to generate an MPEG encoded video signal 248. The program stream multiplexer 160 multiplexes the encoded audio and video signals 246 and 248 to generate a multiplexed program stream 244. The PS-to-TS encoder 216 converts the program stream 244 into an MPEG transport stream 245.
  • The system controller 102 can detect whether the optical recording medium is a DVD disc or a Blu-ray disc, and select the appropriate signal processor 162 or 218, respectively. When writing to the DVD disc 80, the system controller 102 controls a switch 240 to select the program stream 242 or 244, in which the selected program stream is processed by the second signal processor 162 and recorded to the DVD disc 80. When writing to the Blu-ray disc 212, the system controller 102 controls a switch 241 to select the transport stream 232 or 245, in which the selected transport stream is processed by the second signal processor 218 and recorded to the Blu-ray disc 212.
  • Although some examples have been discussed above, other implementations and applications are also within the scope of the following claims. For example, the DVD disc 80 can also be a CD disc, such as a CD-R (CD-Recordable) disc or CD-RW (CD-Rewritable) disc. In the above examples, the DVD disc supports direct recording of MPEG program streams, and the Blu-ray disc supports direct recording of MPEG transport streams. The optical disc recording standards may evolve such that it may be possible to record MPEG transport streams in a DVD disc and MPEG program streams in a Blu-ray disc. In that case, the PS-to-TS encoder 166 and the TS-to-PS encoder 216 may be omitted. Other types of optical recording medium may also be used, such as High-Definition DVD (HD DVD), MiniDisc, or magnetic-optical discs.
  • Various types of memory can be used in the systems 200 and 210. For example, the DRAM 104 can be synchronous DRAM, double data rate (DDR) DRAM, or reduced latency DRAM. Static random access memory (SRAM) can also be used, including quad data rate SRAM. The memory 104 does not necessarily have to be a single chip. The memory 104 can include multiple banks or multiple chips. Allocation of a first portion of memory to store data used during the processing of the digital TV signal is partially dependent on the encoding of the video signal for optical storage. Similarly, allocation of a second portion of the memory to store data used during encoding of the video signal for optical storage is partially dependent on processing of the digital TV signal.
  • A combined digital radio decoder and optical recording system can be implemented using the principles described above. A common system controller controls a digital radio and optical storage processing module, which executes a first process for processing a digital radio signal, a second process for processing audio signals to be recorded to an optical storage medium, and a third process for processing encoded audio signals retrieved from the optical storage medium. A common memory stores data generated by the digital radio and optical storage processing module while executing the first, second, and third processes. By using a common system controller and a common memory, system resources can be used more efficiently and the amount of memory can be reduced.
  • For example, the user may be listening to a first digital radio program at the same time that a second digital radio program is recorded to the optical storage medium. Or the user may be listening to a first digital radio program at the same time that an analog audio signal is recorded to the optical storage medium. The system controller allocates a first portion of the memory for decoding the digital radio signal, and allocates a second portion of the memory for processing the audio signal to be recorded to the optical storage medium. The system controller determines the sizes of the first and second memory portions based on operation requirements, and the sizes of the first and second memory portions may change over time.
  • The system controller 102 can have many components, and does not necessarily have to be a single chip or be embedded in a combined-system chip. The system controller 102 controls the processing of the digital TV signal in a way that is partially dependent on the encoding of the video signal for optical storage. Similarly, the system controller controls the encoding of the video signal for optical storage in a way that is partially dependent on processing of the digital TV signal. In one example, the first and second signal processors 134 and 162 are the same signal processor executing different software code. In another example, the first and second signal processors 214 and 218 are the same signal processor executing different software code. In another example, the signal processors 134, 162, 214, and 218 are the same signal processor executing different software code.

Claims (36)

1. An apparatus comprising:
a transport stream demultiplexer to demultiplex at least one compressed video stream from an encoded transport stream having multiplexed compressed video streams;
a video encoder to compress a video stream to generate a second compressed video stream; and
a controller to allocate portions of a shared memory to the transport stream demultiplexer and the video encoder based on respective memory requirements.
2. The apparatus of claim 1, also comprising a common memory controller for controlling access to the memory by the transport stream demultiplexer and the video encoder.
3. The apparatus of claim 1, also comprising a demodulator to demodulate a signal from a digital television tuner to generate the encoded transport stream.
4. The apparatus of claim 1, also comprising a recording module to record at least one of the compressed video streams demultiplexed by the transport stream demultiplexer and the second compressed video stream to a recording medium.
5. The apparatus of claim 4, also comprising a transport stream to program stream encoder to convert the demultiplexed compressed video stream into an MPEG program stream.
6. The apparatus of claim 4, also comprising a program stream to transport stream encoder to convert the second compressed video stream into an MPEG transport stream.
7. The apparatus of claim 1, also comprising at least one of a video decoder, a video post-processor, an audio encoder, and an audio decoder, in which the controller allocates portions of the shared memory to the at least one of the video decoder, the video post-processor, the audio encoder, and the audio decoder based on respective memory requirements.
8. A system comprising:
a demodulator to demodulate a signal from a digital television tuner to generate an MPEG transport stream having multiplexed compressed video streams;
a transport stream demultiplexer to demultiplex at least one compressed video stream from the MPEG transport stream;
an MPEG video decoder to decode the compressed video stream;
an MPEG video encoder to compress another video stream to generate a second compressed video stream;
a memory shared by the transport stream demultiplexer, the MPEG video decoder, and the MPEG video encoder;
a controller to control the transport stream demultiplexer, the video decoder, and the video encoder, and allocate portions of the shared memory to the transport stream demultiplexer, the video decoder, and the video encoder based on respective memory requirements; and
a recording module to record at least one of the compressed video streams demultiplexed by the transport stream demultiplexer and the second compressed video stream to a recording medium.
9. A system comprising:
a system controller to control operations of a first module for decoding a digital TV signal and a second module for encoding a video signal for recording to an optical recording medium; and
a system resource shared by the first and second modules, the system controller allocating portions of the system resource to the first and second modules based on requirements of the modules.
10. The system of claim 9 in which the system resource comprises memory.
11. The system of claim 9 in which the system controller adjusts speeds of the first and second modules so that peak requirements of the system resource from the first and second modules occur at controlled times.
12. The system of claim 9 in which the first module comprises an MPEG decoder to decode the MPEG encoded audio and video signals.
13. The system of claim 9 in which the second module comprises an MPEG encoder for compressing the video signal according to MPEG encoding to generate a compressed video signal.
14. A system comprising:
means for dynamically allocating portions of a shared memory for use in (a) demultiplexing a signal having multiplexed digitally encoded video streams and (b) encoding another video stream, and
means for simultaneously demultiplexing the signal and encoding the other stream using the respective allocated portions of the memory.
15. A system comprising:
a system controller to control operations of a first module for decoding a digital radio signal and a second module for encoding an audio signal for recording to an optical recording medium; and
a memory shared by the first and second modules, the system controller allocating portions of the memory to the first and second modules based on requirements of the modules.
16. A method comprising
dynamically allocating portions of a shared memory for use in (a) demultiplexing a signal having multiplexed digitally encoded video streams and (b) encoding another video stream, and
demultiplexing the signal and encoding the other stream using the respective allocated portions of the memory.
17. The method of claim 16 also comprising controlling the demultiplexing and the encoding operations using a common controller.
18. The method of claim 16 in which demultiplexing a signal having multiplexed digitally encoded video streams comprises demultiplexing an MPEG transport stream having multiplexed MPEG encoded video streams to select one of the MPEG encoded video streams.
19. The method of claim 18, also comprising converting a selected MPEG encoded video stream into an MPEG program stream, and storing data used during the conversion in the shared memory.
20. The method of claim 19, also comprising encoding the MPEG program stream according to an optical storage standard to generate a signal suitable for storage in an optical storage medium that supports direct recording of an MPEG program stream, and storing data used during the encoding of the MPEG program stream in the memory.
21. The method of claim 18, also comprising decoding the selected MPEG encoded video stream according to MPEG decoding, and storing data used during the decoding in the shared memory.
22. The method of claim 16 in which the other video stream is encoded to generate an MPEG program stream, and the method also comprises converting the MPEG program stream into an MPEG transport stream, and storing data used during the decoding in the memory.
23. The method of claim 22, comprising encoding the MPEG transport stream according to an optical storage standard to generate a signal suitable for storage in an optical storage medium that supports direct recording of an MPEG transport stream, and storing data used during the encoding of the MPEG transport stream in the memory.
24. A method comprising:
using a controller to control operations of a first module for decoding a digital TV signal and a second module for encoding a video signal for recording to an optical recording medium; and
storing data used during operations of the first and second modules in a shared memory, in which allocation of a first portion of the memory to store data used by the first module is partially dependent on an operation condition of the second module.
25. The method of claim 24, comprising dynamically allocating a first portion of the memory to store data used during operations of the first module, and dynamically allocating a second portion of the memory to store data used during operation of the second module.
26. The method of claim 24, comprising demodulating a digital TV signal.
27. The method of claim 26 in which operations of the first module comprise demultiplexing an MPEG transport stream derived from the demodulated digital TV signal to generate MPEG encoded audio and video signals.
28. The method of claim 27 in which operations of the first module comprise decoding the MPEG encoded audio and video signals according to MPEG decoding to generate decoded audio and video signals.
29. The method of claim 28 in which operations of the first module comprise video post-processing the decoded video signal to improve image quality of the video signal.
30. The method of claim 29 in which operations of the first module comprise encoding the post-processed signal to generate an encoded signal that can be displayed on a television.
31. The method of claim 24, in which operations of the second module comprise compressing the video signal according to MPEG encoding to generate a compressed video signal.
32. The method of claim 31 in which operations of the second module comprise encoding the compressed video signal according to an optical storage standard to generate a signal having a waveform suitable for storage on an optical storage medium.
33. The method of claim 24 in which operations of the first module comprise converting an MPEG transport stream derived from the digital TV signal into an MPEG program stream.
34. The method of claim 24 in which operations of the second module comprise converting an MPEG program stream derived from the video signal into an MPEG transport stream.
35. A computer program product that causes a controller to perform operations comprising:
setting register values to control operations of a first module for decoding a digital TV signal and a second module for encoding a video signal for recording to an optical recording medium; and
dynamically allocating a first portion of a memory to store data used during operations of the first module, and dynamically allocating a second portion of the memory to store data used during operations of the second module.
36. A method comprising:
using a common controller to control operations of a first module for decoding a digital radio signal and a second module for encoding an audio signal for recording to an optical recording medium; and
storing data used during operations of the first and second modules in a shared memory, in which allocation of a first portion of memory to store data used by the first module is partially dependent on an operation condition of the second module.
US12/790,384 2005-05-06 2010-05-28 Video Processing and Optical Recording Abandoned US20100239233A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/790,384 US20100239233A1 (en) 2005-05-06 2010-05-28 Video Processing and Optical Recording

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US11/124,434 US7769274B2 (en) 2005-05-06 2005-05-06 Video processing and optical recording using a shared memory
US12/790,384 US20100239233A1 (en) 2005-05-06 2010-05-28 Video Processing and Optical Recording

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US11/124,434 Continuation US7769274B2 (en) 2005-05-06 2005-05-06 Video processing and optical recording using a shared memory

Publications (1)

Publication Number Publication Date
US20100239233A1 true US20100239233A1 (en) 2010-09-23

Family

ID=37298405

Family Applications (2)

Application Number Title Priority Date Filing Date
US11/124,434 Active 2029-02-26 US7769274B2 (en) 2005-05-06 2005-05-06 Video processing and optical recording using a shared memory
US12/790,384 Abandoned US20100239233A1 (en) 2005-05-06 2010-05-28 Video Processing and Optical Recording

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US11/124,434 Active 2029-02-26 US7769274B2 (en) 2005-05-06 2005-05-06 Video processing and optical recording using a shared memory

Country Status (3)

Country Link
US (2) US7769274B2 (en)
CN (1) CN100452830C (en)
TW (1) TWI324485B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180376077A1 (en) * 2017-06-21 2018-12-27 Funai Electric Co., Ltd. Audio/video output device

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7769274B2 (en) * 2005-05-06 2010-08-03 Mediatek, Inc. Video processing and optical recording using a shared memory
TWI314015B (en) * 2005-10-28 2009-08-21 Novatek Microelectronics Corp Digital audio/video playback system capable of controlling audio and video playback speed
US20080159713A1 (en) * 2006-12-28 2008-07-03 Mediatek Inc. Digital Video Recorder, Multimedia Storage Apparatus, And Method Thereof
US7698528B2 (en) * 2007-06-28 2010-04-13 Microsoft Corporation Shared memory pool allocation during media rendering
US20100178038A1 (en) * 2009-01-12 2010-07-15 Mediatek Inc. Video player
US8594200B2 (en) * 2009-11-11 2013-11-26 Mediatek Inc. Method of storing motion vector information and video decoding apparatus
US8484391B2 (en) * 2011-06-20 2013-07-09 Intel Corporation Configurable buffer allocation for multi-format video processing
JP6378144B2 (en) * 2015-07-31 2018-08-22 ファナック株式会社 Servo control system having learning control device having function of optimizing learning memory allocation
CN106528278B (en) * 2015-09-14 2019-06-25 纬创资通(上海)有限公司 Hardware load method of adjustment and electronic device
WO2020072676A1 (en) * 2018-10-02 2020-04-09 Brainworks Foundry, Inc. Efficient high bandwidth shared memory architectures for parallel machine learning and ai processing of large data sets and streams

Citations (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5159336A (en) * 1991-08-13 1992-10-27 Iomega Corporation Tape controller with data compression and error correction sharing a common buffer
US5684542A (en) * 1993-12-21 1997-11-04 Sony Corporation Video subtitle processing system
US5781788A (en) * 1995-05-08 1998-07-14 Avc Technology, Inc. Full duplex single clip video codec
US5870087A (en) * 1996-11-13 1999-02-09 Lsi Logic Corporation MPEG decoder system and method having a unified memory for transport decode and system controller functions
US6058459A (en) * 1996-08-26 2000-05-02 Stmicroelectronics, Inc. Video/audio decompression/compression device including an arbiter and method for accessing a shared memory
US6098044A (en) * 1998-06-26 2000-08-01 Lsi Logic Corporation DVD audio decoder having efficient deadlock handling
US6154603A (en) * 1997-02-18 2000-11-28 Thomson Licensing S.A. Picture decoding for trick mode operation
US6240492B1 (en) * 1998-05-22 2001-05-29 International Business Machines Corporation Memory interface for functional unit of integrated system allowing access to dedicated memory and shared memory, and speculative generation of lookahead fetch requests
US6330214B1 (en) * 1997-09-30 2001-12-11 Sony Corporation Signal recording/reproducing apparatus and method
US6363448B1 (en) * 1997-12-09 2002-03-26 Sony United Kingdom Limited Set top box integrated circuit
US20020114392A1 (en) * 1997-02-13 2002-08-22 Shunichi Sekiguchi Moving image estimating system
US6496199B1 (en) * 1999-10-01 2002-12-17 Koninklijke Philips Electronics N.V. Method for storing and retrieving data that conserves memory bandwidth
US6501480B1 (en) * 1998-11-09 2002-12-31 Broadcom Corporation Graphics accelerator
US20030012551A1 (en) * 2001-07-11 2003-01-16 Pioneer Corporation Picture editing apparatus and picture editing method, picture recording/reproducing apparatus, program storage device and computer data signal embodied in carrier wave
US6516137B1 (en) * 1998-09-22 2003-02-04 Koninklijke Philips Electronics N.V. Recording arrangement for digitally recording a received analog video signal in data packets of an MPEG transport stream
US6519287B1 (en) * 1998-07-13 2003-02-11 Motorola, Inc. Method and apparatus for encoding and decoding video signals by using storage and retrieval of motion vectors
US20030037343A1 (en) * 1998-02-04 2003-02-20 Sony Corporation Method and apparatus for receiving digital broadcasts
US20030035650A1 (en) * 2001-08-20 2003-02-20 Jason Demas Apparatus and method of seamless switching between a live DTV decoding and a PVR playback
US6718443B2 (en) * 2000-07-12 2004-04-06 Renesas Technology Corp. Semiconductor integrated circuit device and electronic system for executing data processing by using memory
US20040187165A1 (en) * 2003-02-20 2004-09-23 Koji Kai Integrated circuit and electric device using thereof
US20040221325A1 (en) * 2001-05-10 2004-11-04 Yasuhisa Nakajima Broadcast program processing apparatus, computer system, broadcast program evaluation system, and computer program
US20040246863A1 (en) * 2003-03-31 2004-12-09 Hideo Ando Information recording medium, information reproducing apparatus, and information recording and reproducing apparatus
US20050019016A1 (en) * 2003-06-05 2005-01-27 Masahiro Nakashika Information recording medium, information recording method, information recording apparatus, information playback method, and information playback apparatus
US20050062746A1 (en) * 2003-08-21 2005-03-24 Tomonori Kataoka Signal-processing apparatus and electronic apparatus using same
US20050123278A1 (en) * 2003-12-04 2005-06-09 Tomochika Yamashita Broadcast receiver, program recording method and program product
US20050180643A1 (en) * 2004-02-17 2005-08-18 Tetsuya Okada Memory management method, image processing apparatus, and memory management program
US20050195902A1 (en) * 2004-03-08 2005-09-08 Lg Electronics Inc. Video decoding system
US6985411B2 (en) * 2002-01-18 2006-01-10 Pioneer Corporation Information recording medium, information recording and/or reproducing apparatus and method, and program storage device and computer data signal embodied in carrier wave for controlling record or reproduction
US20060018625A1 (en) * 2004-07-20 2006-01-26 Johnson Carolynn R User defined default recording mode rules
US7050705B1 (en) * 1999-10-07 2006-05-23 International Business Machines Corporation Data recording and reproducing apparatus, method for recording and reproducing video data, disk drive unit, and control unit of data recording and reproducing apparatus
US7158185B2 (en) * 2001-05-01 2007-01-02 Scientific-Atlanta, Inc. Method and apparatus for tagging media presentations with subscriber identification information
US7230987B2 (en) * 2002-09-30 2007-06-12 Broadcom Corporation Multiple time-base clock for processing multiple satellite signals
US7333545B2 (en) * 1999-03-30 2008-02-19 Sony Corporation Digital video decoding, buffering and frame-rate converting method and apparatus
US7551832B2 (en) * 2001-12-05 2009-06-23 Scientific-Atlanta, Inc. Application management and interface for cluster control of time shift buffer
US7668441B2 (en) * 2003-08-20 2010-02-23 Samsung Electronics Co., Ltd Image recording and reproducing apparatus capable of re-compressing and re-recording recorded data and a method thereof
US7769274B2 (en) * 2005-05-06 2010-08-03 Mediatek, Inc. Video processing and optical recording using a shared memory
US7817721B2 (en) * 2003-05-15 2010-10-19 Lsi Corporation Posting status data in digital transport stream processing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001313905A (en) 2000-05-01 2001-11-09 Matsushita Electric Ind Co Ltd Recording and reproducing device of multidata, and recording and reproducing method
JP3430171B1 (en) * 2002-08-29 2003-07-28 共信テクノソニック株式会社 Integrated circuit for hard disk recorder, hard disk recorder, electric equipment with hard disk recorder, television device with hard disk recorder, video recorder with hard disk recorder, and DVD player with hard disk recorder
CN1268134C (en) * 2003-08-26 2006-08-02 深圳市研祥智能科技股份有限公司 Digital television broadcasting system

Patent Citations (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5159336A (en) * 1991-08-13 1992-10-27 Iomega Corporation Tape controller with data compression and error correction sharing a common buffer
US5684542A (en) * 1993-12-21 1997-11-04 Sony Corporation Video subtitle processing system
US5781788A (en) * 1995-05-08 1998-07-14 Avc Technology, Inc. Full duplex single clip video codec
US6058459A (en) * 1996-08-26 2000-05-02 Stmicroelectronics, Inc. Video/audio decompression/compression device including an arbiter and method for accessing a shared memory
US5870087A (en) * 1996-11-13 1999-02-09 Lsi Logic Corporation MPEG decoder system and method having a unified memory for transport decode and system controller functions
US20020114392A1 (en) * 1997-02-13 2002-08-22 Shunichi Sekiguchi Moving image estimating system
US6154603A (en) * 1997-02-18 2000-11-28 Thomson Licensing S.A. Picture decoding for trick mode operation
US6330214B1 (en) * 1997-09-30 2001-12-11 Sony Corporation Signal recording/reproducing apparatus and method
US6388968B1 (en) * 1997-09-30 2002-05-14 Sony Corporation Signal recording/reproducing apparatus and method
US6363448B1 (en) * 1997-12-09 2002-03-26 Sony United Kingdom Limited Set top box integrated circuit
US20030037343A1 (en) * 1998-02-04 2003-02-20 Sony Corporation Method and apparatus for receiving digital broadcasts
US6240492B1 (en) * 1998-05-22 2001-05-29 International Business Machines Corporation Memory interface for functional unit of integrated system allowing access to dedicated memory and shared memory, and speculative generation of lookahead fetch requests
US6098044A (en) * 1998-06-26 2000-08-01 Lsi Logic Corporation DVD audio decoder having efficient deadlock handling
US6519287B1 (en) * 1998-07-13 2003-02-11 Motorola, Inc. Method and apparatus for encoding and decoding video signals by using storage and retrieval of motion vectors
US6516137B1 (en) * 1998-09-22 2003-02-04 Koninklijke Philips Electronics N.V. Recording arrangement for digitally recording a received analog video signal in data packets of an MPEG transport stream
US6501480B1 (en) * 1998-11-09 2002-12-31 Broadcom Corporation Graphics accelerator
US7333545B2 (en) * 1999-03-30 2008-02-19 Sony Corporation Digital video decoding, buffering and frame-rate converting method and apparatus
US6496199B1 (en) * 1999-10-01 2002-12-17 Koninklijke Philips Electronics N.V. Method for storing and retrieving data that conserves memory bandwidth
US7050705B1 (en) * 1999-10-07 2006-05-23 International Business Machines Corporation Data recording and reproducing apparatus, method for recording and reproducing video data, disk drive unit, and control unit of data recording and reproducing apparatus
US6718443B2 (en) * 2000-07-12 2004-04-06 Renesas Technology Corp. Semiconductor integrated circuit device and electronic system for executing data processing by using memory
US7158185B2 (en) * 2001-05-01 2007-01-02 Scientific-Atlanta, Inc. Method and apparatus for tagging media presentations with subscriber identification information
US20040221325A1 (en) * 2001-05-10 2004-11-04 Yasuhisa Nakajima Broadcast program processing apparatus, computer system, broadcast program evaluation system, and computer program
US20030012551A1 (en) * 2001-07-11 2003-01-16 Pioneer Corporation Picture editing apparatus and picture editing method, picture recording/reproducing apparatus, program storage device and computer data signal embodied in carrier wave
US20030035650A1 (en) * 2001-08-20 2003-02-20 Jason Demas Apparatus and method of seamless switching between a live DTV decoding and a PVR playback
US7551832B2 (en) * 2001-12-05 2009-06-23 Scientific-Atlanta, Inc. Application management and interface for cluster control of time shift buffer
US6985411B2 (en) * 2002-01-18 2006-01-10 Pioneer Corporation Information recording medium, information recording and/or reproducing apparatus and method, and program storage device and computer data signal embodied in carrier wave for controlling record or reproduction
US7230987B2 (en) * 2002-09-30 2007-06-12 Broadcom Corporation Multiple time-base clock for processing multiple satellite signals
US20040187165A1 (en) * 2003-02-20 2004-09-23 Koji Kai Integrated circuit and electric device using thereof
US20040246863A1 (en) * 2003-03-31 2004-12-09 Hideo Ando Information recording medium, information reproducing apparatus, and information recording and reproducing apparatus
US7817721B2 (en) * 2003-05-15 2010-10-19 Lsi Corporation Posting status data in digital transport stream processing
US20050019016A1 (en) * 2003-06-05 2005-01-27 Masahiro Nakashika Information recording medium, information recording method, information recording apparatus, information playback method, and information playback apparatus
US7668441B2 (en) * 2003-08-20 2010-02-23 Samsung Electronics Co., Ltd Image recording and reproducing apparatus capable of re-compressing and re-recording recorded data and a method thereof
US20050062746A1 (en) * 2003-08-21 2005-03-24 Tomonori Kataoka Signal-processing apparatus and electronic apparatus using same
US7444064B2 (en) * 2003-12-04 2008-10-28 Hitachi, Ltd. Broadcast receiver, program recording method and program product
US20050123278A1 (en) * 2003-12-04 2005-06-09 Tomochika Yamashita Broadcast receiver, program recording method and program product
US20050180643A1 (en) * 2004-02-17 2005-08-18 Tetsuya Okada Memory management method, image processing apparatus, and memory management program
US20050195902A1 (en) * 2004-03-08 2005-09-08 Lg Electronics Inc. Video decoding system
US20060018625A1 (en) * 2004-07-20 2006-01-26 Johnson Carolynn R User defined default recording mode rules
US7769274B2 (en) * 2005-05-06 2010-08-03 Mediatek, Inc. Video processing and optical recording using a shared memory

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180376077A1 (en) * 2017-06-21 2018-12-27 Funai Electric Co., Ltd. Audio/video output device
US10440289B2 (en) * 2017-06-21 2019-10-08 Funai Electric Co., Ltd. Audio/video output device
US20190387183A1 (en) * 2017-06-21 2019-12-19 Funai Electric Co., Ltd. Audio/video output device
US10728467B2 (en) * 2017-06-21 2020-07-28 Funai Electric Co., Ltd. Audio/video output device

Also Published As

Publication number Publication date
CN100452830C (en) 2009-01-14
TW200640262A (en) 2006-11-16
TWI324485B (en) 2010-05-01
US20060251064A1 (en) 2006-11-09
US7769274B2 (en) 2010-08-03
CN1859545A (en) 2006-11-08

Similar Documents

Publication Publication Date Title
US7769274B2 (en) Video processing and optical recording using a shared memory
KR100511250B1 (en) Digital Audio / Video (A / V) Systems
US8401372B2 (en) Image recording apparatus, image recording method and storage medium for recording television programs
US20120013807A1 (en) Method and apparatus for fast source switching and/or automatic source switching
KR100997166B1 (en) Decoding device and decoding method
CN101248672A (en) Transcoding image for improved trick broadcast
JP2006287825A (en) Recording device
KR20060066636A (en) Personal video recorder system and method for reproducing a broadcasting signal in the system
KR100968842B1 (en) Decoding apparatus and decoding method
JP2005347871A5 (en)
CN1165175C (en) Multiway transmission device and method, image output device and method and its recording medium
KR100267225B1 (en) digital broadcasting receivable digital recording/reproducing device
JPH0865616A (en) Device and method for digital video recording
JP4759130B2 (en) Method and apparatus for managing frame buffer memory in a digital television system
JP4333617B2 (en) Digital broadcast recording apparatus and digital broadcast recording method
JP2001044866A (en) Information reception method and system thereof
EP2819403B1 (en) Video output device
JP2001505392A (en) Method and apparatus for recording digital television signals
JP2000232627A (en) Decoder
KR100190605B1 (en) Digital satellite video receiver
JP4766155B2 (en) Recording device
JP2008258726A (en) Information recording/reproducing device and information recording/reproducing circuit
KR19990035645A (en) This time recording device of digital broadcasting
KR20030069408A (en) Recording Device With Using Hard Disk Drive
JP2011130377A (en) Recording/reproducing apparatus and method

Legal Events

Date Code Title Description
AS Assignment

Owner name: MEDIATEK, INC., TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:YEH, YOU-MIN;CHEN, CHIEN-CHUNG;REEL/FRAME:025046/0883

Effective date: 20050509

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION