Video coding device, video decoding device, video coding method, and video decoding method

By adaptively controlling the image usage range for intra-screen prediction based on the relationship between the candidate image and the unit position, the line buffer size requirements are reduced in video encoding and decoding devices.

JP2024124526AActive Publication Date: 2024-09-12NEC CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024109470
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2018-06-26
Filing Date
2024-07-08
Publication Date
2024-09-12
Estimated Expiration
2039-02-14

AI Technical Summary

Technical Problem

The expansion of the reference range for intra-picture prediction in video encoding and decoding increases the size requirements for line buffers, necessitating a need for adaptive control of this range.

Method used

A video encoding or decoding device adaptively controls the usage range of images for intra-screen prediction by determining the relationship between the position of a candidate image and the unit to which a block belongs, limiting the partial range used for prediction to be equal to or less than a predetermined maximum range.

Benefits of technology

This approach reduces the line buffer size requirements in video encoding and decoding devices by adaptively controlling the image usage range for intra-screen prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024124526000001
    Figure 2024124526000001
Patent Text Reader

Abstract

To adaptively control the range of use of an image used for in-screen prediction.SOLUTION: An in-screen prediction device 100 includes a control unit 115 that controls a partial range of the image usage range used for the in-screen prediction to be equal to or less than a predetermined maximum range across the end of the unit in a predetermined direction on the basis of the relationship between the position of a candidate image used for in-screen prediction for a block to be processed and the position of a unit to which the block to be processed belongs.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a video encoding or decoding device, a video encoding or decoding method, a program for video encoding or decoding processing, and a recording medium. [Background technology]

[0002] In intra prediction coding, an intra prediction image is generated from a reconstructed image adjacent to a target block. For example, in the High Efficiency Video Coding (HEVC) standard described in Non-Patent Document 1, an intra prediction image is generated by setting reconstructed images corresponding to one pixel adjacent to the left of a target block and one pixel adjacent to the upper side of the target block as reference ranges. [Prior art documents] [Non-patent literature]

[0003] [Non-Patent Document 1] R. Joshi et al., "High Efficiency Video Coding (HEVC) Screen Content Coding: Draft 5" document JCTVC-V1005, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG 16 WP 3 and ISO / IEC JTC 1 / SC 29 / WG 11, 22nd Meeting: Geneva, CH, 15-21 Oct. 2015. Summary of the Invention [Problem to be solved by the invention]

[0004] However, when the range of images used for intra-prediction is expanded, the size of the line buffers used in the video encoding device and the video decoding device increases accordingly, which is a problem. Therefore, it is desirable to adaptively control the range of images used for intra-prediction.

[0005] An object of the present invention is to provide a video encoding or decoding device, a video encoding or decoding method, a program, and a recording medium that enable adaptive control of the range of images used for intra-screen prediction. [Means for solving the problem]

[0006] According to one aspect of the present invention, a video encoding or decoding device includes a control unit that controls a partial range of an image used for intra-screen prediction that spans an end of a unit in a predetermined direction within a range of images used for the intra-screen prediction to be below a predetermined maximum range, based on a relationship between a position of a candidate image used for intra-screen prediction for a current block and a position of a unit to which the current block belongs.

[0007] According to one aspect of the present invention, a video encoding or decoding method includes controlling a partial range of an image used for intra-screen prediction that spans an end of a unit in a predetermined direction within a range of images used for the intra-screen prediction to be equal to or less than a predetermined maximum range, based on a relationship between a position of a candidate image used for intra-screen prediction for a current block and a position of a unit to which the current block belongs.

[0008] According to one aspect of the present invention, the program is for causing a computer to execute a video encoding or video decoding process, which includes controlling a partial range used for intra-screen prediction that straddles an end of a unit in a predetermined direction within a range of use of an image used for the intra-screen prediction to be equal to or less than a predetermined maximum range, based on a relationship between a position of a candidate image used for intra-screen prediction for a block to be processed and a position of a unit to which the block to be processed belongs.

[0009] According to one aspect of the present invention, the recording medium is a non-transitory recording medium readable by a computer having recorded thereon a program for causing a computer to execute a video encoding or video decoding process, including controlling a partial range used for intra-screen prediction that straddles the ends of the unit in a predetermined direction within the range of use of an image used for the intra-screen prediction to be below a predetermined maximum range, based on a relationship between the position of a candidate image used for intra-screen prediction for a block to be processed and the position of a unit to which the block to be processed belongs. Effect of the Invention

