Video data processing device and video data processing method

By using multi-function modules and control units in video data processing to manage processing unit data of different sizes, the problem of circuit scale expansion is solved and more efficient video data processing and circuit reduction are achieved.

CN118741131APending Publication Date: 2024-10-01RENESAS ELECTRONICS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410292448.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-30
Filing Date
2024-03-14
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In video data processing, as video resolution and frame rate increase, the circuit scale in the processor continues to increase, resulting in a larger circuit area, making it difficult to effectively manage pipeline processing of multiple processing blocks.

Method used

At least one first functional module and one second functional module are used to process processing unit data of different sizes respectively, and their timing operations are controlled through the control unit to ensure the pipeline processing sequence and reduce the circuit scale.

Benefits of technology

Through this approach, video data can be processed on a smaller circuit scale, shortening pipeline processing time, reducing the physical size of the circuit, and improving processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118741131A_ABST
    Figure CN118741131A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a video data processing apparatus and a video data processing method, in which the video data processing apparatus includes: at least one first function module that performs first processing preset for each first processing unit data; at least one second function module that performs a second process 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 data of the first processing unit by controlling timings at which the first function module and the second function module operate. The control unit controls the subsequent stage such that the first functional module and the second module start in response to completion of the corresponding process according to an end of the preceding stage.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] The disclosure of Japanese Patent Application No. 2023-054746 filed on March 30, 2023 (including specification, drawings and abstract) is incorporated herein by reference in its entirety. Technical Field

[0003] The present invention relates to a video data processing apparatus and a video data processing method, and, for example, to a video data processing apparatus and a video data processing method for performing processing on video data by pipeline processing. Background Art

[0004] Recently, in video processing, as high resolution and high frame rate of video to be displayed are advanced, the capacity of data that must be processed within a predetermined period of time is increasing. For this reason, in a processor that processes video data, the processing capability of video data is enhanced by constructing a pipeline having a plurality of processing blocks required for processing video data and performing pipeline processing on the video data.

[0005] The disclosed techniques are listed below.

[0006] [Patent Document 1] Japanese Unexamined Patent Application Publication No. 2008-271127

[0007] An example of an encoding device included in a processor for performing pipeline processing is disclosed in Patent Document 1.

[0008] The encoding device disclosed in Patent Document 1 divides input data into a plurality of blocks and processes them for each block. To this end, a block selection unit includes: a block processing unit that generates reconstructed data based on an intra prediction signal generated by performing intra prediction of one block according to the input data and a prediction mode; and a block selection unit that selects the block according to a processing order determined based on an inter-block dependency relationship indicating a relationship between one block and a block to be referenced when processing the one block, so that the block selection unit performs pipeline processing and the block selection unit selects a next block after the timing at which the processing of the previous block ends. Summary of the invention

[0009] However, in recent video data processing, the circuit scale of each processing block has increased as processing power has been improved, and the problem of increased circuit area has become apparent.

[0010] Other objects and novel features will become apparent from the description of this specification and the accompanying drawings.

[0011] According to one embodiment, a video data processing device and a video data processing method include: at least one first function module, which performs a first processing preset for each first processing unit data; at least one second function module, which performs a second processing preset for each second processing unit data smaller than the first processing unit data; and a control unit, which controls the execution order of the pipeline processing for the first processing unit data by controlling the timing of the operation of the first function module and the second function module, wherein the control unit controls the subsequent stage so that the first function module and the second function module start in response to the completion of each processing of the previous stage.

[0012] In the video data processing apparatus and the video data processing method according to the embodiment, since the processing unit of the second functional module can be made smaller than the first processing unit, the circuit scale can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 The diagram shows the relationship between processing unit data and processing order of one screen of video data in a video data processing device.

[0014] Figure 2 This is a diagram for explaining the size of processing unit data in the video data processing device.

[0015] Figure 3 is a block diagram of a video data processing apparatus according to the first embodiment.

[0016] Figure 4 FIG. 1 is a diagram for explaining a video data processing method in a second functional block of the video data processing device according to the first embodiment.

[0017] Figure 5 is a block diagram of a control unit of the video data processing apparatus according to the first embodiment.

[0018] Figure 6 is a diagram showing the operation of the start signal generating unit according to the first embodiment.

[0019] Figure 7 is a timing chart for explaining the operation of the video data processing apparatus according to the first embodiment.

[0020] Figure 8 is a timing chart for explaining effects related to processing time in the video data processing apparatus according to the first embodiment.

[0021] Fig. 9 is a block diagram of a video data processing apparatus according to the second embodiment.

[0022] Fig.10is a block diagram of a variable length decoding parameter generation processing unit of a video data processing apparatus according to the second embodiment.

[0023] Fig.11 is a block diagram of a control unit of a video data processing apparatus according to the second embodiment.

