Video data processing device and video data processing method

By controlling the operation timing of first and second functional modules to process different-sized data units, the video data processing device addresses the increased circuit scale issue, achieving efficient processing with a reduced circuit size and processing time.

JP2024142565AInactive Publication Date: 2024-10-11RENESAS ELECTRONICS CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023054746
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The increasing circuit scale of processing blocks in video data processing due to improved performance has become a significant issue, particularly in processors handling video data with higher resolutions and frame rates.

Method used

A video data processing device and method that employs a control unit to manage the operation timing of first and second functional modules, allowing them to process different-sized data units, thereby reducing the circuit scale by optimizing the image processing buffer capacity and processing time.

Benefits of technology

The solution enables the processing of larger data units with a smaller circuit scale by controlling the operation timing of functional modules, reducing the image processing buffer capacity and shortening the processing time by about 30% compared to conventional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024142565000001_ABST
    Figure 2024142565000001_ABST
Patent Text Reader

Abstract

To address a problem of an increased circuit area of conventional video data processing devices.SOLUTION: A video data processing device according to one embodiment includes: at least one first functional module that performs first processing preset for each first processing unit data; at least one second functional module that performs second processing preset for each second processing unit data smaller than the first processing unit data; and a control unit that controls an execution order of pipeline processing for the first processing unit data by controlling timing at which the first function module and the second function module operate. The control unit controls so as to start a subsequent stage so that processing is completed in each of the first and second functional modules, in accordance with end of a pre-stage.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a moving image data processing device and a moving image data processing method, for example, a moving image data processing device and a moving image data processing method for processing moving image data by pipeline processing. [Background technology]

[0002] In recent years, in video processing, the amount of data that must be processed within a given period of time is increasing with the progress of higher resolution and higher frame rates of videos to be displayed. For this reason, in processors that handle video data, a pipeline is formed from multiple processing blocks required for processing the video data, and pipeline processing is performed on the video data, thereby improving the processing capacity of the video data. Therefore, an example of an encoding device included in a processor that performs pipeline processing is disclosed in Patent Document 1.

[0003] The encoding device disclosed in Patent Document 1 divides input data into a plurality of blocks and processes each block. To this end, the encoding device has a block processing unit that generates reconstructed data based on the input data and an intra-prediction signal generated by performing intra-prediction of one block according to a prediction mode, and a block selection unit that selects a block to cause the block selection unit to perform pipeline processing, and the block selection unit selects the next block after the timing when the processing of the previous block is completed according to a processing order determined based on an inter-block dependency that indicates the relationship between one block and a block to be referenced when processing the one block. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2008-271127 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, in recent video data processing, the circuit scale of each processing block has increased in order to improve processing capacity, and the problem of increased circuit area has become apparent.

[0006] Other objects and novel features will become apparent from the description of this specification and the accompanying drawings. [Means for solving the problem]

[0007] A video data processing device and a video data processing method according to one embodiment include at least one first functional module that performs a first processing that is preset for each first processing unit data, at least one second functional module that performs a second processing that is preset for each second processing unit data that is smaller than the first processing unit data, and a control unit that controls the order of execution of pipeline processing for the first processing unit data by controlling the timing at which the first functional module and the second functional module operate, and the control unit controls the first functional module and the second functional module so that a subsequent stage is started in response to completion of processing of each of the previous stages. Effect of the Invention

[0008] In the video data processing device and video data processing method according to an embodiment, the processing unit of the second functional module can be made smaller than the first processing unit data, thereby making it possible to reduce the circuit scale. [Brief description of the drawings]

[0009] [Figure 1] 2 is a diagram for explaining the relationship between the processing order of one screen's worth of moving image data and processing unit data in a moving image data processing device. FIG. [Diagram 2] 1 is a diagram illustrating the size of processing unit data in a moving image data processing device. [Diagram 3] 1 is a block diagram of a moving image data processing device according to a first embodiment. [Figure 4]4 is a diagram for explaining a data processing method in a second functional module of the moving image data processing device according to the first embodiment. FIG. [Diagram 5] 2 is a block diagram of a control unit of the moving image data processing device according to the first embodiment. FIG. [Figure 6] FIG. 4 is a diagram illustrating an operation of a start signal generating unit according to the first embodiment. [Figure 7] 4 is a timing chart illustrating an operation of the moving image data processing device according to the first embodiment. [Figure 8] 4 is a timing chart illustrating an effect on processing time in the moving image data processing device according to the first embodiment. [Figure 9] FIG. 11 is a block diagram of a moving image data processing device according to a second embodiment. [Figure 10] FIG. 11 is a block diagram of a variable length decoding parameter generation processing unit of a moving image data processing device according to a second embodiment. [Figure 11] FIG. 11 is a block diagram of a control unit of a moving image data processing device according to a second embodiment. [Figure 12] FIG. 11 is a diagram illustrating the operation of a start signal generating unit according to the second embodiment. [Figure 13] 11 is a timing chart illustrating an operation of the moving image data processing device according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] For clarity of explanation, the following description and drawings are omitted and simplified as appropriate. In addition, in each drawing, the same elements are given the same reference numerals, and duplicate explanations are omitted as necessary.

