Video encoding device, video decoding device, video encoding method, video decoding method, and program restricts inter-prediction unit partitions based on coding unit depth
11582461 · 2023-02-14
Assignee
Inventors
Cpc classification
H04N19/91
ELECTRICITY
H04N19/109
ELECTRICITY
H04N19/157
ELECTRICITY
H04N19/119
ELECTRICITY
H04N19/70
ELECTRICITY
H04N19/44
ELECTRICITY
International classification
H04N19/119
ELECTRICITY
H04N19/70
ELECTRICITY
H04N19/157
ELECTRICITY
H04N19/44
ELECTRICITY
H04N19/109
ELECTRICITY
Abstract
A video encoding device for encoding video using inter prediction includes encoding control means 11 for controlling an inter-PU partition type of a CU to be encoded, based on a minimum inter-PU size (PA) and a CU size (PB) of the CU to be encoded. A video decoding device includes decoding control means for controlling an inter-PU partition of a CU to be decoded, based on the minimum inter-PU size (PA) and the size (PB) of the CU to be decoded.
Claims
1. A video encoding device for encoding video using inter prediction, comprising: at least one memory storing instructions; and at least one processor configured to process the instructions to: set a PU (Prediction Unit) partition type indicating a splitting pattern of a CU (Coding Unit) to be encoded to an inter-PU partition type whose size is greater than N×N corresponding to a half of a size of the CU, the size being a length of one side of the CU, based on the size of the CU to be encoded being equal to a minimum inter-PU size; and set the PU partition type to an intra-PU partition type, based on the size of the CU to be encoded being less than the minimum inter-PU size.
2. A video encoding method for encoding video using inter prediction, comprising: controlling to set a PU (Prediction Unit) partition type indicating a splitting pattern of a CU (Coding Unit) to be encoded to an inter-PU partition type whose size is greater than N×N corresponding to a half of a size of the CU, the size being a length of one side of the CU, based on the size of the CU to be encoded being equal to a minimum inter-PU size; and setting the PU partition type to an intra-PU partition type, based on the size of the CU to be encoded being less than the minimum inter-PU size.
3. A non-transitory computer readable information recording medium storing a video encoding program for encoding video using inter prediction, when executed by a processor, performs a method for: controlling to set a PU (Prediction Unit) partition type indicating a splitting pattern of a CU (Coding Unit) to be encoded to an inter-PU partition type whose size is greater than N×N corresponding to a half of a size of the CU, the size being a length of one side of the CU, based on the size of the CU to be encoded being equal to a minimum inter-PU size; and setting the PU partition type to an intra-PU partition type, based on the size of the CU to be encoded being less than the minimum inter-PU size.
4. A video decoding device for decoding video using inter prediction, comprising: at least one memory storing instructions; and at least one processor configured to process the instructions to: set a PU (Prediction Unit) partition type indicating a splitting pattern of a CU (Coding Unit) to be decoded to an inter-PU partition type whose size is greater than N×N corresponding to a half of a size of the CU, the size being a length of one side of the CU, based on the size of the CU to be decoded being equal to a minimum inter-PU size; and set the PU partition type to an intra-PU partition type, based on the size of the CU to be encoded being less than the minimum inter-PU size.
5. A video decoding method for decoding video using inter prediction, comprising: controlling to set a PU (Prediction Unit) partition type indicating a splitting pattern of a CU (Coding Unit) to be decoded to an inter-PU partition type whose size is greater than N×N corresponding to a half of a size of the CU, the size being a length of one side of the CU, based on the size of the CU to be decoded being equal to a minimum inter-PU size; and controlling to set the PU partition type to an intra-PU partition type, based on the size of the CU to be encoded being less than the minimum inter-PU size.
6. A non-transitory computer readable information recording medium storing a video decoding program for decoding video using inter prediction, when executed by a processor, performs a method for: controlling to set a PU (Prediction Unit) partition type indicating a splitting pattern of a CU (Coding Unit) to be decoded to an inter-PU partition type whose size is greater than N×N corresponding to a half of a size of the CU, the size being a length of one side of the CU, based on the size of the CU to be decoded being equal to a minimum inter-PU size; and controlling to set the PU partition type to an intra-PU partition type, based on the size of the CU to be encoded being less than the minimum inter-PU size.
7. The video encoding device of claim 1, wherein the at least one processor is further configured to process the instructions to: entropy encode the CU.
8. The video encoding device of claim 1, wherein the at least one processor is further configured to process the instructions to: entropy encode the CU; and generate a bitstream comprising the encoded CU.
9. The video encoding device of claim 1, wherein the at least one processor is further configured to process the instructions to: entropy encode the CU; and generate a bitstream comprising the encoded CU and information indicating the minimum inter-PU size.
10. The video encoding device of claim 1, wherein the at least one processor is further configured to process the instructions to: select the inter-PU partition type from among candidate inter-PU partition types, the candidate inter-PU partition types comprising an N×N size candidate, based on the size of the CU to be encoded being greater than the minimum inter-PU size.
11. The video encoding device of claim 1, wherein the at least one processor is further configured to process the instructions to: set the inter-PU partition type to the inter-PU partition type whose size is greater than N×N corresponding to a half of a size of the CU based on a determination that the size of the CU to be encoded is equal to a minimum inter-PU size.
12. The video decoding device of claim 4, wherein the at least one processor is further configured to process the instructions to: decode the CU.
13. The video decoding device of claim 4, wherein the at least one processor is further configured to process the instructions to: obtain a bitstream comprising the CU to be decoded.
14. The video decoding device of claim 4, wherein the at least one processor is further configured to process the instructions to: obtain a bitstream comprising the CU to be decoded and information indicating the minimum inter-PU size; and decode the CU.
15. The video decoding device of claim 4, wherein the at least one processor is further configured to process the instructions to: select the inter-PU partition type from among candidate inter-PU partition types, the candidate inter-PU partition types comprising an N×N size candidate, based on the size of the CU to be encoded being greater than the minimum inter-PU size.
16. The video decoding device of claim 4, wherein the at least one processor is further configured to process the instructions to: set the inter-PU partition type to the inter-PU partition type whose size is greater than N×N corresponding to a half of a size of the CU based on a determination that the size of the CU to be encoded is equal to a minimum inter-PU size.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
DESCRIPTION OF EMBODIMENTS
(27) In order to solve the technical problems of the above-mentioned typical techniques, the present invention restricts inter-PU partitions based on the CU depth (i.e. CU size) in video encoding using hierarchical coding units to solve the problems. In an example of the present invention, the CU size capable of using inter-PU partitions other than 2N×2N is restricted to solve the problems. In another example of the present invention, transmission of an inter-PU partition type syntax in a PU header is restricted to solve the problems. In the above example of the present invention, the ratio of the number of bits of the inter-PU partition type syntax included in a bitstream can be kept low to suppress the memory bandwidth while improving the quality of compressed video.
Exemplary Embodiment 1
(28) Exemplary Embodiment 1 shows a video encoding device including: encoding control means for controlling an inter-PU partition type based on a predetermined minimum inter-PU size set from the outside; and means for embedding, in a bitstream, information on the minimum inter-PU size to signal the information on the minimum inter-PU size to a video decoding device.
(29) In this exemplary embodiment, it is assumed that available CU sizes are 128, 64, 32, 16, and 8 (i.e., the LCU size is 128 and the SCU size is 8), and the minimum inter-PU size (minInterPredUnitSize) is 8.
(30) It is further assumed in the exemplary embodiment that the information on the minimum inter-PU size (min_inter_pred_unit_hierarchy_depth) is base-2 log (logarithm) of a value obtained by dividing the minimum inter-PU size (8) by the SCU size (8). Thus, in the exemplary embodiment, the value of min_inter_pred_unit_hierarchy_depth multiplexed into the bitstream is 0 (=log.sub.2(8/8)).
(31) As shown in
(32) The video encoding device in the exemplary embodiment shown in
(33) The encoding controller 107 has the predictor 105 calculate a cost (Rate-Distortion cost: R-D cost) calculated from a coding distortion (the energy of an error image between an input signal and a reconstructed picture) and a generated bit count. The encoding controller 107 determines a CU splitting pattern in which the R-D cost is minimized (the splitting pattern determined by split_coding_unit_flag as shown in
(34) As an example, the encoding controller 107 in the exemplary embodiment selects the optimum PU partition type as a prediction parameter for a CU whose size is greater than minInterPredUnitSize from a total of ten types of intra prediction {2N×2N, N×N}, and inter prediction {2N×2N, 2N×N, N×2N, N×N, 2N×nU, 2N×nD, nL×2N, nR×2N}. For a CU whose size is equal to minInterPredUnitSize, the encoding controller 107 selects the optimum PU partition type as a prediction parameter from a total of three types of intra prediction {2N×2N, N×N} and inter prediction {2N×2N}. For a CU whose size is less than minInterPredUnitSize, the encoding controller 107 selects the optimum PU partition type as a prediction parameter from two types of intra prediction {2N×2N, N×N}.
(35)
(36) As shown in
(37) When determining in step S101 that the CU size of the CU to be encoded is less than or equal to minInterPredUnitSize, the encoding controller 107 proceeds to step S103.
(38) When determining in step S103 that the CU size of the CU to be encoded is equal to minInterPredUnitSize, the encoding controller 107 sets PU partition type candidates in step S104 to a total of three types of intra prediction {2N×2N, N×N} and inter prediction {2N×2N}, and determines in step S106 a prediction parameter based on the R-D cost.
(39) When determining in step S103 that the CU size of the CU to be encoded is less than minInterPredUnitSize, the encoding controller 107 sets PU partition type candidates in step S105 to two types of intra prediction {2N×2N, N×N}, and determines in step S106 the optimum PU partition type as a prediction parameter based on the R-D cost.
(40) The predictor 105 selects a prediction signal corresponding to the prediction parameters of each CU determined by the encoding controller 107.
(41) The prediction signal supplied from the predictor 105 is subtracted from input video of each CU in a shape determined by the encoding controller 107 to generate a prediction error image, and the prediction error image is input to the transformer/quantizer 101.
(42) The transformer/quantizer 101 frequency-transforms the prediction error image to obtain a frequency transform coefficient.
(43) The transformer/quantizer 101 further quantizes the frequency transform coefficient with a predetermined quantization step width Qs to obtain a transform quantization value.
(44) The entropy encoder 102 entropy-encodes split_coding_unit_flag (see
(45) The inverse transformer/inverse quantizer 103 inverse-quantizes the transform quantization value with the predetermined quantization step width Qs. The inverse transformer/inverse quantizer 103 further performs inverse frequency transform of the frequency transform coefficient obtained by the inverse quantization. The prediction signal is added to the reconstructed prediction error image obtained by the inverse frequency transform, and the result is supplied to the buffer 104.
(46) The multiplexer 106 multiplexes and outputs the information on the minimum inter-PU size (min_inter_pred_unit_hierarchy_depth) and output data of the entropy encoder 102. According to 4.1.2 Sequence parameter set RBSP syntax in NPL 2, the multiplexer 106 multiplexes log 2_min_coding_unit_size_minus3 syntax and min_inter_pred_unit_hierarchy_depth syntax after max_coding_unit_hierarchy_depth syntax in a sequence parameter set as listed in
minCodingUnitSize=1<<(log 2_min_coding_unit_size_minus3+3)
maxCodingUnitSize=1<<(log 2_min_coding_unit_size_minus3+3+max_coding_unit_hierarchy_depth)
(47) The min_inter_pred_unit_hierarchy_depth syntax and minCodingUnitSize have the following relation.
min_inter_pred_unit_hierarchy_depth=log.sub.2(minInterPredUnitSize/minCodingUnitSize)
(48) Based on the operation described above, the video encoding device according to this invention generates a bitstream.
(49) Based on a predetermined minimum inter-PU size and a CU size of a CU to be encoded, the video encoding device in the exemplary embodiment controls the inter-PU partition of the CU to be encoded so that no inter PU the size of which is less than the minimum inter-PU size will not come into existence.
(50) The memory bandwidth is reduced by preventing any inter PU the size of which is less than the minimum inter-PU size from coming into existence. Further, since the number of inter-PU partition type syntaxes to be signaled is reduced by preventing any inter PU the size of which is less than the minimum inter-PU size from coming into existence, the percentage of the amount of code of a PU header in the bitstream is reduced, and hence the quality of video is improved.
(51) The encoding control means in the video encoding device of the exemplary embodiment controls inter-PU partitions based on the predetermined minimum inter-PU size set from the outside. As an example, the encoding control means controls inter-PU partition types other than 2N×2N to be used only in CUs of CU sizes greater than a predetermined size. Therefore, since the probability of occurrence of the 2N×2N inter-PU partition increases to reduce entropy, the efficiency of entropy-encoding is improved. Thus, the quality of compressed video can be maintained while reducing the memory bandwidth.
(52) Likewise, for video decoding, the video encoding device in the exemplary embodiment includes means for embedding, in a bitstream, information on the predetermined minimum inter-PU size set from the outside so that the inter-PU partition type syntax can be parsed from the bitstream. Thus, since the predetermined size is signaled to the video decoding device, the interoperability of the video encoding device and the video decoding device can be enhanced.
Exemplary Embodiment 2
(53) A video encoding device in Exemplary Embodiment 2 includes: encoding control means for controlling an inter-PU partition type based on a predetermined minimum inter-PU size set from the outside and for controlling entropy-encoding of an inter-PU partition type syntax based on the above predetermined minimum inter-PU size; and means for embedding, in a bitstream, information on the minimum inter-PU size to signal the information on the above minimum inter-PU size to a video decoding device.
(54) In this exemplary embodiment, it is assumed that the CU size of a CU to transmit the inter-PU partition type syntax is greater than the above minimum inter-PU size (minInterPredUnitSize). It is also assumed in the exemplary embodiment that available CU sizes are 128, 64, 32, 16, and 8 (i.e., the LCU size is 128 and the SCU size is 8), and minInterPredUnitSize is 8. Thus, in the exemplary embodiment, the CU sizes for embedding the inter-PU partition type syntax in the bitstream are 128, 64, 32, and 16.
(55) It is further assumed in the exemplary embodiment that information on the minimum inter-PU size (min_inter_pred_unit_hierarchy_depth) is base-2 log (logarithm) of a value obtained by dividing the minimum inter-PU size (8) by the SCU size (8). Thus, in the exemplary embodiment, the value of min_inter_pred_unit_hierarchy_depth multiplexed into the bitstream is 0(=log.sub.2(8/8)).
(56) The structure of the video encoding device in the exemplary embodiment is the same as the structure of the video encoding device in Exemplary Embodiment 1 shown in
(57) As shown in
(58) The encoding controller 107 has the predictor 105 calculate the R-D cost calculated from a coding distortion (the energy of an error image between an input signal and a reconstructed picture) and a generated bit count. The encoding controller 107 determines a CU splitting pattern in which the R-D cost is minimized (the splitting pattern determined by split_coding_unit_flag as shown in
(59) Like in Exemplary Embodiment 1, the encoding controller 107 in the exemplary embodiment selects the optimum PU partition type as a prediction parameter for a CU whose size is greater than minInterPredUnitSize from a total of ten types of intra prediction {2N×2N, N×N} and inter prediction {2N×2N, 2N×N, N×2N, N×N, 2N×nU, 2N×nD, nL×2N, nR×2N}. For a CU whose size is equal to minInterPredUnitSize, the encoding controller 107 selects the optimum PU partition type as a prediction parameter from a total of three types of intra prediction {2N×2N, N×N} and inter prediction {2N×2N}. For a CU whose size is less than minInterPredUnitSize, the encoding controller 107 selects the optimum PU partition type as a prediction parameter from intra prediction {2N×2N, N×N}.
(60) When the prediction mode of a CU to be entropy-encoded is inter prediction and the CU size is less than or equal to minInterPredUnitSize, the encoding controller 107 in the exemplary embodiment controls the entropy encoder 102 not to entropy-encode inter_partitioning_idc.
(61) The predictor 105 selects a prediction signal corresponding to the prediction parameters of each CU determined by the encoding controller 107.
(62) The prediction signal supplied from the predictor 105 is subtracted from input video of each CU in a shape determined by the encoding controller 107 to generate a prediction error image, and the prediction error image is input to the transformer/quantizer 101.
(63) The transformer/quantizer 101 frequency-transforms the prediction error image to obtain a frequency transform coefficient.
(64) The transformer/quantizer 101 further quantizes the frequency transform coefficient with a predetermined quantization step width Qs to obtain a transform quantization value.
(65) The entropy encoder 102 entropy-encodes split_coding_unit_flag (see
(66) The inverse transformer/inverse quantizer 103 inverse-quantizes the transform quantization value with the predetermined quantization step width Qs. The inverse transformer/inverse quantizer 103 further performs inverse frequency transform of the frequency transform coefficient obtained by the inverse quantization. The prediction signal is added to the reconstructed prediction error image obtained by the inverse frequency transform, and the result is supplied to the buffer 104.
(67) The multiplexer 106 multiplexes and outputs the information on the minimum inter-PU size (min_inter_pred_unit_hierarchy_depth) and output data of the entropy encoder 102. According to 4.1.2 Sequence parameter set RBSP syntax in NPL 2, the multiplexer 106 multiplexes log 2 min_coding_unit_size_minus3 syntax and min_inter_pred_unit_hierarchy_depth syntax after max_coding_unit_hierarchy_depth syntax in a sequence parameter set as listed in
minCodingUnitSize=1<<(log 2_min_coding_unit_size_minus3+3)
maxCodingUnitSize=1<<(log 2_min_coding_unit_size_minus3+3+max_coding_unit_hierarchy_depth)
(68) The min_inter_pred_unit_hierarchy_depth syntax and minCodingUnitSize have the following relation.
min_inter_pred_unit_hierarchy_depth=log.sub.2(minInterPredUnitSize/minCodingUnitSize)
(69) Based on the operation described above, the video encoding device in the exemplary embodiment generates a bitstream.
(70) Referring next to a flowchart of
(71) As shown in
(72) According to 4.1.10 Prediction unit syntax in NPL 2, the above-mentioned pred_mode syntax and inter_partitioning_idc syntax are signaled as represented in a list shown in
(73) When the CU size of the CU to be encoded is less than or equal to the predetermined minimum inter-PU size, the video encoding device in the exemplary embodiment does not entropy-encode the inter-PU partition type syntax in the PU header layer of the CU to be encoded to reduce the number of inter-PU partition type syntaxes to be signaled. Since the reduction in the number of inter-PU partition type syntaxes to be signaled reduces the percentage of the amount of code of a PU header in the bitstream, the quality of video is further improved.
(74) When the CU size of the CU to be encoded exceeds the predetermined minimum inter-PU size, the video encoding device in the exemplary embodiment sets, in a predetermined inter-PU partition type, the inter-PU partition type syntax in the PU header layer of the CU to be encoded, and entropy-encodes the inter-PU partition type so that no inter PU the size of which is less than the minimum inter-PU size will not come into existence. The memory bandwidth is reduced by preventing any inter PU the size of which is less than the minimum inter-PU size from coming into existence.
Exemplary Embodiment 3
(75) A video decoding device in Exemplary Embodiment 3 decodes a bitstream generated by the video encoding device in Exemplary Embodiment 2.
(76) The video decoding device in this exemplary embodiment includes: means for de-multiplexing minimum inter-PU size information multiplexed into a bitstream; CU size determination means for determining a predetermined CU size, from which an inter-PU partition type is parsed, based on the de-multiplexed minimum inter-PU size information; and parsing means for parsing the inter-PU partition type from the bitstream in the CU size determined by the CU size determination means.
(77) As shown in
(78) The de-multiplexer 201 de-multiplexes an input bitstream and extracts minimum inter-PU size information and an entropy-encoded video bitstream. The de-multiplexer 201 de-multiplexes log 2 min_coding_unit_size_minus3 syntax and min_inter_pred_unit_hierarchy_depth syntax after max_coding_unit_hierarchy_depth syntax in sequence parameters as listed in
minInterPredUnitSize=1<<(log 2_min_coding_unit_size_minus3+3+min_inter_pred_unit_hierarchy_depth)
(79) In other words, the de-multiplexer 201 in the exemplary embodiment also plays a role in determining the CU size, in which the inter-PU partition type syntax is parsed, based on the de-multiplexed minimum inter-PU size information.
(80) The de-multiplexer 201 further supplies the minimum inter-PU size to the decoding controller 206.
(81) The entropy decoder 202 entropy-decodes the video bitstream. The entropy decoder 202 supplies an entropy-decoded transform quantization value to the inverse transformer/inverse quantizer 203. The entropy decoder 202 supplies entropy-decoded split_coding_unit_flag and prediction parameters to the decoding controller 206.
(82) When the prediction mode of a CU to be decoded is inter prediction and the CU size is minInterPredUnitSize, the decoding controller 206 in the exemplary embodiment controls the entropy decoder 202 to skip entropy-decoding of the inter-PU partition type syntax of the CU to be decoded. The decoding controller 206 further sets, to 2N×2N, the inter-PU partition type of the CU to be decoded. When the CU size of the CU to be decoded is less than minInterPredUnitSize, the prediction mode of the CU is only intra prediction.
(83) The inverse transformer/inverse quantizer 203 inverse-quantizes transform quantization values of luminance and color difference with a predetermined quantization step width. The inverse transformer/inverse quantizer 203 further performs inverse frequency transform of a frequency transform coefficient obtained by the inverse quantization.
(84) After the inverse frequency transform, the predictor 204 generates a prediction signal using an image of a reconstructed picture stored in the buffer 205 based on the prediction parameters supplied from the decoding controller 206.
(85) The prediction signal supplied from the predictor 204 is added to a reconstructed prediction error image obtained by the inverse frequency transform performed by the inverse transformer/inverse quantizer 203, and the result is supplied to the buffer 205 as a reconstructed picture.
(86) The reconstructed picture stored in the buffer 205 is then output as a decoded image.
(87) Based on the operation described above, the video decoding device in the exemplary embodiment generates a decoded image.
(88) Referring next to a flowchart of
(89) As shown in
(90) When determining in step S303 that the prediction mode is intra prediction, or when determining in step S304 that the decided CU size is greater than minInterPredUnitSize, the decoding controller 206 controls the entropy decoder 202 in step S306 not to skip entropy-decoding of the PU partition type of the CU to be decoded and to set the PU partition type of the CU to a PU partition type obtained as a result of the entropy-decoding.
(91) The video encoding device in Exemplary Embodiment 1 and Exemplary Embodiment 2 can multiplex the minimum inter-PU size information (min_inter_pred_unit_hierarchy_depth) used in Exemplary Embodiment 1 into a picture parameter set or a slice header as represented in a list shown in
(92) The video encoding device in Exemplary Embodiment 1 and Exemplary Embodiment 2 may set the min_inter_pred_unit_hierarchy_depth syntax as base-2 log (logarithm) of a value obtained by dividing the LCU size (maxCodingUnitSize) by the minimum inter-PU size (minInterPredUnitSize), i.e., the following equation may be used.
min_inter_pred_unit_hierarchy_depth=log 2(maxCodingUnitSize/minInterPredUnitSize)
(93) In this case, the video decoding device in this exemplary embodiment can calculate the minimum inter-PU size based on the min_inter_pred_unit_hierarchy_depth syntax as follows.
minInterPredUnitSize=1<<(log 2_min_coding_unit_size_minus3+3+max_coding_unit_hierarchy_depth-min_inter_pred_unit_hierarchy_depth)
(94) In the video decoding device in this exemplary embodiment, since no inter PU the size of which is less than the minimum inter-PU size does not come into existence, the memory bandwidth is reduced.
Exemplary Embodiment 4
(95) A video decoding device in Exemplary Embodiment 4 decodes a bitstream generated by the video encoding device in Exemplary Embodiment 1.
(96) The video decoding device in this exemplary embodiment includes: means for de-multiplexing minimum inter-PU size information multiplexed into a bitstream; and error detection means for detecting, based on the de-multiplexed minimum inter-PU size information, an error in an access unit accessing the bitstream including a CU to be decoded. As defined in 3.1 access unit of NPL 1, the access unit is the unit of storing coded data for one picture. The error means violation of restrictions based on the number of motion vectors allowed per predetermined area.
(97) As shown in
(98) The de-multiplexer 201 operates the same way as the de-multiplexer 201 in Exemplary Embodiment 3 to de-multiplex an input bitstream and extract minimum inter-PU size information and an entropy-encoded video bitstream. The de-multiplexer 201 further determines the minimum inter-PU size and supplies the minimum inter-PU size to the error detector 207.
(99) The entropy decoder 202 entropy-decodes the video bitstream. The entropy decoder 202 supplies an entropy-decoded transform quantization value to the inverse transformer/inverse quantizer 203. The entropy decoder 202 then supplies entropy-decoded split_coding_unit_flag and prediction parameters to the error detector 207.
(100) The error detector 207 performs error detection on the prediction parameters supplied from the entropy decoder 202 based on the minimum inter-PU size supplied from the de-multiplexer 201, and supplies the result to the predictor 204. The error detection operation will be described later. The error detector 207 also plays a role as the decoding controller 206 in Exemplary Embodiment 3.
(101) The inverse transformer/inverse quantizer 203 operates the same way as the inverse transformer/inverse quantizer 203 in Exemplary Embodiment 3.
(102) The predictor 204 generates a prediction signal using an image of a reconstructed picture stored in the buffer 205 based on the prediction parameters supplied from the error detector 207.
(103) The buffer 205 operates the same way as the buffer 205 in Exemplary Embodiment 3.
(104) Based on the operation described above, the video decoding device in the exemplary embodiment generates a decoded image.
(105) Referring to a flowchart of
(106) In step S401, the error detector 207 decides the CU size, the prediction mode, and the PU partition type.
(107) In step S402, the error detector 207 determines the prediction mode of a PU of the CU to be decoded. When the prediction mode is intra prediction, the process is ended. When the prediction mode is inter prediction, the procedure proceeds to step S403.
(108) In step S403, the error detector 207 compares the PU size of the CU to be decoded with the minimum inter-PU size. When the PU size of the CU to be decoded is greater than or equal to the minimum inter-PU size, the process is ended. When the PU size of the CU to be decoded is less than the minimum inter-PU size, the procedure proceeds to step S404.
(109) In step S404, the error detector 207 determines that there is an error and notifies the outside of the error. For example, the error detector 207 outputs the address of the CU to be decoded and in which the error has occurred.
(110) According to the above operation, the error detector 207 detects the error in an access unit accessing the bitstream including the CU to be decoded.
(111) Each of the aforementioned exemplary embodiments can be implemented in hardware or in a computer program.
(112) An information processing system shown in
(113) In the information processing system shown in
(114)
(115)
(116) While the present invention has been described with reference to the exemplary embodiments and examples, the present invention is not limited to the aforementioned exemplary embodiments and examples. Various changes understandable to those skilled in the art within the scope of the present invention can be made to the structures and details of the present invention.
(117) This application claims priority based on Japanese Patent Application No. 2011-4964, filed on Jan. 13, 2011, the disclosures of which are incorporated herein in their entirety.
REFERENCE SIGNS LIST
(118) 11 encoding control means 21 decoding control means 101 transformer/quantizer 102 entropy encoder 103 inverse transformer/inverse quantizer 104 buffer 105 predictor 106 multiplexer 107, 108 encoding controller 201 de-multiplexer 202 entropy decoder 203 inverse transformer/inverse quantizer 204 predictor 205 buffer 206 decoding controller 207 error detector 1001 processor 1002 program memory 1003 storage medium 1004 storage medium