[0024] Fig.12 is a diagram for explaining the operation of the start signal generating unit according to the second embodiment.

[0025] Fig.13 is a timing chart for explaining the operation of the video data processing apparatus according to the second embodiment. DETAILED DESCRIPTION

[0026] For the sake of clarity, the following description and drawings are appropriately omitted and simplified. In addition, in the drawings, the same elements are denoted by the same reference numerals, and redundant descriptions are omitted when necessary.

[0027] (First embodiment)

[0028] First, an outline of image processing in the video data processing apparatus will be described. Figure 1 FIG. 1 is a diagram showing the relationship between processing unit data and processing order for one screen of video data in a video data processing device. Figure 1 As shown, in the video data processing device described below, one screen of a video is divided into screen areas of a rectangular shape, wherein the number of pixels in the vertical direction and the number of pixels in the horizontal direction are BP with each other, and each divided area is defined as processing unit data B0 to Bm (m is an integer), and processing is performed on each processing unit data B0 to Bm.

[0029] The video data processing device described below performs encoding and decoding processing on video data. Here, the video processing unit of data differs according to the CODEC standard. Figure 2 FIG. 4 is a diagram showing the size of processing unit data in a video data processing device. Figure 2 In the example shown, the size of the maximum processing unit data in the AV1 (AO Media Video 1) standard and the HEVC (High Efficiency Video Coding) standard is shown. Figure 2 As shown, in the HEVC standard, the maximum data processing unit becomes a rectangular image data of 32 pixels by 32 pixels, while in the AV1 standard, the maximum data processing unit becomes a rectangular image data of 64 pixels by 64 pixels. Depending on the CODEC standard, there may be a 4-fold difference between single data units.

[0030] Since the video data processing device requires more processing corresponding to more CODECs, it is necessary to prepare hardware according to the standard with the largest processing unit. However, when the hardware is simply prepared according to the standard with the largest processing unit, there arises a problem that the circuit scale becomes large. Therefore, in the video data processing device described below, in a functional module capable of dividing data between processing for video data, by implementing only hardware corresponding to processing of processing unit data smaller than the maximum processing unit, a circuit size smaller than the circuit size assumed according to the standard corresponding to the CODEC is achieved.

[0031] The video data processing device described below has at least one of a first functional module and a second functional module according to the size of processable data. The first functional module performs a first process preset for each first processing unit data, wherein a screen of a video is divided into rectangular shapes having a preset size. The first functional module is, for example, hardware capable of batch processing unit data of the maximum size in the AV1 standard.

[0032] The second functional module performs a second process which is preset for each second processing unit data divided into a rectangular shape having a smaller area than the first processing unit data. The second functional module is, for example, hardware capable of batch processing unit data of the maximum size in the HEVC standard.

[0033] In addition, 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 of the operation of the first functional module and the second functional module by the control unit. In the following description, a video data processing unit corresponding to the AV1 standard and the HEVC standard will be described, but the present disclosure is not limited thereto.

[0034] Figure 3 FIG. 1 is a block diagram of a video data processing apparatus 1 according to a first embodiment. Figure 3 , an external bus 17 serving as an input / output destination of data of the video data processing apparatus 1 is shown. Figure 3As shown, the video data processing device 1 according to the first embodiment includes a control unit 10, a variable-length encoding / decoding processing unit (VLC) 11, a picture buffer controller (PBC) 12, a motion compensation processing unit (MC) 13, a conversion / quantization processing unit (TRF) 14, a deblocking filter processing unit (DEB) 15, an internal bus 16, and image processing buffers 21 to 25.

[0035] In the video data processing device 1 according to the first embodiment, a variable length coding / decoding processing unit (VLC) 11 and a conversion / quantization processing unit (TRF) 14 are used as a first functional module, and a picture buffer controller (PBC) 12, a motion compensation processing unit (MC) 13, and a deblocking filter processing unit (DEB) 15 are used as a second functional module, and the size of the processing unit data of the second functional module is smaller than the size of the processing unit data of the first functional module.

[0036] The variable length coding / decoding processing unit (VLC) 11 is a functional module (also referred to as variable length coding), and performs the following processing as a preset first processing. That is, in the encoding process, the variable length coding / decoding unit (VLC) 11 assigns a reference number of a bit stream according to a parameter given from the internal bus 16, and outputs the code to the external bus 17. In addition, the variable length coding / decoding processing unit (VLC) 11 includes a variable length decoding parameter generation function for performing code analysis of a bit stream given from the external bus 17 in the decoding process, and outputting the obtained parameters to the internal bus 16.