[0010] According to one aspect of the present invention, it is possible to adaptively control a range of images used for intra prediction. Note that the present invention may provide other effects instead of or in addition to the effect. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram showing a specific example of a reconstructed image used for intra-prediction in the above-mentioned HEVC standard for a processing target block composed of four horizontal pixels bw and four vertical pixels Bh. [Diagram 2] FIG. 2 is a diagram showing a specific example of an expanded reference range for a processing target block that is composed of four horizontal pixels bw and four vertical pixels Bh. [Diagram 3] FIG. 3 is an explanatory diagram showing an example of a schematic configuration of an intra-screen prediction device 100 according to an embodiment of the present invention. [Figure 4] FIG. 4 is a block diagram showing an example of a schematic configuration of the area control processing unit 110 according to the first embodiment. [Diagram 5] FIG. 5 is a diagram for explaining a specific example of the processing performed by the area control processing unit 110. In FIG. [Figure 6] FIG. 6 is a flowchart illustrating an example of the flow of processing performed by the intra-screen prediction device 100. [Figure 7]FIG. 7 is a diagram for explaining the effects according to the example of the first embodiment. [Figure 8] FIG. 8 is a block diagram showing a schematic configuration of a video encoding device 800. As shown in FIG. [Figure 9] FIG. 9 is a block diagram showing a schematic configuration of a video decoding device 900. As shown in FIG. [Figure 10] FIG. 10 is a block diagram showing a schematic configuration of an information processing system 100 to which the intra-screen prediction device 100 is applied. [Figure 11] FIG. 11 is a diagram showing a system in which the above-mentioned video encoding device 800 and the above-mentioned video decoding device 900 are connected via a transmission path 300 such as a wireless transmission path or a wired transmission path. [Figure 12] FIG. 12 is a block diagram showing an example of a schematic configuration of a video encoding device 800 according to the second embodiment. [Figure 13] FIG. 13 is a block diagram showing an example of a schematic configuration of a video decoding device 900 according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. In this specification and the drawings, elements that can be similarly described may be designated by the same reference numerals to avoid repetitive description.

[0013] The explanation will be given in the following order: 1. Related technologies 2. Overview of the embodiment 3. First embodiment 3.1. Configuration of intra-screen prediction device 100 Technical Features 3.3.Example 3.4.Application Examples 3.5. Variations 4. Second embodiment Configuration Technical Features 5. Other forms

[0014] <<1. Related Technology>> As a technique related to an embodiment of the present invention, intra-frame prediction performed in a video encoding process and a video decoding process will be described.

[0015] As described in Reference 1 below, for example, in intra-frame prediction coding according to the High Efficiency Video Coding (HEVC) standard, an intra-frame prediction image is generated from a reconstructed image adjacent to a target block. Reference 1: R. Joshi et al., "High Efficiency Video Coding (HEVC) Screen Content Coding: Draft 5" document JCTVC-V1005, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG 16 WP 3 and ISO / IEC JTC 1 / SC 29 / WG 11, 22nd Meeting: Geneva, CH, 15-21 Oct. 2015.

[0016] 1 is a diagram showing a specific example of a reconstructed image used for intra-prediction in the above-mentioned HEVC standard for a processing target block composed of four horizontal pixels bw and four vertical pixels Bh. As shown in FIG. 1, the reference range of the reconstructed image referenced for intra-prediction is one pixel in the left direction Kleft and one pixel in the up direction Kup.

[0017] Moreover, in the following reference documents 2 and 3, it is proposed to expand the reference range used in intra prediction in order to improve the prediction efficiency of intra prediction. Reference 2: J. Pfaff et al., "Intra prediction modes based on neural networks", JVET-J0037, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO / IEC JTC 1 / SC 29 / WG 11 10th Meeting: San Diego, US, 10-20 Apr. 2018. Reference 3: P. Lin et al., "Multiple reference line intra prediction based on JEM7.0", JVET-J0070, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO / IEC JTC 1 / SC 29 / WG 11 10th Meeting: San Diego, US, 10-20 Apr. 2018.

[0018] For example, Fig. 2 is a diagram showing a specific example of an expanded reference range for a processing target block that is composed of four horizontal pixels bw and four vertical pixels Bh. As shown in Fig. 2, the reference range for referring to the reconstructed image is four pixels in the left direction Kleft and four pixels in the up direction Kup.

[0019] <<2. Overview of the embodiment>> First, an outline of the embodiment of the present invention will be described.

[0020] (1)Technical issues As described above, when the range of images used for intra-frame prediction (reference range) is expanded, there is a problem in that the size requirements for the line buffers used in the video encoding device and the video decoding device increase.

[0021] Specifically, when the number of horizontal pixels of a picture to be coded is w pixels, the pixel bit precision is bitDepth bits, and the upward range Kup of a reference image used for intra prediction is expanded from 1 pixel to 4 pixels, the size requirement of the line buffer increases from w*bitDepth bits to w*bitDepth*4 bits. For this reason, it is desirable to adaptively control the range of images used for intra prediction.

[0022] Therefore, an object of this embodiment is to adaptively control the range of images used in intra prediction.

[0023] (2) Technical features In an embodiment which is one aspect of the present invention, for example, based on the relationship between the position of a candidate image used for intra-screen prediction for a block to be processed and the position of a unit to which the block to be processed belongs, a partial range of the range of images used for the intra-screen prediction that spans the ends of the unit in a predetermined direction is controlled to be below a predetermined maximum range.

[0024] This makes it possible, for example, to adaptively control the range of images used in intra-frame prediction.

[0025] The above-mentioned technical features are a specific example of an embodiment of the present invention, and it goes without saying that the embodiment of the present invention is not limited to the above-mentioned technical features.

[0026] <<3. First embodiment>> A first embodiment of the present invention will be described with reference to FIGS.

[0027] <3.1. Configuration of intra-screen prediction device 100> An example of the configuration of the intra prediction device 100 according to the first embodiment will be described with reference to Fig. 3. Fig. 3 is an explanatory diagram showing an example of a schematic configuration of the intra prediction device 100 according to the embodiment of the present invention. With reference to Fig. 3, the intra prediction device 100 includes a region control processing unit 110, a reference image generating unit 120, and a predicted image generating unit 130.

