Device and method of video encoding with first and second encoding code
A video image encoding device, in a first mode, variable-length-encodes a residual coefficient to generate a coefficient code string, outputs the coefficient code string and the header information in a state in which the header information is associated with the coefficient code string, in a second mode, directly uses a differential image as a coefficient code string without variable-length-encoding the differential image, and outputs the coefficient code string and the header information in a state in which the header information is associated with the coefficient code string.
1 . An image decoding device that decodes an encoded image, the image decoding device comprising:
a processor; and
a non-transitory memory having stored thereon executable instructions, which cause the processor to:
generate a predictive image on a predictive unit for a current coding unit using predictive information, the prediction unit being included in the coding unit; and
wherein in a first mode, the processor generates a residual coefficient based on a coefficient code string and performs an inverse quantizing process and an inverse orthogonal transformation process on the residual coefficient to output a residual decoded image, the residual decoded image is a differential image between the image to be decoded and the generated predictive image,
wherein in a second mode, the processor directly uses the coefficient code string to output the differential image without performing the inverse quantizing process and the orthogonal transformation process, and
wherein a syntax of the current coding unit includes flag information indicating whether the first mode or the second mode is applied for the current coding unit and the syntax is included in a syntax of the coding unit separate from a syntax of the prediction unit included in the syntax of the coding unit.
2 . An image decoding method that decodes an encoded image, the image decoding method comprising:
generating a predictive image on a predictive unit for a current coding unit using predictive information, the prediction unit being included in the coding unit; and
wherein in a first mode, generating a residual coefficient based on a coefficient code string and performing an inverse quantizing process and an inverse orthogonal transformation process on the residual coefficient to output a residual decoded image, the residual decoded image is a differential image between the image to be decoded and the generated predictive image,
wherein in a second mode, directly using the coefficient code string to output the differential image without performing the inverse quantizing process and the orthogonal transformation process, and
wherein a syntax of the current coding unit includes flag information indicating whether the first mode or the second mode is applied for the current coding unit and the syntax is included in a syntax of the coding unit separate from a syntax of the prediction unit included in the syntax of the coding unit.
3 . A non-transitory computer readable medium storing a bitstream, the bitstream including an encoded signal and syntax information according to which a decoder performs a method comprising:
generating a predictive image on a predictive unit for a current coding unit using predictive information, the prediction unit being included in the coding unit; and
wherein in a first mode, generating a residual coefficient based on a coefficient code string and performing an inverse quantizing process and an inverse orthogonal transformation process on the residual coefficient to output a residual decoded image, the residual decoded image is a differential image between the image to be decoded and the generated predictive image,
wherein in a second mode, directly using the coefficient code string to output the differential image without performing the inverse quantizing process and the orthogonal transformation process, and
wherein a syntax of the current coding unit includes flag information indicating whether the first mode or the second mode is applied for the current coding unit and the syntax is included in a syntax of the coding unit separate from a syntax of the prediction unit included in the syntax of the coding unit.