Image processing device and method

By adding header information of subsequent AUs to the SEI of current AUs, the image processing device facilitates parallel processing, reducing latency in generating decoded images and eliminating the need for display delays.

JP7532362B2Active Publication Date: 2024-08-13SONY SEMICON SOLUTIONS CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2021527613
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-06-20
Filing Date
2020-06-08
Publication Date
2024-08-13
Estimated Expiration
2040-06-08

AI Technical Summary

Technical Problem

In systems requiring low latency, such as streaming, the sequential processing of preprocessing for interpreting headers and decoded image generation leads to delays in generating decoded images, necessitating a display delay that hinders latency reduction.

Method used

The image processing device includes adding at least part of the header information of the next Access Unit (AU) to the Supplemental Enhancement Information (SEI) of the current AU, allowing parallel processing of decoding and preprocessing tasks.

Benefits of technology

This approach reduces the delay from stream input to decoded image generation by enabling simultaneous processing of header information and decoding, thereby improving latency performance without requiring real-time decoding capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007532362000001
    Figure 0007532362000001
  • Figure 0007532362000002
    Figure 0007532362000002
  • Figure 0007532362000003
    Figure 0007532362000003
Patent Text Reader

Abstract

The present technology relates to an image processing device and method by which it is possible to reduce the delay from the input of a stream until the generation of a decoded image. This image processing device adds, to supplemental enhancement information (SEI) of a first access unit (AU), at least a portion of the header information of a second AU to be processed subsequently to the first AU or information pertaining to at least a portion of the header information in order to generate an encoded stream. This technology can be applied to image encoding devices.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present technology relates to an image processing device and method, and more particularly to an image processing device and method that can reduce the delay from when a stream is input until a decoded image is generated. [Background technology]

[0002] As image compression techniques, MPEG2, Advanced Video Coding (AVC), High Efficiency Video Coding (HEVC), etc. are widely used (see Non-Patent Document 1).

[0003] When decoding data compressed by these compression techniques, the decoding device first performs pre-processing by parsing the header to extract information about the picture to be decoded, then generates a decoded image using the extracted information, and performs post-processing to generate information to be used as input for the decoding process of the next picture.

[0004] This series of processes needs to be performed sequentially. [Prior art documents] [Non-patent literature]

[0005] [Non-Patent Document 1] T-REC-H.265-201802,[online],2018-02-13,ITU,[2019,5,30 search],Internet,<https: / / www.itu.int / rec / T-REC-H.265-201802-I / en> Summary of the Invention [Problem to be solved by the invention]

[0006] In a system such as streaming where low latency is required, if pre-processing for interpreting a header and decoded image generation processing are performed sequentially, it is difficult to generate a decoded image while the pre-processing is being performed.

[0007] Therefore, in a system that instantly decodes and displays the input stream, it is necessary to introduce a delay in the display to cover the time it takes to execute the preprocessing, which is an obstacle to reducing latency.

[0008] The present technology has been made in consideration of such circumstances, and makes it possible to reduce the delay between when a stream is input and when a decoded image is generated. [Means for solving the problem]

[0009] According to one aspect of the present technology, there is provided an image processing device, the image processing device including: an encoding stream generating unit configured to generate an encoding stream by adding at least a part of header information of a second AU (Access Unit) to a SEI (Supplemental Enhancement Information) of the first AU, or information related to at least the part of the header information. The first AU is a first AU of a GOP (Group Of Pictures), and the encoded stream generating unit adds a generation pattern to the SEI of the first AU for generating at least a part of the header information of the AU in the GOP. .

[0010] In one aspect of the present technology, an encoded stream is generated by adding at least a portion of the header information of a second AU (Access Unit) that is processed after the first AU, or information regarding at least a portion of the header information, to the SEI (Supplemental Enhancement Information) of the first AU. The first AU is a first AU of a GOP (Group Of Pictures), and a generation pattern for generating at least a part of the header information of the AU in the GOP is added to the SEI of the first AU. .

[0011] According to another aspect of the present technology, there is provided an image processing device, the image processing device including: a decoding unit configured to decode a second AU based on header information generated by adding at least a part of header information of a second AU to be processed after the first AU or information related to at least a part of the header information to an SEI of the first AU and processing the header information. The first AU is a first AU of a GOP, and the decoding unit decodes the second AU using a generation pattern for generating at least a part of the header information of an AU in the GOP, the header information being added to the SEI of the first AU. .