[0028] In the intra prediction device 100 configured as above, the region control processing unit 110 controls the use range (reference range) of the image (reconstructed image) used for intra prediction. The reference image generating unit 120 generates a reference image from the reconstructed image based on the use range controlled by the region control processing unit 110. The predicted image generating unit 130 generates a predicted image from the reference image generated by the reference image generating unit 120.

[0029] An example of the configuration of the area control processing unit 110 will be described with reference to Fig. 4. Fig. 4 is a block diagram showing an example of a schematic configuration of the area control processing unit 110 according to the first embodiment. With reference to Fig. 4, the area control processing unit 110 includes a first derivation unit 111, a second derivation unit 113, and a control unit 115. Specific operations performed by each unit will be described below.

[0030] <3.2. Technical features> Next, technical features of the first embodiment will be described.

[0031] The area control processing unit 110 (control unit 115) controls the partial range of the image used for the intra-screen prediction that straddles the end of the unit in a predetermined direction within the range of use of the image used for the intra-screen prediction to be less than a predetermined maximum range, based on the relationship between the position of a candidate image used for intra-screen prediction for the block to be processed and the position of the unit to which the block to be processed belongs.

[0032] The above-mentioned predetermined direction may be any direction, such as the upper direction on the screen or the left direction on the screen, but the following description will be mainly based on the assumption that it is the upper direction on the screen. (1) Unit The unit includes a syntax structure for coding pixel samples. In particular, the unit is a coding tree unit included in a slice. As described above, the unit includes the current block, and therefore the unit can be regarded as a parent block. The unit may be referred to as a "parent block."

[0033] (2) Prescribed maximum range Specifically, the predetermined maximum range is the maximum range that can be used for the intra prediction across the ends of the coding tree unit in the predetermined direction.

[0034] For example, if the specified direction is the upward direction of the screen, the specified maximum range is the maximum range that can be used (referenced) for the intra-screen prediction from the top end of the coding tree unit toward the upward direction of the screen, based on the top end of the coding tree unit.

[0035] (3) Deriving and applying the first boundary position The area control processing unit 110 (first derivation unit 111) derives a first boundary position, based on the position of the coding tree unit and the specified maximum range, which is an image position that can be used for the intra-screen prediction across the end of the coding tree unit in the specified direction and is the furthest from the coding tree unit in the specified direction.

[0036] For example, if the specified direction is the upper direction of the screen, the area control processing unit 110 (first derivation unit 111) derives the position furthest in the upper direction of the screen from the top end of the coding tree unit as the first boundary position based on the position of the top end of the coding tree unit and the specified maximum range.

[0037] When the first boundary position is derived in this manner, the area control processing unit 110 (control unit 115) controls the partial range used for the intra-screen prediction across the end of the coding tree unit in the specified direction to be less than the specified maximum range based on the relationship between the position of the candidate image used for the intra-screen prediction and the first boundary position.

[0038] For example, when a candidate image used for the intra-screen prediction is located farther away than the first boundary position from the position of the processing target block, the region control processing unit 110 (control unit 115) controls the partial range to be equal to or less than the specified maximum range.

[0039] (4) Deriving and applying the second boundary position The region control processing unit 110 (second derivation unit 113) derives a second boundary position, which is the position of the candidate image used in the intra-screen prediction and is the furthest from the target block in the specified direction, based on the position of the target block and a candidate range of the candidate image used in the intra-screen prediction in the specified direction.

[0040] For example, when the specified direction is the upper direction of the screen, the region control processing unit 110 (second derivation unit 113) derives the candidate position of the candidate image that is furthest in the upper direction of the screen based on the position of the upper end of the block to be processed and the candidate range of the candidate image used in the upper direction of the screen in the intra-screen prediction as the second boundary position.

[0041] When the second boundary position is derived in this manner, the area control processing unit 110 (control unit 115) controls the partial range used for the intra-screen prediction across the end of the coding tree unit in the specified direction to be less than the specified maximum range based on the relationship between the first boundary position and the second boundary position.

[0042] Specifically, when the second boundary position is farther away in the specified direction than the first boundary position with respect to the position of the block to be processed, the region control processing unit 110 (control unit 115) controls the partial range used for the intra-screen prediction across the end of the coding tree unit in the specified direction to be less than the specified maximum range.

[0043] For example, when the specified direction is the upper direction of the screen, the area control processing unit 110 (control unit 115) controls the partial range to be less than the specified maximum range when the second boundary position is farther away from the position of the top end of the processing target block in the upper direction of the screen than the first boundary position.

[0044] In addition, when the second boundary position is not farther away in the specified direction than the first boundary position with respect to the position of the block to be processed, the region control processing unit 110 (control unit 115) controls the partial range used for the intra-screen prediction across the end of the coding tree unit in the specified direction to the candidate range.

[0045] For example, when the specified direction is the upper direction of the screen, the area control processing unit 110 (control unit 115) controls the partial range to the candidate range if the second boundary position is not farther up the screen than the first boundary position with respect to the position of the processing target block.

[0046] <3.3. Specific examples> Next, a specific example of the process performed by the intra prediction device 100 will be described.

[0047] (1) Area control processing unit 110 A specific example of the processing performed by the area control processing unit 110 will be described below. FIG.

[0048] First, define the variables as follows:

[0049] 5, the above-mentioned predetermined maximum range that can be used (referenced) across the top end of the coding tree unit 503 to which the above-mentioned processing target block 501 belongs in the screen upward is set to Kmax pixels. Also, the candidate range in the screen upward direction of the candidate image 505 (reference image) used for intra-screen prediction of the above-mentioned processing target block 501 is set to Kup pixels, and the candidate range in the screen leftward direction is set to Kleft pixels. In this specific example, for the sake of simplicity of explanation, Kmax is set to be less than Kup.