[0011] First embodiment First, an overview of image processing in the video data processing device described below will be given. Fig. 1 shows a diagram for explaining the relationship between the processing order of one screen's worth of video data in the video data processing device and processing unit data. As shown in Fig. 1, in the video data processing device described below, one screen of video is divided into rectangular screen areas, each of which has a vertical pixel count and a horizontal pixel count of BP, and each of the divisions is set as processing unit data B0 to Bm (m is an integer), and processing is performed for each of the processing unit data B0 to Bm.

[0012] Moreover, the video data processing device described below performs encoding and decoding of video data. Here, the data processing unit of video differs for each CODEC standard. Therefore, FIG. 2 shows a diagram for explaining the size of processing unit data in a video data processing device. In the example shown in FIG. 2, the maximum processing unit data sizes in the AV1 standard and the HEVC standard are shown. As shown in FIG. 2, in the HEVC standard, the maximum data processing unit is rectangular image data of 32 pixels x 32 pixels, and in the AV1 standard, the maximum data processing unit is rectangular image data of 64 pixels x 64 pixels. Thus, depending on the CODEC standard, there is a difference of about four times in one processing unit data.

[0013] Here, since a video data processing device is required to process a larger number of CODECs, it is required to prepare hardware according to the standard with the largest processing unit. However, if hardware is simply prepared according to the standard with the largest processing unit, a problem occurs in that the circuit scale becomes large. Therefore, in the video data processing device described below, for a functional module capable of processing divided data among the processes for video data, only hardware corresponding to the processing of data with a processing unit smaller than the maximum processing unit is implemented, thereby realizing a circuit scale smaller than the circuit scale expected from the corresponding CODEC standard.

[0014] The video data processing device described below has at least one first function module and at least one second function module according to the size of data that can be processed. The first function module performs a first process that is preset for each first processing unit data obtained by dividing one screen of a video into rectangles of a preset size. The first function module is, for example, hardware that can collectively process processing unit data that is the maximum size in the AV1 standard.

[0015] The second functional module performs a second process that is preset for each of the second processing unit data divided into rectangular shapes having an area smaller than that of the first processing unit data. This second functional module is, for example, hardware capable of collectively processing the processing unit data having the maximum size in the HEVC standard.

[0016] Moreover, the video data processing device configures a pipeline using a first functional module and a second functional module, and performs pipeline processing on the first processing unit data in the pipeline by controlling the timing at which the first functional module and the second functional module operate using a control unit. In the following description, a video data processing device compatible with the AV1 standard and the HEVC standard will be described, but the disclosure is not limited thereto.

[0017] FIG. 3 shows a block diagram of the moving image data processing device 1 according to the first embodiment. FIG. 3 shows an external bus 17 which is an input / output destination of data of the moving image data processing device 1. As shown in FIG. 3, the moving image data processing device 1 according to the first embodiment includes a control unit 10, a variable length coding / decoding processing unit 11, a picture buffer controller 12, a motion compensation processing unit 13, a transform / quantization processing unit 14, a deblocking filter processing unit 15, an internal bus 16, and image processing buffers 21 to 25. In the moving image data processing device 1 according to the first embodiment, the variable length coding / decoding processing unit 11 and the transform / quantization processing unit 14 are defined as a first functional module, and the picture buffer controller 12, the motion compensation processing unit 13, and the deblocking filter processing unit 15 are defined as a second functional module having a smaller size of processing unit data than the first functional module.

[0018] The variable length coding / decoding processor 11 is a functional module also called VLC (Variable Length Coding), and performs the following processing as a preset first processing. That is, in the coding processing, the variable length coding / decoding processor 11 assigns codes of a bit stream according to parameters provided from the internal bus 16, and outputs the code to the external bus 17. In addition, in the decoding processing, the variable length coding / decoding processor 11 includes a variable length decoding parameter generating function that performs code analysis of the bit stream provided from the external bus 17, and outputs the resulting parameters to the internal bus 16. The variable length coding / decoding processor 11 uses a first image processing buffer (for example, the image processing buffer 21) to perform the provided first processing. The image processing buffer 21 has a capacity capable of processing the first processing unit data. That is, in the moving image data processing device 1, the variable length coding / decoding processor 11 and the image processing buffer 21 are combined to form one first functional module.