[0012] In another aspect of the present technology, an encoded stream is generated by adding at least a portion of the header information of a second AU to be processed after the first AU, or information regarding at least a portion of the header information, to the SEI of the first AU, and the second AU is decoded based on the processed header information. The first AU is a first AU of a GOP, and the second AU is decoded using a generation pattern for generating at least a part of the header information of an AU in the GOP, the header information being added to the SEI of the first AU. . [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a block diagram showing an example of the configuration of a general encoding device. [Diagram 2] FIG. 1 is a block diagram showing an example of the configuration of a general decoding device. [Diagram 3] FIG. 4 is a diagram showing the timing of each process in the decoding device. [Figure 4] 3 is a flowchart showing an example of a decoding process of the decoding device of FIG. 2. [Diagram 5] FIG. 11 is a diagram illustrating an example of a processing sequence of a decoding device. [Figure 6] FIG. 11 is a diagram illustrating another example of the processing sequence of the decoding device. [Figure 7] FIG. 1 is a diagram showing an example of a stream configuration to which the present technology is applied. [Figure 8] FIG. 13 is a diagram showing another example configuration of a stream to which the present technology is applied. [Figure 9] 1 is a block diagram showing an example configuration of an encoding device to which the present technology is applied. [Figure 10] 2 is a block diagram showing an example of the configuration of a VCL encoding unit. FIG. [Figure 11] 10 is a flowchart illustrating the encoding process of the encoding device of FIG. [Figure 12] 12 is a flowchart illustrating the VCL encoding process in step S109 of FIG. 11. [Figure 13] FIG. 13 is a diagram showing an example of information that needs to be turned into SEI in the case of AVC. [Figure 14] FIG. 13 is a diagram showing an example of information that needs to be turned into SEI in the case of HEVC. [Figure 15] FIG. 13 is a diagram showing an example of syntax parameters that are essential for generating a RefPicList in the case of AVC. [Figure 16] 1 is a block diagram showing an example configuration of a decoding device to which the present technology is applied. [Figure 17] 11 is a block diagram showing a configuration example of a VCL decoding unit. [Figure 18] 17 is a flowchart illustrating a decoding process of the decoding device of FIG. 16. [Figure 19] 19 is a flowchart illustrating the VCL decoding process in step S204 of FIG. 18. [Figure 20] FIG. 2 is a diagram showing the timing of each process in the decoding device of the present technology. [Figure 21] FIG. 1 is a diagram showing the timing of each process in a conventional decoding device. [Figure 22] FIG. 2 is a diagram showing the timing of each process in the decoding device of the present technology. [Diagram 23] FIG. 2 is a block diagram showing an example of the configuration of a computer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, an embodiment of the present technology will be described in the following order. 1. Overview 2. Encoding device 3. Decryption device 4.Other

[0015] <<1. Overview>> <General coding device configuration> FIG. 1 is a block diagram showing an example of the configuration of a general encoding device.

[0016] The encoding device 1 is composed of an image capture unit 21, a picture type determination unit 22, a GOP (Group Of Pictures) structure generation unit 23, an encoding order rearrangement unit 24, an upper header generation unit 25, an upper header encoding unit 26, a VCL (Video Coding Layer) encoding unit 27, and a calculator 28.

[0017] The image capture unit 21 captures an image input from the previous stage, and outputs the captured image to a picture type determination unit 22 .

[0018] The picture type determination unit 22 determines the picture type of the image supplied from the image capture unit 21 based on GOP information indicating the GOP structure supplied from the GOP structure generation unit 23. The picture type determination unit 22 also assigns a POC (Picture Order Count) to each image. The picture type determination unit 22 outputs the image, whose picture type has been determined and to which the POC has been assigned, to the coding order rearrangement unit 24.

[0019] The GOP structure generating unit 23 determines the GOP structure, and outputs GOP information indicating the determined GOP structure to the picture type determining unit 22 and the coding order rearrangement unit 24 .

[0020] The coding order rearrangement unit 24 rearranges the images in display order into their coding order. The coding order rearrangement unit 24 outputs the rearranged images to the upper header generation unit 25.

[0021] The upper header generation unit 25 generates an upper header that is a header of an upper syntax by referring to an image supplied from the coding order rearrangement unit 24. The upper syntax is, for example, a sequence parameter set (SPS), a picture parameter set (PPS), or supplemental enhancement information (SEI). The upper header generation unit 25 outputs the generated upper header to the upper header encoding unit 26. The upper header generation unit 25 outputs an image to the VCL encoding unit 27.

[0022] The upper header encoder 26 encodes the upper header supplied from the upper header generator 25. The upper header encoder 26 outputs the encoded upper header to the calculator 28.

[0023] The VCL encoding unit 27 encodes the image supplied from the upper header generating unit 25 to generate a VCL. The VCL is compressed data of the image itself excluding the header. The VCL encoding unit 27 outputs the generated VCL to the calculator .

[0024] The calculator 28 adds the upper header supplied from the upper header encoding unit 26 and the VCL supplied from the VCL encoding unit 27. The calculator 28 outputs a bit stream consisting of the upper header and the VCL to a downstream decoding device or the like.

[0025] <General configuration of a decryption device> FIG. 2 is a block diagram showing an example of the configuration of a general decoding device.

[0026] The decoding device 31 includes a bit stream input unit 41, a header decoding unit 42, a reference relationship decoding unit 43, a VCL decoding unit 44, and an image output unit 45.

[0027] The bitstream from the previous stage is supplied to a bitstream input unit 41 .

[0028] The bitstream input unit 41 outputs the bitstream to a header decoding unit 42 and a VCL decoding unit 44 .

[0029] The header decoding unit 42 and the reference relationship decoding unit 43 perform pre-processing on the bitstream, such as parsing the header, calculating parameters, and generating RefPicList (reference image information).

[0030] The header decoding unit 42 interprets the header information of the picture (picture header or slice header) as a header parse. The header decoding unit 42 outputs the interpreted header information to the reference relationship decoding unit 43.

[0031] The reference relationship decoding unit 43 calculates parameters required in the image decoding process, such as POC, based on the header information supplied from the header decoding unit 42, and generates a RefPicList.

[0032] The VCL decoding unit 44 decodes the image while referring to the information generated in the pre-processing as needed, and reconstructs the decoded image. The VCL decoding unit 44 outputs the reconstructed decoded image to the image output unit 45. The VCL decoding unit 44 also has a DPB (Decoded Picture Buffer) update unit 51.

[0033] As post-processing, the DPB update unit 51 updates the DPB and outputs the DPB update information to the reference relationship decoding unit 43. The reference relationship decoding unit 43 updates the RefPicList based on the DPB update information.

[0034] The image output unit 45 outputs the decoded image supplied from the VCL decoding unit 44 to a downstream display unit or the like.

[0035] <Timing of each process in the decoding device> Fig. 3 is a diagram showing the timing of each process in the decoding device 31 in Fig. 2. The horizontal axis represents the flow of time. Note that the sub-number of frame-1 means the first. Therefore, frame-1 represents the first frame. The same applies to the subsequent figures.

[0036] At time t1, input of the frame-1 stream begins.

[0037] At time t2, pre-processing-1 for frame-1 starts, and at time t3, pre-processing-1 ends. At time t3 when pre-processing-1 ends, VCL decoding-1 starts, and at the subsequent time t4, output of frame-1 finally starts.

[0038] At time t5, input of the frame-1 stream is completed. Immediately thereafter, at time t6, input of the frame-2 stream is started, VCL decoding-1 is completed, and post-processing-1 is started.

[0039] At time t7, post-processing-1 is completed and pre-processing-2 for frame-2 is started. At time t8 when pre-processing-2 is completed, VCL decoding-2 is started. At time t9 thereafter, output of frame-1 is completed, and at time t10, output of frame-2 is finally started.

[0040] At time t11, input of the frame-2 stream is completed. Immediately thereafter, at time t12, VCL decoding-2 is completed. Then, at time t13, post-processing-2 is completed, and at time t14, output of frame-2 is completed.

[0041] As described above, in a typical decoding device 31, the delay from stream input time t1 or decoding start time t2 to output start time t4 needs to be large enough to include at least the time for preprocessing-1.

[0042] <Operation of the Decryption Device> FIG. 4 is a flowchart showing an example of the decoding process of the decoding device 31 of FIG.

[0043] In step S11, the header decoding unit 42 parses the header of the bit stream as preprocessing. The header decoding unit 42 outputs the header information interpreted by parsing the header to the reference relationship decoding unit 43.

[0044] In step S12, the reference relationship decoding unit 43 calculates a POC as preprocessing.

[0045] In step S13, the reference relationship decoding unit 43 generates a RefPicList as preprocessing.

[0046] In step S14, the VCL decoding unit 44 decodes and reconstructs the image (VCL) while continually referring to the information generated in the pre-processing.

[0047] In step S15, the VCL decoding unit 44 performs marking processing of the RefPic as post-processing.

[0048] In step S16, the DPB update unit 51 updates the DPB (Decoded Picture Buffer) as post-processing, and the image output unit 45 outputs a picture (decoded image) as post-processing. The update information of the DPB updated in step S16 is used in the next pre-processing.

[0049] After step S16, the process returns to step S11, and the subsequent processes are repeated for the next picture.

[0050] As described above, steps S11 to S13 in Fig. 4 are pre-processing. VCL decoding in step S14 cannot start until pre-processing is completed. Steps S15 and S16 in Fig. 4 are post-processing. Post-processing can be performed before VCL decoding is completed. Note that pre-processing of the next picture cannot start until post-processing of the previous picture is completed.

[0051] <Example of a processing sequence of a decoding device> FIG. 5 is a diagram showing an example of a processing sequence of the decoding device 31 in FIG.

[0052] After pre-processing-1 of frame 1, decoding device 31 performs VCL decoding-1 of frame 1. After VCL decoding-1 of frame 1, decoding device 31 performs post-processing-1 of frame 1. Furthermore, after post-processing-1 of frame 1, decoding device 31 performs pre-processing-2 of frame 2. After pre-processing-2 of frame 2, decoding device 31 performs VCL decoding-2 of frame 2. After VCL decoding-2 of frame 2, decoding device 31 performs post-processing-2 of frame 2.

[0053] In this manner, in the decoding device 31, each process is carried out successively.

[0054] FIG. 6 is a diagram showing another example of the processing sequence of the decoding device 31 in FIG.

[0055] FIG. 6 shows an example where post-processing proceeds before VCL decoding is completed.

[0056] After completing pre-processing-1 of frame 1, decoding device 31 performs VCL decoding-1 of frame 1. During VCL decoding-1 of frame 1, decoding device 31 performs post-processing-1 of frame 1 in parallel with VCL decoding-1 of frame 1. Therefore, after completing VCL decoding-1 of frame 1, decoding device 31 can immediately perform pre-processing-2 of frame 2.

[0057] Similarly, after completing pre-processing-2 of frame 2, decoding device 31 performs VCL decoding-2 of frame 2. During VCL decoding-2 of frame 2, decoding device 31 performs post-processing-2 of frame 2 in parallel with VCL decoding-2 of frame 2. Therefore, after completing VCL decoding-2 of frame 2, decoding device 31 can immediately perform pre-processing-3 of the next frame 3, although this is not shown in the figure.

[0058] As described above, in a system such as streaming where low latency is required, if pre-processing for interpreting a header and decoded image generation processing are performed sequentially, generation of the decoded image stops while the pre-processing is being performed.

[0059] In a system that instantly decodes and displays the input stream, it is necessary to introduce a delay in the display to account for the time it takes to execute the preprocessing, which is an obstacle to reducing latency.

[0060] Here, the header information of the next AU (the AU to be processed after each AU) in the processing order of each AU (Access Unit) contains information that the decoding side needs in advance when preprocessing each AU. This information can be generated ahead of time on the encoding side, at the latest, when creating the upper header of each AU.

[0061] An AU is a collection of NAL (Network Abstraction Layer) units that can generate one effective picture (frame). In other words, an AU represents a picture (frame). Hereinafter, a picture (frame) is also referred to as an AU.

[0062] Therefore, in the present technology, at least a part of the header information of the second AU to be processed after the first AU, or information related to at least a part of the header information, is added to the SEI of the first AU to generate an encoded stream. In this way, it is possible to reduce the delay in decoding.

[0063] <Stream configuration of this technology> FIG. 7 is a diagram showing an example of a stream configuration to which the present technology is applied.

[0064] In FIG. 7, the first AU and the second AU are shown from the left.

[0065] The first AU consists of AUD (Access Unit Delimiter), SPS / PPS, SEI, SliceHdr (Header)-1, and VCL-1. The second AU consists of AUD, SEI, SliceHdr-2, and VCL-2.

[0066] In this technique, SliceHdr-2 of the second AU is added to the SEI of the first AU, as shown by the dashed arrow in Fig. 7. That is, SliceHdr-2 of the Nth (N>1)th AU is added to the SEI of the N-1th AU.

[0067] In a low-delay system, syntax parameters that change are almost limited. Therefore, the encoding device may extract only parameters that change for each picture from the parameters of SliceHdr-2, and add the minimum number of extracted parameters to the SEI. In addition, the parameters may be the ones described later in FIG. 13 to FIG. 15.

[0068] FIG. 8 is a diagram showing another example configuration of a stream to which the present technology is applied.

[0069] In FIG. 8, the first (leading) AU and the second AU of the GOP are shown from the left.

[0070] The first AU consists of AU, SPS / PPS, SEI, SliceHdr-1, and VCL-1. The second AU consists of AUD, SliceHdr-2, and VCL-2.

[0071] In the stream in FIG. 8, information required for pre-processing of each picture for one GOP is added together to the SEI at the beginning of the GOP.

[0072] The information required for preprocessing may be parameters described later with reference to Figures 13 to 15, but may be only the parameters that change for each picture as described above, or may be all the slice headers of the first slices of the pictures. Also, information required for preprocessing may be narrowed down from among those slice headers. This is also the case with Figure 7.

[0073] In the case of limited operation, the encoding device can create parameters in advance, i.e., the encoding device can prepare a generation pattern (generation rule) for the necessary parameters in advance.

[0074] Therefore, on the encoding side, instead of sending the information required for preprocessing in advance, a generation pattern prepared in advance may be added to the SEI of the first AU, i.e., the first AU of the GOP, and then sent.

[0075] In this case, the SliceHdr of AU is only used later to check the answer, and is not used in the actual preprocessing.

[0076] By doing so, the waiting time from when the bitstream is input until VCL decoding begins is shortened, allowing the decoding device to perform each process efficiently.

[0077] <<2. Encoding device>> <Example of the configuration of the encoding device> Fig. 9 is a block diagram showing a configuration example of an encoding device to which the present technology is applied. Among the configurations shown in Fig. 9, the same components as those described with reference to Fig. 1 are denoted by the same reference numerals. Duplicate descriptions will be omitted as appropriate.

[0078] 9 includes an image capture unit 21, a picture type determination unit 22, a GOP structure generation unit 23, a coding order rearrangement unit 24, an upper header generation unit 25, an upper header encoding unit 26, a VCL encoding unit 27, and a calculator 28. The encoding device 101 further includes an upper header holding memory 111, an upper header SEI generation unit 112, an SEI encoding unit 113, and a calculator 114.

[0079] The encoding device 101 differs from the encoding device 1 in FIG. 1 in that an upper header holding memory 111, an upper header SEI generating unit 112, an SEI encoding unit 113, and a calculator 114 are added.

[0080] 9 performs encoding processing according to the GOP structure of the stream to be generated after knowing or determining it in advance. Therefore, when encoding each AU, the encoding device 101 can generate picture reference relationships and header information in advance.

[0081] The upper header generating unit 25 generates picture reference relationships and header information in advance. The upper header generating unit 25 causes the upper header holding memory 111 to hold the generated upper header.

[0082] The upper header holding memory 111 holds the upper headers.

[0083] The upper-layer header encoding unit 26 encodes the upper-layer header of the currently encoded picture using the upper-layer header held in the upper-layer header holding memory 111. The upper-layer header encoding unit 26 outputs the encoded upper-layer header to the arithmetic unit 28.

[0084] The upper-layer header SEI conversion unit 112 converts the upper-layer header of the next picture from the upper-layer header held in the upper-layer header holding memory 111 into SEI, for example, as Userdata in SEI. The upper-layer header SEI conversion unit 112 outputs the SEI, which is the upper-layer header converted into SEI, to the SEI encoding unit 113.

[0085] The SEI encoding unit 113 encodes the SEI. The SEI encoding unit 113 outputs the encoded SEI, which is the encoded SEI, to the arithmetic unit 114.

[0086] The arithmetic unit 28 adds the upper-layer header supplied from the upper-layer header encoding unit 26 and the VCL supplied from the VCL encoding unit 27. The arithmetic unit 28 generates a bitstream composed of the upper-layer header and the VCL and outputs it to the arithmetic unit 114.

[0087] The arithmetic unit 114 adds the encoded SEI to the bitstream composed of the upper-layer header and the VCL. The arithmetic unit 114 outputs the bitstream composed of the upper-layer header, the encoded SEI, and the VCL to, for example, a subsequent decoding device.

[0088] When the encoding device 101 is an encoding device that determines the GOP structure at the beginning of the encoding process, the encoding device 101 may generate header information for one GOP at the beginning of the GOP and add the generated header information for one GOP as Userdata to the beginning of the sequence or the GOP. In this case, on the decoding side, the header information for one GOP will be reconstructed at the decoding timing at the beginning of the GOP.

[0089] <Configuration of the VCL Encoding Unit> FIG. 10 is a block diagram showing a configuration example of the VCL encoding unit 27.

[0090] 10, the VCL encoding unit 27 includes a calculator 151, a DCT transform / quantization unit 152, an entropy encoding unit 153, an inverse quantization / inverse DCT transform unit 154, a calculator 155, a deblocking filter 156, and an adaptive loop filter 157. The VCL encoding unit 27 further includes a frame memory 158, a motion detection unit 159, a motion compensation unit 160, a spatial prediction unit 161, and a selector 162.

[0091] An input image input from the previous stage is supplied to a calculator 151 , a spatial prediction unit 161 , and a motion detection unit 159 .

[0092] The calculator 151 calculates the difference between the input image and the predicted image supplied from the selector 162 , and outputs the calculated difference image to the DCT transformation / quantization unit 152 .

[0093] The DCT transformation / quantization unit 152 performs DCT transformation on the difference image supplied from the calculator 151. The DCT transformation / quantization unit 152 quantizes the image after the DCT transformation, and outputs the quantized image to the entropy coding unit 153 and the inverse quantization / inverse DCT transformation unit 154.

[0094] The entropy coding unit 153 entropy codes the quantized image supplied from the DCT conversion / quantization unit 152, and outputs an image VCL resulting from the coding to the calculator 28 at the downstream side.

[0095] The inverse quantization / inverse DCT conversion unit 154 performs inverse quantization on the quantized image supplied from the DCT conversion / quantization unit 152 to obtain a DCT converted image. The inverse quantization / inverse DCT conversion unit 154 performs inverse DCT conversion on the DCT converted image to obtain a difference image. The difference image is supplied to the calculator 155.

[0096] The calculator 155 generates a decoded image by adding the difference image supplied from the inverse quantization / inverse DCT transform unit 154 and the predicted image supplied from the selector 162. The calculator 155 outputs the generated decoded image to the deblocking filter 156.

[0097] The deblocking filter 156 performs a deblocking filter process on the decoded image supplied from the calculator 155 , and outputs the decoded image after the deblocking filter process to the adaptive loop filter 157 .

[0098] An adaptive loop filter (ALF) 157 performs ALF processing on the decoded image after the deblocking filter processing, and supplies the image after the ALF processing to a frame memory 158.

[0099] The motion estimation unit 159 and the motion compensation unit 160 perform inter prediction on the input image.

[0100] The motion detection unit 159 detects a motion vector using the input image and the reference image in the frame memory 158. The motion detection unit 159 outputs the detected motion vector to the motion compensation unit 160.

[0101] The motion compensation unit 160 performs motion compensation using the motion vector supplied from the motion detection unit 159, and generates an inter-predicted image. The inter-predicted image is output to the selector 162.

[0102] The spatial prediction unit 161 performs intra prediction on the input image to generate an intra predicted image. The intra predicted image is output to the selector 162.

[0103] The selector 162 selects a predicted image for which a predetermined cost function indicates an optimal value from among the inter-predicted image and the intra-predicted image. The selector 162 outputs the selected predicted image to the calculator 151 and the calculator 155.

[0104] <Encoding device operation> FIG. 11 is a flowchart illustrating the encoding process of the encoding device 101 of FIG.

[0105] In step S 101 , the image capture unit 21 captures an image input from the previous stage, and outputs the captured image to the picture type determination unit 22 .

[0106] In step S102, the GOP structure generating unit 23 determines a GOP structure and outputs GOP information indicating the determined GOP structure to the picture type determining unit 22 and the coding order rearrangement unit 24.

[0107] In step S103, the picture type determination unit 22 determines the picture type of the image supplied from the image capture unit 21 based on the GOP information supplied from the GOP structure generation unit .

[0108] In step S104, the coding order rearrangement unit 24 rearranges the images in display order into the coding order. The coding order rearrangement unit 24 outputs the rearranged images to the upper header generation unit 25.

[0109] In step S105, the upper header generating unit 25 references the image supplied from the encoding rearrangement unit 24 to generate an upper header.

[0110] In step S 106 , the upper header holding memory 111 holds the upper header generated by the upper header generating unit 25 .

[0111] In step S107, the upper header encoding unit 26 encodes the upper header of the AU to be encoded (hereinafter, referred to as the current AU) by using the upper header stored in the upper header storage memory 111. The upper header encoding unit 26 outputs the encoded upper header to the calculator 28.

[0112] In step S108, the upper header SEI generation unit 112 generates an SEI for the upper header of the next AU in processing order from the upper headers held in the upper header holding memory 111 as UserData of the SEI. The upper header SEI generation unit 112 outputs the SEI, which is the upper header that has been generated as the SEI, to the SEI encoding unit 113.

[0113] In step S109, the SEI encoding unit 113 encodes the SEI. The SEI encoding unit 113 outputs the encoded SEI to the calculator 114.

[0114] In step S110, the VCL encoding unit 27 performs VCL encoding on the image supplied from the encoding order rearrangement unit 24 to generate a VCL. Details of this VCL encoding process will be described later with reference to Fig. 12. The VCL encoding unit 27 outputs the generated VCL to the calculator 28.

[0115] In step S111, the calculator 28 and the calculator 114 generate a bit stream. That is, the calculator 28 adds the upper header supplied from the upper header encoding unit 26 and the VCL supplied from the VCL encoding unit 27. The calculator 28 generates a bit stream consisting of the upper header and the VCL, and outputs it to the calculator 114. The calculator 114 adds the coded SEI to the bit stream consisting of the upper header and the VCL. The calculator 114 outputs the bit stream consisting of the upper header, the coded SEI, and the VCL to, for example, a subsequent decoding device.

[0116] FIG. 12 is a flowchart illustrating the VCL encoding process in step S110 of FIG.

[0117] An input image input from the preceding coding order rearrangement unit 24 is supplied to a calculator 151 , a spatial prediction unit 161 , and a motion detection unit 159 .

[0118] In step S151, the calculator 151 obtains a difference image between an input image and a predicted image supplied from the selector 162. The calculator 151 outputs the obtained difference image to the DCT transformation / quantization unit 152.

[0119] In step S152, the DCT transformation / quantization unit 152 performs DCT transformation on the difference image supplied from the calculator 151. The DCT transformation / quantization unit 152 quantizes the image after the DCT transformation, and outputs the quantized image to the entropy coding unit 153 and the inverse quantization / inverse DCT transformation unit 154.

[0120] In step S153, the entropy coding unit 153 entropy codes the quantized image supplied from the DCT transformation / quantization unit 152, and outputs the image VCL resulting from the coding to the calculator 28 at the downstream side.

[0121] In step S154, the inverse quantization / inverse DCT unit 154 performs inverse quantization on the quantized image supplied from the DCT / quantization unit 152 to obtain a DCT-transformed image. The inverse quantization / inverse DCT unit 154 performs inverse DCT transformation on the DCT-transformed image to obtain a difference image. The difference image is supplied to the calculator 155.

[0122] In step S155, the calculator 155 adds the difference image supplied from the inverse quantization / inverse DCT transformation unit 154 and the predicted image supplied from the selector 162. The calculator 155 outputs an image resulting from the addition to the deblocking filter 156.

[0123] In step S156, the deblocking filter 156 performs deblocking filtering on the image supplied from the calculator 155, and outputs the image after the deblocking filtering to the adaptive loop filter 157.

[0124] In step S157, the adaptive loop filter 157 performs ALF processing on the image after the deblocking filter processing, and supplies the image after the ALF processing to the frame memory 158.

[0125] In step S158, the frame memory 158 accumulates the image after the ALF processing.

[0126] In step S159, the motion detection unit 159 and the motion compensation unit 160 perform inter prediction on the input image and generate an inter prediction image. The inter prediction image is output to the selector 162.

[0127] In step S160, the spatial prediction unit 161 performs intra prediction on the input image and generates an intra prediction image. The intra prediction image is output to the selector 162.

[0128] In step S161, the selector 162 selects a prediction image in which a predetermined cost function indicates an optimal value from among the inter prediction image and the intra prediction image. The selector 162 outputs the selected prediction image to the arithmetic unit 151 and the arithmetic unit 155.

[0129] <Information Requiring SEI Conversion> FIG. 13 is a diagram showing an example of information that needs to be converted to SEI in the upper header of the AU among the header information of the next AU in the processing order when the image compression method is AVC.

[0130] The information that needs to be converted to SEI in the upper header of the AU is not necessarily all of the header information of the next AU in the processing order, and may be a part of the header information. Note that the information that needs to be converted to SEI in the upper header of the AU is information that the decoder wants in advance, and is also information that the encoder can generate in advance.

[0131] In the case of AVC, the information that needs to be turned into an SEI in the upper header of an AU is at least nal_unit_type, pic_parameter_set_id, frame_num, field_pic_flag, bottom_field_flag, and information required for generating a POC, as shown in FIG.

[0132] nal_unit_type is information indicating whether it is an IDR (Instantaneous Decoder Refresh) or not. Information necessary for generating a POC is, for example, pic_order_cnt_lsb, delta_pic_order_cnt_bottom, and delta_pic_order_cnt[2].

[0133] Since the data relating to the GOP structure, frame / field, and POC generation pattern can be defined in advance, the encoding device 101 can generate them ahead of time.

[0134] FIG. 14 is a diagram showing an example of information that needs to be turned into an SEI, among the header information of the next AU in the processing order, in the upper header of the AU when the image compression method is HEVC.

[0135] In the case of HEVC, the information that needs to be turned into SEI in the upper header of an AU is at least nal_unit_type, slice_pic_order_cnt_lsb, short_term_ref_pic_set_sps_flag, short_term_ref_pic_set_idx, num_long_term_sps, and num_long_term_pics, as shown in FIG. 14.

[0136] For short_term_ref_pic_set_sps_flag, st_ref_pic_set(num_short_term_ref_pic_sets) is also required information. In addition, when the RPS (inter-layer reference picture set) of the SPS is overwritten, the parameters extracted from st_ref_pic_set(num_short_term_ref_pic_sets) are also required information.

[0137] Regarding num_long_term_pics, if LongTerm is enabled and added by Picture, the required information is lt_idx_sps[i], poc_lsb_lt[i], usd_by_curr_pic_lt_flag[i], deita_poc_msb_present_flag[i], and delta_poc_msb_cycle_lt[i].

[0138] In the case of HEVC, the GOP structure is usually determined and the RPS set required for the SPS is inserted, so the information that needs to be turned into SEI in the upper header of the AU is almost entirely the information required for POC generation, and therefore encoding device 101 can generate it ahead of schedule.

[0139] FIG. 15 is a diagram showing an example of syntax parameters of header information that are essential for generating a RefPicList when the image compression format is AVC.

[0140] In FIG. 15, from the left, there are listed a syntax parameter, a level indicating whether or not it is essential for generating a RefPicList, and the reason why it is essential.

[0141] nal_unit_type is a required parameter for generating a RefPicList, because it is necessary to know whether it is an IDR or not.

[0142] The pic_parameter_set_id is a parameter required for processing and generating a RefPicList. It is required to identify the PPS and SPS. The bottom_field_pic_order_in_frame_present_flag is a parameter included in the PPS, and is required to determine the presence or absence of delta_pic_order_cnt_bottom in the SliceHeader.

[0143] The frame_num is a required parameter for generating a RefPicList because frame_num is required for generating a RefPicList.

[0144] field_pic_flag and bottom_field_flag are required parameters for generating a RefPicList. They are required because they are necessary for generating a RefPicList during field coding. Note that field_pic_flag and bottom_field_flag are required parameters for generating a RefPicList as long as they exist in the syntax, but if they do not exist in the syntax, they are not required parameters for generating a RefPicList.

[0145] The pic_order_cnt_lsb parameter is required for generating a RefPicList because POC is required for generating a RefPicList when PocType=0.

[0146] The delta_pic_order_cnt_bottom parameter is required for generating a RefPicList because POC is required for generating a RefPicList when PocType=0.

[0147] The parameters delta_pic_order_cnt[0] and delta_pic_order_cnt[1] are required for generating a RefPicList because when PocType=1, a POC is required for generating a RefPicList.

[0148] Although the above parameters are necessary for generating a RefPicList, they may not be necessary depending on the operating conditions.

[0149] For example, in the case of fixed PPS operation, pps_id is not required. In the case of Progressive-only operation (frame_mbs_only_flag=1), field_pic_flag and bottom_field_flag are not required. In the case of PocType=0 operation, delta_pic_order_cnt[0] and delta_pic_order_cnt[1] are not required. In the case of PocType=1 operation, pic_order_cnt_lsb and delta_pic_order_cnt_bottom are not required. In the case of PocType=2 operation, delta_pic_order_cnt[0], delta_pic_order_cnt[1], pic_order_cnt_lsb, and delta_pic_order_cnt_bottom are not required.

[0150] <<3. Decryption device>> <Example of the configuration of the decryption device> Fig. 16 is a block diagram showing a configuration example of a decoding device to which the present technology is applied. Among the configurations shown in Fig. 16, the same components as those described with reference to Fig. 2 are denoted by the same reference numerals. Duplicate descriptions will be omitted as appropriate.

[0151] The decoding device 201 in FIG. 16 is made up of a bit stream input unit 41, a header decoding unit 42, a next AU reference relationship decoding unit 211, a reference image information holding unit 212, a VCL decoding unit 44, and an image output unit 45.

[0152] The decoding device 201 differs from the decoding device 31 in FIG. 2 in that a next AU reference relationship decoding unit 211 is replaced with a reference relationship decoding unit 43, and a reference image information holding unit 212 is added.

[0153] The header decoding unit 42 decodes and interprets the header information of the picture as a header parse. Furthermore, the header decoding unit 42 in FIG. 16 decodes and extracts the header information of the next AU that has been converted into SEI. The header decoding unit 42 outputs the interpreted header information and the extracted header information of the next AU to the next AU reference relationship decoding unit 211.

[0154] The next AU reference relationship decoding unit 211 calculates parameters required in the decoding process of the next AU by referring to DPB update information updated in post-processing of the AU to be decoded (hereinafter referred to as the current AU) supplied from the DPB update unit 51. The next AU reference relationship decoding unit 211 generates a RefPicList (reference image information) of the next AU as a result of calculating the parameters required in the decoding process of the next AU. The next AU reference relationship decoding unit 211 outputs the RefPicList of the next AU to the reference image information holding unit 212.

[0155] The reference image information holding unit 212 holds the RefPicList of the current AU generated in pre-processing of the previous AU. The reference image information holding unit 212 holds the RefPicList of the next AU supplied from the next AU reference relationship decoding unit 211.

[0156] The VCL decoding unit 44 decodes an image and generates (reconstructs) a decoded image without waiting for pre-processing of the current AU, by referring to the RefPicList of the current AU that was processed when the previous AU was decoded and is stored in the reference image information storage unit 212. The VCL decoding unit 44 outputs the generated decoded image to the image output unit 45.

[0157] The DPB update unit 51 updates the DPB as post-processing, and outputs the DPB update information to the next AU reference relationship decoding unit 211.

[0158] <Configuration Example of VCL Decoder> FIG. 17 is a block diagram showing a configuration example of the VCL decoder 44.

[0159] The VCL decoder 44 is composed of an entropy decoder 251, an inverse quantization / inverse DCT conversion unit 252, an arithmetic unit 253, a deblocking filter 254, an adaptive loop filter 255, and a frame memory 256. Further, the VCL decoder 44 is composed of a spatial prediction unit 257, a motion compensation unit 258, a selector 259, and a DPB update unit 51.

[0160] The entropy decoder 251 decodes the bit stream supplied from the bit stream input unit 41, and outputs the differential image of the decoding result to the inverse quantization / inverse DCT conversion unit 252. The decoded image is the one in which the differential image from the predicted image is quantized and DCT-converted in the encoding device 101.

[0161] The inverse quantization / inverse DCT conversion unit 252 performs inverse quantization on the differential image of the decoding result supplied from the entropy decoder 251. The inverse quantization / inverse DCT conversion unit 252 performs inverse DCT conversion on the result of the inverse quantization to obtain the differential image after the inverse DCT conversion. The inverse quantization / inverse DCT conversion unit 252 outputs the differential image to the arithmetic unit 253.

[0162] The arithmetic unit 253 adds the predicted image supplied from the selector 259 to the differential image to generate a decoded image, and outputs the generated decoded image to the deblocking filter 254 and the spatial prediction unit 257.

[0163] The deblocking filter 254 performs deblocking filter processing on the decoded image supplied from the arithmetic unit 253, and outputs the decoded image after the deblocking filter processing to the adaptive loop filter 255.

[0164] The adaptive loop filter 255 performs ALF processing on the decoded image after the deblocking filter processing. The adaptive loop filter 255 outputs the decoded image after the ALF processing to the image output unit 45 and the frame memory 256.

[0165] The frame memory 256 accumulates the decoded image supplied from the adaptive loop filter 255 .

[0166] When an image included in the bitstream is an intra-predicted image, information indicating intra-prediction is included in the bitstream. The information indicating intra-prediction is supplied from the entropy decoding unit 251 to the spatial prediction unit 257.

[0167] When an image included in the bitstream is an intra-predicted image, the spatial prediction unit 257 performs intra-prediction and generates a predicted image using the decoded image supplied from the calculator 253. The spatial prediction unit 257 outputs the generated intra-predicted image to the selector 259.

[0168] When an image included in the bitstream is an inter-predicted image, the bitstream includes information indicating inter-prediction and motion information indicating a motion vector used to generate the inter-predicted image in the encoding device 101. The information indicating inter-prediction and the motion information are supplied from the entropy decoding unit 251 to the motion compensation unit 258.

[0169] When an image included in the bitstream is an inter-predicted image, the motion compensation unit 258 performs motion compensation using the motion information supplied from the entropy decoding unit 251 to generate an inter-predicted image. At this time, for the motion compensation, the RefPicList of the current AU stored in the reference image information storage unit 212 is referenced, and the decoded image stored in the frame memory 256 is used. The motion compensation unit 258 outputs the generated inter-predicted image to the selector 259.

[0170] The selector 259 outputs the supplied predicted image, either the intra predicted image generated by the spatial prediction unit 257 or the inter predicted image generated by the motion compensation unit 258, to the calculator 253.

[0171] The DPB update unit 51 refers to the frame memory 256 , performs RefPicmarking processing and DPB update processing as post-processing of the current AU, and outputs the DPB update information to the next AU reference relationship decoding unit 211 .

[0172] <Operation of the Decryption Device> FIG. 18 is a flowchart illustrating the decoding process of the decoding device of FIG.

[0173] In step S201, the header decoding unit 42 decodes and interprets the header information of the picture as a header parse. The header decoding unit 42 also decodes and extracts the header information of the next AU that has been converted into SEI. The header decoding unit 42 outputs the interpreted header information and the extracted header information of the next AU to the next AU reference relationship decoding unit 211.

[0174] In step S202, the next AU reference relationship decoding unit 211 refers to the DPB update information updated in post-processing of the current AU supplied from the DPB update unit 51, calculates parameters required in the decoding process of the next AU, and generates a RefPicList for the next AU.

[0175] In step S203, the reference image information holding unit 212 holds the RefPicList of the next AU supplied from the next AU reference relationship decoding unit 211.

[0176] In step S204, the VCL decoding unit 44 performs VCL decoding processing by referring to the RefPicList of the current AU stored in the reference image information storage unit 212. Details of this VCL decoding processing will be described with reference to the following FIG. 19. At this time, pre-processing of the current AU has been completed in the decoding processing of the previous AU. The VCL decoding unit 44 decodes an image and generates (reconstructs) a decoded image. The VCL decoding unit 44 outputs the generated decoded image to the image output unit 45.

[0177] Note that the above-mentioned steps S202 and S204 are processes that are performed in parallel, as will be described later with reference to FIG.

[0178] FIG. 19 is a flowchart illustrating the VCL decoding process in step S204 of FIG.

[0179] In step S251, the entropy decoding unit 251 entropy decodes the bit stream supplied from the bit stream input unit 41, and outputs a differential image as a decoding result to the inverse quantization / inverse DCT transformation unit 252.

[0180] In step S252, the inverse quantization / inverse DCT transform unit 252 performs inverse quantization on the difference image of the decoding result supplied from the entropy decoding unit 251. The inverse quantization / inverse DCT transform unit 252 performs inverse DCT transform on the result of the inverse quantization to obtain a difference image after inverse DCT transform. The inverse quantization / inverse DCT transform unit 252 outputs the difference image to the calculator 253.

[0181] In step S253, the spatial prediction unit 257 and the motion compensation unit 258 determine whether or not the image of the current AU included in the bitstream is an inter-prediction image. If it is determined in step S253 that the image is an inter-prediction image, the process proceeds to step S254.

[0182] In step S254, the motion compensation unit 258 performs motion compensation using the motion information included in the bitstream to generate an inter-predicted image. At this time, the motion compensation is performed by referring to the RefPicList of the current AU stored in the reference image information storage unit 212, and using the decoded image stored in the frame memory 256. The motion compensation unit 258 outputs the generated inter-predicted image to the selector 259.

[0183] If it is determined in step S253 that the image is an intra-predicted image, the process proceeds to step S255.

[0184] In step S255, the spatial prediction unit 257 performs intra prediction and generates a predicted image, using the decoded image supplied from the calculator 253. The spatial prediction unit 257 outputs the generated intra predicted image to the selector 259.

[0185] The selector 259 outputs the predicted image supplied in step S254 or S255 to the calculator 253, and the process proceeds to step S256.

[0186] In step S256, the calculator 253 generates a decoded image by adding the prediction image supplied from the selector 259 to the difference image supplied from the inverse quantization / inverse DCT transform unit 252. The calculator 253 outputs the generated decoded image to the deblocking filter 254 and the spatial prediction unit 257.

[0187] In step S257, the deblocking filter 254 performs a deblocking filter process on the decoded image supplied from the calculator 253. The deblocking filter 254 outputs the decoded image after the deblocking filter process to the adaptive loop filter 255.

[0188] In step S258, the adaptive loop filter 255 performs an ALF process on the decoded image after the deblocking filter process. The adaptive loop filter 255 outputs the decoded image after the ALF process to the frame memory 256 and the image output unit 45.

[0189] In step S259, the adaptive loop filter 255 outputs the decoded image after the ALF processing to the image output unit 45 and the frame memory 256.

[0190] In step S260, the frame memory 256 accumulates the decoded image supplied from the adaptive loop filter 255. After step S260, the VCL decoding process ends.

[0191] <Processing sequence in the decoding device of the present technology> FIG. 20 is a diagram showing a sequence of each process in the decoding device of the present technology.

[0192] In Figure 20, from the left, each sequence of stream input performed by the bitstream input unit 41, Slice header processing performed by the header decoding unit 42, RefPicList generation performed by the next AU reference relationship decoding unit 211, VCL decoding performed by the VCL decoding unit 44, DPB updating performed by the DPB update unit 51, and image output performed by the image output unit 45 is shown.

[0193] In each sequence, a white rectangle indicates processing related to the current AU-1, a checkered rectangle indicates processing related to AU-2, which is the AU next to the current AU-1, and a black rectangle indicates processing related to AU-3, which is the AU next to AU-2.

[0194] First, after the bitstream input unit 41 inputs the Slice Header of AU-1 and the SEI of AU-2, but before the Slice Data of AU-1 has been input, the header decoding unit 42 starts processing the Slice header of AU-1, as shown by arrow A1.

[0195] In the latter half of the Slice header processing of AU-1, as indicated by an arrow A2, the VCL decoder 44 starts VCL decoding of AU-1.

[0196] After the header decoding unit 42 processes the Slice header, the DPB update unit 51 starts updating the DPB of AU-1, as indicated by an arrow A3.

[0197] In the latter half of the DPB updating of AU-1, the DPB update information for AU-2 generated by the DPB updating unit 51 is supplied to the next AU reference relationship decoding unit 211, as indicated by an arrow A4.

[0198] After the header decoder 42 finishes decoding the SEI of AU-2, which started after the Slice header processing of AU-1 is finished, the next AU reference relationship decoder 211 starts generating a RefPicList, as indicated by an arrow A5.

[0199] After the VCL decoding unit 44 finishes VCL decoding of AU-1, the image output unit 45 starts outputting the decoded image of AU-1, as indicated by an arrow A6.

[0200] On the other hand, after the bitstream input unit 41 finishes inputting the SliceData of AU-1, it starts inputting the SliceHeader of AU-2 and the SEI of AU-3. After the bitstream input unit 41 inputs the SliceHeader of AU-2 and the SEI of AU-3, the header decoding unit 42 starts processing the Slice header of AU-2, as indicated by arrow A7, in a state in which the SliceData of AU-2 has not yet been input.

[0201] In the latter half of the Slice header processing of AU-2, as indicated by an arrow A8, the VCL decoding unit 44 starts VCL decoding of AU-2.

[0202] After the header decoding unit 42 processes the Slice header, the DPB update unit 51 starts updating the DPB of AU-2, as indicated by an arrow A9.

[0203] In the latter half of the DPB updating of AU-2, the DPB update information for AU-3 generated by the DPB updating unit 51 is supplied to the next AU reference relationship decoding unit 211, as indicated by an arrow A10.

[0204] After the header decoder 42 finishes decoding the SEI of AU-3, which started after the Slice header processing of AU-2 is finished, the next AU reference relationship decoder 211 starts generating a RefPicList, as indicated by an arrow A11.

[0205] After the VCL decoding unit 44 finishes VCL decoding of AU-2, the image output unit 45 starts outputting the decoded image of AU-2, as indicated by an arrow A12.

[0206] As described above, the decoding device 201 can perform the above-mentioned processes in parallel without waiting for the completion of a sequence for one AU. In particular, since the generation of RefPicList is completed during the processing of the previous AU, the decoding device 201 can perform VCL decoding without waiting for the generation of RefPicList. This allows the decoding process from input to output to be performed efficiently.

[0207] <Processing sequence in a conventional decoding device> FIG. 21 is a diagram showing a sequence of each process in a conventional general decoding device for comparison with FIG.

[0208] In Figure 21, from the left, there are shown the following sequences: stream input performed by a bitstream input unit 41, Slice header processing performed by a header decoding unit 42, RefPicList generation performed by a reference relationship decoding unit 43, VCL decoding performed by a VCL decoding unit 44, DPB updating performed by a DPB update unit 51, and image output performed by an image output unit 45.

[0209] In each sequence, a white rectangle indicates processing related to the current AU-1, a checkered rectangle indicates processing related to AU-2, which is the AU next to the current AU-1, and a black rectangle indicates processing related to AU-3, which is the AU next to AU-2.

[0210] First, after the bitstream input unit 41 inputs the Slice Header of AU-1, but before the Slice Data of AU-1 is input, the header decoding unit 42 starts processing the Slice header of AU-1, as indicated by arrow B1.

[0211] After the header decoder 42 processes the Slice header, the reference relationship decoder 43 starts generating a RefPicList for AU-1, as indicated by an arrow B2.

[0212] In the latter half of the generation of the RefPicList of AU-1, as indicated by an arrow B3, the VCL decoder 44 starts VCL decoding of AU-1.

[0213] After the reference relationship decoding unit 43 generates the RefPicList of AU-1, the DPB updating unit 51 starts updating the DPB of AU-1, as indicated by an arrow B4.

[0214] After the DPB updating of AU-1 is completed, the DPB update information for AU-2 generated by the DPB updating unit 51 is supplied to the reference relationship decoding unit 43, as indicated by an arrow B5.

[0215] After the VCL decoding unit 44 finishes VCL decoding of AU-1, the image output unit 45 starts outputting the decoded image of AU-1, as indicated by an arrow B6.

[0216] On the other hand, after the bitstream input unit 41 finishes inputting the Slice Data of AU-1, it starts inputting the Slice Header of AU-2. After the bitstream input unit 41 inputs the Slice Header of AU-2, the header decoding unit 42 starts processing the Slice header of AU-2, as indicated by an arrow B7, in a state in which the Slice Data of AU-2 has not yet been input.

[0217] After the header decoding unit 42 processes the Slice header, the reference relationship decoding unit 43 starts generating a RefPicList for AU-2, as indicated by an arrow B8.

[0218] In the latter half of the generation of the RefPicList of AU-2, as indicated by an arrow B9, the VCL decoder 44 starts VCL decoding of AU-2.

[0219] After the reference relationship decoding unit 43 generates the RefPicList of AU-2, the DPB updating unit 51 starts updating the DPB of AU-2, as indicated by an arrow B10.

[0220] After the DPB updating of AU-2 is completed, the DPB update information for AU-3 generated by the DPB updating unit 51 is supplied to the reference relationship decoding unit 43, as indicated by an arrow B11.

[0221] After the VCL decoding unit 44 finishes VCL decoding of AU-2, the image output unit 45 starts outputting the decoded image of AU-2, as indicated by an arrow B12.

[0222] As described above, the decoding device 31 cannot start the next process until one process for one AU is completed. Therefore, delays may occur between each process of the decoding device 31.

[0223] In contrast, in the present technology, the header information or information related to the header information of the next AU is added to the SEI of the AU in the processing order of the AU to generate an encoded stream. This allows the decoding device 201 to perform each process related to decoding in parallel without waiting for the completion of the sequence for one AU. This allows the decoding process from input to output to be performed efficiently.

[0224] <Timing of each process in the decoding device of the present technology> FIG. 22 is a diagram showing the timing of each process in the decoding device of the present technology.

[0225] At time t1, input of frame-1 stream starts. At time t2, VCL decoding-1 of frame-1 starts, and output of frame-1 starts immediately thereafter at time t3.

[0226] At time t4 while VCL decoding-1 of frame-1 is being performed, post-processing-1 of frame-1 is started. At time t5 after post-processing-1 is finished, pre-processing-2 of frame-2 is started, and at time t6 before input of the frame-1 stream is finished, pre-processing-2 is finished.

[0227] At time t7, input of the frame-1 stream ends, and VCL decoding-1 of frame-1 ends.

[0228] After the input of the frame-1 stream, the input of the frame-2 stream starts at time t8. Since the pre-processing-2 ends at time t6, the VCL decoding-2 of frame-2 starts at time t9 immediately after the input of the frame-2 stream. Then, the output of Frame-2 starts immediately thereafter at time t10.

[0229] At time t11 while VCL decoding-2 of frame-2 is being performed, post-processing-2 of frame-2 is started. At time t12 after post-processing-2 is finished, pre-processing-3 of frame-3 is started. Then, at time t13 before the input of the frame-2 stream is finished, pre-processing-3 is finished.

[0230] Input of the frame-2 stream ends at time t14, VCL decoding-2 of frame-2 ends at time t15, and output of the frame-2 stream ends at time t16.

[0231] As described above, in the case of the decoding device 201, it is not necessary to perform pre-processing of the current frame, i.e., generation of a RefPicList for the current frame, when decoding the current frame, as in the example described above with reference to Fig. 3. Therefore, since VCL decoding-1 of frame-1 starts at time t2, frame-1 is immediately output at the following time t3.

[0232] This makes it possible to reduce the delay between when a stream is input and when a decoded image is generated.

[0233] <<3.Other>> <Effects> In this technique, the header information of the next AU in the processing order is added to the SEI of each AU to generate a coded stream.

[0234] According to the present technology, VCL decoding (generation of a decoded image) can be started earlier than in the past, that is, the delay from when a stream is input until a decoded image is generated can be reduced.

[0235] Furthermore, according to the present technology, it is possible to lower the performance of the VCL decoding unit (by lowering the operating frequency and reducing the circuit scale).

[0236] Therefore, it is no longer necessary to design the decoder to meet real-time performance by combining the overhead of pre-processing with the decoding process, as in the case of conventional real-time decoders.

[0237] Note that the stream generated by this technology is realized within the scope of compliance with existing Codec standards. Therefore, a decoding device to which this technology is applied can obtain the effects, but a decoding device to which this technology is not applied has no effect.

[0238] <Computer configuration example> The above-mentioned series of processes can be executed by hardware or software. When the series of processes is executed by software, the program constituting the software is installed from a program recording medium into a computer incorporated in dedicated hardware, or into a general-purpose personal computer, etc.

[0239] FIG. 23 is a block diagram showing an example of the hardware configuration of a computer that executes the above-mentioned series of processes by a program.

[0240] A central processing unit (CPU) 301, a read only memory (ROM) 302, and a random access memory (RAM) 303 are interconnected via a bus 304.

[0241] An input / output interface 305 is further connected to the bus 304. An input unit 306 including a keyboard, a mouse, etc., and an output unit 307 including a display, a speaker, etc. are connected to the input / output interface 305. In addition, a storage unit 308 including a hard disk, a non-volatile memory, etc., a communication unit 309 including a network interface, etc., and a drive 310 that drives a removable medium 311 are connected to the input / output interface 305.

[0242] In the computer configured as above, the CPU 301 loads a program stored in the storage unit 308 into the RAM 303 via the input / output interface 305 and the bus 304 and executes the program, thereby performing the above-mentioned series of processes.

[0243] The programs executed by the CPU 301 are installed in the storage unit 308 by being recorded on a removable medium 311, or provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital broadcasting.

[0244] In addition, the program executed by the computer may be a program in which processing is performed chronologically in the order described in this specification, or it may be a program in which processing is performed in parallel or at the required timing, such as when called.

[0245] In this specification, a system refers to a collection of multiple components (devices, modules (parts), etc.), regardless of whether all the components are in the same housing. Therefore, multiple devices housed in separate housings and connected via a network, and a single device in which multiple modules are housed in a single housing, are both systems.

[0246] Furthermore, the effects described in this specification are merely examples and are not limiting, and other effects may also be present.

[0247] The embodiments of the present technology are not limited to the above-described embodiments, and various modifications are possible without departing from the gist of the present technology.

[0248] For example, the present technology can be configured as cloud computing, in which a single function is shared and processed collaboratively by multiple devices via a network.

[0249] Furthermore, each step described in the above flow chart can be executed by one device, or can be shared and executed by a plurality of devices.

[0250] Furthermore, when a single step includes multiple processes, the multiple processes included in the single step can be executed by a single device, or can be shared and executed by multiple devices.

[0251] <Examples of configuration combinations> The present technology can also be configured as follows. (1) and an encoding stream generating unit that generates an encoding stream by adding at least a part of header information of a second AU (Access Unit) to SEI (Supplemental Enhancement Information) of the first AU, or information related to at least the part of the header information. Image processing device. (2) The first AU is a first AU of a GOP (Group Of Pictures), The encoded stream generation unit adds at least a part of the header information of the second AU and subsequent AUs in the GOP to the SEI of the first AU. The image processing device according to (1) above. (3) the first AU is a first AU of a GOP, The encoded stream generation unit adds a generation pattern for generating at least a part of the header information of the AU in the GOP to the SEI of the first AU. The image processing device according to (1) above. (4) The encoded stream generation unit adds at least a part of the header information of the second AU to the SEI of the first AU. The image processing device according to (1) above. (5) At least a part of the header information is information necessary for pre-processing of the decoding process. The image processing device according to any one of (1) to (4). (6) The information required for the pre-processing is information required for POC generation. The image processing device according to (5) above. (7) The information required for the pre-processing is a parameter that changes for each picture. The image processing device according to (5) above. (8) The pre-processing includes parsing the header information, generating a POC, and generating a RefPicList. An image processing device according to any one of (5) to (7). (9) The image processing device At least a part of the header information of a second AU to be processed after the first AU, or information related to at least a part of the header information, is added to the SEI (Supplemental Enhancement Information) of the first AU to generate an encoded stream. Image processing methods. (10) and a decoding unit configured to decode the second AU based on header information generated by receiving and processing an encoded stream generated by adding at least a part of header information of a second AU to be processed after the first AU or information related to at least a part of the header information to an SEI of the first AU. Image processing device. (11) The image processing device A coded stream is generated by adding at least a part of header information of a second AU to be processed after the first AU, or information related to at least a part of the header information, to an SEI of the first AU, and the coded stream is received and processed, and the second AU is decoded based on the header information. Image processing methods. [Explanation of symbols]

[0252] 21 image capture unit, 22 picture type determination unit, 23 GOP structure generation unit, 24 encoding rearrangement unit, 25 upper header generation unit, 26 upper header encoding unit, 27 VCL encoding unit, 28 calculator, 41 bitstream input unit, 42 header decoding unit, 44 VCL decoding unit, 45 image output unit, 51 DPB update unit, 101 encoding device, 111 upper header holding memory, 112 upper header SEI generation unit, 113 SEI encoding unit, 114 calculator, 201 decoding device, 211 next AU reference relationship decoding unit, 212 reference image information holding unit

Claims

1. An encoding stream generating unit that generates an encoding stream by adding at least a part of header information of a second AU (Access Unit) to a SEI (Supplemental Enhancement Information) of the first AU, or information on at least a part of the header information, the second AU being processed after the first AU; The first AU is a first AU of a GOP (Group Of Pictures), The encoded stream generation unit adds a generation pattern for generating at least a part of the header information of the AU in the GOP to the SEI of the first AU. Image processing device.

2. The encoded stream generation unit adds at least a part of the header information of the second AU and subsequent AUs in the GOP to the SEI of the first AU. The image processing device according to claim 1 .

3. The encoded stream generation unit adds at least a part of the header information of the second AU to the SEI of the first AU. The image processing device according to claim 1 .

4. At least a part of the header information is information necessary for pre-processing of the decoding process. The image processing device according to claim 3 .

5. The information required for the pre-processing is information required for generating POC (Picture Order Count). The image processing device according to claim 4.

6. The information required for the pre-processing is a parameter that changes for each picture. The image processing device according to claim 4.

7. The pre-processing includes parsing the header information, generating a POC, and generating a RefPicList. The image processing device according to claim 4.

8. The image processing device Adding at least a part of header information of a second AU to be processed next to the first AU, or information regarding at least a part of the header information, to SEI (Supplemental Enhancement Information) of the first AU (Access Unit), to generate an encoded stream; The first AU is a first AU of a GOP (Group Of Pictures), In the encoded stream, a generation pattern for generating at least a part of the header information of the AU in the GOP is added to the SEI of the first AU. Image processing methods.

9. A decoding unit that decodes the second AU based on header information generated by receiving and processing an encoded stream generated by adding at least a part of header information of a second AU to be processed after the first AU, or information related to at least a part of the header information, to an SEI of the first AU, the first AU is a first AU of a GOP, The decoding unit decodes the second AU using a generation pattern for generating at least a part of the header information of the AU in the GOP, the header information being added to the SEI of the first AU. Image processing device.

10. The image processing device A coded stream is generated by adding at least a part of header information of a second AU to be processed after the first AU, or information related to at least a part of the header information, to an SEI of the first AU, and the coded stream is generated by receiving and processing the header information; and decoding the second AU based on the header information. the first AU is a first AU of a GOP, The second AU is decoded using a generation pattern for generating at least a part of the header information of the AU in the GOP, the header information being added to the SEI of the first AU. Image processing methods.

Citation Information

Patent Citations

  • IT2019,5,30

  • Image processing device, image processing method, and program, and recording medium

    WO2016111199A1