[0050] The above-mentioned use range adaptively controlled by the region control processing unit 110 (control unit 115), that is, the use range in the upper direction of the screen of the image (reconstructed image) used for intra-screen prediction of the processing target block 501, is set to K pixels.

[0051] Pictures are defined as follows: the top left corner of the picture is the origin of the horizontal and vertical coordinate system (x,y) = (0,0), the right direction of the screen is +x direction, and the bottom direction of the screen is +y direction. Also, the number of horizontal pixels of the picture is w pixels, and the number of vertical pixels is h pixels.

[0052] Next, the target block is defined as follows: First, the coordinates of the upper left corner position of the target block are (cur_bx, cur_by). Also, the number of horizontal pixels of the target image block is cur_bw pixels, and the number of vertical pixels is cur_bh pixels.

[0053] Next, the coding tree unit is defined as follows: The coordinates of the upper left corner position of the coding tree unit are (cur_cux, cur_cuy). Also, the number of horizontal pixels of the coding tree unit is cuw pixels, and the number of vertical pixels is cuh pixels.

[0054] For simplicity of explanation, cur_bw and cur_bh are less than cuw and cuh, respectively. As described above, the upper left corner of the picture is the origin (0,0) of the horizontal and vertical coordinate system, so cur_cux and cur_cuy are less than or equal to cur_bx and cur_by, respectively.

[0055] In this specific example, the variables defined as above are used to adaptively control the candidate range K of the image (reconstructed image) used (referenced) in intra-screen prediction based on the relationship between the candidate positions of the image (reconstructed image) used (referenced) in intra-screen prediction of the target block and the position of the coding tree unit to which the target block belongs.

[0056] First, the region control processing unit 110 (first derivation unit 111) derives the vertical coordinate ref_max_pos_y of the first boundary position by using the following equation (1). ref_max_pos_y=cur_cuy-Kmax ··· (1)

[0057] Here, the vertical coordinate ref_max_pos_y of the first boundary position can be regarded as the maximum value of the available (referable) vertical position across the upper end of the encoding tree unit in the upward direction on the screen.

[0058] Further, the region control processing unit 110 (second derivation unit 113) derives the vertical coordinate cand_min_pos_y of the second boundary position using the following formula (2). cand_min_pos_y = cur_by - Kup ··· (2)

[0059] Here, as described above, since the vertical axis y has the upper end of the picture as the origin and takes positive values in the downward direction on the screen, the vertical coordinate cand_min_pos_y of the second boundary position can be regarded as the minimum value of the candidate positions of the image (reconstructed image) used (referred to) for in-picture prediction of the processing target block.

[0060] The region control processing unit 110 (control unit 115) adaptively controls the candidate range K using the vertical coordinate ref_max_pos_y of the first boundary position and the vertical coordinate cand_min_pos_y of the second boundary position.

[0061] Specifically, when cand_min_pos_y < ref_max_pos_y, the region control processing unit 110 (control unit 115) calculates the usage range K by the following formula (3), and controls the partial range used for the in-picture prediction across the upper end of the encoding tree unit in the upward direction on the screen to be equal to or less than the predetermined range Kmax. K = cur_by - cur_cuy + Kmax ··· (3)

[0062] Further, when cand_min_pos_y ≥ ref_max_pos_y, the region control processing unit 110 (control unit 115) calculates the usage range K by the following formula (4). K = Kup ··· (4)

[0063] In this way, the area control processing unit 110 (control unit 115) can calculate the usage range K according to the relative positional relationship between the vertical coordinate ref_max_pos_y of the first boundary position and the vertical coordinate cand_min_pos_y of the second boundary position, and control the partial range to be equal to or less than Kmax.

[0064] In the horizontal and vertical coordinate system as described above, the upper left end of the picture is taken as the origin, but it is not limited to this. For example, the upper end of the processing target block may be taken as the origin of the vertical coordinate axis. When the origin is determined in this way, the vertical coordinate of the second boundary position can be regarded as the maximum value of the candidate positions of the image (reconstructed image) used (referenced) for the in-picture prediction of the processing target block.

[0065] (2) Reference image generation unit 120 The reference image generation unit 120 generates an image (reference image) used (referenced) for the in-picture prediction based on the usage range K calculated by the area control processing unit 110 described above.

[0066] Specifically, when K < Kup, the reference image generation unit 120 copies the image whose vertical coordinate position belongs to cur_by - Kmax to cur_by - 1, and maps the copied image to the position corresponding to cur_by - Kup to cur_by - Kmax - 1, thereby generating an image (reference image) used (referenced) for the in-picture prediction of the processing target block.

[0067] In this way, the reference image generation unit 120 can copy the reconstructed image at the vertical position cur_by - Kmax - 1 instead of the reconstructed images at the vertical positions cur_by - Kup to cur_by - Kmax - 1 that cannot be referenced across the boundary of the encoding tree unit in the upward direction, and use the copied image as the reference image. Note that the reconstructed images at the vertical positions cur_by - Kmax to cur_by - 1 may be directly used as the reference image.

[0068] Furthermore, when K=Kup, there is no vertical position that cannot be used (referenced) across the top end of the coding tree unit in the upward direction of the screen, so the reference image generation unit 120 can use the reconstructed image from vertical position cur_by-Kup to cur_by-1 as a reference image as is.