[0019] The picture buffer controller 12 is a functional module also called PBC (Picture Buffer Controller), and performs the following processing as a preset second processing. That is, the picture buffer controller 12 reads at least a reference image from the external bus 17 and outputs it to the internal bus 16. The picture buffer controller 12 uses a second image processing buffer (for example, the image processing buffer 22) to perform the given second processing. The image processing buffer 22 has a capacity capable of processing the second processing unit data. That is, in the moving image data processing device 1, the picture buffer controller 12 and the image processing buffer 22 are combined to form one second functional module.

[0020] The motion compensation processing unit 13 is a functional module also called MC (Motion Compensation), and performs the following processing as a preset second processing. The motion compensation processing unit 13 predicts the motion of moving images based on parameters and reference images provided from the internal bus. The motion compensation processing unit 13 uses a second image processing buffer (for example, image processing buffer 23) to perform the provided second processing. The image processing buffer 23 has a capacity capable of processing the second processing unit data. That is, in the moving image data processing device 1, the motion compensation processing unit 13 and the image processing buffer 23 are combined to form one second functional module.

[0021] The transform / quantization processing unit 14 is a functional module also called TRF (Transfer), and performs the following processing as a preset first processing. That is, the transform / quantization processing unit 14 performs transform / quantization processing of image data provided from the internal bus 16. The transform / quantization processing unit 14 uses a first image processing buffer (for example, the image processing buffer 24) when performing the provided first processing. The image processing buffer 24 has a capacity capable of processing the first processing unit data. That is, in the moving image data processing device 1, the transform / quantization processing unit 14 and the image processing buffer 24 are combined to form one first functional module.

[0022] The deblocking filter processing unit 15 is a functional module also called DEB (Deblocking filter), and performs the following processing as a preset second processing. That is, the deblocking filter processing unit 15 performs a filter processing for reducing blocking noise on image data provided from the internal bus 16, and outputs the result to the external bus 17. The deblocking filter processing unit 15 uses a second image processing buffer (for example, the image processing buffer 25) when performing the provided second processing. The image processing buffer 25 has a capacity capable of processing the second processing unit data. That is, in the video data processing device 1, the deblocking filter processing unit 15 and the image processing buffer 25 are combined to form one second functional module.

[0023] Here, in the video data processing device 1 according to the first embodiment, a first functional module and a second functional module that process processing unit data having different data sizes are mixed. Here, when the video data processing device 1 is made compatible with the AV1 standard and the HEVC standard, the first functional module is given a processing capability corresponding to the maximum processing unit data (64 pixels x 64 pixels) in the AV1 standard, and the second functional module is given a processing capability corresponding to the maximum processing unit data (32 pixels x 32 pixels) in the HEVC standard. Here, the maximum value of the processing unit data is four times different between the AV1 standard and the HEVC standard. Therefore, in the video data processing device 1 according to the first embodiment, the first unit processing data corresponding to the maximum value of the AV1 standard is divided into four and processed by the second functional module. That is, in the video data processing device 1 according to the first embodiment, while one first processing unit data is being processed by the first functional module, four pieces of second processing unit data are processed by the second functional module.

[0024] Here, Fig. 4 shows a diagram for explaining a data processing method in the second functional module of the video data processing device according to the first embodiment. The example shown in Fig. 4 is processing in the deblocking filter processing unit 15. As shown in Fig. 4, the first processing unit data B0 can be divided into second processing unit data B0(1) to B0(4). In addition, the deblocking filter processing unit 15 uses pixels in a predetermined area along the upper side and the left side of the first processing unit data B0 for filtering. Then, the deblocking filter processing unit 15 performs filtering on the second unit processing data B0(1), which is the first divided block, by using filtering data adjacent to the second unit processing data B0(1).

[0025] Subsequently, after performing the filter process on the region of the second unit processing data B0(1), the deblocking filter processor 15 performs the filter process on the second unit processing data B0(2) which is the second divided block, using the filter process data adjacent to the second unit processing data B0(2). Note that in the filter process on the second unit processing data B0(2), the data adjacent to the left side of the second unit processing data B0(2) is the second unit processing data B0(1), so the data F1 included in the second unit processing data B0(1) is used as the filter process data on the left side.

[0026] Subsequently, after performing the filter process on the region of the second unit processing data B0(2), the deblocking filter processor 15 performs the filter process on the second unit processing data B0(3) which is the third divided block, using the filter process data adjacent to the second unit processing data B0(3). Note that in the filter process on the second unit processing data B0(3), the data adjacent to the upper side of the second unit processing data B0(3) is the second unit processing data B0(1), so the data F2 included in the second unit processing data B0(1) is used as the filter process data on the upper side.

[0027] Subsequently, after performing the filter process on the area of ​​the second unit processing data B0(3), the deblocking filter processor 15 performs the filter process on the second unit processing data B0(4) which is the fourth divided block, using the filter process data adjacent to the second unit processing data B0(4). In the filter process on the second unit processing data B0(4), since there is no data adjacent to the upper side and the left side of the second unit processing data B0(4), other second unit processing data adjacent to the second unit processing data B0(4) are used as the filter process data. In FIG. 4, the second processing unit data B0(1) to B0(3) used as the filter process data in the filter process of the second unit processing data B0(4) are assigned the symbols F3 to F5.

