Moving image encoding device, moving image encoding method, moving image encoding program, moving image decoding device, moving image decoding method, and moving image decoding program
In order to provide low-load, efficient coding technology, a moving-picture decoding device includes a spatial motion information candidate derivation unit configured to derive a spatial motion information candidate from motion information of a block neighboring a decoding target block in a space domain and a history-based motion information candidate derivation unit configured to derive a history-based motion information candidate from a memory where motion information of a decoded block is retained, wherein the history-based motion information candidate derivation unit preferentially derives old motion information without making a comparison of the motion information with the spatial motion information candidate.
1. A moving-picture coding device comprising:
a spatial motion information candidate derivation unit configured to add a spatial motion information candidate to a motion information candidate list, the spatial motion information candidate derived from motion information of a block neighboring a coding target block in a space domain;
a history-based motion information candidate derivation unit configured to add a history-based, motion information candidate registered in a history-based motion information candidate list to the motion information candidate list; and
a coding unit configured to code inter prediction information including a flag which indicates whether a merge mode is applied or not to the coding target block,
wherein the history-based motion information candidate derivation unit adds the history-based motion information candidate to the motion information candidate list in order from oldest motion information to newly added motion information among the motion information registered in the history-based motion information candidate list without making a comparison of the motion information in the history-based motion information candidate list with the motion information in the motion information candidate list, when the merge mode is not applied to the coding target block.
2. A moving-picture coding method comprising:
a first process of adding a spatial motion information candidate to a motion information candidate list, the spatial motion information candidate derived from motion information of a block neighboring a coding target block in a space domain;
a second process of adding a history-based motion information candidate registered in a history-based motion information candidate list to the motion information candidate list; and
a third process of coding inter prediction information including a flag which indicates whether a merge mode is applied or not to the coding target block,
wherein the second process includes adding the history-based motion information candidate to the motion information candidate list in order from oldest motion information to newly added motion information among the motion information registered in the history-based motion information candidate list without making a comparison of the motion information in the history-based motion information candidate list with the motion information in the motion information candidate list, when the merge mode is not applied to the coding target block.
3. A non-transitory computer-readable medium having stored thereon instructions that, when executed by at least one processor, cause the at least one processor to perform moving picture coding program for causing a computer to operate as:
a spatial motion information candidate derivation unit configured to add a spatial motion information candidate to a motion information candidate list, the spatial motion information candidate derived from motion information of a block neighboring a coding target block of a space domain;
a history-based motion information candidate derivation unit configured to add a history-based motion information candidate registered in a history-based motion information candidate list to the motion information candidate list; and
a coding unit configured to code inter prediction information including a flag which indicates whether a merge mode is applied or not to the coding target block,
wherein the history-based motion information candidate derivation unit adds the history-based motion information candidate to the motion information candidate list in order from oldest motion information to newly added motion information among the motion information registered in the history-based motion information candidate list without making a comparison of the motion information in the history-based motion information candidate list with the motion information in the motion information candidate list, when the merge mode is not applied to the coding target block.
4. A moving-picture decoding device comprising:
a decoding unit configured to decode inter prediction information including a flag which indicates whether a merge mode is applied or not to a decoding target block;
a spatial motion information candidate derivation unit configured to add a spatial motion information candidate to a motion information candidate list, the spatial motion information candidate derived from motion information of a block neighboring the decoding target block in a space domain; and
a history-based motion information candidate derivation unit configured to add a history based motion information candidate registered in a history-based motion information candidate list to the motion information candidate list,
wherein the history-based motion information candidate derivation unit adds the history-based motion information candidate to the motion information candidate list in order from oldest motion information to newly added motion information among the motion information registered in the history-based motion information candidate list without making a comparison of the motion information in the history-based motion information candidate list with the motion information in the motion information candidate list, when the merge mode is not applied to the decoding target block.
5. A moving-picture decoding method comprising:
a first process of decoding inter prediction information including a flag which indicates whether a merge mode is applied or not to a decoding target block;
a second process of adding a spatial motion information candidate to a motion information candidate list, the spatial motion information candidate derived from motion information of a block neighboring the decoding target block in a space domain; and
a third process of adding a history-based motion information candidate registered in a history-based motion information candidate list to the motion information candidate list,
wherein the third process includes adding the history-based motion information candidate to the motion information candidate list in order from oldest motion information to newly added motion information among the motion information registered in the history-based motion information candidate list without making a comparison of the motion information in the history-based motion information candidate list with the motion information in the motion information candidate list, when the merge mode is not applied to the decoding target block.
6. A non-transitory computer-readable medium having stored thereon instructions that, when executed by at least one processor, cause the at least one processor to perform moving picture decoding program for causing a computer to operate as:
a decoding unit configured to decode inter prediction information including a flag which indicates whether a merge mode is applied or not to a decoding target block;
a spatial motion information candidate derivation unit configured to add a spatial motion information candidate to a motion information candidate list, the spatial motion information candidate derived from motion information of a block neighboring the decoding target block in a space domain; and
a history-based motion information candidate derivation unit configured to add a history-based motion information candidate registered in a history-based motion information candidate list to the motion information candidate list,
wherein the history-based motion information candidate derivation unit adds the history-based motion information candidate to the motion information candidate list in order from oldest motion information to newly added motion information among the motion information registered in the history-based motion information candidate list without making a comparison of the motion information in the history-based motion information candidate list with the motion information in the motion information candidate list, when the merge mode is not applied to the decoding target block.
7. A non-transitory computer readable medium storing a bitstream that is generated by an encoding method, wherein the encoding method comprising:
a first process of adding a spatial motion information candidate to a motion information candidate list, the spatial motion information candidate derived from motion information of a block neighboring a coding target block in a space domain;
a second process of adding a history-based motion information candidate registered in a history-based motion information candidate list to the motion information candidate list; and
a third process of coding inter prediction information including a flag which indicates whether a merge mode is applied or not to the coding target block,
wherein the second process includes adding the history-based motion information candidate to the motion information candidate list in order from oldest motion information to newly added motion information among no motion information registered in the history-based motion information candidate list without making a comparison of the motion information in the history-based motion information candidate list with the motion information in the motion information candidate list, when the merge mode is not applied to the coding target block.
8. A method of transmitting a bitstream generated by a picture encoding device, the method comprising:
a first process of adding a spatial motion information candidate to a motion information candidate list, the spatial motion information candidate derived from motion information of a block neighboring a coding target block in a space domain;
a second process of adding a history-based motion information candidate registered in a history-based motion information candidate list to the motion information candidate list,
a third process of coding inter prediction information including a flag which indicates whether a merge mode is applied or not to the coding target block and generating a bitstream, and
a fourth process of transmitting the bitstream;
wherein the second process includes adding the history-based motion information candidate to the motion information candidate list in order from oldest motion information to newly added motion information among the motion information registered in the history-based motion information candidate list without making a comparison of the motion information in the history-based motion information candidate list with the motion information in the motion information candidate list, when the merge mode is not applied to the coding target block.
9. A method of storing a bitstream on a computer-readable recording medium, the method comprising:
a first process of adding a spatial motion information candidate to a motion information candidate list, the spatial motion information candidate derived from motion information of a block neighboring a coding target block in a space domain;
a second process of adding a history-based motion information candidate registered in a history-based motion information candidate list to the motion information candidate list,
a third process of coding inter prediction information including a flag which indicates whether a merge mode is applied or not to the coding target block and generating a bitstream, and
a fourth process of storing the bitstream on the computer-readable recording medium;
wherein the second process includes adding the history-based motion information candidate to the motion information candidate list in order from oldest motion information to newly added motion information among the motion information registered in the history-based motion information candidate list without making a comparison of the motion information in the history-based motion information candidate list with the motion information in the motion information candidate list, when the merge mode is not applied to the coding target block.