[0069] (3) Prediction image generation unit 130 The predicted image generating unit 130 generates an intra-screen predicted image from the reference image supplied from the reference image generating unit 120. The intra-screen predicted image may be generated by applying any intra-screen predicted image generating process such as the intra-screen predicted image generating process described in any one of the above-mentioned references 1, 2, or 3.

[0070] (4) Flow of Processing Performed by Intra-Screen Prediction Device 100 FIG. 6 is a flowchart illustrating an example of the flow of processing performed by the intra-screen prediction device 100.

[0071] In step S601, the region control processing unit 110 adaptively controls a candidate range K of an image (reconstructed image) used (referenced) in the intra-screen prediction based on the relationship between the candidate position of the reconstructed image referenced in the intra-screen prediction of the processing target block and the position of the coding tree unit to which the processing target block belongs. Then, the process proceeds to step S603.

[0072] In step S603, the reference image generation unit 120 generates a reference image used for generating the intra-screen prediction of the target block, based on the relationship between Kmax and the value of K calculated by the region control processing unit 110. Then, the process proceeds to step S605.

[0073] In step S605, the predicted image generating unit 130 generates an intra-screen predicted image of the target block from the reference image supplied from the reference image generating unit 120.

[0074] (5) Effects According to the present embodiment as described above, by adaptively controlling the usage range (reference range) of the image (reconstructed image) used for intra-screen prediction for each block to be processed, it is possible to reduce the size requirement of the line buffer, for example, as shown in FIG. 7.

[0075] Fig. 7 is a diagram for explaining the effect of the example of the first embodiment. First, Fig. 7(a) is a diagram showing an example (comparative example) in which the partial range used across the ends of a coding tree unit 701 is not limited to the predetermined maximum range Kmax or less. On the other hand, Fig. 7(b) is a diagram for explaining an example (this specific example) in which the partial range used across the ends of a coding tree unit 702 is controlled to be equal to or less than the predetermined maximum range Kmax.

[0076] In the comparative example shown in FIG. 7(a), the used range of the image (reference image) in the upper direction of the screen is always pixels on Kup lines, so the required size of the line buffer is w*bitDepth*Kup bits.

[0077] On the other hand, in the example shown in FIG. 7(b), the predetermined maximum range Kmax=1 is set, thereby restricting the partial range of the use range K to pixels on one line. Therefore, in the specific example shown in FIG. 7(b), it is w*bitDepth bits*1. In other words, the specific example shown in FIG. 7(b) can reduce the size requirement of the line buffer to w*bitDepth*(Kup-1) compared to the comparative example (the comparative example shown in FIG. 7(a)).

[0078] <3.4. Application Examples> (1) Video Encoding Device 800 The above-described intra prediction device 100 can be applied to, for example, a video encoding device 800 as shown in FIG.

[0079] Fig. 8 is a block diagram showing a schematic configuration of a video encoding device 800. As shown in Fig. 8, the video encoding device 800 includes a transform / quantization unit 801, an entropy encoding unit 802, an inverse transform / inverse quantization unit 803, a buffer 804, a prediction unit 805 including the intra-screen prediction device 100, and a multiplexing unit 806.

[0080] First, the prediction unit 805 generates a prediction signal for the input image signal for each block. Specifically, when intra prediction is performed on a processing target block, a prediction signal for the processing target block is generated by the intra prediction device 100 as described above.

[0081] The transform / quantization unit 801 frequency-transforms a prediction error image obtained by subtracting a prediction signal from an input image signal, and further quantizes the frequency-transformed prediction error image (transformation coefficients).

[0082] The entropy coding unit 802 entropy codes the transformed and quantized values, and the difference information of the motion vector, which is a prediction parameter used by the prediction unit 805, based on, for example, CABAC (Context-based Adaptive Binary Arithmetic Coding).

[0083] The inverse transform / inverse quantization unit 803 inverse quantizes the transformed quantized value. Furthermore, the inverse transform / inverse quantization unit 803 inversely frequency transforms the inverse quantized frequency transform coefficients. The inverse frequency transformed reconstructed prediction error image is added with a prediction signal and supplied to a buffer 804. The buffer 804 stores the reconstructed image.

[0084] The multiplexing unit 806 multiplexes the codewords supplied from the entropy coding unit 802 into a bit stream.

[0085] In the video encoding device 800 that generates a bitstream by the above-mentioned operation, the range of images (reference images) used for intra prediction for each block to be processed is adaptively controlled by the intra prediction device 100 included in the prediction unit 805. This makes it possible to output a video-encoded bitstream while reducing the size requirement of the line buffer.

[0086] (2) Video Decoding Device 900 The above-described intra prediction device 100 can be applied to, for example, a video decoding device 900 as shown in FIG.

[0087] Fig. 9 is a block diagram showing a schematic configuration of a video decoding device 900. As shown in Fig. 9, the video decoding device 900 includes a demultiplexing unit 901, an entropy decoding unit 902, an inverse transform / inverse quantization unit 903, a prediction unit 904 including the above-mentioned intra prediction device 100, a buffer 905, and a control information generating unit 906.

[0088] The demultiplexer 901 demultiplexes the input bit stream and extracts code words.