[0028] As described above, in the video data processing device 1 according to the first embodiment, the second functional module processes four pieces of second processing target data during a period in which the first functional module can complete processing of one piece of first processing target data. In this manner, by operating the first functional module and the second functional module in cycles of different lengths, the storage capacity set in the image processing buffer included in the second functional module can be made smaller than that of the image processing buffer included in the first functional module. Then, in the video data processing device 1 according to the first embodiment, a reduction in circuit scale is realized by suppressing the capacity of the image processing buffer included in the second functional module.

[0029] In the moving image data processing device 1 according to the first embodiment, the control unit 10 controls the timings at which the variable length coding / decoding processing unit 11, the picture buffer controller 12, the motion compensation processing unit 13, the transform / quantization processing unit 14, and the deblocking filter processing unit 15 start operating, thereby achieving pipeline processing. The control unit 10 will now be described.

[0030] The control unit 10 controls the operation start timing of each of the functional modules. Specifically, the control unit 10 instructs a second functional module, which has a first functional module arranged in a previous stage in the pipeline, to start operation in response to completion of processing on one first processing unit data in the first functional module in the previous stage. The control unit 10 instructs a second functional module, which has a second functional module arranged in a previous stage in the pipeline, to start operation in response to completion of processing on one second processing unit data in the second functional module in the previous stage. The control unit 10 instructs a first functional module, which has a first functional module arranged in a previous stage in the pipeline, to start operation in response to completion of processing on one first processing unit data in the first functional module in the previous stage. The control unit 10 instructs a first functional module, which has a second functional module arranged in a previous stage in the pipeline, to start operation in response to completion of processing on second processing unit data equivalent to the data amount of one first processing unit data in the second functional module in the previous stage.

[0031] 5 shows a block diagram of the control unit 10 of the moving image data processing device 1 according to the embodiment 1. The configuration of the control unit 10 shown in FIG. 5 is an example of realizing the control unit 10, and the configuration for realizing the above-mentioned operation of the control unit 10 is not limited thereto.

[0032] In the example shown in FIG. 5, the control unit 10 has a start signal generating unit 30 and a state transition machine 31. The state transition machine 31 receives a first end signal from a block that processes a first processing unit data of 64 pixels x 64 pixels, such as the variable length coding / decoding processing unit 11 and the transform / quantization processing unit 14, and a second end signal from a block that processes a second unit processing data of 32 pixels x 32 pixels, such as the picture buffer controller 12, the motion compensation processing unit 13, and the deblocking filter processing unit 15. The state transition machine 31 changes an output value according to a combination of the received first end signal and second end signal. In the example shown in FIG. 5, the state transition machine 31 has a shifter 32 and a counter 33.

[0033] The shifter 32 transitions the 0th bit to "1" when the first processing unit data is input to the variable length coding / decoding processing unit 11, and shifts the value "1" by one bit toward the higher bit side each time the first end signal is input. Then, the shifter 32 outputs, for example, a value of 5 bits to which the value is shifted as an output value. The counter 33 cyclically changes the count value between 0 and 3 each time the second end signal is input. The output value of the counter 33 is the count value. In other words, the state transition machine 31 outputs a combination of the output value of the shifter 32 and the output value of the shifter 32 as one output value.

[0034] The state transition machine 31 is not limited to the combination of the shifter 32 and the counter 33, and may be provided with two shifters or two counters corresponding to the first and second end signals, respectively. Also, the state transition machine 31 may be provided with a counter corresponding to the first end signal, and a shifter corresponding to the second end signal.

[0035] When the output value of the state transition machine coincides with a start value determined for each functional module, the start signal generating unit 30 transmits a start pulse to the functional module with the coincident value to instruct the functional module to start operating. In the example shown in FIG. 5, the start signal generating unit 30 outputs seven start pulses. Specifically, the first start pulse is a VLC start pulse VLC_Start_Pulse that instructs the variable length coding / decoding processing unit 11 to start operating. The second start pulse is a PBC stage 0 start pulse PBC_st0_Start_Pulse that instructs the picture buffer controller 12 to start operating the first stage. The third start pulse is a PBC stage 1 start pulse PBC_st1_Start_Pulse that instructs the picture buffer controller 12 to start operating the second stage. The fourth start pulse is an MC start pulse MC_Start_Pulse that instructs the motion compensation processing unit 13 to start operating. The fifth start pulse is a TRF start pulse TRF_Start_Pulse that instructs the transform / quantization processor 14 to start operating. The sixth start pulse is a DEB stage 0 start pulse DEB_st0_Start_Pulse that instructs the deblocking filter processor 15 to start operating at the first stage. The seventh start pulse is a DEB stage 1 start pulse DEB_st1_Start_Pulse that instructs the deblocking filter processor 15 to start operating at the second stage.