[0037] Then, the variable length coding / decoding processing unit (VLC) 11 uses the first image processing buffer (e.g., the image processing buffer 21) each time a given first process is performed. The image processing buffer 21 has a capability of processing the first processing unit data. In other words, in the video data processing device 1, the variable length coding / decoding processing unit (VLC) 11 and the image processing buffer 21 are combined to form one first functional module.

[0038] The picture buffer controller (PBC) 12 is a functional module, and performs the following processing as a preset second processing. That is, the picture buffer controller (PBC) 12 reads at least a reference image from the external bus 17 and outputs it to the internal bus 16. Then, the picture buffer controller (PBC) 12 uses a second image processing buffer (e.g., the image processing buffer 22) when performing a given second processing. The image processing buffer 22 has the ability to process the second processing unit data. That is, in the video data processing device 1, the picture buffer controller (PBC) 12 and the image processing buffer 22 are combined to form a second functional module.

[0039] The motion compensation processing unit (MC) 13 is a functional module, and performs the following processing as a preset second processing. The motion compensation processing unit (MC) 13 predicts the motion of the video based on the parameters and the reference image given from the internal bus 16. Then, the motion compensation processing unit (MC) 13 uses the second image processing buffer (e.g., the image processing buffer 23) when performing the given second processing. The image processing buffer 23 has the ability to process the second processing unit data. In other words, in the video data processing device 1, the motion compensation processing unit (MC) 13 and the image processing buffer 23 are combined to form a second functional module.

[0040] The conversion / quantization processing unit (TRF) 14 is a functional module, and performs the following processing as a preset first processing. That is, the conversion / quantization processing unit (TRF) 14 performs conversion / quantization processing of the image data given from the internal bus 16. Then, the conversion / quantization processing unit (TRF) 14 uses the first image processing buffer (e.g., the image processing buffer 24) for performing the given first processing. The image processing buffer 24 has the ability to process the first processing unit data. In other words, in the video data processing device 1, the conversion / quantization processing unit (TRF) 14 and the image processing buffer 24 are combined to form a first functional module.

[0041] The deblocking filter processing unit (DEB) 15 is a functional module, and performs the following processing as a preset second processing. That is, the deblocking filter processing unit (DEB) 15 performs a filtering process for reducing block noise on the image data given from the internal bus 16, and outputs it to the external bus 17. Then, the deblocking filter processing unit (DEB) 15 uses a second image processing buffer (e.g., the image processing buffer 25) when performing the given second processing. The image processing buffer 25 has the ability to process the second processing unit data. In other words, in the video data processing device 1, the deblocking filter processing unit (DEB) 15 and the image processing buffer 25 are combined to form a second functional module.

[0042] Here, in the video data processing device 1 according to the first embodiment, the first functional module and the second functional module for processing processing unit data having different data sizes are mixed. Here, when the video data processing device 1 is made to correspond to the AV1 standard and the HEVC standard, the largest processing unit data (64 pixels × 64 pixels) in the AV1 standard is given to the first functional module, and the second functional module is provided with a processing capability corresponding to the largest processing unit data (32 pixels × 32 pixels) in the HEVC standard.

[0043] Here, there is a four-fold difference in the maximum value of the processing unit data between the AV1 standard and the HEVC standard. Therefore, in the video data processing device 1 according to the first embodiment, the first unit processed 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 processed in the first functional module, four second processing unit data are processed in the second functional module.

[0044] Figure 4 A diagram illustrating a data processing method in a second functional module of the video data processing device according to the first embodiment is shown. Figure 4 In the exemplary embodiment shown, the first processing unit data B0 can be divided into second processing unit data B0(1) to B0(4), as shown in FIG. Figure 4 As shown, this is processed in the deblocking filter processing unit (DEB) 15.

[0045] In addition, the deblocking filter processing unit (DEB) 15 performs filtering using pixels of a predetermined area along the upper and left sides of the first processed unit data B0. Then, the deblocking filter processing unit (DEB) 15 performs filter processing on the second unit processed data B0(1) serving as the first divided block by using the filter processed data in contact with the second unit processed data B0(1).

[0046] Subsequently, after performing the filtering process on the area of ​​the second unit processing data B0(1), the deblocking filter processing unit (DEB) 15 performs the filtering process on the second unit processing data B0(2) used as the second divided block by using the filter processing data in contact with the second unit processing data B0(2). In the filtering process on the second unit processing data B0(2), since the data in contact with the left side of the second unit processing data B0(2) becomes the second unit processing data B0(1), the left side of the filter uses the data F1 included in the second unit processing data B0(1) as data.

[0047] Subsequently, after performing filtering processing on the area of ​​the second unit processing data B0(2), the deblocking filter processing unit (DEB) 15 performs filtering processing on the second unit processing data B0(3) used as the third divided block by using the filter processing data in contact with the second unit processing data B0(3). In the filter processing for the second unit processing data B0(3), since the data in contact with the upper side of the second unit processing data B0(3) becomes the second unit processing data B0(1), the second unit processing data uses the data F2 included in B0(1) as the data for the upper filter processing.

