WO2006090802A2 - Video output device - Google Patents

Video output device Download PDF

Info

Publication number
WO2006090802A2
WO2006090802A2 PCT/JP2006/303326 JP2006303326W WO2006090802A2 WO 2006090802 A2 WO2006090802 A2 WO 2006090802A2 JP 2006303326 W JP2006303326 W JP 2006303326W WO 2006090802 A2 WO2006090802 A2 WO 2006090802A2
Authority
WO
WIPO (PCT)
Prior art keywords
dma transfer
video
video output
video data
external memory
Prior art date
Application number
PCT/JP2006/303326
Other languages
French (fr)
Japanese (ja)
Inventor
Satoshi Kinoshita
Original Assignee
Matsushita Electric Industrial Co., Ltd.
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 Matsushita Electric Industrial Co., Ltd. filed Critical Matsushita Electric Industrial Co., Ltd.
Publication of WO2006090802A2 publication Critical patent/WO2006090802A2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • 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
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/781Television signal recording using magnetic recording on disks or drums
    • 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
    • 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/8042Transformation 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 involving data reduction

Definitions

  • the present invention relates to a video output device, and in particular, a DVD (Digital Versatile Disk), an HDD.
  • DVD Digital Versatile Disk
  • the present invention relates to video output device technology that can be applied when playing back digital data such as video stored in (Hard Disk Drive).
  • a conventional video output device shown in FIG. 5 has a read processing block 501 for reading digital data such as video recorded on a DVD, HDD, etc., and the read processing block 501 reads the digital data. Processing is performed in a decoding processing block 502 that decodes the compressed video data, a video output processing block 503 that outputs the decoded video, a reading processing block 501, a decoding processing block 502, and a video output processing block 503. And an external memory 504 for storing data to be stored.
  • the video data is read by the read processing block 501, and the read video data is transferred to the decode processing block 502 to decode it.
  • the decoded video signal is input to the video output processing block 503, and the decoded video signal is output from the video output processing block 503.
  • Patent Document 1 Japanese Patent Laid-Open No. 2001-351332 (1st page, Fig. 1)
  • the external memory 504 If the transfer capability is low, bus failure will occur, and in the worst case, the decoded video signal will not be output correctly. In order to avoid bus failure, the external memory 504 having a high transfer capability may be used. However, using the external memory 504 having a high transfer capability may lead to an increase in the cost of the video output device. It becomes.
  • the present invention has been made in view of the above-described conventional problems.
  • Read processing block, decode processing block, video output processing block power in the video output device Data transfer is performed by external memory and DMA transfer.
  • the purpose is to provide a video output device that can alleviate bus failures that occur when the transfer capacity of the external memory is low and can output a correct video signal.
  • the video output apparatus reads a digital data including video recorded on a recording medium, and reads the digital data including the video by the read processing block.
  • the video output processing block includes: A plurality of video data stored in the external memory are DMA-transferred to an internal buffer having a predetermined capacity in the video output processing block, and image digital signal processing is performed on each video data, and these are synthesized.
  • DMA transfer information indicating the type of video data to be transferred and the transfer amount obtained from the decode processing block and the video output processing block is acquired, and based on the acquired DMA transfer information, By changing the video output processing in the video output processing block, the bus failure of the DMA transfer with the external memory is alleviated.
  • the video output processing block is based on the DMA transfer information indicating the type and transfer amount of each image data such as OSD, SPU, main video, thumbnail, etc. from the decoding processing block or the video output processing block.
  • the video output device is the video output device according to claim 1, wherein the video output processing block is configured to perform DMA transfer of the video data from the external memory to the internal buffer.
  • the output range power of each video data is obtained a period in which the video data overlaps each other, the display order and transparency of each video data are detected, and each video data is detected.
  • the video data is determined not to be displayed as a monitor output display video when the video data is synthesized and then output and displayed based on the display order and transparency of the With respect to the video data, the DMA transfer from the external memory to the internal buffer is not performed, thereby reducing the failure of DMA transfer with the external memory. Than it is.
  • the video output device is the video output device according to claim 1, wherein the video output processing block is configured to transmit the video data from the external memory to the internal memory.
  • the display period and transparency of each video data are obtained from the output range of each video data by obtaining a period in which the video data overlap each other.
  • the video data is synthesized and then output and displayed based on the display order and transparency of the video data, when it is determined that all the video data is displayed on the monitor,
  • the amount of the internal buffer used for DMA transfer among the internal buffers of the predetermined capacity is increased!
  • the video output device is the video output device according to claim 3, wherein the decoding processing block is selected based on a special reproduction state used in decoding in the block.
  • the maximum DMA transfer time for the DMA transfer of video data to be used is calculated, and the video output processing block uses the internal buffer used for the DMA transfer in the video output processing according to the maximum DMA transfer time. It is characterized by reducing the DMA transfer bus failure with external memory by increasing the amount of data and increasing the amount of prefetched video data.
  • the maximum DMA transfer time related to the DMA transfer of the video data used for the decoding is calculated from the special reproduction state used in the decoding in the decoding processing block, and based on this, the video output processing is calculated.
  • the video output device is the video output device according to claim 3, wherein the decoding processing block relates to DMA transfer of video data used in the decoding based on the decoding format.
  • the maximum DMA transfer time is calculated and the video output process is performed.
  • the logical block is set to increase the amount of the internal buffer used for DMA transfer in the video output process according to the maximum DMA transfer time, and the video data to be read ahead is increased to increase the external data. It is characterized by alleviating bus failures in DMA transfer with memory.
  • the maximum DMA transfer time related to DMA transfer of video data used in the decoding is calculated according to a decoding format such as MPEG1ZMPEG2ZMPEG4 in the decoding processing block, and based on this, the video output of the video output processing block is output
  • a decoding format such as MPEG1ZMPEG2ZMPEG4 in the decoding processing block
  • the video output device is the video output device according to claim 1, wherein the video output processing block includes a video format in processing performed by the decoding processing block, and the video output From the scaling ratio of each video data in the processing performed by the processing block, the maximum DMA transfer time for DMA transfer of the video data is calculated for the scaling process in the digital image signal processing. According to the maximum DMA transfer time, the output processing block increases the amount of the internal buffer used for DMA transfer when performing the enlargement / reduction processing in the image digital signal processing out of the predetermined capacity of the internal buffer. Reducing the DMA transfer bus failure with the external memory by setting and increasing the prefetched video data It is the Chi and Features.
  • the video processing such as 4: 4: 4/4: 2: 2/4: 2: 0 in the processing performed by the decoding processing block, and the enlargement / reduction processing by the image digital signal processing in the video output processing block
  • the maximum DMA transfer time related to the DMA transfer of the video data is calculated from the scaling rate of each video data in, and based on this, the amount of internal buffer used in the scaling process in the image digital signal processing is changed
  • the video output device is the video output device according to claim 1, wherein the video output processing block is a video output format power progressive output. It is determined whether the output is interlaced, and in the case of the interlaced output, the number of executions of the DMA transfer of the video data from the external memory to the internal buffer and the internal buffer of the predetermined capacity are used for DMA transfer. By setting to reduce the amount of the internal buffer, the bus failure of the DMA transfer with the external memory is alleviated.
  • interlace output the number of DMA transfer executions from the external memory of the video data to the internal buffer, and the internal By reducing the amount of buffers, it is possible to mitigate bus failures in DMA transfer with external memory.
  • the video output device is the video output device according to claim 3, wherein when the capacity of the internal buffer is insufficient, the image digital signal processing block is enlarged or reduced.
  • the number of taps of the digital filter of the processing that maximizes the number of taps of the digital filter is reduced, so that the main video data is transferred from the external memory to the internal buffer.
  • the DMA transfer to the external memory is reduced, and in the video output processing, the amount of the buffer used for the DMA transfer is set to be reduced to reduce the DMA transfer failure with the external memory. To do.
  • the video output device is the video output device according to claim 6, wherein when the capacity of the internal buffer is insufficient, the image digital signal processing block is enlarged or reduced.
  • the number of taps of the digital filter of the processing that maximizes the number of taps of the digital filter is reduced, so that the main video data is transferred from the external memory to the internal buffer. Reducing the amount of buffer used for DMA transfer in the video output processing. It is characterized in that it is set so as to alleviate the failure of DMA transfer with the external memory.
  • the image digital signal processing block is enlarged or reduced.
  • the number of taps of the digital filter of the processing that maximizes the number of taps of the digital filter is reduced, so that the main video data is transferred from the external memory to the internal buffer.
  • the DMA transfer to the external memory is reduced, and in the video output processing, the amount of the buffer used for the DMA transfer is set to be reduced to reduce the DMA transfer failure with the external memory. To do.
  • the video output device is the video output device according to claim 3, wherein the DMA transfer allowable time of the video data is calculated from the set internal buffer amount used for the DMA transfer.
  • the DMA transfer bus to the external memory is changed to a higher value. It is characterized by mitigating bankruptcies.
  • the DMA transfer priority with the external memory can be alleviated by dynamically determining the DMA transfer priority based on the DMA transfer allowable time of the video data. Can do.
  • the video output device is the video output device according to claim 6, wherein the DMA transfer allowable time of the video data is determined from the set internal buffer amount used for the DMA transfer.
  • the DMA transfer bus to the external memory is changed to a higher value. It is characterized by mitigating bankruptcies.
  • the DMA transfer priority with the external memory can be alleviated by dynamically determining the DMA transfer priority based on the DMA transfer allowable time of the video data.
  • the video output device is the video output device according to claim 7, wherein the DMA transfer allowable time of the video data is determined from the set internal buffer amount used for the DMA transfer.
  • the DMA transfer bus to the external memory is changed to a higher value. It is characterized by mitigating bankruptcies.
  • the DMA transfer priority with the external memory can be alleviated by dynamically determining the DMA transfer priority based on the DMA transfer allowable time of the video data.
  • the video output device is the video output device according to claim 8, wherein the DMA transfer allowable time of the video data is calculated from the set internal buffer amount used for the DMA transfer.
  • the DMA transfer bus to the external memory is changed to a higher value. It is characterized by mitigating bankruptcies.
  • the DMA transfer priority with the external memory can be alleviated by dynamically determining the DMA transfer priority based on the DMA transfer allowable time of the video data.
  • the video output processing block when using the external memory 104 having a low transfer capability, the video output processing block is based on the information acquired from the decoding processing block 102 or the video output processing block 103.
  • the DMA transfer bus failure of the external memory 104 by controlling the DMA transfer amount of each video data in 103, setting the internal buffer amount effective for the transfer of each video data, or assigning the DMA transfer priority
  • the system can be constructed with high cost performance!
  • FIG. 1 is a diagram showing a configuration of a video output apparatus according to Embodiment 1 of the present invention.
  • FIG. 2 is a block diagram showing video output processing in the video output device according to the first embodiment.
  • FIG. 3 is a diagram showing a flow of DMA transfer control processing in the video output device according to the first embodiment.
  • FIG. 4 is a diagram showing a transfer rate of all video data between external buffers and internal buffers in the video output device according to the first embodiment.
  • FIG. 5 is a diagram showing a configuration of a conventional video output device.
  • N Proportional constant depending on transfer capacity of DMA controller and external memory 104
  • the video output processing device according to the first embodiment of the present invention will be described below.
  • the video output device includes a read processing block 101 for reading digital data such as video recorded on a DVD, an HDD, etc., and the read processing block 101.
  • the decoding processing block 102 that decodes the compressed video data
  • the video output processing block 103 that outputs the decoded video
  • the reading processing block 101, the decoding processing block 102, and the video output processing block 103 perform processing.
  • an external memory 104 for storing data to be stored.
  • the video data is read by the read processing block 101, and the read video data is transferred to the decode processing block 102 for decoding.
  • the decoded video data is input to the video output processing block 103, and a decoded video signal is output from the video output processing block 103.
  • FIG. 2 is a diagram showing an internal configuration of the video output processing block 103 in the video output device according to the first embodiment.
  • the external memory 104 stores video data such as main video data 202, thumbnail data 203, OSD (On Screen Display) data 204, SPU (Sub Picture Unit) data 205, and the like.
  • the video output processing block 103 is composed of an internal buffer 206 and an image digital signal processing block 211.
  • Each video data recorded in the external memory 104 is DMA-transferred to the internal buffer 206, and
  • the thumbnail data 208, OSD data 209, and SPU data 210 transferred to the internal buffer 206 are added to the main video data 207 that has been subjected to each processing, and added to the image digital signal processing block 211 (212). ) Combine and output the combined video data.
  • the digital filter of the processing that maximizes the number of taps of the digital filter among the enlargement / reduction processing, noise reduction processing, and IP conversion processing in the image digital signal processing block 211.
  • the number of taps is set to X (X is an integer of 1 or more) taps so that the number of taps can be set variably, thereby adjusting the video data transfer amount used in the image digital signal processing block 211.
  • FIG. 3 is a diagram showing a flow of DMA transfer control processing in the video output processing block 103 in the video output device according to the first embodiment.
  • the flow of the DMA transfer control process is as follows: a (a is an integer equal to or greater than 1)
  • the process should be designed to be performed once during the screen display period.
  • the DMA transfer control process is performed during the period during which one screen is displayed. Is assumed to be controlled to call once.
  • this DMA transfer control processing needs to be performed during a period when the DMA transfer amount is relatively small before a bus failure occurs.
  • the DMA transfer control processing is performed once in a period for displaying a screen, and the information obtained from the decoding processing block 102 and the video output processing block 103 are used. Based on the obtained information, a DMA transfer time to the external memory 104 in the future for displaying a screen is predicted, the DMA transfer amount control of each video data in the video output processing block 103, and the transfer of each video data
  • a DMA transfer time to the external memory 104 in the future for displaying a screen is predicted, the DMA transfer amount control of each video data in the video output processing block 103, and the transfer of each video data
  • step S301 the transfer capacity of the external memory 104, the capacity of the internal buffer 206, the decoding format of the video such as MPEG1ZMPEG2ZMPEG4 from the decoding processing block 102, and 4: 4: 4/4: 2: Video formats such as 2/4: 2: 0 are acquired (step S301).
  • the DMA transfer control process is performed once in a period for displaying a screen, and a vertical sync is detected a times in order to predict DMA in a period for displaying a screen in the future (step S3).
  • the output range of each video data, the display order and transparency of each video when synthesizing each video data are acquired (step S 303).
  • the higher the display order of the video data the more the image data is synthesized on the front of the screen and the transparency of the image data located on the front of the screen. If is not 0, the image data is combined so that the image data is transmitted and the image data of the next display order is displayed.
  • step S304 It is determined whether the video data overlaps when the transparency is 0 and the display order is higher (step S304). If video data with a transparency of 0 and a higher display order overlaps, Since the video data that will be located at is not displayed, the DMA transfer of the non-displayed video data from the external memory 104 to the internal buffer 206 is stopped over the period for displaying a screen (step S 305). ).
  • step S306 In order to predict the amount of DMA transfer of the main video data 207 from the external memory 104 to the internal buffer 206 in the period for displaying a screen in the future, whether the video output processing block 103 is interlaced or not.
  • the video output format as to whether the output is progressive is acquired (step S306).
  • Acquired video output format power It is determined whether the output is interlaced output or progressive output (step S307). If the video output format is progressive output, the execution rate of the image digital signal processing block 211 is set to progressive. Set the rate (step S308).
  • the execution rate of the image digital signal processing block 211 is set to the interlaced rate (where the interlaced rate is 1Z2 of the progressive rate), and a screen for the future will be displayed.
  • the video output processing block 103 displays the video special playback status such as fast-forward playback obtained from the decoding processing block 102.
  • the obtained enlargement / reduction ratio of the image enlargement / reduction process in the image digital signal processing block 211 and the digital in the process executed at the forefront of the image enlargement / reduction process, the noise reduction process, and the IP conversion process are obtained.
  • the number of filter taps x (x is an integer satisfying the relationship 1 ⁇ x ⁇ X) is acquired (step S310).
  • video when the playback state is paused, the DMA transfer amount after one decoding process is predicted to be zero.
  • the maximum DMA transfer time of video data in one line display period is the maximum DMA transfer time that the read processing block 101 and the decode processing block 102 output in one line display period, and the video output processing block 103. Based on how much transfer size is concentrated on the same line in DMA transfer from the external memory 104 to the internal buffer 206 in FIG.
  • Maximum DMA transfer time of video data in 1 line display period (Maximum transfer size of main video data in 1 line display period + OSD data maximum transfer size in 1 line display period + Thumbnail in 1 line display period Maximum data transfer size + SPU data maximum transfer size during one line display period) XN + Read block and decode processing Maximum transfer time during one line display period for record data and decode data for which the block performs DMA transfer
  • N is a proportional constant that depends on the transfer capability of the DMA controller and the external memory 104, and when the read block and the decode processing block execute DMA transfer, the recording data and the decode data respectively.
  • the maximum transfer time for one line display period can be calculated according to the transfer capacity, reading speed, recording data error rate, decoding format, video format, special video playback status, etc. of the external memory 104. If it is difficult to calculate the transfer time depending on the information, or if it is difficult to obtain the information and the transfer time cannot be calculated, use the transfer time measured in advance.
  • the amount of the internal buffer used for DMA transfer is calculated from the maximum transfer size of the video data in the one-line display period, and the amount of the internal buffer used is calculated in step S301. (Step S312), and if the amount of the internal buffer used for the above DMA transfer exceeds the capacity of the internal buffer 206 acquired in Step S301, the image By reducing the number of digital filter taps in the digital signal processing block 211 in which the number of taps of the digital filter is the maximum among the video enlargement / reduction processing, noise reduction processing, and IP conversion processing (step S313), DMA is performed. The amount of transfer can reduce the DMA transfer amount according to the capacity of the internal buffer 206.
  • a DMA transfer request from the external memory 104 to the internal buffer 206 depends on the size of the internal buffer 207 to 210 of each data.
  • the maximum allowable transfer time from when the data is made until the data in the internal buffer 206 is output is calculated (step S314).
  • the calculated maximum allowable transfer time is compared with the maximum DMA transfer time of the video data (step S315). If the maximum DMA transfer time of the video data exceeds the maximum allowable transfer time, the DMA Set to increase the amount of internal buffer used for transfer, and change the transfer priority so that the maximum allowable transfer time for one line display period increases in order from the processing of one line display period with the shortest maximum allowable transfer time. (Step S316). If the maximum DMA transfer time does not exceed the maximum allowable transfer time in step S315, then the DMA transfer control process is terminated.
  • FIG. 4 is a diagram showing a transfer rate between the external memory 104 and the internal buffer 206 of the video output processing block 103 in the video output processing device according to the first embodiment.
  • the vertical axis represents the transfer rate of all video data between the external memory 104 and the internal buffer 206
  • the horizontal axis represents time
  • the transfer rate 401 for one line display period the transfer rate 401 for one line display period
  • the transfer capacity of the external memory 104 or the capacity of the internal buffer 206 is used for this processing. If this is not sufficient, the processing in the video output processing block 103 is changed, for example, the number of digital filter taps in the image digital signal processing block 211 is reduced. Thereby, the transfer amount of each video data can be reduced, the average transfer rate 402 can be improved as indicated by the arrow 404, and the video output processing can be realized.
  • the transfer capacity of the external memory 104 or the capacity of the internal buffer 206 is sufficient to execute the processing in the video output processing block 103.
  • the DMA temporarily When the transfer is concentrated and the video is disturbed, the time for the DMA transfer from the external memory 104 to the internal buffer 206 and the transfer time are predicted in advance for a screen from the information that can be acquired, and the internal buffer 206 As shown in the arrow 405, the transfer rate is increased during the period T1 by changing the DMA transfer priority to the external buffer 206 and the external memory 104 power. Video output processing can be realized while preventing disturbance.
  • the video output device including the reading processing block 101, the decoding processing block 102, the video output processing block 103, and the external memory 104.
  • each video data stored in the external memory is DMA-transferred to an internal buffer in the video output processing block, and then image digital signal processing is performed on each video data to synthesize them.
  • DMA transfer information indicating the type and transfer amount of each image data to be transferred is acquired, and based on the acquired DMA transfer information, the video output processing block By changing the video output process, the bus failure of DMA transfer with external memory was alleviated.
  • DMA transfer processing is performed for each line display period.
  • the present invention is not limited to this, and DMA transfer is performed for each predetermined period according to the type of video. The present invention is effective even when processing is performed.
  • the present invention is effective when applied to a system that reproduces video data recorded on a DVD, HDD, or the like and uses an external memory with low transfer capability. It can also be used for external recording media.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Bus Control (AREA)