[0036] Here, an example of the operation of the start signal generating unit 30 will be described. Fig. 6 shows a diagram for explaining the operation of the start signal generating unit according to the first embodiment. The example shown in Fig. 6 is for controlling a pipeline that can operate the video data processing device 1 shown in Fig. 3 most efficiently. The start signal generating unit 30 holds a combination of the shifter and counter values ​​shown in Fig. 6 as a start value for each functional module.

[0037] As shown in Figure 6, when the 0th bit of the shifter 32 is 1 and the count value of the counter 33 is 0, the start signal generation unit 30 outputs a VLC start pulse VLC_Start_Pulse to the variable-length coding / decoding processing unit 11, causing the variable-length coding / decoding processing unit 11 to start processing.

[0038] When the first bit of the shifter 32 is 1 and the count value of the counter 33 is 0 to 3, the start signal generation unit 30 outputs a start pulse PBC_st0_Start_Pulse for PBC stage 0 to the picture buffer controller 12, causing the picture buffer controller 12 to start processing of the first stage.

[0039] The start signal generation unit 30 outputs a start pulse PBC_st1_Start_Pulse for PBC stage 1 to the picture buffer controller 12 when the first bit of the shifter 32 is 1 and the count value of the counter 33 is 1 to 3, and when the second bit of the shifter 32 is 1 and the count value of the counter 33 is 0, thereby causing the picture buffer controller 12 to start processing of the second stage.

[0040] The start signal generation unit 30 outputs an MC start pulse MC_Start_Pulse to the motion compensation processing unit 13 when the first bit of the shifter 32 is 1 and the count value of the counter 33 is 2 to 3, and when the second bit of the shifter 32 is 1 and the count value of the counter 33 is 0 to 1, to cause the motion compensation processing unit 13 to start processing.

[0041] When the second bit of the shifter 32 is 1 and the count value of the counter 33 is 2, the start signal generation unit 30 outputs a TRF start pulse TRF_Start_Pulse to the transformation and quantization processing unit 14 to cause the transformation and quantization processing unit 14 to start processing.

[0042] The start signal generating unit 30 outputs a start pulse DEB_st0_Start_Pulse for DEB stage 0 to the deblocking filter processing unit 15 when the third bit of the shifter 32 is 1 and the count value of the counter 33 is 2 to 3, and when the fourth bit of the shifter 32 is 1 and the count value of the counter 33 is 0 to 1, thereby causing the deblocking filter processing unit 15 to start processing of the first stage.

[0043] The start signal generating unit 30 outputs a start pulse DEB_st1_Start_Pulse for DEB stage 1 to the deblocking filter processing unit 15 when the third bit of the shifter 32 is 1 and the count value of the counter 33 is 3, and when the fourth bit of the shifter 32 is 1 and the count value of the counter 33 is 0 to 2, thereby causing the deblocking filter processing unit 15 to start processing of the second stage.

[0044] Next, the operation of the moving image data processing device 1 according to the rules shown in Fig. 6 will be described. Fig. 7 shows a timing chart for explaining the operation of the moving image data processing device according to the first embodiment. Note that Fig. 7 shows a timing chart related to three pieces of processing unit data to be processed (processing unit data B0 to B2 in Fig. 7), but in reality, there are three or more pieces of processing unit data.

[0045] 7, in the moving image data processing device 1 according to the first embodiment, 1 is set in the 0th bit of the shifter 32 every time new processing target data is provided to the variable length coding / decoding processing unit 11, which is the first functional module. Then, the shifter 32 shifts the value toward the higher bits every time the processing of the first processing unit data is completed in the variable length coding / decoding processing unit 11 and the transform / quantization processing unit 14, which are the first functional modules.

[0046] Also, as shown in FIG. 7, in the video data processing device 1 according to the first embodiment, the count value of the counter 33 is incremented by one each time processing of the second processing unit data into which the data to be processed is divided is completed in the second functional modules, that is, the picture buffer controller 12, the motion compensation processing unit 13 and the deblocking filter processing unit 15.

[0047] As shown in FIG. 7, in the video data processing device 1 according to the first embodiment, a functional module in which the processing of a first functional module is arranged in the preceding stage of a pipeline (processing described on the upper side in FIG. 7) starts processing in response to completion of a processing cycle (time interval shown by a solid line in FIG. 7) which is one processing unit of the first functional module arranged in the preceding stage. On the other hand, in the video data processing device 1 according to the first embodiment, a functional module in which the processing of a second functional module is arranged in the preceding stage of a pipeline starts processing in response to completion of a processing cycle (time interval shown by a dotted line in FIG. 7) which is one processing unit of the second functional module arranged in the preceding stage. In the example shown in FIG. 7, the operation of each functional module is started based on a combination of the value of the shifter 32 and the count value of the counter 33 shown in FIG. 6. As can be seen from FIG. 7, in the video data processing device 1 according to the first embodiment, at least two processing cycles of different times are mixed in the pipeline.