[0048] Subsequently, after performing filtering processing on the area of ​​the second unit processed data B0(3), the deblocking filter processing unit (DEB) 15 performs filtering processing on the second unit processed data B0(4) used as the fourth divided block using the filtering data in contact with the second unit processed data B0(4). In filtering the second unit processed data B0(4), since there is no data in contact with the upper and left sides of the second unit processed data B0(4), the second unit processed data in contact with the second unit processed data B0(4) uses other second unit processed data as data for filter processing. Figure 4 In the figure, the second processing unit data B0(1) to B0(3) used as data for filtering in filtering the second unit processing data B0(4) are marked with symbols F3 to F5.

[0049] As described above, in the video data processing device 1 according to the first embodiment, in a period in which the first functional module can complete processing of one first processing target data, four pieces of second processing target data are processed in the second functional module. Therefore, by operating the first functional module and the second functional module in cycles of different lengths, the storage capacity to be set in the image processing buffer included in the second functional module can be made smaller than the image processing buffer included in the first functional module. Then, in the video data processing device 1 according to the first embodiment, the capacity of the image processing buffer included in the second functional module is suppressed, thereby achieving a reduction in circuit scale.

[0050] Here, in the video data processing apparatus 1 according to the first embodiment, pipeline processing is realized by controlling the timing at which the variable length coding / decoding processing unit (VLC) 11, the picture buffer controller (PBC) 12, the motion compensation processing unit (MC) 13, the conversion / quantization processing unit (TRF) 14, and the deblocking filter processing unit (DEB) 15 start operating by the control unit 10. Therefore, the control unit 10 will be described below.

[0051] The control unit 10 controls the operation start timing of each of the above-mentioned functional modules. Specifically, the control unit 10 instructs the start of the operation in response to the completion of the processing of a first processing unit data in a first functional module of a previous stage of a second functional module having a first functional module arranged in a previous stage on the pipeline. The control unit 10 instructs the start of the operation in response to the completion of the processing of a second processing unit data in a second functional module of a previous stage of a second functional module having a second functional module arranged in a previous stage on the pipeline.

[0052] The control unit 10 instructs the start of the operation in response to the completion of the processing of one first processing unit data in the first functional module of the previous stage of the first functional module in which the first functional module is arranged in the previous stage on the pipeline. The control unit 10 instructs the start of the operation in response to the completion of the processing of the second processing unit data corresponding to the data amount of the first processing unit data in the second functional module of the previous stage of the first functional module in which the second functional module is arranged in the previous stage on the pipeline.

[0053] here, Figure 5 A block diagram of the control unit 10 of the video data processing apparatus 1 according to the first embodiment is shown. Figure 5 The illustrated control unit 10 is an example of realizing the control unit 10 , and the configuration for realizing the operation of the above-described control unit 10 is not limited thereto.

[0054] exist Figure 5 In the example shown, the control unit 10 includes a start signal generating unit 30 and a state transition machine 31. The state transition machine 31 receives a first end signal for processing a block of 64 pixels×64 pixels of first processing unit data such as a variable length coding / decoding processing unit (VLC) 11 and a conversion / quantization processing unit (TRF) 14, and receives a second end signal for processing a block of 32 pixels×32 pixels of second unit processing data such as a picture buffer controller (PBC) 12, a motion compensation processing unit (MC) 13, and a deblocking filter processing unit (DEB) 15. Then, the state transition machine 31 changes the output value according to a combination of the received first end signal and the second end signal. Figure 5 In the example shown, the state transition machine 31 has a shifter 32 and a counter 33 .

[0055] When the first processing unit data is input to the variable length coding / decoding processing unit (VLC) 11, the shifter 32 changes the 0th bit to "1", and whenever the first end signal is input, the shifter 32 shifts the value "1" by one bit to the higher order bit side. Then, the shifter 32 outputs, for example, a 5-bit value to shift the value as an output value. Whenever the second end signal is input, the counter 33 cyclically changes the count value between 0 and 3. The output value of the counter 33 is the count value. That is, the state transition machine 31 outputs the output value of the shifter 32 and the combination of the output value of the shifter 32 as one output value.

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

[0057] When the output value of the state transition machine matches the start value defined for each functional module, the start signal generation unit 30 sends a start pulse which instructs the functional module whose value matches to start operating. Figure 5 In the example shown, the start signal generating unit 30 outputs seven start pulses.