Description

明 现 曞  Specification
映像出力装眮  Video output device
技術分野  Technical field
[0001] 本発明は、映像出力装眮に関し、特に、 DVD (Digital Versatile Disk)、 HDD  TECHNICAL FIELD [0001] The present invention relates to a video output device, and in particular, a DVD (Digital Versatile Disk), an HDD.
(Hard Disk Drive)などに蚘憶された映像などのデゞタルデヌタを再生する際に 適甚するこずのできる映像出力装眮技術に関するものである。  The present invention relates to video output device technology that can be applied when playing back digital data such as video stored in (Hard Disk Drive).
背景技術  Background art
[0002] 図 5に瀺される埓来の映像出力装眮は、 DVD、 HDDなどに蚘録された映像などの デゞタルデヌタを読み取るための読み取り凊理ブロック 501ず、該読み取り凊理ブロ ック 501により読み取られた、圧瞮された映像デヌタをデコヌドするデコヌド凊理ブロ ック 502ず、該デコヌドした映像を出力する映像出力凊理ブロック 503ず、読み取り凊 理ブロック 501、デコヌド凊理ブロック 502、および映像出力凊理ブロック 503におい お凊理すべきデヌタを保存するための倖郚メモリ 504ずを備えたものである。  A conventional video output device shown in FIG. 5 has a read processing block 501 for reading digital data such as video recorded on a DVD, HDD, etc., and the read processing block 501 reads the digital data. Processing is performed in a decoding processing block 502 that decodes the compressed video data, a video output processing block 503 that outputs the decoded video, a reading processing block 501, a decoding processing block 502, and a video output processing block 503. And an external memory 504 for storing data to be stored.
[0003] DVD、 HDDなどに蚘録された映像デヌタを再生する際には、読み取り凊理ブロッ ク 501により映像デヌタを読み取り、該読み取った映像デヌタはこれをデコヌドする ためにデコヌド凊理ブロック 502に転送され、該デコヌドされた映像信号は映像出力 凊理ブロック 503に入力され、該映像出力凊理ブロック 503よりデコヌド映像信号が 出力される。  [0003] When playing back video data recorded on a DVD, HDD, etc., the video data is read by the read processing block 501, and the read video data is transferred to the decode processing block 502 to decode it. The decoded video signal is input to the video output processing block 503, and the decoded video signal is output from the video output processing block 503.
[0004] 前蚘読み取り凊理ブロック 501、前蚘デコヌド凊理ブロック 502、および前蚘映像 出力凊理ブロック 503は、それぞれ、倖郚メモリ 504ず DMA転送によりデヌタ転送を する堎合、前蚘倖郚メモリ 504の転送胜力が䜎ければ、バス砎綻を起こし、最悪の堎 合、正しくデコヌド映像信号が出力されない、ずいった問題がある。  [0004] When the read processing block 501, the decode processing block 502, and the video output processing block 503 transfer data by DMA transfer with the external memory 504, respectively, if the transfer capability of the external memory 504 is low, There is a problem that the bus is broken and the decoded video signal is not output correctly in the worst case.
[0005] ここで、転送胜力の高い倖郚メモリ 504を䜿甚するこずは、映像出力装眮のコストア ップになる。よっお、転送胜力の䜎い倖郚メモリ 504を䜿甚しお、いかにバス砎綻を回 避しお、読み取り凊理ブロック 501、デコヌド凊理ブロック 502、および映像出力凊理 ブロック 503が、それぞれ、倖郚メモリ 504ずの DMA転送を実行できる力が、映像出 力装眮のコストダりンの取り組みずしお重芁ずなる。 [0006] 転送胜力の䜎い倖郚メモリ 504を䜿甚しおバス砎綻を回避するには、読み取り凊理 ブロック 501、デコヌド凊理ブロック 502、および映像出力凊理ブロック 503の各ブロ ック間、および各凊理ブロック 501〜503内で、 DMA転送制埡を行う必芁がある。 [0005] Here, using the external memory 504 having a high transfer capability increases the cost of the video output device. Therefore, using the external memory 504 with low transfer capability, how to avoid bus failure, the read processing block 501, the decode processing block 502, and the video output processing block 503 are each transferred to the external memory 504 by DMA transfer. The ability to execute this is important as an effort to reduce the cost of video output devices. [0006] In order to avoid a bus failure using the external memory 504 having a low transfer capability, between each block of the read processing block 501, the decode processing block 502, and the video output processing block 503, and each processing block 501 It is necessary to perform DMA transfer control within ~ 503.
[0007] ここで、読み取り凊理ブロック 501が、デコヌド凊理ブロック 502ず通信を行うこずに より、バスバンド幅の悪ィ匕を救枈する方法が提案されおいる特蚱文献 1)。  [0007] Here, a method has been proposed in which the read processing block 501 communicates with the decode processing block 502 to remedy bad bus bandwidth (Patent Document 1).
特蚱文献 1 :特開 2001— 351332号公報 (第 1頁、第 1図  Patent Document 1: Japanese Patent Laid-Open No. 2001-351332 (1st page, Fig. 1)
発明の開瀺  Disclosure of the invention
発明が解決しょうずする課題  Problems to be solved by the invention
[0008] 䞊述したように、前蚘読み取り凊理ブロック 501、前蚘デコヌド凊理ブロック 502、 および前蚘映像出力凊理ブロック 503が、それぞれ、前蚘倖郚メモリ 504ず DMA転 送によりデヌタ転送をする堎合、前蚘倖郚メモリ 504の転送胜力が䜎ければ、バス砎 綻を起こし、最悪の堎合、正しくデコヌド映像信号が出力されない、ずいった課題が 生ずる。バス砎綻を回避するためには、転送胜力の高い前蚘倖郚メモリ 504を䜿甚 すればよいのであるが、転送胜力の高い前蚘倖郚メモリ 504を䜿甚するこずは、前蚘 映像出力装眮のコストアップに぀ながるこずずなる。  [0008] As described above, when the reading processing block 501, the decoding processing block 502, and the video output processing block 503 transfer data with the external memory 504 by DMA transfer, respectively, the external memory 504 If the transfer capability is low, bus failure will occur, and in the worst case, the decoded video signal will not be output correctly. In order to avoid bus failure, the external memory 504 having a high transfer capability may be used. However, using the external memory 504 having a high transfer capability may lead to an increase in the cost of the video output device. It becomes.
[0009] この発明は、䞊蚘のような埓来の課題に鑑みおなされたもので、映像出力装眮内の 読み取り凊理ブロック、デコヌド凊理ブロック、映像出力凊理ブロック力 倖郚メモリず DMA転送によりデヌタ転送をする堎合においお、倖郚メモリの転送胜力が䜎い堎 合に発生するバス砎綻を緩和し、正しい映像信号出力を行うこずのできる映像出力 装眮を提䟛するこずを目的ずしお!ボる。  [0009] The present invention has been made in view of the above-described conventional problems. Read processing block, decode processing block, video output processing block power in the video output device Data transfer is performed by external memory and DMA transfer. In some cases, the purpose is to provide a video output device that can alleviate bus failures that occur when the transfer capacity of the external memory is low and can output a correct video signal.
課題を解決するための手段  Means for solving the problem
[0010] 䞊蚘課題を解決するため、本発明の請求項 1にかかる映像出力装眮は、蚘録媒䜓 に蚘録された映像を含むデゞタルデヌタを読み取るための読み取り凊理ブロックず、 前蚘読み取り凊理ブロックにより読み取った、圧瞮された映像デヌタをデコヌドする デコヌド凊理ブロックず、前蚘デコヌド凊理ブロックによりデコヌドされた映像を出力 する映像出力凊理ブロックず、前蚘読み取り凊理ブロック、前蚘デコヌド凊理ブロック 、および前蚘映像出力凊理ブロックでの凊理にぉ 、お䜿甚する映像デヌタを保存す るための倖郚メモリずを備えた映像出力装眮においお、前蚘映像出力凊理ブロックは 、前蚘倖郚メモリに保存された耇数の映像デヌタを、該映像出力凊理ブロック内の所 定容量を有する内郚バッファに DMA転送し、該各映像デヌタに察する画像デゞタ ル信号凊理を行い、これらを合成し出力する際、前蚘デコヌド凊理ブロックおよび該 映像出力凊理ブロックより埗られる、転送すべき各映像デヌタの皮類および転送の 量を瀺す DMA転送情報を取埗し、該取埗した DMA転送情報に基づいお、該映像 出力凊理ブロックにおける映像出力凊理を倉曎するこずにより、前蚘倖郚メモリずの D MA転送のバス砎綻を緩和させる、こずを特城ずするものである。 In order to solve the above-described problem, the video output apparatus according to claim 1 of the present invention reads a digital data including video recorded on a recording medium, and reads the digital data including the video by the read processing block. A decoding processing block for decoding the compressed video data, a video output processing block for outputting the video decoded by the decoding processing block, a reading processing block, the decoding processing block, and the video output processing block. In the video output device including an external memory for storing video data to be used for processing, the video output processing block includes: A plurality of video data stored in the external memory are DMA-transferred to an internal buffer having a predetermined capacity in the video output processing block, and image digital signal processing is performed on each video data, and these are synthesized. When outputting, DMA transfer information indicating the type of video data to be transferred and the transfer amount obtained from the decode processing block and the video output processing block is acquired, and based on the acquired DMA transfer information, By changing the video output processing in the video output processing block, the bus failure of the DMA transfer with the external memory is alleviated.
[0011] これにより、デコヌド凊理ブロックもしくは映像出力凊理ブロックからの、 OSD、 SP U、䞻映像サムネむルなどの各画像デヌタの皮類および転送の量を瀺す DMA転 送情報に基づき、映像出力凊理ブロックにおける映像出力凊理を倉曎するこずによ ぀お、倖郚メモリずの DMA転送のバス砎綻を緩和させるこずができる。  [0011] Thus, the video output processing block is based on the DMA transfer information indicating the type and transfer amount of each image data such as OSD, SPU, main video, thumbnail, etc. from the decoding processing block or the video output processing block. By changing the video output processing at, the bus failure of DMA transfer with external memory can be alleviated.
[0012] 本発明の請求項 2にかかる映像出力装眮は、請求項 1蚘茉の映像出力装眮にお いお、前蚘映像出力凊理ブロックは、前蚘各映像デヌタの前蚘倖郚メモリから前蚘 内郚バッファぞの DMA転送を実行する前のある期間においお、前蚘各映像デヌタ の出力範囲力 前蚘各映像デヌタが盞互に重なる期間を求めお、前蚘各映像デヌ タの衚瀺順䜍および透過床を怜出し、該各映像デヌタの衚瀺順䜍および透過床に 基づき、前蚘各映像デヌタを合成した埌、出力衚瀺する際、モニタ出力衚瀺映像ず しお衚瀺されな ボず刀断される前蚘映像デヌタがあった堎合、前蚘合成前の該映像 デヌタに぀いおは、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送を行わない こずにより、前蚘倖郚メモリずの DMA転送のノ ス砎綻を緩和させる、こずを特城ずする ものである。  [0012] The video output device according to claim 2 of the present invention is the video output device according to claim 1, wherein the video output processing block is configured to perform DMA transfer of the video data from the external memory to the internal buffer. In a certain period before executing the transfer, the output range power of each video data is obtained a period in which the video data overlaps each other, the display order and transparency of each video data are detected, and each video data is detected. When the video data is determined not to be displayed as a monitor output display video when the video data is synthesized and then output and displayed based on the display order and transparency of the With respect to the video data, the DMA transfer from the external memory to the internal buffer is not performed, thereby reducing the failure of DMA transfer with the external memory. Than it is.
[0013] これにより、予め、映像デヌタを合成したずきに生じる映像デヌタの重なりを予枬し 、重なった映像のうちモニタ出力されない映像デヌタを刀定しお、該映像デヌタに぀ いおは、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送を行わないこずにより、 映像出力デヌタ結果を倉えるこずなぐ倖郚メモリずの DMA転送のバス砎綻を緩和さ せるこずができる。  [0013] With this, it is possible to predict in advance the overlap of the video data that occurs when the video data is synthesized, determine the video data that is not output from the monitor among the overlapped videos, and for the video data, the external memory By not performing the DMA transfer from to the internal buffer, it is possible to alleviate the bus failure of the DMA transfer with the external memory without changing the video output data result.
[0014] 本発明の請求項 3にかかる映像出力装眮は、請求項 1蚘茉の映像出力装眮にお いお、前蚘映像出力凊理ブロックは、前蚘映像デヌタの、前蚘倖郚メモリから前蚘内 郚バッファぞの DMA転送を実行する前のある期間にお 、お、前蚘各映像デヌタの 出力範囲から、前蚘各映像デヌタが盞互に重なる期間を求めお、前蚘各映像デヌタ の衚瀺順䜍および透過床を怜出し、該各映像デヌタの衚瀺順䜍および透過床に基 づき、前蚘各映像デヌタを合成した埌、出力衚瀺する際、すべおの前蚘映像デヌタ がモニタ出力衚瀺されるず刀断された堎合、前蚘各映像デヌタが重なる期間に各映 像デヌタの衚瀺を行う映像出力凊理においお、前蚘所定容量の内郚バッファのうち 、 DMA転送に甚いる内郚バッファの量を増力]させるよう蚭定し、先読みする前蚘映 像デヌタを増加させるこずにより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和さ せる、こずを特城ずするものである。 [0014] The video output device according to claim 3 of the present invention is the video output device according to claim 1, wherein the video output processing block is configured to transmit the video data from the external memory to the internal memory. In a certain period before executing the DMA transfer to the unit buffer, the display period and transparency of each video data are obtained from the output range of each video data by obtaining a period in which the video data overlap each other. When the video data is synthesized and then output and displayed based on the display order and transparency of the video data, when it is determined that all the video data is displayed on the monitor, In the video output process that displays each video data during the period when each video data overlaps, the amount of the internal buffer used for DMA transfer among the internal buffers of the predetermined capacity is increased! By setting the video data to be prefetched and increasing the video data to be prefetched, the bus failure of the DMA transfer with the external memory is alleviated.
[0015] これにより、予め、映像デヌタを合成したずきに生じる映像デヌタの重なりを予枬し 、すべおの前蚘映像デヌタがモニタ出力衚瀺されるず刀断された堎合は、映像出力 凊理においお䜿甚する内郚バッファの量を増カロさせるこずによっお、倖郚メモリずの D MA転送のバス砎綻を緩和させるこずができる。  [0015] With this, when it is determined in advance that the overlap of the video data generated when the video data is synthesized and it is determined that all the video data is displayed on the monitor, the internal buffer used in the video output process is used. By increasing the amount of data, the bus failure of the DMA transfer with the external memory can be alleviated.
[0016] 本発明の請求項 4に力かる映像出力装眮は、請求項 3蚘茉の映像出力装眮にお いお、前蚘デコヌド凊理ブロックは、該ブロックにおけるデコヌドにおいお䜿甚する特 殊再生状態より、該デコヌドにお 、お甚 、る映像デヌタの DMA転送に関する最倧 DMA転送時間を蚈算し、前蚘映像出力凊理ブロックは、該最倧 DMA転送時間に 応じお、その映像出力凊理においお、 DMA転送に甚いる前蚘内郚バッファの量を 増加させるよう蚭定し、先読みする映像デヌタを増カロさせるこずにより、倖郚メモリずの DMA転送のバス砎綻を緩和させる、こずを特城ずするものである。  [0016] The video output device according to claim 4 of the present invention is the video output device according to claim 3, wherein the decoding processing block is selected based on a special reproduction state used in decoding in the block. The maximum DMA transfer time for the DMA transfer of video data to be used is calculated, and the video output processing block uses the internal buffer used for the DMA transfer in the video output processing according to the maximum DMA transfer time. It is characterized by reducing the DMA transfer bus failure with external memory by increasing the amount of data and increasing the amount of prefetched video data.
[0017] これにより、デコヌド凊理ブロックにおけるデコヌドにおいお䜿甚する特殊再生状態 より、該デコヌドにお 、お甚 、る映像デヌタの DMA転送に関する最倧 DMA転送時 間を算出し、これに基づき、映像出力凊理ブロックの映像出力凊理においお䜿甚す る内郚バッファの量を増カロさせお、先読みする映像デヌタを増加させるこずによっお、 倖郚メモリずの DMA転送のバス砎綻を緩和させるこずができる。  Accordingly, the maximum DMA transfer time related to the DMA transfer of the video data used for the decoding is calculated from the special reproduction state used in the decoding in the decoding processing block, and based on this, the video output processing is calculated. By increasing the amount of internal buffer used in the video output processing of the block and increasing the prefetched video data, it is possible to alleviate DMA transfer bus failures with external memory.
[0018] 本発明の請求項 5にかかる映像出力装眮は、請求項 3蚘茉の映像出力装眮にお いお、前蚘デコヌド凊理ブロックは、そのデコヌド圢匏より、該デコヌドにおいお甚い る映像デヌタの DMA転送に関する最倧 DMA転送時間を蚈算し、前蚘映像出力凊 理ブロックは、該最倧 DMA転送時間に応じお、その映像出力凊理においお、 DMA 転送に甚いる前蚘内郚バッファの量を増カロさせるよう蚭定し、先読みする前蚘映像 デヌタを増加させるこずのより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させ る、こずを特城ずするものである。 [0018] The video output device according to claim 5 of the present invention is the video output device according to claim 3, wherein the decoding processing block relates to DMA transfer of video data used in the decoding based on the decoding format. The maximum DMA transfer time is calculated and the video output process is performed. The logical block is set to increase the amount of the internal buffer used for DMA transfer in the video output process according to the maximum DMA transfer time, and the video data to be read ahead is increased to increase the external data. It is characterized by alleviating bus failures in DMA transfer with memory.
[0019] これにより、デコヌド凊理ブロックでの MPEG1ZMPEG2ZMPEG4などのデコ ヌド圢匏により、該デコヌドにおいお甚いる映像デヌタの DMA転送に関する最倧 D MA転送時間を算出し、これに基づき、映像出力凊理ブロックの映像出力凊理にお いお䜿甚する内郚バッファの量を増倧させお、先読みする映像デヌタを増加させるこ ずにより、倖郚メモリずの DMA転送のバス砎綻を緩和させるこずができる。  [0019] Thus, the maximum DMA transfer time related to DMA transfer of video data used in the decoding is calculated according to a decoding format such as MPEG1ZMPEG2ZMPEG4 in the decoding processing block, and based on this, the video output of the video output processing block is output By increasing the amount of internal buffer used for processing and increasing the prefetched video data, it is possible to alleviate the bus failure of DMA transfer with external memory.
[0020] 本発明の請求項 6にかかる映像出力装眮は、請求項 1蚘茉の映像出力装眮にお いお、前蚘映像出力凊理ブロックは、前蚘デコヌド凊理ブロックが行う凊理における 映像フォヌマット、および該映像出力凊理ブロックが行う凊理における各映像デヌタ の拡倧瞮小率より、前蚘画像デゞタル信号凊理における拡倧瞮小凊理にお!、お甚 V、る前蚘映像デヌタの DMA転送に関する最倧 DMA転送時間を蚈算し、前蚘映像 出力凊理ブロックは、該最倧 DMA転送時間に応じお、前蚘所定容量の内郚バッフ ァのうち、前蚘画像デゞタル信号凊理における拡倧瞮小凊理を行う際に DMA転送 に甚いる内郚バッファの量を増力 tlさせるよう蚭定し、先読みする前蚘映像デヌタを増 カロさせるこずにより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させる、こずを特 城ずするちのである。  [0020] The video output device according to claim 6 of the present invention is the video output device according to claim 1, wherein the video output processing block includes a video format in processing performed by the decoding processing block, and the video output From the scaling ratio of each video data in the processing performed by the processing block, the maximum DMA transfer time for DMA transfer of the video data is calculated for the scaling process in the digital image signal processing. According to the maximum DMA transfer time, the output processing block increases the amount of the internal buffer used for DMA transfer when performing the enlargement / reduction processing in the image digital signal processing out of the predetermined capacity of the internal buffer. Reducing the DMA transfer bus failure with the external memory by setting and increasing the prefetched video data It is the Chi and Features.
[0021] これにより、デコヌド凊理ブロックが行う凊理における 4 4 4/4 2 2/4 2 0など の映像フォヌマット、および映像出力凊理ブロック内の画像デゞタル信号凊理による 拡倧瞮小凊理における各映像デヌタの拡倧瞮小率より、前蚘映像デヌタの DMA転 送に関する最倧 DMA転送時間を蚈算し、これに基づき、その画像デゞタル信号凊 理での拡倧瞮小凊理においお䜿甚する内郚バッファの量を倉曎し、先読みする映像 デヌタを増加させるこずにより、倖郚メモリずの DMA転送のバス砎綻を緩和させるこず ができる。  [0021] With this, the video processing such as 4: 4: 4/4: 2: 2/4: 2: 0 in the processing performed by the decoding processing block, and the enlargement / reduction processing by the image digital signal processing in the video output processing block The maximum DMA transfer time related to the DMA transfer of the video data is calculated from the scaling rate of each video data in, and based on this, the amount of internal buffer used in the scaling process in the image digital signal processing is changed However, by increasing the prefetched video data, it is possible to alleviate the bus failure of DMA transfer with external memory.
[0022] 本発明の請求項 7にかかる映像出力装眮は、請求項 1蚘茉の映像出力装眮にお いお、前蚘映像出力凊理ブロックは、映像出力圢匏力 プログレッシブ出力であるか むンタヌレヌス出力であるかを刀定し、前蚘むンタヌレヌス出力の堎合は、前蚘映像 デヌタの前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送の実行回数、および前 蚘所定容量の内郚バッファのうち、 DMA転送に甚いる内郚バッファの量を枛少させ るよう蚭定するこず〖こより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させる、こ ずを特城ずするものである。 [0022] The video output device according to claim 7 of the present invention is the video output device according to claim 1, wherein the video output processing block is a video output format power progressive output. It is determined whether the output is interlaced, and in the case of the interlaced output, the number of executions of the DMA transfer of the video data from the external memory to the internal buffer and the internal buffer of the predetermined capacity are used for DMA transfer. By setting to reduce the amount of the internal buffer, the bus failure of the DMA transfer with the external memory is alleviated.
[0023] これにより、映像出力圢匏力 プログレッシブ出力である力むンタヌレヌス出力であ るかを刀定し、むンタヌレヌス出力の堎合は、映像デヌタの倖郚メモリから内郚バッフ ァぞの DMA転送の実行回数、および内郚バッファの量を枛少させるこずによっお、 倖郚メモリずの DMA転送のバス砎綻を緩和させるこずができる。  [0023] This determines whether the video output format is progressive interlace output, which is progressive output. In the case of interlace output, the number of DMA transfer executions from the external memory of the video data to the internal buffer, and the internal By reducing the amount of buffers, it is possible to mitigate bus failures in DMA transfer with external memory.
[0024] 本発明の請求項 8にかかる映像出力装眮は、請求項 3に蚘茉の映像出力装眮に おいお、前蚘内郚バッファの容量が䞍足する堎合、前蚘画像デゞタル信号凊理プロ ックにおける拡倧瞮小凊理、ノむズリダクション凊理、 IP倉換凊理のうち、デゞタルフィ ルタのタップ数が最倧ずなる凊理のデゞタルフィルタのタップ数を枛少させるこずによ り、前蚘䞻映像デヌタの、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送を枛 少させ、その映像出力凊理においお、 DMA転送に甚いる前蚘バッファの量を枛少さ せるよう蚭定し、前蚘倖郚メモリずの DMA転送のノ ス砎綻を緩和させる、こずを特城ず するものである。  [0024] The video output device according to claim 8 of the present invention is the video output device according to claim 3, wherein when the capacity of the internal buffer is insufficient, the image digital signal processing block is enlarged or reduced. Among the processing, noise reduction processing, and IP conversion processing, the number of taps of the digital filter of the processing that maximizes the number of taps of the digital filter is reduced, so that the main video data is transferred from the external memory to the internal buffer. The DMA transfer to the external memory is reduced, and in the video output processing, the amount of the buffer used for the DMA transfer is set to be reduced to reduce the DMA transfer failure with the external memory. To do.
[0025] これにより、内郚バッファの量が䞍足する堎合、画像デゞタル信号凊理ブロックにお ける䞻映像の拡倧瞮小凊理、ノむズリダクション凊理、 IP倉換凊理のうち、デゞタルフ ィルタのタップ数が最倧ずなる凊理のデゞタルフィルタのタップ数を枛少させ、䜿甚す る内郚バッファの量を制限するこずによっお、モニタ出力デヌタは倚少は劣化するが 、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させるこずができる。  [0025] Thereby, when the amount of the internal buffer is insufficient, the number of taps of the digital filter is maximized among the main video enlargement / reduction processing, noise reduction processing, and IP conversion processing in the image digital signal processing block. By reducing the number of taps of the processing digital filter and limiting the amount of internal buffer to be used, the monitor output data will be somewhat degraded, but the DMA transfer bus failure with the external memory can be alleviated. .
[0026] 本発明の請求項 9にかかる映像出力装眮は、請求項 6に蚘茉の映像出力装眮に おいお、前蚘内郚バッファの容量が䞍足する堎合、前蚘画像デゞタル信号凊理プロ ックにおける拡倧瞮小凊理、ノむズリダクション凊理、 IP倉換凊理のうち、デゞタルフィ ルタのタップ数が最倧ずなる凊理のデゞタルフィルタのタップ数を枛少させるこずによ り、前蚘䞻映像デヌタの、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送を枛 少させ、その映像出力凊理においお、 DMA転送に甚いる前蚘バッファの量を枛少さ せるよう蚭定し、前蚘倖郚メモリずの DMA転送のノ ス砎綻を緩和させる、こずを特城ず するものである。 [0026] The video output device according to claim 9 of the present invention is the video output device according to claim 6, wherein when the capacity of the internal buffer is insufficient, the image digital signal processing block is enlarged or reduced. Among the processing, noise reduction processing, and IP conversion processing, the number of taps of the digital filter of the processing that maximizes the number of taps of the digital filter is reduced, so that the main video data is transferred from the external memory to the internal buffer. Reducing the amount of buffer used for DMA transfer in the video output processing. It is characterized in that it is set so as to alleviate the failure of DMA transfer with the external memory.
[0027] これにより、内郚バッファの量が䞍足する堎合、画像デゞタル信号凊理ブロックにお ける䞻映像の拡倧瞮小凊理、ノむズリダクション凊理、 IP倉換凊理のうち、デゞタルフ ィルタのタップ数が最倧ずなる凊理のデゞタルフィルタのタップ数を枛少させ、䜿甚す る内郚バッファの量を制限するこずによっお、モニタ出力デヌタは倚少は劣化するが 、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させるこずができる。  [0027] Thereby, when the amount of the internal buffer is insufficient, the number of taps of the digital filter is maximized among the main video enlargement / reduction processing, noise reduction processing, and IP conversion processing in the image digital signal processing block. By reducing the number of taps of the processing digital filter and limiting the amount of internal buffer to be used, the monitor output data will be somewhat degraded, but the DMA transfer bus failure with the external memory can be alleviated. .
[0028] 本発明の請求項 10にかかる映像出力装眮は、請求項 7に蚘茉の映像出力装眮に おいお、前蚘内郚バッファの容量が䞍足する堎合、前蚘画像デゞタル信号凊理プロ ックにおける拡倧瞮小凊理、ノむズリダクション凊理、 IP倉換凊理のうち、デゞタルフィ ルタのタップ数が最倧ずなる凊理のデゞタルフィルタのタップ数を枛少させるこずによ り、前蚘䞻映像デヌタの、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送を枛 少させ、その映像出力凊理においお、 DMA転送に甚いる前蚘バッファの量を枛少さ せるよう蚭定し、前蚘倖郚メモリずの DMA転送のノ ス砎綻を緩和させる、こずを特城ず するものである。  [0028] In the video output device according to claim 10 of the present invention, in the video output device according to claim 7, when the capacity of the internal buffer is insufficient, the image digital signal processing block is enlarged or reduced. Among the processing, noise reduction processing, and IP conversion processing, the number of taps of the digital filter of the processing that maximizes the number of taps of the digital filter is reduced, so that the main video data is transferred from the external memory to the internal buffer. The DMA transfer to the external memory is reduced, and in the video output processing, the amount of the buffer used for the DMA transfer is set to be reduced to reduce the DMA transfer failure with the external memory. To do.
[0029] これにより、内郚バッファの量が䞍足する堎合、画像デゞタル信号凊理ブロックにお ける䞻映像の拡倧瞮小凊理、ノむズリダクション凊理、 IP倉換凊理のうち、デゞタルフ ィルタのタップ数が最倧ずなる凊理のデゞタルフィルタのタップ数を枛少させ、䜿甚す る内郚バッファの量を制限するこずによっお、モニタ出力デヌタは倚少は劣化するが 、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させるこずができる。  [0029] Thereby, when the amount of the internal buffer is insufficient, the number of taps of the digital filter is maximized among the enlargement / reduction processing, noise reduction processing, and IP conversion processing of the main video in the image digital signal processing block. By reducing the number of taps of the processing digital filter and limiting the amount of internal buffer to be used, the monitor output data will be somewhat degraded, but the DMA transfer bus failure with the external memory can be alleviated. .
[0030] 本発明の請求項 11による映像出力装眮は、請求項 3に蚘茉の映像出力装眮にお いお、蚭定した DMA転送に甚いる前蚘内郚バッファ量から、前蚘映像デヌタの DM A転送蚱容時間を蚈算し、前蚘映像デヌタの DMA転送蚱容時間が短 ボ凊理から 順に、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送優先床を、高い倀に倉曎 するこずにより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させる、こずを特城ず するものである。  [0030] The video output device according to claim 11 of the present invention is the video output device according to claim 3, wherein the DMA transfer allowable time of the video data is calculated from the set internal buffer amount used for the DMA transfer. By calculating and changing the DMA transfer priority from the external memory to the internal buffer in order from the processing in which the DMA transfer allowable time of the video data is short, the DMA transfer bus to the external memory is changed to a higher value. It is characterized by mitigating bankruptcies.
[0031] これにより、映像デヌタの DMA転送蚱容時間に基づいお、動的に DMA転送優先 床を決定するこずにより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させるこず ができる。 [0031] With this, the DMA transfer priority with the external memory can be alleviated by dynamically determining the DMA transfer priority based on the DMA transfer allowable time of the video data. Can do.
[0032] 本発明の請求項 12による映像出力装眮は、請求項 6に蚘茉の映像出力装眮にお いお、蚭定した DMA転送に甚いる前蚘内郚バッファ量から、前蚘映像デヌタの DM A転送蚱容時間を蚈算し、前蚘映像デヌタの DMA転送蚱容時間が短 ボ凊理から 順に、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送優先床を、高い倀に倉曎 するこずにより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させる、こずを特城ず するものである。  [0032] The video output device according to claim 12 of the present invention is the video output device according to claim 6, wherein the DMA transfer allowable time of the video data is determined from the set internal buffer amount used for the DMA transfer. By calculating and changing the DMA transfer priority from the external memory to the internal buffer in order from the processing in which the DMA transfer allowable time of the video data is short, the DMA transfer bus to the external memory is changed to a higher value. It is characterized by mitigating bankruptcies.
[0033] これにより、映像デヌタの DMA転送蚱容時間に基づいお、動的に DMA転送優先 床を決定するこずにより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させるこず ができる。  [0033] Thus, the DMA transfer priority with the external memory can be alleviated by dynamically determining the DMA transfer priority based on the DMA transfer allowable time of the video data.
[0034] 本発明の請求項 13による映像出力装眮は、請求項 7に蚘茉の映像出力装眮にお いお、蚭定した DMA転送に甚いる前蚘内郚バッファ量から、前蚘映像デヌタの DM A転送蚱容時間を蚈算し、前蚘映像デヌタの DMA転送蚱容時間が短 ボ凊理から 順に、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送優先床を、高い倀に倉曎 するこずにより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させる、こずを特城ず するものである。  [0034] The video output device according to claim 13 of the present invention is the video output device according to claim 7, wherein the DMA transfer allowable time of the video data is determined from the set internal buffer amount used for the DMA transfer. By calculating and changing the DMA transfer priority from the external memory to the internal buffer in order from the processing in which the DMA transfer allowable time of the video data is short, the DMA transfer bus to the external memory is changed to a higher value. It is characterized by mitigating bankruptcies.
[0035] これにより、映像デヌタの DMA転送蚱容時間に基づいお、動的に DMA転送優先 床を決定するこずにより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させるこず ができる。  [0035] Thereby, the DMA transfer priority with the external memory can be alleviated by dynamically determining the DMA transfer priority based on the DMA transfer allowable time of the video data.
[0036] 本発明の請求項 14による映像出力装眮は、請求項 8に蚘茉の映像出力装眮にお いお、蚭定した DMA転送に甚いる前蚘内郚バッファ量から、前蚘映像デヌタの DM A転送蚱容時間を蚈算し、前蚘映像デヌタの DMA転送蚱容時間が短 ボ凊理から 順に、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送優先床を、高い倀に倉曎 するこずにより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させる、こずを特城ず するものである。  [0036] The video output device according to claim 14 of the present invention is the video output device according to claim 8, wherein the DMA transfer allowable time of the video data is calculated from the set internal buffer amount used for the DMA transfer. By calculating and changing the DMA transfer priority from the external memory to the internal buffer in order from the processing in which the DMA transfer allowable time of the video data is short, the DMA transfer bus to the external memory is changed to a higher value. It is characterized by mitigating bankruptcies.
[0037] これにより、映像デヌタの DMA転送蚱容時間に基づいお、動的に DMA転送優先 床を決定するこずにより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させるこず ができる。 発明の効果 [0037] Thus, the DMA transfer priority with the external memory can be alleviated by dynamically determining the DMA transfer priority based on the DMA transfer allowable time of the video data. The invention's effect
[0038] 本発明に力かる映像出力凊理装眮によれば、転送胜力の䜎い倖郚メモリ 104を䜿 甚する堎合、デコヌド凊理ブロック 102、もしくは映像出力凊理ブロック 103から取埗 した情報により、映像出力凊理ブロック 103における各映像デヌタの DMA転送量制 埡、および各映像デヌタの転送に効果的な内郚バッファ量の蚭定、あるいは DMA 転送優先床の割り圓おを行うこずにより、倖郚メモリ 104ずの DMA転送のバス砎綻を 緩和させ、コストパフォヌマンスの高!、システムを構築するこずができる。  [0038] According to the video output processing device according to the present invention, when using the external memory 104 having a low transfer capability, the video output processing block is based on the information acquired from the decoding processing block 102 or the video output processing block 103. The DMA transfer bus failure of the external memory 104 by controlling the DMA transfer amount of each video data in 103, setting the internal buffer amount effective for the transfer of each video data, or assigning the DMA transfer priority The system can be constructed with high cost performance!
図面の簡単な説明  Brief Description of Drawings
[0039] [図 1]図 1は、本発明の実斜の圢態 1による、映像出力装眮の構成を瀺す図 FIG. 1 is a diagram showing a configuration of a video output apparatus according to Embodiment 1 of the present invention.
[図 2]図 2は、䞊蚘実斜の圢態 1による映像出力装眮における映像出力凊理を瀺す ブロック図  FIG. 2 is a block diagram showing video output processing in the video output device according to the first embodiment.
[図 3]図 3は、䞊蚘実斜の圢態 1による映像出力装眮における DMA転送制埡凊理の フロヌを瀺す図  FIG. 3 is a diagram showing a flow of DMA transfer control processing in the video output device according to the first embodiment.
[図 4]図 4は、䞊蚘実斜の圢態 1による映像出力装眮における党映像デヌタの倖郚メ モリ 内郚バッファ間の転送レヌトを瀺す図  [FIG. 4] FIG. 4 is a diagram showing a transfer rate of all video data between external buffers and internal buffers in the video output device according to the first embodiment.
[図 5]図 5は、埓来の映像出力装眮の構成を瀺す図  FIG. 5 is a diagram showing a configuration of a conventional video output device.
笊号の説明  Explanation of symbols
[0040] a :正の敎数 [0040] a: positive integer
X, Xデゞタルフィルタのタップ数  X, X: Number of digital filter taps
N DMAコントロヌラおよび倖郚メモリ 104の転送胜力に䟝存する比䟋定数 N: Proportional constant depending on transfer capacity of DMA controller and external memory 104
101 読み取り凊理ブロック 101 Read processing block
102 デコヌド凊理ブロック  102 Decoding processing block
103 映像出力凊理ブロック  103 Video output processing block
104 倖郚メモリ  104 External memory
202 䞻映像デヌタ  202 Main video data
203 サムネむルデヌタ  203 Thumbnail data
204 OSDデヌタ  204 OSD data
205 SPUデヌタ 206 内郚バッファ 205 SPU data 206 Internal buffer
207 䞻映像デヌタ  207 Main video data
208 サムネむルデヌタ  208 Thumbnail data
209 OSDデヌタ  209 OSD data
210 SPUデヌタ  210 SPU data
211 画像デゞタル信号凊理ブロック  211 Image digital signal processing block
発明を実斜するための最良の圢態  BEST MODE FOR CARRYING OUT THE INVENTION
[0041] 以䞋に、図面を参照しながら、本発明の実斜の圢態に぀いお説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(実斜の圢態 1)  (Embodiment 1)
以䞋、本発明の実斜の圢態 1による映像出力凊理装眮に぀いお説明する。  The video output processing device according to the first embodiment of the present invention will be described below.
図 1に瀺す、本実斜の圢態 1による映像出力装眮は、 DVD、 HDDなどに蚘録され た映像などのデゞタルデヌタを読み取るための読み取り凊理ブロック 101ず、該読み 取り凊理ブロック 101により読み取られた、圧瞮された映像デヌタをデコヌドするデコ ヌド凊理ブロック 102ず、該デコヌドした映像を出力する映像出力凊理ブロック 103ず 、読み取り凊理ブロック 101、デコヌド凊理ブロック 102、および映像出力凊理ブロッ ク 103においお凊理すべきデヌタを保存するための倖郚メモリ 104ずを備えたもので ある。  The video output device according to the first embodiment shown in FIG. 1 includes a read processing block 101 for reading digital data such as video recorded on a DVD, an HDD, etc., and the read processing block 101. The decoding processing block 102 that decodes the compressed video data, the video output processing block 103 that outputs the decoded video, the reading processing block 101, the decoding processing block 102, and the video output processing block 103 perform processing. And an external memory 104 for storing data to be stored.
[0042] DVD、 HDDなどに蚘録された映像デヌタを再生する際には、読み取り凊理ブロッ ク 101により映像デヌタを読み取り、該読み取った映像デヌタはこれをデコヌドする ためにデコヌド凊理ブロック 102に転送され、該デコヌド凊理された映像デヌタは映 像出力凊理ブロック 103に入力され、該映像出力凊理ブロック 103よりデコヌド映像 信号が出力される。  [0042] When playing back video data recorded on a DVD, HDD, etc., the video data is read by the read processing block 101, and the read video data is transferred to the decode processing block 102 for decoding. The decoded video data is input to the video output processing block 103, and a decoded video signal is output from the video output processing block 103.
[0043] ここで、読み取り凊理ブロック 101、デコヌド凊理ブロック 102、映像出力凊理ブロッ ク 103が、それぞれ、倖郚メモリ 104ず DMA転送によりデヌタ転送をする堎合、倖郚 メモリ 104の転送胜力が䜎ければ、バス砎綻を起こし、最悪の堎合、正しくデコヌド映 像信号が出力されな!、ず 、぀た問題が生ずるこずずなる。  [0043] Here, when the read processing block 101, the decode processing block 102, and the video output processing block 103 perform data transfer with the external memory 104 by DMA transfer, if the transfer capability of the external memory 104 is low, the bus This causes a failure, and in the worst case, the decoded video signal is not output correctly!
[0044] 䞀方、転送胜力の高い倖郚メモリ 104を䜿甚するこずは、映像出力装眮のコストアツ プに぀ながるこずずなる。よっお、転送胜力の䜎い倖郚メモリ 104を䜿甚しお、いかに バス砎綻を回避しお、読み取り凊理ブロック 101、デコヌド凊理ブロック 102、映像出 力凊理ブロック 103が、それぞれ、倖郚メモリ 104ずの DMA転送を実行できるかが、 前蚘映像出力装眮のコストダりンの取り組みずしお重芁ずなる。 On the other hand, using the external memory 104 having a high transfer capability leads to an increase in the cost of the video output device. Therefore, using the external memory 104 with low transfer capability, Whether the read processing block 101, the decode processing block 102, and the video output processing block 103 can execute DMA transfer with the external memory 104, respectively, by avoiding bus failure, as an effort to reduce the cost of the video output device. It becomes important.
[0045] このように、転送胜力の䜎い倖郚メモリ 104を䜿甚しおバス砎綻を回避するには、読 み取り凊理ブロック 101、デコヌド凊理ブロック 102、映像出力凊理ブロック 103の各 ブロック間、および各凊理ブロック 101〜103内で、 DMA転送制埡を行う必芁がある In this way, in order to avoid bus failure using the external memory 104 having a low transfer capability, between the blocks of the read processing block 101, the decode processing block 102, and the video output processing block 103, and each It is necessary to perform DMA transfer control within processing blocks 101-103.
[0046] 図 2は、本実斜の圢態 1による映像出力装眮における、映像出力凊理ブロック 103 の内郚構成を瀺す図である。 FIG. 2 is a diagram showing an internal configuration of the video output processing block 103 in the video output device according to the first embodiment.
倖郚メモリ 104には、䞻映像デヌタ 202ず、サムネむルデヌタ 203ず、 OSD (On S creen Display)デヌタ 204ず、 SPU (Sub Picture Unit)デヌタ 205、などの映 像デヌタが蚘録されお 、る。  The external memory 104 stores video data such as main video data 202, thumbnail data 203, OSD (On Screen Display) data 204, SPU (Sub Picture Unit) data 205, and the like.
[0047] 映像出力凊理ブロック 103は、内郚バッファ 206ず画像デゞタル信号凊理ブロック 2 11ずから構成されおおり、倖郚メモリ 104に蚘録されたそれぞれの映像デヌタは、内 郚バッファ 206ぞ DMA転送し、䞻映像デヌタ 207に察しお、画像デゞタル信号凊理 ブロック 211においお、出力サむズを倉曎するための拡倧瞮小凊理、ノむズを枛少さ せるノむズリダクション凊理、および、むンタヌレヌス画像をプログレッシブ画像に倉換 する IP倉換凊理、などを実行し、該各凊理を実行した䞻映像デヌタ 207に、内郚バ ッファ 206に転送したサムネむルデヌタ 208、 OSDデヌタ 209、 SPUデヌタ 210を、 画像デゞタル信号凊理ブロック 211にお ボお加算212)合成しお、その合成した映 像デヌタを、映像出力する。  [0047] The video output processing block 103 is composed of an internal buffer 206 and an image digital signal processing block 211. Each video data recorded in the external memory 104 is DMA-transferred to the internal buffer 206, and For the main video data 207, in the image digital signal processing block 211, enlargement / reduction processing for changing the output size, noise reduction processing for reducing noise, and IP conversion processing for converting an interlaced image into a progressive image, The thumbnail data 208, OSD data 209, and SPU data 210 transferred to the internal buffer 206 are added to the main video data 207 that has been subjected to each processing, and added to the image digital signal processing block 211 (212). ) Combine and output the combined video data.
[0048] たた、䞊蚘映像出力凊理にぉ 、お、画像デゞタル信号凊理ブロック 211での拡倧 瞮小凊理、ノむズリダクション凊理、 IP倉換凊理のうち、デゞタルフィルタのタップ数が 最倧ずなる凊理のデゞタルフィルタのタップ数を X(Xは 1以䞊の敎数タップずしお、 可倉に蚭定できるようにしおおき、これにより、画像デゞタル信号凊理ブロック 211で 䜿甚する映像デヌタ転送量を調敎するようにする。  [0048] In addition, among the video output processing, the digital filter of the processing that maximizes the number of taps of the digital filter among the enlargement / reduction processing, noise reduction processing, and IP conversion processing in the image digital signal processing block 211. The number of taps is set to X (X is an integer of 1 or more) taps so that the number of taps can be set variably, thereby adjusting the video data transfer amount used in the image digital signal processing block 211.
[0049] たた、䞊蚘映像出力凊理ブロック 103では、内郚バッファ 206のサむズに応じお、䞻 映像デヌタ 207を先読みするための転送タむミングを制埡するようにする。 [0050] 図 3は、本実斜の圢態 1による映像出力装眮における、映像出力凊理ブロック 103 内の DMA転送制埡凊理のフロヌを瀺す図である。 In addition, the video output processing block 103 controls the transfer timing for prefetching the main video data 207 according to the size of the internal buffer 206. FIG. 3 is a diagram showing a flow of DMA transfer control processing in the video output processing block 103 in the video output device according to the first embodiment.
DMA転送制埡凊理のフロヌは、 a (aは 1以䞊の敎数)画面を衚瀺する期間に 1床 凊理を行うように蚭蚈すればよぐここでは 1画面を衚瀺する期間に、前蚘 DMA転送 制埡凊理を䞀床コヌルするように制埡する堎合を想定する。  The flow of the DMA transfer control process is as follows: a (a is an integer equal to or greater than 1) The process should be designed to be performed once during the screen display period. Here, the DMA transfer control process is performed during the period during which one screen is displayed. Is assumed to be controlled to call once.
[0051] ここで、この DMA転送制埡凊理は、バス砎綻が起きる前で、 DMA転送量が比范 的少な 、期間に行う必芁がある。  [0051] Here, this DMA transfer control processing needs to be performed during a period when the DMA transfer amount is relatively small before a bus failure occurs.
[0052] 本実斜の圢態 1においお、前蚘 DMA転送制埡凊理は、 a画面を衚瀺する期間に 1 床凊理し、デコヌド凊理ブロック 102から埗られた情報、および該映像出力凊理プロ ック 103にお埗られる情報により、 a画面を衚瀺する期間分の、今埌の前蚘倖郚メモリ 104ずの DMA転送時間を予枬し、映像出力凊理ブロック 103における各映像デヌタ の DMA転送量制埡、および各映像デヌタの転送に効果的な内郚バッファ 206の容 量の蚭定、および DMA転送優先床の割り圓お、を行うこずによっお、倖郚メモリ 104 ずの DMA転送のバス砎綻を緩和させ、コストパフォヌマンスの高 、システムを構築 するこずができる。  [0052] In the first embodiment, the DMA transfer control processing is performed once in a period for displaying a screen, and the information obtained from the decoding processing block 102 and the video output processing block 103 are used. Based on the obtained information, a DMA transfer time to the external memory 104 in the future for displaying a screen is predicted, the DMA transfer amount control of each video data in the video output processing block 103, and the transfer of each video data By effectively setting the capacity of the internal buffer 206 and assigning DMA transfer priority, it is possible to alleviate the DMA transfer bus failure with the external memory 104 and build a system with high cost performance. Can do.
[0053] 以䞋、図 3に瀺す DMA転送制埡凊理のフロヌに぀いお、詳现に説明する。  Hereinafter, the flow of the DMA transfer control process shown in FIG. 3 will be described in detail.
図 3のフロヌにおいお、たず、倖郚メモリ 104の転送胜力ず、内郚バッファ 206の容 量ず、デコヌド凊理ブロック 102よりの、 MPEG1ZMPEG2ZMPEG4などの映像 のデコヌド圢匏、および 4 4 4/4 2 2/4 2 0などの映像フォヌマットを取埗する (ステップ S301)。  In the flow of FIG. 3, first, the transfer capacity of the external memory 104, the capacity of the internal buffer 206, the decoding format of the video such as MPEG1ZMPEG2ZMPEG4 from the decoding processing block 102, and 4: 4: 4/4: 2: Video formats such as 2/4: 2: 0 are acquired (step S301).
[0054] ただし、ストリヌムデコヌド䞭においおは䞍倉な情報であるものは、必ずしも、 DMA 転送制埡凊理ごずに取埗する必芁はな 、。  [0054] However, information that is invariant during stream decoding does not necessarily need to be acquired for each DMA transfer control process.
[0055] 前蚘 DMA転送制埡凊理は、 a画面を衚瀺する期間に 1床凊理し、今埌 a画面分を 衚瀺する期間の DMAを予枬するために、垂盎 syncを、 a回、怜出するステップ S3[0055] The DMA transfer control process is performed once in a period for displaying a screen, and a vertical sync is detected a times in order to predict DMA in a period for displaying a screen in the future (step S3).
02)。 02).
[0056] 今埌、 a画面分を衚瀺する期間の DMA転送量を予枬するために、各映像デヌタの 出力範囲、各映像デヌタを合成するずきの各映像の衚瀺順䜍および透過床を取埗 するステップ S 303)。 [0057] OSD、 SPU、䞻映像、サムネむルなどの耇数の画像デヌタを合成する際、衚瀺順 䜍が高い映像デヌタほど、画面の前面に合成され、画面の前面に䜍眮された画像 デヌタの透過床が 0でなければ、該画像デヌタを透過しお、その次の衚瀺順䜍の映 像デヌタが衚瀺されるよう、画像デヌタの合成が行われる。 [0056] In the future, in order to predict the DMA transfer amount during the display period of a screen, the output range of each video data, the display order and transparency of each video when synthesizing each video data are acquired (step S 303). [0057] When combining multiple image data such as OSD, SPU, main video, thumbnail, etc., the higher the display order of the video data, the more the image data is synthesized on the front of the screen and the transparency of the image data located on the front of the screen. If is not 0, the image data is combined so that the image data is transmitted and the image data of the next display order is displayed.
[0058] 透過床が 0であっおより衚瀺順䜍の高 、映像デヌタが重なるかを刀定し (ステップ S 304)、透過床が 0であっおより衚瀺順䜍の高い映像デヌタが重なる堎合、その背埌 に䜍眮するこずになる映像デヌタは衚瀺されないので、今埌、 a画面分を衚瀺する期 間にわたり、該衚瀺されない映像デヌタの、倖郚メモリ 104から内郚バッファ 206ぞ の DMA転送を停止するステップ S 305)。  [0058] It is determined whether the video data overlaps when the transparency is 0 and the display order is higher (step S304). If video data with a transparency of 0 and a higher display order overlaps, Since the video data that will be located at is not displayed, the DMA transfer of the non-displayed video data from the external memory 104 to the internal buffer 206 is stopped over the period for displaying a screen (step S 305). ).
[0059] 今埌 a画面分を衚瀺する期間における、䞻映像デヌタ 207の、倖郚メモリ 104から 内郚バッファ 206ぞの DMA転送量を予枬するために、映像出力凊理ブロック 103か ら、むンタヌレヌス出力であるかプログレッシブ出力であるかの映像出力圢匏を取埗 するステップ S 306)。  [0059] In order to predict the amount of DMA transfer of the main video data 207 from the external memory 104 to the internal buffer 206 in the period for displaying a screen in the future, whether the video output processing block 103 is interlaced or not. The video output format as to whether the output is progressive is acquired (step S306).
[0060] 取埗した映像出力圢匏力 むンタヌレヌス出力であるかプログレッシブ出力である かを刀定し (ステップ S307)、映像出力圢匏がプログレッシブ出力であれば、画像デ ゞタル信号凊理ブロック 211の実行レヌトを、プログレッシブレヌトにするステップ S 308)。  [0060] Acquired video output format power It is determined whether the output is interlaced output or progressive output (step S307). If the video output format is progressive output, the execution rate of the image digital signal processing block 211 is set to progressive. Set the rate (step S308).
[0061] 映像出力圢匏がむンタヌレヌス出力であれば、画像デゞタル信号凊理ブロック 211 の実行レヌトをむンタヌレヌスレヌトにしここで、むンタヌレヌスレヌトは、プログレッ シブレヌトの 1Z2である。、今埌 a画面分を衚瀺する期間、むンタヌレヌスレヌトで は䞍芁な、倖郚メモリ 104から内郚バッファ 206ぞの DMA転送を停止するステップ S309)。  [0061] If the video output format is interlaced output, the execution rate of the image digital signal processing block 211 is set to the interlaced rate (where the interlaced rate is 1Z2 of the progressive rate), and a screen for the future will be displayed. The DMA transfer from the external memory 104 to the internal buffer 206, which is unnecessary for the interlace rate during the period, is stopped (step S309).
[0062] 今埌 a画面分を衚瀺する期間の DMA転送量を予枬するために、デコヌド凊理ブロ ック 102より埗られる、早送り再生等の映像特殊再生状態を、該映像出力凊理ブロッ ク 103にお埗られる、画像デゞタル信号凊理ブロック 211における映像拡倧瞮小凊 理の拡倧瞮小率を、そしお、映像拡倧瞮小凊理ず、ノむズリダクション凊理ず、 IP倉換 凊理ずのうち、最前段で実行される凊理におけるデゞタルフィルタのタップ数 x(xは 1 ≀x≀Xの関係を満たす敎数)を取埗する (ステップ S310)。ここで、䟋えば、映像特 殊再生状態がポヌズである堎合、 1床デコヌド凊理を行った埌の DMA転送量が 0で あるず予枬される。 [0062] In the future, in order to predict the DMA transfer amount during the period for displaying a screen, the video output processing block 103 displays the video special playback status such as fast-forward playback obtained from the decoding processing block 102. The obtained enlargement / reduction ratio of the image enlargement / reduction process in the image digital signal processing block 211 and the digital in the process executed at the forefront of the image enlargement / reduction process, the noise reduction process, and the IP conversion process are obtained. The number of filter taps x (x is an integer satisfying the relationship 1 ≀ x ≀ X) is acquired (step S310). Here, for example, video In particular, when the playback state is paused, the DMA transfer amount after one decoding process is predicted to be zero.
[0063] 䞊蚘のようにしお取埗した情報である、倖郚メモリ 104の転送胜力、デコヌド圢匏、 映像フォヌマット、映像デヌタの出力範囲、映像デヌタの合成時の衚瀺順䜍および 透過床、映像出力圢匏、映像特殊再生状態、映像拡倧瞮小率、および映像拡倧瞮 小凊理ずノむズリダクション凊理ず IP倉換凊理ずのうちの最前段で実行される凊理の デゞタルフィルタのタップ数から、 1ラむン衚瀺期間の映像デヌタの最倧 DMA転送 時間を蚈算する (ステップ S311)。  [0063] Information acquired as described above, transfer capability of external memory 104, decoding format, video format, output range of video data, display order and transparency during composition of video data, video output format, video From the special playback status, video scaling ratio, and the number of digital filter taps in the first stage of the video scaling processing, noise reduction processing, and IP conversion processing, the video data for one line display period Calculate the maximum DMA transfer time (step S311).
[0064] ここで、 1ラむン衚瀺期間の映像デヌタの最倧 DMA転送時間は、読み取り凊理ブ ロック 101およびデコヌド凊理ブロック 102が 1ラむン衚瀺期間出力する最倧 DMA転 送時間ず、該映像出力凊理ブロック 103における倖郚メモリ 104から内郚バッファ 20 6ぞの DMA転送においお同䞀ラむンにどれだけの転送サむズが集䞭する力、ずに基 づき、䞋蚘のようにしお蚈算可胜である。  Here, the maximum DMA transfer time of video data in one line display period is the maximum DMA transfer time that the read processing block 101 and the decode processing block 102 output in one line display period, and the video output processing block 103. Based on how much transfer size is concentrated on the same line in DMA transfer from the external memory 104 to the internal buffer 206 in FIG.
[0065] 1ラむン衚瀺期間の映像デヌタの最倧 DMA転送時間 = (1ラむン衚瀺期間におけ る䞻映像デヌタ最倧転送サむズ + 1ラむン衚瀺期間における OSDデヌタ最倧転送サ ィズ + 1ラむン衚瀺期間におけるサムネむルデヌタ最倧転送サむズ + 1ラむン衚瀺期 間における SPUデヌタ最倧転送サむズ X N +読み取りブロックおよびデコヌド凊理 ブロックが DMA転送を実行する蚘録デヌタおよびデコヌドデヌタの 1ラむン衚瀺期 間における転送最倧時間  [0065] Maximum DMA transfer time of video data in 1 line display period = (Maximum transfer size of main video data in 1 line display period + OSD data maximum transfer size in 1 line display period + Thumbnail in 1 line display period Maximum data transfer size + SPU data maximum transfer size during one line display period) XN + Read block and decode processing Maximum transfer time during one line display period for record data and decode data for which the block performs DMA transfer
[0066] ただしここで、 Nは、 DMAコントロヌラおよび倖郚メモリ 104の転送胜力に䟝存する 比䟋定数であり、読み取りブロックおよびデコヌド凊理ブロックが DMA転送を実行す るずきの、それぞれ蚘録デヌタおよびデコヌドデヌタの 1ラむン衚瀺期間の転送最倧 時間は、倖郚メモリ 104の転送胜力、読み取り速床、蚘録デヌタの゚ラヌ率、デコヌ ド圢匏、映像フォヌマット、映像特殊再生状態などにより蚈算可胜である。なお、前蚘 情報によっおは転送時間の蚈算が困難な堎合、もしくは情報取埗が困難であり転送 時間が蚈算できな 、堎合は、予め枬定した転送時間を䜿甚すればょ 、。  [0066] Here, N is a proportional constant that depends on the transfer capability of the DMA controller and the external memory 104, and when the read block and the decode processing block execute DMA transfer, the recording data and the decode data respectively. The maximum transfer time for one line display period can be calculated according to the transfer capacity, reading speed, recording data error rate, decoding format, video format, special video playback status, etc. of the external memory 104. If it is difficult to calculate the transfer time depending on the information, or if it is difficult to obtain the information and the transfer time cannot be calculated, use the transfer time measured in advance.
[0067] 次に、 1ラむン衚瀺期間における、映像デヌタの最倧転送サむズから DMA転送に 䜿甚する内郚バッファの量を蚈算し、該䜿甚する内郚バッファの量がステップ S301 で取埗した内郚バッファ 206の容量以䞋であるかを刀断し (ステップ S312)、䞊蚘 D MA転送に䜿甚する内郚バッファの量がステップ S301で取埗した内郚バッファ 206 の容量を超えお ボれば、画像デゞタル信号凊理ブロック 211における映像拡倧瞮小 凊理ず、ノむズリダクション凊理ず、 IP倉換凊理ずのうちデゞタルフィルタのタップ数が 最倧ずなる凊理のデゞタルフィルタのタップ数を枛少させるステップ S313)こずにより 、 DMA転送量を、画質は悪くなる力 内郚バッファ 206の容量に応じた DMA転送 量〖こ枛少、させるこずができる。 [0067] Next, the amount of the internal buffer used for DMA transfer is calculated from the maximum transfer size of the video data in the one-line display period, and the amount of the internal buffer used is calculated in step S301. (Step S312), and if the amount of the internal buffer used for the above DMA transfer exceeds the capacity of the internal buffer 206 acquired in Step S301, the image By reducing the number of digital filter taps in the digital signal processing block 211 in which the number of taps of the digital filter is the maximum among the video enlargement / reduction processing, noise reduction processing, and IP conversion processing (step S313), DMA is performed. The amount of transfer can reduce the DMA transfer amount according to the capacity of the internal buffer 206.
[0068] そしお、䞊蚘ステップ S305, S309, S313における制埡を行うこずにより、倖咅メモ リ 104ずの平均的な蚱容転送時間転送レヌトを改善させるこずができる。  [0068] By performing the control in steps S305, S309, and S313, the average allowable transfer time (transfer rate) with the outer memory 104 can be improved.
[0069] DMA転送に䜿甚する内郚バッファの量が内郚バッファ 206の容量以䞋であるずき は、各デヌタの内郚バッファ 207〜210のサむズにより、倖郚メモリ 104から内郚バッ ファ 206ぞの DMA転送芁求がなされたずきから、内郚バッファ 206のデヌタが出力 されるたでの最倧蚱容転送時間を蚈算する (ステップ S314)。  [0069] When the amount of the internal buffer used for the DMA transfer is less than or equal to the capacity of the internal buffer 206, a DMA transfer request from the external memory 104 to the internal buffer 206 depends on the size of the internal buffer 207 to 210 of each data. The maximum allowable transfer time from when the data is made until the data in the internal buffer 206 is output is calculated (step S314).
[0070] 前蚘蚈算された最倧蚱容転送時間ず、前蚘映像デヌタの最倧 DMA転送時間ずを 比范し (ステップ S315)、映像デヌタの最倧 DMA転送時間が最倧蚱容転送時間を 超えおいる堎合は、 DMA転送に䜿甚する内郚バッファの量を増加させるよう蚭定し 、前蚘最倧蚱容転送時間が短い 1ラむン衚瀺期間の凊理から順に 1ラむン衚瀺期間 の最倧蚱容転送時間が高くなるような転送優先床に倉曎する (ステップ S316)。ステ ップ S315で䞊蚘最倧 DMA転送時間が䞊蚘最倧蚱容転送時間を超えない堎合は 、ヌ䞔、 DMA転送制埡凊理を終了する。  [0070] The calculated maximum allowable transfer time is compared with the maximum DMA transfer time of the video data (step S315). If the maximum DMA transfer time of the video data exceeds the maximum allowable transfer time, the DMA Set to increase the amount of internal buffer used for transfer, and change the transfer priority so that the maximum allowable transfer time for one line display period increases in order from the processing of one line display period with the shortest maximum allowable transfer time. (Step S316). If the maximum DMA transfer time does not exceed the maximum allowable transfer time in step S315, then the DMA transfer control process is terminated.
[0071] 図 4は、本実斜の圢態 1による映像出力凊理装眮における、倖郚メモリ 104ず、映像 出力凊理ブロック 103の内郚バッファ 206ずの間での転送レヌトを瀺す図である。  FIG. 4 is a diagram showing a transfer rate between the external memory 104 and the internal buffer 206 of the video output processing block 103 in the video output processing device according to the first embodiment.
[0072] この図 4は、瞊軞に、党映像デヌタの倖郚メモリ 104—内郚バッファ 206間の転送 レヌトを、暪軞に時間をずり、 1ラむン衚瀺期間の、転送レヌト 401ず、平均転送レヌト 402を ボお!ボる。  [0072] In FIG. 4, the vertical axis represents the transfer rate of all video data between the external memory 104 and the internal buffer 206, the horizontal axis represents time, the transfer rate 401 for one line display period, and the average transfer rate Beat 402!
[0073] 図 4に瀺されるように、䟋えば、各映像デヌタが同䞀ラむンに重なるこずによっお、倖 郚メモリ 104から内郚バッファ 206ぞの DMA転送が、図䞭の期間 T1にお!/、お集䞭 するずいうこずがあるず、党映像デヌタの倖郚メモリ 104—内郚バッファ 206間の転送 レヌトは、矢印 403に瀺すように、䞀時的に、 401aず䜎䞋する。 [0073] As shown in FIG. 4, for example, when video data overlaps the same line, DMA transfers from the external memory 104 to the internal buffer 206 are concentrated in the period T1 in the figure! / If this happens, transfer all video data between the external memory 104 and the internal buffer 206. The rate temporarily drops to 401a as indicated by arrow 403.
[0074] これに察しお、本実斜の圢態 1では、このように映像出力凊理ブロック 103における 凊理を実行する際に、この凊理に察しお、倖郚メモリ 104の転送胜力もしくは内郚バ ッファ 206の容量では十分ではない堎合、映像出力凊理ブロック 103における凊理 を倉曎するようにする、䟋えば、画像デゞタル信号凊理ブロック 211におけるデゞタ ルフィルタのタップ数を削枛するようにする。これにより、各映像デヌタの転送量を枛 少させお、平均転送レヌト 402を、矢印 404に瀺すように向䞊させ、前蚘映像出力凊 理を実珟するこずができる。 In contrast, in the first embodiment, when the processing in the video output processing block 103 is executed as described above, the transfer capacity of the external memory 104 or the capacity of the internal buffer 206 is used for this processing. If this is not sufficient, the processing in the video output processing block 103 is changed, for example, the number of digital filter taps in the image digital signal processing block 211 is reduced. Thereby, the transfer amount of each video data can be reduced, the average transfer rate 402 can be improved as indicated by the arrow 404, and the video output processing can be realized.
[0075] たた、映像出力凊理ブロック 103における凊理を実行するためには、倖郚メモリ 10 4の転送胜力もしくは内郚バッファ 206の容量は十分ではある力 図䞭の 403に瀺す ように、䞀時的に DMA転送が集䞭し、映像が乱れるような堎合、倖郚メモリ 104から 内郚バッファ 206ぞの DMA転送が集䞭する時間、および、転送時間を、取埗可胜 な情報から予め a画面分に぀いお予枬し、内郚バッファ 206の远カロ、倖郚メモリ 104 力 内郚バッファ 206ぞの DMA転送優先床の倉曎、を行うこずにより、矢印 405に瀺 すように、該期間 T1での転送レヌトを䞊げ、転送レヌトの䜎䞋による映像の乱れを防 止しながら、映像出力凊理を実珟するこずができる。 [0075] In addition, the transfer capacity of the external memory 104 or the capacity of the internal buffer 206 is sufficient to execute the processing in the video output processing block 103. As shown by 403 in the figure, the DMA temporarily When the transfer is concentrated and the video is disturbed, the time for the DMA transfer from the external memory 104 to the internal buffer 206 and the transfer time are predicted in advance for a screen from the information that can be acquired, and the internal buffer 206 As shown in the arrow 405, the transfer rate is increased during the period T1 by changing the DMA transfer priority to the external buffer 206 and the external memory 104 power. Video output processing can be realized while preventing disturbance.
[0076] 以䞊のように、本実斜の圢態 1による映像出力装眮によれば、読み取り凊理ブロック 101ず、デコヌド凊理ブロック 102ず、映像出力凊理ブロック 103ず、倖郚メモリ 104ず を備えた映像出力装眮においお、映像出力凊理ブロック力 倖郚メモリに保存された 各映像デヌタを、該映像出力凊理ブロック内の内郚バッファに DMA転送した埌、該 各映像デヌタに察する画像デゞタル信号凊理を行 ボ、これらを合成し出力する前蚘 デコヌド凊理ブロックおよび映像出力凊理ブロックから、転送すべき各画像デヌタの 皮類および転送の量を瀺す DMA転送情報を取埗し、該取埗した DMA転送情報に 基づいお、該映像出力凊理ブロックにおける映像出力凊理を倉曎するこずにより、倖 郚メモリずの DMA転送のバス砎綻を緩和させるようにしたので、䞊蚘取埗した情報に よっお、映像出力凊理ブロック 103における各映像デヌタの DMA転送量制埡、およ び各映像デヌタに効果的な内郚バッファ 206の容量、 DMA転送優先床の割り圓お 、を適宜行うこずにより、倖郚メモリ 104ずの DMA転送のバス砎綻を緩和させお、コス トパフォヌマンスの高いシステムを構築できる効果が埗られる。 As described above, according to the video output device of the first embodiment, the video output device including the reading processing block 101, the decoding processing block 102, the video output processing block 103, and the external memory 104. In the video output processing block power, each video data stored in the external memory is DMA-transferred to an internal buffer in the video output processing block, and then image digital signal processing is performed on each video data to synthesize them. From the decode processing block and the video output processing block to be output, DMA transfer information indicating the type and transfer amount of each image data to be transferred is acquired, and based on the acquired DMA transfer information, the video output processing block By changing the video output process, the bus failure of DMA transfer with external memory was alleviated. By appropriately controlling the DMA transfer amount of each video data in the video output processing block 103 and assigning an effective capacity of the internal buffer 206 to each video data and assigning DMA transfer priority according to the information, Relieve DMA transfer bus failure with memory 104 The effect that a system with high performance can be constructed is obtained.
[0077] なお、本実斜の圢態 1においお、 1ラむン衚瀺期間毎に DMA転送凊理を行う䟋に ぀いお説明したが、これに限るものではなぐ映像の皮類に応じお、所定の期間ごず に DMA転送凊理を行うようにしおも本発明は有効である。 In the first embodiment, an example in which DMA transfer processing is performed for each line display period has been described. However, the present invention is not limited to this, and DMA transfer is performed for each predetermined period according to the type of video. The present invention is effective even when processing is performed.
産業䞊の利甚可胜性  Industrial applicability
[0078] 本発明は、 DVD、 HDDなどに蚘録された映像デヌタを再生するシステムで、転送 胜力の䜎い倖郚メモリを䜿甚する堎合に適甚しお、有効である。たた倖郚蚘録メディ ァの甚途にも応甚するこずができる。 The present invention is effective when applied to a system that reproduces video data recorded on a DVD, HDD, or the like and uses an external memory with low transfer capability. It can also be used for external recording media.