[0048] As described above, in the moving image data processing device 1 according to the first embodiment, by configuring the control unit 10 so as to mix processes that operate in cycles having two different time lengths in the pipeline, it becomes possible to reduce the capacity of the image processing buffer included in the functional module that performs processing in a processing cycle of a short time length. Furthermore, by reducing the capacity of the image processing buffer, the moving image data processing device 1 according to the first embodiment becomes able to process the maximum processing unit data of the corresponding CODEC standard with hardware having a smaller circuit scale.

[0049] Moreover, in the video data processing device 1 according to the first embodiment, the time required for pipeline processing for one processing unit data can be shortened. This reduction in processing time will be described with reference to FIG. 8. FIG. 8 is a timing chart for explaining the effect of the video data processing device according to the first embodiment on the processing time. FIG. 8 compares the time from inputting one processing unit data B0 into the pipeline to completion of the pipeline processing between the video data processing device 1 according to the first embodiment and the video data processing device according to the comparative example. Here, in the video data processing device according to the comparative example, all the functional modules are configured to process processing unit data of the same size. With reference to FIG. 8, it can be seen that the video data processing device 1 according to the first embodiment can reduce the time until the processing is completed by about 30% compared to the video data processing device according to the comparative example. In this way, for the functional module that can process using the second processing unit data obtained by dividing the first processing unit data, it is possible to shorten the time from inputting into the pipeline to completion of the processing by executing the pipeline processing with hardware and cycle time corresponding to the second processing unit data.

[0050] Embodiment 2 In the second embodiment, a description will be given of another embodiment of the moving image data processing device 1 according to the first embodiment. In the description of the second embodiment, the same components as those described in the first embodiment are denoted by the same reference numerals as those in the first embodiment, and the description thereof will be omitted.

[0051] Fig. 9 shows a block diagram of a moving image data processing device according to the second embodiment. As shown in Fig. 9, the moving image data processing device 2 according to the second embodiment additionally includes a variable length decoding parameter generation processing unit 42 and an image processing buffer 52 in comparison with the moving image data processing device 1 according to the first embodiment. Also, in the moving image data processing device 2 according to the second embodiment, the control unit 10 and the variable length coding / decoding processing unit 11 of the moving image data processing device 1 according to the first embodiment are replaced with a control unit 40 and a variable length coding / decoding processing unit 41.

[0052] The variable-length decoding parameter generation processing unit 42 is obtained by separating the variable-length decoding parameter generation processing function included in the variable-length coding / decoding processing unit 11 from the variable-length coding / decoding processing unit 11. In the moving image data processing device 2, it is necessary to perform code analysis of the bit stream provided from the external bus 17 during decoding and generate parameters used in the conversion / quantization processing unit 14. The variable-length decoding parameter generation processing is performed after the bit stream is decoded. That is, in the variable-length coding / decoding processing unit 11, the decoding processing and the variable-length decoding parameter generation processing are processes that can be processed on different time axes, and in the second embodiment, the variable-length decoding parameter generation processing is separated from the processing performed in the variable-length coding / decoding processing unit 11 and processed by pipeline processing. Note that the image processing buffer 52 provided in association with the variable-length decoding parameter generation processing unit 42 has a capacity capable of processing the first processing unit data, similar to the image processing buffer 21, since the variable-length decoding parameter generation processing unit 42 is a first functional module that operates with the first processing unit data as a processing unit.

[0053] The variable-length coding / decoding processing unit 41 is obtained by removing the function related to the variable-length decoding parameter generation processing from the variable-length coding / decoding processing unit 11. The control unit 40 is obtained by adding to the control unit 10 a function of outputting a start pulse to be transmitted to the variable-length decoding parameter generation processing unit 42.

[0054] Here, the variable length decoding parameter generation processing unit 42 will be described in more detail. Fig. 10 shows a block diagram of the variable length decoding parameter generation processing unit of the moving image data processing device according to the second embodiment. In Fig. 10, in order to explain the function of the variable length decoding parameter generation processing unit 42, a variable length coding / decoding processing unit 41, an image processing buffer 52, and an internal bus 16 are shown.

[0055] 10, the variable length decoding parameter generation processing unit 42 has a scan calculator 42a and a parameter generator 42b. The scan calculator 42a performs analysis processing of the bit stream decoded by the variable length coding / decoding processing unit 41, and stores the analysis result in the image processing buffer 52. The parameter generator 42b reads out the analysis result from the image processing buffer 52, generates parameters to be used in the transform / quantization processing unit 14 based on the analysis result, and outputs the parameters to the internal bus 16.

