WO2006090802A2 - Video output device - Google Patents
Video output device Download PDFInfo
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods 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/423—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/79—Processing of colour television signals in connection with recording
- H04N9/7921—Processing of colour television signals in connection with recording for more than one processing mode
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/78—Television signal recording using magnetic recording
- H04N5/781—Television signal recording using magnetic recording on disks or drums
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/84—Television signal recording using optical recording
- H04N5/85—Television signal recording using optical recording on discs or drums
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/79—Processing of colour television signals in connection with recording
- H04N9/80—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
- H04N9/804—Transformation 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/8042—Transformation 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
[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.
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) |
-
2006
- 2006-02-23 WO PCT/JP2006/303326 patent/WO2006090802A2/en active Application Filing
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 |