[0058] Specifically, the first start pulse is a VLC start pulse VLC_Start_Pulse indicating that the variable length encoding / decoding processing unit (VLC) 11 starts operating. The second start pulse is a start pulse PBC_st0_Start_Pulse for PBC stage 0, which indicates that the first stage of the operation of the picture buffer controller (PBC) 12 starts operating. The third start pulse is a start pulse PBC_st1_Start_Pulse for PBC stage 1, which indicates that the second stage of the operation of the picture buffer controller (PBC) 12 starts operating.

[0059] The fourth start pulse is the MC start pulse MC_Start_Pulse for indicating the start of operation to the motion compensation processor (MC) 13. The fifth start pulse is the TRF start pulse TRF_Start_Pulse for indicating the start of operation to the transform-quantization processor (TRF) 14. The sixth start pulse is the start pulse DEB_st0_Start_Pulse for DEB level 0, which indicates the start of the first stage of operation of the deblocking filter processor (DEB) 15. The seventh start pulse is the DEB level 1 start pulse DEB_st1_Start_Pulse for indicating the start of the second stage of operation of the deblocking filter processor (DEB) 15.

[0060] An example of the operation of the start signal generating unit 30 will now be described. Figure 6 A diagram for explaining the operation of the start signal generating unit according to the first embodiment is shown. Figure 6 The examples shown are for controlling the most efficient operation Figure 3 Assume that the start signal generating unit 30 will Figure 6 The combination of shifter and counter values ​​shown is maintained as the starting value for each functional block.

[0061] like Figure 6 As shown, when the 0th bit of the shifter 32 is 1 and the count value of the counter 33 is 0, the start signal generating unit 30 outputs the VLC start pulse VLC_Start_Pulse to the variable length encoding / decoding processing unit (VLC) 11, and enables the variable length encoding / decoding processing unit (VLC) 11 to start processing.

[0062] 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 generating unit 30 outputs a start pulse PBC_st0_Start_Pulse for PBC stage 0 to the picture buffer controller (PBC) 12 and causes the picture buffer controller (PBC) 12 to start the process of the first stage.

[0063] When the first bit of the shifter 32 is 1 and the count value of the counter 33 is 1 to 3, and the second bit of the shifter 32 is 1 and the count value of the counter 33 is 0, the start signal generating unit 30 outputs the start pulse PBC_st1_Start_Pulse for the PBC level 1 to the picture buffer controller (PBC) 12, and starts the process of the second stage of the picture buffer controller (PBC) 12.

[0064] When the first bit of the shifter 32 is 1 and the count value of the counter 33 is 2 to 3, and the second bit of the shifter 32 is 1 and the count value of the counter 33 is 0 to 1, the start signal generating unit 30 outputs the MC start pulse MC_Start_Pulse to the motion compensation processing unit (MC) 13, thereby starting the processing of the motion compensation processing unit (MC) 13.

[0065] When the second bit of the shifter 32 is 1 and the count value of the counter 33 is 2, the start signal generating unit 30 outputs a TRF start pulse TRF_Start_Pulse to the conversion / quantization processing unit (TRF) 14 and starts processing in the conversion / quantization processing unit (TRF) 14 .

[0066] When the third bit of the shifter 32 is 1 and the count value of the counter 33 is 2 to 3, and the fourth bit of the shifter 32 is 1 and the count value of the counter 33 is 0 to 1, the start signal generating unit 30 outputs the start pulse DEB_st0_Start_Pulse for DEB level 0 to the deblocking filter processing unit (DEB) 15, and starts the first stage processing of the deblocking filter processing unit (DEB) 15.

[0067] When the third bit of the shifter 32 is 1 and the count value of the counter 33 is 3, and the fourth bit of the shifter 32 is 1 and the count value of the counter 33 is 0 to 2, the start signal generating unit 30 outputs the start pulse DEB_st1_Start_Pulse for DEB level 1 to the deblocking filter processing unit 15, and enables the deblocking filter processing unit 15 to start the second stage of processing.