[0089] The entropy decoding unit 902 entropy-decodes the codeword extracted by the demultiplexing unit 901 based on, for example, CABAC. The transformed and quantized values ​​entropy-decoded by the entropy decoding unit 902 are supplied to an inverse transform / inverse quantization unit 903. In addition, difference information of the motion vector and the like are supplied to a prediction unit 904.

[0090] The inverse transform / inverse quantization unit 903 inverse quantizes the transformed and quantized values ​​using the quantization step width, and further performs inverse frequency transform on the inverse quantized frequency transform coefficients.

[0091] The prediction unit 904 generates a prediction signal for each block. When intra prediction is performed on the current block, the intra prediction device 100 generates a prediction signal for the current block, as described above.

[0092] A prediction signal supplied from a prediction unit 904 is added to the reconstructed prediction error image that has been inversely frequency transformed by the inverse transform / inverse quantization unit 903, and the resultant image is supplied as a reconstructed picture to a buffer 905. Then, the reconstructed picture stored in the buffer 905 is output as a decoded image.

[0093] In the video decoding device 900 that generates a decoded image from a bitstream by the above-mentioned operation, the use range (reference range) of an image (reconstructed image) used for intra prediction for each block to be processed is adaptively controlled by the intra prediction device 100 included in the prediction unit 904. This makes it possible to generate a decoded image from a bitstream while reducing the size requirement of the line buffer.

[0094] (3) Information Processing System 1000 The above-described intra-screen prediction device 100 may be realized by, for example, an information processing system 1000 as shown in FIG.

[0095] FIG. 10 is a block diagram showing a schematic configuration of an information processing system 1000 to which the intra-screen prediction device 100 is applied.

[0096] 10, the information processing system 1000 includes a processor 1001, a program memory 1002, a storage medium 1003 for storing video data, and a storage medium 1004 for storing a bit stream. The storage medium 1003 and the storage medium 1004 may be separate storage media, or may be storage areas of the same storage medium. A magnetic storage medium such as a hard disk can be used as the storage medium.

[0097] In the information processing system 1000, a computer program that realizes the function of the intra prediction device 100 is installed in a program memory 1002, so that the use range (reference range) of an image (reconstructed image) used for intra prediction for each block to be processed is adaptively controlled. This makes it possible to generate a decoded image from a bit stream while reducing the size requirement of the line buffer.

[0098] (4) Interoperability FIG. 11 is a diagram showing a system in which the above-mentioned video encoding device 800 and the above-mentioned video decoding device 900 are connected via a transmission path 300 such as a wireless transmission path or a wired transmission path.

[0099] In a system such as that shown in FIG. 11, the video encoding device 800 and the video decoding device 900 adaptively control the range of reference images used for intra-screen prediction for each block to be processed using a common procedure, such as using common Kmax, Kup, Kleft, etc., thereby ensuring interconnectivity between the video encoding device 800 and the video decoding device 900.

[0100] Specifically, the predetermined maximum value Kmax may be a fixed value common to the video encoding device 800 and the video decoding device 900. Alternatively, the predetermined maximum value Kmax may be a variable value that is implicitly set based on the number of horizontal pixels or the number of vertical pixels of a picture, for example, by setting the value to a smaller value as the number of pixels of a picture increases.

[0101] As described above, when the predetermined maximum value Kmax is a variable value, the predetermined maximum value Kmax is not limited to being set implicitly. For example, a value may be explicitly signaled as a syntax element of a bitstream. That is, information specifying the predetermined maximum range Kmax may be included in the bitstream as a syntax element. The information specifying the predetermined maximum range Kmax may be included, for example, for each sequence, each picture, each slice, or each unit.

[0102] The candidate ranges Kup and Kleft may also be variable values. In this case, the candidate ranges Kup and Kleft may be explicitly signaled as syntax elements of the bitstream.

[0103] <3.5. Modifications> In this embodiment, the range of images used in the upward direction of the screen for intra-screen prediction for each block to be processed is adaptively controlled, but this is not limited to this, and the range of images used in the left direction of the screen may also be adaptively controlled in a similar manner.

[0104] Specifically, the region control processing unit 110 (control unit 115) of the intra prediction device 100 may control a partial range used for intra prediction that straddles the left end of the unit in the left direction of the screen, within the usable range of the image used for intra prediction, to be equal to or less than a predetermined maximum range. In such a modified example, the predetermined maximum range is specifically the maximum range that can be used for intra prediction that straddles the left end of the coding tree unit in the left direction of the screen.

[0105] Furthermore, information for specifying the above-mentioned predetermined maximum range may be signaled from the video encoding device 800 to the video decoding device 900 as a syntax element of a bitstream.

[0106] <<4. Second embodiment>> Next, a second embodiment of the present invention will be described with reference to Figures 12 and 13. The first embodiment described above is a specific embodiment, but the second embodiment is a more generalized embodiment.

[0107] <4.1. Configuration> 12 is a block diagram showing an example of a schematic configuration of a video encoding device 800 according to the second embodiment.

[0108] 13 is a block diagram showing an example of a schematic configuration of a video decoding device 900 according to the second embodiment.

[0109] <4.2. Technical features> Next, the technical features of the second embodiment will be described.

[0110] In a second embodiment, the video encoding device 800 (control unit 810) controls a partial range of the range of images used for the intra-screen prediction that straddles the ends of the unit in a predetermined direction and is used for the intra-screen prediction to be less than a predetermined maximum range, based on the relationship between the position of a candidate image used for intra-screen prediction for a block to be processed and the position of the unit to which the block to be processed belongs.