[0056] Here, by separating the function of the variable-length decoding parameter generation processing unit 42 from the variable-length coding / decoding processing unit 11, the calculation capabilities of the variable-length coding / decoding processing unit 41 and the variable-length decoding parameter generation processing unit 42 are lowered than those of the variable-length coding / decoding processing unit 11, thereby making it possible to reduce the circuit scale. In addition, in the second embodiment, the process performed by the scan calculator 42a and the process performed by the parameter generator 42b are executed in different stages. That is, the execution stage of the variable-length decoding parameter generation processing unit 42 is composed of two execution stages. Since the analysis process performed by the scan calculator 42a usually takes time, if the analysis process performed by the scan calculator 42a and the parameter generation process performed by the parameter generator 42b are attempted to be executed in the same time as the decoding process by the variable-length coding / decoding processing unit 41, there is a concern that the scan calculator 42a is required to have high calculation capabilities and the circuit scale of the scan calculator 42a will increase. However, by processing the analysis process performed by the scan calculator 42a and the parameter generation process performed by the parameter generator 42b in different stages, the circuit scale of the scan calculator 42a can be reduced.

[0057] Next, the control unit 40 will be described. Fig. 11 shows a block diagram of the control unit of the video data processing device according to the second embodiment. As shown in Fig. 11, the control unit 40 has a start signal generating unit 60 instead of the start signal generating unit 30 of the control unit 10 of the first embodiment. The start signal generating unit 60 is added with a function of outputting a start pulse VLCP_st0_Start_Pulse for VLCP stage 0 and a start pulse VLCP_st1_Start_Pulse for VLCP stage 1 to the start signal generating unit 30. The start pulse VLCP_st0_Start_Pulse for VLCP stage 0 instructs the variable length decoding parameter generation processing unit 42 to start processing of the first stage. The start pulse VLCP_st1_Start_Pulse for VLCP stage 1 instructs the variable length decoding parameter generation processing unit 42 to start processing of the second stage.

[0058] Here, the operation of the start signal generating unit 60 will be described. Fig. 12 is a diagram for explaining the operation of the start signal generating unit according to the second embodiment. As shown in Fig. 12, in the operation of the start signal generating unit 60, start values ​​of the start pulse VLCP_st0_Start_Pulse for VLCP stage 0 and the start pulse VLCP_st1_Start_Pulse for VLCP stage 1 are added to the operation of the start signal generating unit 30.

[0059] The start signal generating unit 60 outputs a start pulse VLCP_st0_Start_Pulse for VLCP stage 0 when the first bit of the shifter 32 is 1 and the count value becomes 0. The start signal generating unit 60 outputs a start pulse VLCP_st1_Start_Pulse for VLCP stage 1 when the second bit of the shifter 32 is 1 and the count value becomes 0.

[0060] Next, a description will be given of the operation of the moving image data processing device 2 according to the second embodiment. A timing chart for explaining the operation of the moving image data processing device according to the second embodiment is shown in FIG.

[0061] As shown in FIG. 13, in the moving image data processing device 2 according to the second embodiment, the first stage of the variable-length decoding parameter generation processing unit 42 is executed in the cycle following completion of the processing of the variable-length encoding / decoding processing unit 41, which is the first pipeline stage (timing T2). Thereafter, the second stage processing of the variable-length decoding parameter generation processing unit 42 is executed from timing T3 after completion of the processing of the first stage of the variable-length decoding parameter generation processing unit 42. At this time, the parameter generation processing of the second stage of the variable-length decoding parameter generation processing unit 42 is designed to be completed in half the time of the processing for the first processing unit data or twice the time of the processing for the second processing unit data. As a result, the parameters generated by the variable-length decoding parameter generation processing unit 42 become available at timing T32 when the transform / quantization processing unit 14 of the processing unit data B0 is started.

[0062] From the above explanation, when the processing performed in the first functional module includes a plurality of processes that can be executed on different time axes, the variable length encoding / decoding processing unit 11 can be separated into a variable length decoding parameter generation processing unit 42 and a variable length decoding parameter generation processing unit 42. As a result, in the moving image data processing device 2 according to the second embodiment, the hardware of the first functional module can be simplified to reduce the circuit scale.

[0063] Although the number of pipeline stages increases by separating the functional modules in this way, the increase in the processing time of the entire pipeline is suppressed since it only increases the number of processes to be processed in parallel.

[0064] The invention made by the inventor has been specifically described above based on the embodiments, but it goes without saying that the present invention is not limited to the embodiments already described, and various modifications are possible without departing from the gist of the invention. [Explanation of symbols]