[0068] Next, the video data processing device 1 is described according to Figure 6 The operation of the rule is shown. Figure 7 1 shows a timing chart illustrating the operation of the video data processing apparatus according to the first embodiment. Figure 7 In the example, there are already three ( Figure 7 1 and 12 , respectively. In the timing diagram related to the processing unit data B0 to B2 in FIG. 1 , actually the processing unit data becomes three or more.

[0069] like Figure 7 As shown, in the video data processing apparatus 1 according to the first embodiment, whenever new data to be processed is supplied to the variable length encoding / decoding processing unit (VLC) 11 as the first functional block, the first bit of the shifter 32 is set to bit 0. Then, in the shifter 32, whenever the processing of the first processing unit data is completed in the variable length encoding / decoding processing unit (VLC) 11 and the conversion / quantization processing unit (TRF) 14 as the first functional block, the value is shifted to the higher order bit side.

[0070] In addition, if Figure 7 As shown, in the video data processing device 1 according to the first embodiment, each time the processing of the second processing unit data obtained by dividing the processing target data in the picture buffer controller (PBC) 12, the motion compensation processing unit (MC) 13 and the deblocking filter processing unit (DEB) 15 as the second functional module is completed, the count value of the counter 33 is counted one by one.

[0071] Then, if Figure 7 As shown, in the video data processing device 1 according to the first embodiment, a functional module for processing the first functional module is arranged in the previous stage of the pipeline (in Figure 7The above described processing) responds to the processing cycle (by Figure 7 The processing starts upon completion of the time interval (the time interval shown by the solid line in FIG), and the processing cycle becomes a processing unit of the first functional module arranged in the previous level.

[0072] On the other hand, in the video data processing apparatus 1 according to the first embodiment, the functional module of the processing of the second functional module arranged in front of the pipeline responds to the processing cycle (given by Figure 7 The processing starts after the completion of the time interval indicated by the dotted line in the figure, and the processing cycle becomes a processing unit of the second functional module arranged in the previous stage. Figure 7 In the example shown, we start with Figure 6 The operation of each functional module is based on the combination of the value of the shifter 32 and the count value of the counter 33. Figure 7 As shown, in the video data processing apparatus 1 according to the first embodiment, at least two different time processing cycles are mixed in the pipeline.

[0073] According to the above description, in the video data processing apparatus 1 according to the first embodiment, by configuring the control unit 10 to mix the processing operated in the cycles with two different time lengths in the pipeline, the short time length can reduce the capacity of the image processing buffer included in the functional module to continue the processing. In addition, since the size of the image processing buffer is reduced, the video data processing apparatus 1 according to the first embodiment can process the maximum processing unit data corresponding to the CODEC standard by using smaller circuit scale hardware.

[0074] Furthermore, in the video data processing apparatus 1 according to the first embodiment, the time required for pipeline processing for one processing unit data can be shortened. Figure 8 Describe the reduction in processing time. Figure 8 1 is a timing chart showing the effects related to processing time in the video data processing apparatus according to the first embodiment. Figure 8 In this embodiment, the video data processing apparatus 1 according to the first embodiment and the video data processing apparatus according to the comparative example are compared with each other regarding the time from when one processing unit data B0 is input to the pipeline to when the pipeline processing is completed.

[0075] Here, in the video data processing apparatus according to the comparative example, all functional modules are configured to process processing unit data of the same size. Figure 8It can be understood that the video data processing device 1 according to the first embodiment can reduce the time required to complete the processing by about 30% compared with the video data processing device according to the comparative example. In this way, for the functional module that can be processed by the second processing unit data divided by the first processing unit data, by performing pipeline processing with hardware and cycle time corresponding to the second processing unit data, the time from pipeline input to processing completion can be reduced.

[0076] (Second embodiment)

[0077] In the second embodiment, another form of the video data processing apparatus 1 according to the first embodiment will be described. In the description of the second embodiment, for the same components as those described in the first embodiment, the same reference numerals as those in the first embodiment will be omitted.

[0078] Fig. 9 FIG. 4 is a block diagram of a video data processing apparatus according to a second embodiment. Fig. 9 As shown, in the video data processing device 2 according to the second embodiment, a variable length decoding parameter generation processing unit (VLCP) 42 and an image processing buffer 52 are added to the video data processing device 1 according to the first embodiment. Furthermore, in the video data processing device 2 according to the second embodiment, the control unit 10 and the variable length encoding / decoding processing unit (VLC) 11 of the video data processing device 1 according to the first embodiment are replaced with a control unit 40 and a variable length encoding / decoding processing unit (VLC) 41.

[0079] The variable length decoding parameter generation processing unit (VLCP) 42 disconnects the variable length decoding parameter generation processing function included in the variable length encoding / decoding processing unit (VLC) 11 from the variable length encoding / decoding processing unit (VLC) 11. In the video data processing device 2, it is necessary to analyze the reference number of the bit stream given from the external bus 17 at the time of decoding to generate parameters used in the conversion / quantization processing unit (TRF) 14.

[0080] The variable length decoding parameter generation process is performed after the decoding process is performed on the bit stream. In other words, the decoding process and the variable length decoding parameter generation process in the variable length encoding / decoding processing unit (x) 11 are processes that can be processed on different time axes.

[0081] In the second embodiment, the variable length decoding parameter generation process is separated from the process performed in the variable length encoding / decoding unit (VLC) 11 and is processed by pipeline processing. The image processing buffer 52 provided in association with the variable length decoding parameter generation processing unit (VLCP) 42 has the ability to process the first processing unit data in the same manner as the image processing buffer 21 because the variable length decoding parameter generation processing unit (VLCP) 42 is a first functional module that operates the first processing unit data as a processing unit.

[0082] The variable length encoding / decoding processing unit (VLC) 41 excludes the function related to the variable length decoding parameter generation process from the variable length encoding / decoding processing unit (VLC) 11. The control unit 40 adds the function of outputting a start pulse to be sent to the variable length decoding parameter generation processing unit (VLCP) 42 to the control unit 10.

[0083] Here, the variable length decoding parameter generation processing unit (VLCP) 42 will be described in more detail. Fig.10 FIG. 4 is a block diagram showing a variable length decoding parameter generation processing unit (VLCP) 42 of a video data processing apparatus according to the second embodiment. Fig.10 In FIG. 1 , a variable length encoding / decoding processing unit (VLC) 41, an image processing buffer 52, and an internal bus 16 are shown in order to explain the function of a variable length decoding parameter generation processing unit (VLCP) 42.

[0084] like Fig.10 As shown, the variable length decoding parameter generation processor (VLCP) 42 has a scan calculation unit 42a and a parameter generation unit 42b. The scan calculation unit 42a performs analysis processing on the bit stream decoded by the variable length encoding / decoding unit (VLC) 41, and stores the analysis result in the image processing buffer 52. The parameter generation unit 42b reads the analysis result from the image processing buffer 52, generates parameters to be used by the transform / quantization processing unit (TRF) 14 based on the analysis result, and outputs the generated parameters to the internal bus 16.

[0085] Here, the function of the variable length decoding parameter generation processing unit (VLCP) 42 is separated from the variable length encoding / decoding processing unit (VLC) 11, so that the operation capacity of the variable length encoding / decoding processing unit (VLC) 41 and the variable length decoding parameter generation processing unit (VLCP) 42 can be reduced more than the operation capacity of the variable length encoding / decoding processing unit (VLC) 11, thereby reducing the circuit scale.

[0086] In addition, in the second embodiment, the processing performed by the scan calculation unit 42a and the processing performed by the parameter generation unit 42b are performed in different stages. That is, the execution stage of the variable length decoding parameter generation processing unit (VLCP) 42 is composed of two execution stages. Since the analysis process usually performed in the scan calculation unit 42a takes time, when the process is performed simultaneously with the decoding process of the variable length coding decoding processing unit (VLC) 41, the analysis process performed in the scan calculation unit 42a and the parameter generation process performed in the parameter generation unit 42b need to have higher computing power on the scan calculation unit 42a. However, the circuit scale of the scan calculation unit 42a may be increased. However, by processing the analysis process performed on the scan calculation unit 42a and the parameter generation process performed on the parameter generation unit 42b in a separate stage, the circuit scale of the scan calculation unit 42a can be reduced.

[0087] Next, the control unit 40 will be described. Fig.11 FIG. 4 is a block diagram showing a control unit of a video data processing device according to a second embodiment. Fig.11 As shown, the control unit 40 has a start signal generator 60 instead of the start signal generating unit 30 of the control unit 10 of the first embodiment. The start signal generator 60 is obtained by adding a function of outputting VLCP level 0 for the start pulse VLCP_st0_Start_Pulse and VLCP level 1 for the start pulse VLCP_st1_Start_Pulse to the start signal generating unit 30.

[0088] The start pulse VLCP_st0_Start_Pulse for VLCP stage 0 instructs the variable length decoding parameter generation processing unit (VLCP) 42 to start the first stage of processing. The start pulse VLCP_st1_Start_Pulse for VLCP stage 1 instructs the variable length decoding parameter generation processing unit (VLCP) 42 to start the second stage of processing.

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

[0090] When the first bit of the shifter 32 is 1 and the count value is 0, the start signal generating unit 60 outputs the start pulse VLCP_st0_Start_Pulse for VLCP stage 0. When the second bit of the shifter 32 is 1 and the count value is 0, the start signal generating unit 60 outputs the start pulse VLCP_st1_Start_Pulse for VLCP stage 1.

[0091] Next, the operation of the video data processing apparatus 2 according to the second embodiment will be described. Fig.13 A timing chart for explaining the operation of the video data processing apparatus according to the second embodiment is shown.

[0092] like Fig.13 As shown, in the video data processing device 2 according to the second embodiment, the first stage (timing T2) of the variable length decoding parameter generation processing unit (VLCP) 42 is executed in the subsequent cycle after the processing of the variable length coding decoding processing unit (VLC) 41 as the first pipeline stage is completed. Thereafter, after the processing of the first stage of the variable length decoding parameter generation processing unit (VLCP) 42 is completed, the processing of the second stage of the variable length decoding parameter generation processing unit (VLCP) 42 is executed from the timing T3.

[0093] At this time, the parameter generation processing of the second stage of the variable length decoding parameter generation processing unit (VLCP) 42 is designed to be completed in half of the processing of the first processing unit data or in twice of the processing of the second processing unit data. Therefore, the parameters generated by the variable length decoding parameter generation processing unit (VLCP) 42 become available at the timing T32 of the conversion / quantization processing unit (TRF) 14 starting the processing unit data B0.

[0094] According to the above description, when a plurality of processes that can be executed on different time axes are included in the processing performed in the first functional module, the functional module can be separated into the variable length decoding parameter generation processing unit (VLCP) 42 and the variable length decoding parameter generation processing unit (VLCP) 42 for the variable length coding decoding processing unit (VLC) 11. Therefore, in the video data processing device 2 according to the second embodiment, the circuit scale can be reduced by simplifying the hardware of the first functional module.

[0095] Incidentally, the number of pipeline stages is increased by performing such separation of functional modules, but since only the number of processes to be processed in parallel is increased, an increase in the processing time of the entire pipeline is suppressed.

[0096] Although the invention made by the present inventors has been specifically described based on the embodiments, the present invention is not limited to the embodiments that have been described, and it goes without saying that various modifications can be made without departing from the gist thereof.

Claims

1. A video data processing device, comprising: at least one first functional module, configured to perform a first process, wherein the first process is preset for each first processing unit data that divides a screen of a video into rectangular shapes of a preset size, at least one second functional module for performing a second process, the second process being preset for each second processing unit data divided in a rectangular shape having a smaller area than the first processing unit data, and a control unit, configured to control the execution order of pipeline processing of the first processing unit data by controlling the timing of the operation of the first functional module and the second functional module constituting the pipeline, wherein the control unit instructs to start the operation in response to completing processing of one of the first processing unit data in the first functional module of the previous stage of the second functional module in which the first functional module is arranged in the previous stage on the pipeline, wherein the control unit instructs to start the operation in response to completion of one of the second processing unit data in the second functional module of the previous stage of the second functional module in which the second functional module is arranged in the previous stage on the pipeline, wherein the control unit instructs to start the operation in response to completing processing of one of the first processing unit data in the first functional module of the previous stage of the first functional module in which the first functional module is arranged in the previous stage on the pipeline, The control unit instructs the start of the operation in response to the completion of processing of the second processing unit data, and the second processing unit data corresponds to the data amount of one of the first processing unit data in the second functional module of the previous stage of the first functional module in which the second functional module is arranged in the previous stage on the pipeline.

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

3. The video data processing device according to claim 1, The control unit has a state transition machine and a start signal generating circuit. wherein the state transition machine receives a first end signal for notifying that processing in the first functional module has been completed and a second end signal for notifying that processing in the second functional module has been completed, and changes the output value according to a combination of the received first end signal and the received second end signal, When the output value of the state transition machine matches a start value defined for each functional module, the start signal generating circuit sends a start pulse to the functional module whose value matches, and the start pulse indicates to start the operation.

4. The video data processing device according to claim 1, In the first functional module, data limited to 64 pixels by the number of vertical pixels and horizontal pixels is the maximum size of the first processing unit data, In the second functional module, data limited to 32 pixels by the number of vertical pixels and horizontal pixels is the maximum size of the first processing unit data.

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

6. The video data processing device according to claim 1, At least one of the first functional module and the second functional module is processed by a functional module at a plurality of pipeline stages, The control unit regards the pipeline stage as a functional module.

7. The video data processing device according to claim 1, When n is an integer, the second processing unit data has a data amount of the size of the screen area which is one-2 to the 2nth power with respect to the size of the screen area of ​​the first unit processing data.

8. A video data processing method in a video data processing device, the video data processing device comprising: at least one first functional module for executing a preset first processing for each first processing unit data that divides a screen of a video into rectangular shapes of a preset size; at least one second functional module, configured to execute a second process preset for each second processing unit data divided into a rectangular shape having a smaller area than the first processing unit data; and a control unit for controlling the execution order of pipeline processing for the first processing unit data by controlling the timing of the operation of the first functional module and the second functional module constituting the pipeline, wherein the control unit instructs to start the operation in response to completing processing of one of the first processing unit data in the first functional module of the previous stage of the second functional module in which the first functional module is arranged in the previous stage on the pipeline, wherein the control unit instructs to start the operation in response to completion of one of the second processing unit data in the second functional module of the previous stage of the second functional module in which the second functional module is arranged in the previous stage on the pipeline, wherein the control unit instructs to start the operation in response to completing processing of one of the first processing unit data in the first functional module of the previous stage of the first functional module in which the first functional module is arranged in the previous stage on the pipeline, The control unit instructs the start of the operation in response to the completion of processing of the second processing unit data, and the second processing unit data corresponds to the data amount of one of the first processing unit data in the second functional module of the previous stage of the first functional module in which the second functional module is arranged in the previous stage on the pipeline.