[0111] For example, the video encoding device 800 may perform the operations of the intra prediction device 100 according to the first embodiment.

[0112] In addition, the video decoding device 900 (control unit 910) controls the partial range of the image used for the intra-screen prediction that spans the end of the unit in a predetermined direction within the range of use of the image used for the intra-screen prediction to be less than a predetermined maximum range, based on the relationship between the position of a candidate image used for intra-screen prediction for the target block and the position of the unit to which the target block belongs.

[0113] For example, the video decoding device 900 may perform the operations of the intra prediction device 100 according to the first embodiment.

[0114] The above has described the second embodiment. According to the second embodiment, for example, it becomes possible to adaptively control the range of images used in intra prediction.

[0115] <<5. Other forms>> Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments. It will be understood by those skilled in the art that these embodiments are merely examples and that various modifications are possible without departing from the scope and spirit of the present invention.

[0116] For example, the steps in the processes described herein do not necessarily have to be performed chronologically in the order depicted in the sequence diagrams. For example, the steps in the processes may be performed in an order different from that depicted in the sequence diagrams, or may be performed in parallel. Also, some of the steps in the processes may be deleted, and additional steps may be added to the processes.

[0117] Also, a method including processing of components of the device described in this specification (e.g., a first derivation unit, a second derivation unit, and / or a control unit) may be provided, and a program for causing a processor to execute the processing of the above components may be provided. Also, a non-transitory computer readable medium having the program recorded thereon may be provided. Naturally, such devices, modules, methods, programs, and non-transitory computer readable mediums are also included in the present invention.

[0118] A part or all of the above-described embodiments may be described as, but is not limited to, the following supplementary notes.

[0119] (Appendix 1) A video encoding or decoding device comprising a control unit that controls a partial range of an image used for intra-screen prediction that spans an end of a unit in a predetermined direction within a range of use of the image used for the intra-screen prediction to be equal to or less than a predetermined maximum range, based on a relationship between a position of a candidate image used for intra-screen prediction for a block to be processed and the position of a unit to which the block to be processed belongs.

[0120] (Appendix 2) 2. The video encoding or decoding apparatus of claim 1, wherein the unit includes a syntax structure for encoding pixel samples.

[0121] (Appendix 3) 3. A video encoding or decoding device as described in claim 1 or 2, wherein the unit is one coding tree unit included in a slice.

[0122] (Appendix 4) A video encoding or decoding device according to any one of appendices 1 to 3, wherein the predetermined maximum range is a maximum range that can be used for the intra-screen prediction across an edge of the unit in the predetermined direction.

[0123] (Appendix 5) a first derivation unit that derives a first boundary position, which is an image position that can be used for the intra-screen prediction across an end of the unit in the predetermined direction, based on the position of the unit and the predetermined maximum range, and is the furthest from the unit in the predetermined direction; The video encoding or decoding device according to claim 4, wherein the control unit controls the partial range used for the intra-screen prediction across the end of the unit in the predetermined direction to be equal to or smaller than the predetermined range based on a relationship between the position of a candidate image used for the intra-screen prediction and the first boundary position.

[0124] (Appendix 6) a second derivation unit that derives a second boundary position, which is a position of a candidate image used in the intra prediction and is the furthest from the target block in the predetermined direction, based on a position of the target block and a candidate range of a candidate image used in the intra prediction in the predetermined direction; The video encoding or decoding device according to claim 5, wherein the control unit controls the partial range used for the intra-screen prediction across the end of the unit in the specified direction to be equal to or less than the specified maximum range based on the relationship between the first boundary position and the second boundary position.

[0125] (Appendix 7) The video encoding or decoding device according to claim 6, wherein, when the second boundary position is farther away in the specified direction than the first boundary position with respect to the position of the block to be processed, the control unit controls the partial range used for the intra-screen prediction across the edge of the unit in the specified direction to be equal to or less than the specified maximum range.

[0126] (Appendix 8) When the second boundary position is not farther than the first boundary position in the predetermined direction with respect to the position of the processing target block, the control unit controls the usage range of the image used for the in-picture prediction to the candidate range, the video encoding or video decoding apparatus according to appended note 6 or 7.

[0127] (Appended note 9) The predetermined direction is the upward direction on the screen, The predetermined maximum range is the maximum range Kmax that can be used for the in-picture prediction across the upper end of the unit in the upward direction on the screen, The candidate range is the candidate range Kup of the candidate image used in the upward direction on the screen in the in-picture prediction, Based on a vertical coordinate axis with the upper end of the picture as the origin and taking positive values in the downward direction on the screen, the first derivation unit derives the vertical coordinate ref_max_pos_y of the first boundary position using the following formula (1), Based on the vertical coordinate axis, the second derivation unit derives the vertical coordinate cand_min_pos_y of the second boundary position using the following formula (2), When cand_min_pos_y < ref_max_pos_y, the control unit calculates the usage range K of the image used in the upward direction on the screen in the in-picture prediction according to the following formula (3), and controls the partial range used for the in-picture prediction across the end of the unit in the predetermined direction to be equal to or less than the predetermined range Kmax, the video encoding or video decoding apparatus according to any one of appended notes 6 to 8. ref_max_pos_y = cur_by - Kup ··· (1) cur_by is the vertical coordinate of the upper end of the unit. cand_min_pos_y = cur_cuy - Kmax ··· (2) cur_cuy is the vertical coordinate of the upper end of the unit. K = cur_by - cur_cuy + Kmax ··· (3)