[0065] 1, 2 Video data processing device 10, 40 Control unit 11, 41 Variable length coding and decoding processing unit 12 Picture Buffer Controller 13 Motion compensation processing section 14 Conversion and quantization processing section 15 Deblocking filter processing section 16 Internal Bus 17 External Bus 21~25, 52 Image processing buffer 30, 60 Start signal generator 31 State Transition Machines 32 Shifter 33 Counter 40 Control section 42 Variable-length decoding parameter generation processing unit 42a Scan calculator 42b Parameter generation section

Claims

1. at least one first functional module that performs a first process that is preset for each first processing unit data obtained by dividing one screen of a moving image into rectangles having a preset size; at least one second functional module that performs a second process that is preset for each second processing unit data divided into rectangular shapes having an area smaller than that of the first processing unit data; a control unit that controls an order of pipeline processing for the first processing unit data by controlling operation timings of the first function module and the second function module that configure a pipeline, The control unit is instructing the second functional module, which has the first functional module disposed in a previous stage on the pipeline, to start an operation in response to the first functional module in the previous stage completing processing of one of the first processing unit data; instructing the second functional module that is arranged in a previous stage on the pipeline to start an operation in response to completion of one of the second processing unit data in the previous stage of the second functional module; instructing a first functional module that is arranged in a previous stage on the pipeline to start an operation in response to completion of processing of one of the first processing unit data in the first functional module in the previous stage; A video data processing device that instructs a first functional module, which has the second functional module placed in the upstream stage on the pipeline, to start operation in response to completion of processing of the second processing unit data corresponding to the data amount of one of the first processing unit data in the upstream second functional module.

2. the first functional module has a first image processing buffer having a storage capacity according to a size of the first processing unit data; 2. The video data processing device according to claim 1, wherein the second functional module has a second image processing buffer having a storage capacity according to the size of the second processing unit data.

3. The control unit is a state transition machine that receives a first end signal notifying that a process in the first functional module has ended and a second end signal notifying that a process in the second functional module has ended, and changes an output value according to a combination of the received first end signal and the received second end signal; a start signal generating circuit for transmitting a start pulse to a functional module when an output value of the state transition machine coincides with a start value determined for each functional module, the start pulse instructing the functional module to start an operation, the start value being determined by the output value of the state transition machine; 2. The video data processing device according to claim 1, further comprising:

4. the first functional module defines data having a vertical and horizontal number of pixels of 64 as a maximum size of the first processing unit data; 2 . The video data processing device according to claim 1 , wherein the second functional module defines data having a vertical and horizontal number of pixels of 32 as the maximum size of the first processing unit data.

5. the first functional module includes at least one of a variable length coding / decoding processing unit that assigns codes of a bit stream provided from an external bus during coding and outputs the code to an internal bus, a variable length decoding parameter generating processing unit that outputs parameters obtained as a result of code analysis of the bit stream during decoding, and a conversion / quantization processing unit that performs a quantization process on the bit stream; 2. The video data processing device according to claim 1, wherein the second functional module includes at least one of a picture buffer controller that reads at least a reference image from an external bus and outputs it to the internal bus, a motion compensation processing unit that predicts the movement of video based on the bit stream provided from the internal bus and the reference image, and a deblocking filter processing unit that performs filter processing on the bit stream provided from the internal bus to reduce blocking noise and outputs the result to the external bus.

6. At least one of the first functional module and the second functional module executes a process across a plurality of pipeline stages; The video data processing device according to claim 1 , wherein the control unit handles the pipeline stage as one functional module.

7. 2. The video data processing device according to claim 1, wherein the second processing unit data has a data amount of a screen area size that is 1 / 2n of the screen area size of the first unit processing data, where n is an integer.

8. at least one first functional module that performs a first process that is preset for each first processing unit data obtained by dividing one screen of a moving image into rectangles having a preset size; at least one second functional module that performs a second process that is preset for each second processing unit data divided into rectangular shapes having an area smaller than that of the first processing unit data; a control unit that controls an order of pipeline processing for the first processing unit data by controlling operation timings of the first function module and the second function module that configure a pipeline, the method comprising: Using the control unit, instructing the second functional module, which has the first functional module disposed in a previous stage on the pipeline, to start an operation in response to the first functional module in the previous stage completing processing of one of the first processing unit data; instructing the second functional module that is arranged in a previous stage on the pipeline to start an operation in response to completion of one of the second processing unit data in the previous stage of the second functional module; instructing a first functional module that is arranged in a previous stage on the pipeline to start an operation in response to completion of processing of one of the first processing unit data in the first functional module in the previous stage; A video data processing method instructing a first functional module, which has a second functional module placed upstream in the pipeline, to start an operation in response to completion of processing of the second processing unit data equivalent to the data amount of one of the first processing unit data in the upstream second functional module.

Citation Information

Patent Citations

  • Coding apparatus

    JP2008271127A