Claims

請求の範囲 The scope of the claims
[1] 蚘録媒䜓に蚘録された映像を含むデゞタルデヌタを読み取るための読み取り凊理 ブロックず、  [1] A reading processing block for reading digital data including video recorded on a recording medium;
前蚘読み取り凊理ブロックにより読み取った、圧瞮された映像デヌタをデコヌドする デコヌド凊理ブロックず、  A decoding processing block for decoding the compressed video data read by the reading processing block;
前蚘デコヌド凊理ブロックによりデコヌドされた映像を出力する映像出力凊理プロ ックず、  A video output processing block for outputting the video decoded by the decoding processing block;
前蚘読み取り凊理ブロック、前蚘デコヌド凊理ブロック、および前蚘映像出力凊理 ブロックでの凊理においお䜿甚する映像デヌタを保存するための倖郚メモリずを備え た映像出力装眮においお、  In a video output device comprising an external memory for storing video data used in the processing in the reading processing block, the decoding processing block, and the video output processing block,
前蚘映像出力凊理ブロックは、  The video output processing block includes:
前蚘倖郚メモリに保存された耇数の映像デヌタを、該映像出力凊理ブロック内の所 定容量を有する内郚バッファに DMA転送し、該各映像デヌタに察する画像デゞタ ル信号凊理を行い、これらを合成し出力する際、前蚘デコヌド凊理ブロックおよび該 映像出力凊理ブロックより埗られる、転送すべき各映像デヌタの皮類および転送の 量を瀺す DMA転送情報を取埗し、該取埗した DMA転送情報に基づいお、該映像 出力凊理ブロックにおける映像出力凊理を倉曎するこずにより、前蚘倖郚メモリずの D MA転送のバス砎綻を緩和させる、  A plurality of video data stored in the external memory is DMA-transferred to an internal buffer having a predetermined capacity in the video output processing block, image digital signal processing is performed on each video data, and these are combined and output. In this case, DMA transfer information indicating the type of video data to be transferred and the transfer amount obtained from the decode processing block and the video output processing block is acquired, and the video is based on the acquired DMA transfer information. By changing the video output processing in the output processing block, the bus failure of the DMA transfer with the external memory is alleviated.
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[2] 請求項 1蚘茉の映像出力装眮においお、 [2] In the video output device according to claim 1,
前蚘映像出力凊理ブロックは、  The video output processing block includes:
前蚘映像デヌタの、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送を実行す る前のある期間においお、前蚘各映像デヌタの出力範囲から前蚘各映像デヌタが 盞互に重なる期間を求めお、前蚘各映像デヌタの衚瀺順䜍および透過床を怜出し、 該各映像デヌタの衚瀺順䜍および透過床に基づき、前蚘各映像デヌタを合成した 埌、出力衚瀺する際、モニタ出力衚瀺映像ずしお衚瀺されないず刀断される前蚘映 像デヌタがあった堎合、前蚘合成前の該映像デヌタに぀いおは、前蚘倖郚メモリか ら前蚘内郚バッファぞの DMA転送を行わないこずにより、前蚘倖郚メモリずの DMA 転送のバス砎綻を緩和させる、 In a certain period before the DMA transfer of the video data from the external memory to the internal buffer, a period in which the video data overlap each other is determined from the output range of the video data, The display order and transparency of the data are detected, and after the video data are synthesized based on the display order and transparency of the video data, it is determined that the video is not displayed as a monitor output display video when output and displayed. When there is video data, the video data before the synthesis is not subjected to DMA transfer from the external memory to the internal buffer. Alleviate transfer bus failures,
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[3] 請求項 1蚘茉の映像出力装眮においお、  [3] The video output device according to claim 1,
前蚘映像出力凊理ブロックは、  The video output processing block includes:
前蚘映像デヌタの、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送を実行す る前のある期間においお、前蚘各映像デヌタの出力範囲から前蚘各映像デヌタが 盞互に重なる期間を求めお、前蚘各映像デヌタの衚瀺順䜍および透過床を怜出し、 該各映像デヌタの衚瀺順䜍および透過床に基づき、前蚘各映像デヌタを合成した 埌、出力衚瀺する際、すべおの前蚘映像デヌタがモニタ出力衚瀺されるず刀断され た堎合、前蚘各映像デヌタが重なる期間に該各映像デヌタの衚瀺を行う映像出力 凊理においお、前蚘所定容量の内郚バッファのうち、 DMA転送に甚いる内郚バッフ ァの量を増加させるよう蚭定し、先読みする前蚘映像デヌタを増加させるこずにより、 前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させる、  In a certain period before the DMA transfer of the video data from the external memory to the internal buffer, a period in which the video data overlap each other is determined from the output range of the video data, When the display order and transparency of the data are detected, and after the video data are synthesized based on the display order and transparency of each video data, when all the video data are output and displayed, If it is determined, in the video output process for displaying the video data during a period in which the video data overlaps, a setting is made to increase the amount of the internal buffer used for DMA transfer in the internal buffer of the predetermined capacity. By increasing the video data to be pre-read, the bus failure of DMA transfer with the external memory is alleviated,
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[4] 請求項 3蚘茉の映像出力装眮においお、 [4] The video output device according to claim 3,
前蚘デコヌド凊理ブロックは、  The decoding processing block is
該ブロックにおけるデコヌドにおいお䜿甚する特殊再生状態より、該デコヌドにお いお甚いる映像デヌタの DMA転送に関する最倧 DMA転送時間を蚈算し、 前蚘映像出力凊理ブロックは、該最倧 DMA転送時間に応じお、その映像出力凊 理においお、 DMA転送に甚いる前蚘内郚バッファの量を増加させるよう蚭定し、先 読みする映像デヌタを増加させるこずにより、前蚘倖郚メモリずの DMA転送のバス砎 綻を緩和させる、  The maximum DMA transfer time related to the DMA transfer of the video data used in the decoding is calculated from the special reproduction state used in the decoding in the block, and the video output processing block determines the video according to the maximum DMA transfer time. In the output processing, it is set to increase the amount of the internal buffer used for DMA transfer, and by increasing the pre-read video data, the DMA transfer bus failure with the external memory is alleviated.
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[5] 請求項 3蚘茉の映像出力装眮においお、 [5] The video output device according to claim 3,
前蚘デコヌド凊理ブロックは、  The decoding processing block is
そのデコヌド圢匏より、該デコヌドにおいお甚いる映像デヌタの DMA転送に関す る最倧 DMA転送時間を蚈算し、  From the decoding format, calculate the maximum DMA transfer time for DMA transfer of video data used in the decoding,
前蚘映像出力凊理ブロックは、該最倧 DMA転送時間に応じお、その映像出力凊 理においお、 DMA転送に甚いる前蚘内郚バッファの量を増加させるよう蚭定し、先 読みする前蚘映像デヌタを増加させるこずにより、前蚘倖郚メモリずの DMA転送のバ ス砎綻を緩和させる、 The video output processing block has its video output processing according to the maximum DMA transfer time. In practice, the amount of the internal buffer used for DMA transfer is set to be increased, and the video data to be prefetched is increased to alleviate the bus failure of the DMA transfer with the external memory.
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[6] 請求項 1蚘茉の映像出力装眮においお、 [6] The video output device according to claim 1,
前蚘映像出力凊理ブロックは、  The video output processing block includes:
前蚘デコヌド凊理ブロックが行う凊理における映像フォヌマット、および該映像出力 凊理ブロックが行う凊理における各映像デヌタの拡倧瞮小率より、前蚘画像デゞタル 信号凊理における拡倧瞮小凊理においお甚いる前蚘映像デヌタの DMA転送に関 する最倧 DMA転送時間を蚈算し、  From the video format in the processing performed by the decoding processing block and the scaling ratio of each video data in the processing performed by the video output processing block, the DMA transfer of the video data used in the scaling processing in the image digital signal processing Calculate the maximum DMA transfer time,
前蚘映像出力凊理ブロックは、該最倧 DMA転送時間に応じお、前蚘所定容量の 内郚バッファのうち、前蚘画像デゞタル信号凊理における拡倧瞮小凊理を行う際に DMA転送に甚いる内郚バッファの量を増力]させるよう蚭定し、先読みする前蚘映像 デヌタを増加させるこずにより、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させ る、  According to the maximum DMA transfer time, the video output processing block increases the amount of the internal buffer used for DMA transfer when performing enlargement / reduction processing in the image digital signal processing among the internal buffers of the predetermined capacity! To reduce the bus failure of DMA transfer with the external memory by increasing the video data to be pre-read,
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[7] 請求項 1蚘茉の映像出力装眮においお、 [7] The video output device according to claim 1,
前蚘映像出力凊理ブロックは、映像出力圢匏が、プログレッシブ出力である力むン タヌレヌス出力であるかを刀定し、  The video output processing block determines whether the video output format is a force interlace output which is a progressive output,
前蚘むンタヌレヌス出力の堎合は、前蚘映像デヌタの前蚘倖郚メモリから前蚘内 郚バッファぞの DMA転送の実行回数、および前蚘所定容量の内郚バッファのうち、 DMA転送に甚いる内郚バッファの量を枛少させるよう蚭定するこずにより、前蚘倖郚 メモリずの DMA転送のバス砎綻を緩和させる、  In the case of the interlaced output, the number of executions of the DMA transfer of the video data from the external memory to the internal buffer and the amount of the internal buffer used for the DMA transfer among the internal buffers of the predetermined capacity are set to be reduced. By reducing the bus failure of the DMA transfer with the external memory,
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[8] 請求項 3に蚘茉の映像出力装眮においお、 [8] In the video output device according to claim 3,
前蚘内郚バッファの容量が䞍足する堎合、前蚘画像デゞタル信号凊理ブロックに おける拡倧瞮小凊理、ノむズリダクション凊理、 IP倉換凊理のうち、デゞタルフィルタ のタップ数が最倧ずなる凊理のデゞタルフィルタのタップ数を枛少させるこずにより、前 蚘䞻映像デヌタの、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送を枛少させ 、その映像出力凊理においお、 DMA転送に甚いる前蚘内郚バッファの量を枛少さ せるよう蚭定し、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させる、 When the capacity of the internal buffer is insufficient, the number of taps of the digital filter in the processing that maximizes the number of taps of the digital filter among the enlargement / reduction processing, noise reduction processing, and IP conversion processing in the image digital signal processing block is reduced. By letting DMA transfer of the main video data from the external memory to the internal buffer is reduced, and the video output processing is set so as to reduce the amount of the internal buffer used for DMA transfer. Alleviate transfer bus failures,
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[9] 請求項 6に蚘茉の映像出力装眮においお、 [9] The video output device according to claim 6,
前蚘内郚バッファの容量が䞍足する堎合、前蚘画像デゞタル信号凊理ブロックに おける拡倧瞮小凊理、ノむズリダクション凊理、 IP倉換凊理のうち、デゞタルフィルタ のタップ数が最倧ずなる凊理のデゞタルフィルタのタップ数を枛少させるこずにより、前 蚘䞻映像デヌタの、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送を枛少させ 、その映像出力凊理においお、 DMA転送に甚いる前蚘内郚バッファの量を枛少さ せるよう蚭定し、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させる、  When the capacity of the internal buffer is insufficient, the number of taps of the digital filter in the processing that maximizes the number of taps of the digital filter among the enlargement / reduction processing, noise reduction processing, and IP conversion processing in the image digital signal processing block is reduced. By reducing the DMA transfer of the main video data from the external memory to the internal buffer, the video output processing is set so as to reduce the amount of the internal buffer used for the DMA transfer. Relieve DMA transfer bus failure with external memory,
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[10] 請求項 7に蚘茉の映像出力装眮においお、 [10] The video output device according to claim 7,
前蚘内郚バッファの容量が䞍足する堎合、前蚘画像デゞタル信号凊理ブロックに おける拡倧瞮小凊理、ノむズリダクション凊理、 IP倉換凊理のうち、デゞタルフィルタ のタップ数が最倧ずなる凊理のデゞタルフィルタのタップ数を枛少させるこずにより、前 蚘䞻映像デヌタの、前蚘倖郚メモリから前蚘内郚バッファぞの DMA転送を枛少させ 、その映像出力凊理においお、 DMA転送に甚いる前蚘内郚バッファの量を枛少さ せるよう蚭定し、前蚘倖郚メモリずの DMA転送のバス砎綻を緩和させる、  When the capacity of the internal buffer is insufficient, the number of taps of the digital filter in the processing that maximizes the number of taps of the digital filter among the enlargement / reduction processing, noise reduction processing, and IP conversion processing in the image digital signal processing block is reduced. By reducing the DMA transfer of the main video data from the external memory to the internal buffer, the video output processing is set so as to reduce the amount of the internal buffer used for the DMA transfer. Relieve DMA transfer bus failure with external memory,
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[11] 請求項 3に蚘茉の映像出力装眮においお、 [11] In the video output device according to claim 3,
蚭定した前蚘 DMA転送に甚いる内郚バッファ量から、前蚘映像デヌタの DMA転 送蚱容時間を蚈算し、  The DMA transfer allowable time of the video data is calculated from the set internal buffer amount used for the DMA transfer,
前蚘映像デヌタの DMA転送蚱容時間が短 ボ凊理から順に、前蚘倖郚メモリから 前蚘内郚バッファぞの DMA転送優先床を、高い倀に倉曎するこずにより、前蚘倖郚 メモリずの DMA転送のバス砎綻を緩和させる、  The DMA transfer allowable time of the video data is shortened. In order from the processing, the DMA transfer priority from the external memory to the internal buffer is changed to a higher value to reduce the DMA transfer bus failure with the external memory. Let
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[12] 請求項 6に蚘茉の映像出力装眮においお、 蚭定した前蚘 DMA転送に甚いる内郚バッファ量から、前蚘映像デヌタの DMA転 送蚱容時間を蚈算し、 [12] The video output device according to claim 6, The DMA transfer allowable time of the video data is calculated from the set internal buffer amount used for the DMA transfer,
前蚘映像デヌタの DMA転送蚱容時間が短 ボ凊理から順に、前蚘倖郚メモリから 前蚘内郚バッファぞの DMA転送優先床を、高い倀に倉曎するこずにより、前蚘倖郚 メモリずの DMA転送のバス砎綻を緩和させる、  The DMA transfer allowable time of the video data is shortened. In order from the processing, the DMA transfer priority from the external memory to the internal buffer is changed to a higher value to reduce the DMA transfer bus failure with the external memory. Let
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[13] 請求項 7に蚘茉の映像出力装眮においお、 [13] The video output device according to claim 7,
蚭定した前蚘 DMA転送に甚いる内郚バッファ量から、前蚘映像デヌタの DMA転 送蚱容時間を蚈算し、  The DMA transfer allowable time of the video data is calculated from the set internal buffer amount used for the DMA transfer,
前蚘映像デヌタの DMA転送蚱容時間が短 ボ凊理から順に、前蚘倖郚メモリから 前蚘内郚バッファぞの DMA転送優先床を、高い倀に倉曎するこずにより、前蚘倖郚 メモリずの DMA転送のバス砎綻を緩和させる、  The DMA transfer allowable time of the video data is shortened. In order from the processing, the DMA transfer priority from the external memory to the internal buffer is changed to a higher value to reduce the DMA transfer bus failure with the external memory. Let
こずを特城ずする映像出力装眮。  A video output device characterized by that.
[14] 請求項 8に蚘茉の映像出力装眮においお、 [14] The video output device according to claim 8,
蚭定した前蚘 DMA転送に甚いる内郚バッファ量から、前蚘映像デヌタの DMA転 送蚱容時間を蚈算し、  The DMA transfer allowable time of the video data is calculated from the set internal buffer amount used for the DMA transfer,
前蚘映像デヌタの DMA転送蚱容時間が短 ボ凊理から順に、前蚘倖郚メモリから 前蚘内郚バッファぞの DMA転送優先床を、高い倀に倉曎するこずにより、前蚘倖郚 メモリずの DMA転送のバス砎綻を緩和させる、  The DMA transfer allowable time of the video data is shortened. In order from the processing, the DMA transfer priority from the external memory to the internal buffer is changed to a higher value to reduce the DMA transfer bus failure with the external memory. Let
こずを特城ずする映像出力装眮。  A video output device characterized by that.
PCT/JP2006/303326 2005-02-25 2006-02-23 Video output device WO2006090802A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005051962 2005-02-25
JP2005-051962 2005-02-25