[0128] (Appended note 10) When cand_min_pos_y≧ref_max_pos_y, the control unit calculates the usage range K of the image used in the in-picture prediction in the upward direction on the screen according to the following formula (4). The video encoding or video decoding apparatus according to Supplementary Note 9. K = Kup ··· (4)

[0129] (Supplementary Note 11) The video encoding or video decoding apparatus according to Supplementary Note 9 or 10, further comprising an image generation unit that generates an image used in the in-picture prediction based on the usage range K of the image used in the in-picture prediction in the upward direction on the screen.

[0130] (Supplementary Note 12) When K < Kup, the image generation unit copies an image whose vertical coordinate position belongs to cur_by - Kmax to cur_by - 1, and maps the copied image to positions corresponding to cur_by - Kup to cur_by - Kmax - 1, thereby generating an image used in the in-picture prediction. The video encoding or video decoding apparatus according to Supplementary Note 11.

[0131] (Supplementary Note 13) Controlling a partial range used in the in-picture prediction that straddles an end portion of the unit in a predetermined direction of the usage range of the image used in the in-picture prediction to be equal to or less than a predetermined maximum range based on the relationship between the position of the candidate image used in the in-picture prediction for the processing target block and the position of the unit to which the processing target block belongs. A video encoding or video decoding method including this.

[0132] (Supplementary Note 14) A program for causing a computer to execute video encoding or video decoding processing including controlling a partial range used in the in-picture prediction that straddles an end portion of the unit in a predetermined direction of the usage range of the image used in the in-picture prediction to be equal to or less than a predetermined maximum range based on the relationship between the position of the candidate image used in the in-picture prediction for the processing target block and the position of the unit to which the processing target block belongs.

[0133] (Supplementary Note 15) A non-transitory computer-readable recording medium having recorded thereon a program for causing a computer to execute a video encoding or video decoding process, the process including controlling a partial range of an image used for the intra-screen prediction, the partial range being used for the intra-screen prediction across an end of the unit in a predetermined direction, to be equal to or less than a predetermined maximum range, based on a relationship between a position of a candidate image used for intra-screen prediction for a block to be processed and the position of a unit to which the block to be processed belongs.

[0134] This application claims priority based on Japanese Patent Application No. 2018-120872, filed on June 26, 2018, the disclosure of which is incorporated herein in its entirety. [Industrial Applicability]

[0135] In a system for encoding or decoding video, it becomes possible to adaptively control the range of images used for intra-frame prediction. [Explanation of symbols]

[0136] 100 In-screen prediction device 110 Area control processing unit 111 First Derivation 113 Second Derivation 115, 810, 910 Control section 120 Reference image generator 130 Prediction image generation unit 800 Video Encoding Device 900 Video Decoding Device

Claims

1. A control unit is provided for controlling a range of an image used for intra prediction for a processing target block, The control unit is controlling the use range to be equal to or less than a first maximum range usable for the intra prediction across an end of a coding tree unit in a predetermined direction; when the usage range is not controlled to be equal to or less than the first maximum range, controlling the usage range to be equal to or less than a second maximum range that is greater than the first maximum range; when the use range is controlled to be equal to or less than the second maximum range, the use range includes a plurality of lines, and at least one of the plurality of lines is used for intra prediction for the current block; An image encoding device, wherein all of the plurality of lines are arranged contiguously.

2. Controlling a range of an image used for intra prediction for a current block; The controlling comprises: Controlling the use range to be equal to or less than a first maximum range usable for the intra prediction across an end of a coding tree unit in a predetermined direction; if the usage range is not controlled to be equal to or less than the first maximum range, controlling the usage range to be equal to or less than a second maximum range that is greater than the first maximum range; Including, when the use range is controlled to be equal to or less than the second maximum range, the use range includes a plurality of lines, and at least one of the plurality of lines is used for intra prediction for the current block; All of the plurality of lines are arranged in succession. A method of encoding video.

3. A control unit is provided for controlling a range of an image used for intra prediction for a processing target block, The control unit is controlling the use range to be equal to or less than a first maximum range usable for the intra prediction across an end of a coding tree unit in a predetermined direction; when the usage range is not controlled to be equal to or less than the first maximum range, controlling the usage range to be equal to or less than a second maximum range that is greater than the first maximum range; when the use range is controlled to be equal to or less than the second maximum range, the use range includes a plurality of lines, and at least one of the plurality of lines is used for intra prediction for the current block; A video decoding apparatus, wherein all of said plurality of lines are arranged contiguously.

4. Controlling a range of an image used for intra prediction for a current block; The controlling comprises: Controlling the use range to be equal to or less than a first maximum range usable for the intra prediction across an end of a coding tree unit in a predetermined direction; if the usage range is not controlled to be equal to or less than the first maximum range, controlling the usage range to be equal to or less than a second maximum range that is greater than the first maximum range; Including, when the use range is controlled to be equal to or less than the second maximum range, the use range includes a plurality of lines, and at least one of the plurality of lines is used for intra prediction for the current block; All of the plurality of lines are arranged in succession. How to decode the video.

Citation Information

Patent Citations

  • Method and Apparatus of Constrained Intra Block Copy for Coding Video

    US20160241875A1

  • Method and apparatus of video coding

    US20170272757A1

  • Buffering prediction data in video coding

    WO2013012867A2

  • Image processing device and method

    WO2017073362A1