Patent ID: 9648324
Date: 2017-05-09
CPC Classifications: H04N

Claim:
1. A providing method comprising: transmitting a bitstream from a server to a terminal in response to an instruction from the terminal, the bitstream including an encoded image on which an encoding process has been performed, wherein the encoding process includes: deriving a difference motion vector indicating a difference between a motion vector used to predict the image and a motion vector predictor that is a prediction of the motion vector; binarizing the difference motion vector into first binary data and second binary data, the first binary data indicating a horizontal component of the difference motion vector and the second binary data indicating a vertical component of the difference motion vector; encoding a first flag, a second flag, a first prefix, a second prefix, a first suffix, and a second suffix respectively into an encoded first flag, an encoded second flag, an encoded first prefix, an encoded second prefix, an encoded first suffix, and an encoded second suffix, the first binary data including (i) the first flag which indicates whether or not the horizontal component is 0 and which is to be encoded by performing context adaptive binary arithmetic coding in which a variable probability is used, (ii) the first prefix which is to be encoded by performing the context adaptive binary arithmetic coding and which is different from the first flag, and (iii) the first suffix which is to be encoded by performing bypass coding in which a fixed probability is used, and the second binary data including (i) the second flag which indicates whether or not the vertical component is 0 and which is to be encoded by performing the context adaptive binary arithmetic coding, (ii) the second prefix which is to be encoded by performing the context adaptive binary arithmetic coding and which is different from the second flag, and (iii) the second suffix which is to be encoded by performing the bypass coding; and arranging the encoded first flag, the encoded second flag, the encoded first prefix, the encoded second prefix, the encoded first suffix, and the encoded second suffix in the bitstream, in this order.