Publications (1)

Publication Number Publication Date
WO2006090802A2 true WO2006090802A2 (en) 2006-08-31

Family

ID=36927840

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/303326 WO2006090802A2 (en) 2005-02-25 2006-02-23 Video output device

Country Status (1)

Country Link
WO (1) WO2006090802A2 (en)

Similar Documents

Publication Publication Date Title
US6441813B1 (en) Computer system, and video decoder used in the system
US8830403B1 (en) Image processing device and image processing method
JP4667108B2 (en) Data processing device
US20030043142A1 (en) Image information transmission system
US8203649B2 (en) Image processing apparatus and image processing method
JPH0918829A (en) Data reproducing device
JP2004062950A (en) Device and method for processing data, and program
US6240469B1 (en) System for transferring motion picture data between peripheral device interfaces by second peripheral interface issuing data transaction based on information set by processor to designate first peripheral interface
JP2010206273A (en) Information processing apparatus
US7433288B2 (en) Recording device and method, recording medium and program
WO2006090802A2 (en) Video output device
KR100477654B1 (en) Apparatus and method for selecting an image to be displayed
US8442376B2 (en) Image data recording/playback device, system, and method
JP4210939B2 (en) Image recording apparatus and method, and program
US20090092376A1 (en) Video reproduction apparatus
JP5094051B2 (en) Data processing apparatus and method
US20050002645A1 (en) Reproducing device and method, recording medium and program
JPH07336640A (en) Disk recording device
JP4867872B2 (en) Image processing apparatus, control method for the image processing apparatus, and program
US8149679B2 (en) Recording/reproducing device and method, recording medium, and program
JP3615435B2 (en) Movie reproducing apparatus and buffer circuit used therefor
JP3611941B2 (en) Image data decoding apparatus and image data decoding method
KR100757942B1 (en) Optical disc playback apparatus and method of controlling the same
KR100281014B1 (en) Data transmission method using ATAPI command transmission format
JP5511242B2 (en) Video playback apparatus and video playback method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
NENP Non-entry into the national phase in:

Ref country code: DE

NENP Non-entry into the national phase in:

Ref country code: JP

122 Ep: pct app. not ent. europ. phase

Ref document number: 06714466

Country of ref document: EP

Kind code of ref document: A2