摘要:
An image coding method includes coding a motion vector difference indicating a difference between the motion vector and a predicted motion vector, wherein the coding includes: coding a first portion that is a part of a first component which is one of a horizontal component and a vertical component of the motion vector difference; coding a second portion that is a part of a second component which is different from the first component and is the other one of the horizontal component and the vertical component; coding a third portion that is a part of the first component and is different from the first portion; coding a fourth portion that is a part of the second component and is different from the second portion; and generating a code string which includes the first portion, the second portion, the third portion, and the fourth portion in the stated order.
摘要:
The image decoding method includes: determining a context for use in a current block to be processed, from among a plurality of contexts; and performing arithmetic decoding on a bit sequence corresponding to the current block, using the determined context, wherein in the determining: the context is determined under a condition that control parameters of neighboring blocks of the current block are used, when the signal type is a first type, the neighboring blocks being a left block and an upper block of the current block; and the context is determined under a condition that the control parameter of the upper block is not used, when the signal type is a second type, and the second type is one of “cbf_luma”, “cbf_cb”, and “cbf_cr”.
摘要:
An image coding method for coding an image on a block-by-block basis to generate a bitstream includes: deriving, as a first merging candidate, a merging candidate which is a combination of a prediction direction, a motion vector, and a reference picture index for use in coding of the current block; deriving, as a second merging candidate, a merging candidate having a motion vector which is a predetermined vector; selecting a merging candidate to be used for the coding of the current block from the derived first merging candidate and the derived second merging candidate; and attaching an index for identifying the selected merging candidate to the bitstream.
摘要:
A moving picture coding method for calculating a motion vector predictor to be used when coding a motion vector of a current block, and coding the current block includes: (S102) obtaining motion vector predictor candidates a fixed number of which is two or more; (S103) selecting the motion vector predictor to be used for coding the motion vector of the current block, from among the motion vector predictor candidates the fixed number of which is two or more; and (S104) coding an index for identifying the selected motion vector predictor according to the fixed number of two or more, wherein the motion vector predictor candidates the fixed number of which is two or more include one or more candidates each having a predetermined second fixed value.
摘要:
An image coding method includes: (i) determining, for each of one or more associated blocks, whether to add a motion vector of the associated block to a list, and (ii) adding the motion vector of the associated block to the list when determining that the motion vector of the associated block is to be added to the list; selecting a motion vector from the list as a motion vector predictor; and (i) coding a current block using a motion vector of the current block, and (ii) coding a difference between the motion vector of the current block and the motion vector predictor, and in the determining, it is determined that the motion vector of the associated block is not to be added to the list when an associated picture and an associated reference picture match temporally or when a current picture and a current reference picture match temporally.
摘要:
A moving picture coding apparatus includes: a motion vector predictor candidate calculation unit which calculates motion vector predictor candidates and the number of motion vector predictor candidates; an inter prediction control unit which selects an optimum motion vector predictor candidate; and a variable length coding unit which sets the motion vector predictor candidate list size to the number of motion vector predictor candidates, and assigns a bit string according to the motion vector predictor candidate list size to a motion vector predictor index used for coding a motion vector, thereby performing variable length coding.
摘要:
An image coding method bitstream includes: determining a maximum number of a merging candidate which is a combination of a prediction direction, a motion vector, and a reference picture index for use in coding of a current block; deriving a first merging candidate; determining whether or not a total number of the first merging candidate is smaller than the maximum number; deriving a second merging candidate when it is determined that the total number of the first merging candidate is smaller than the maximum number; selecting a merging candidate for use in the coding of the current block from the first merging candidate and the second merging candidate; and coding, using the maximum number, an index for identifying the selected merging candidate, and attaching the coded index to the bitstream.
摘要:
An image coding method includes coding a motion vector difference indicating a difference between the motion vector and a predicted motion vector, wherein the coding includes: coding a first portion that is a part of a first component which is one of a horizontal component and a vertical component of the motion vector difference; coding a second portion that is a part of a second component which is different from the first component and is the other one of the horizontal component and the vertical component; coding a third portion that is a part of the first component and is different from the first portion; coding a fourth portion that is a part of the second component and is different from the second portion; and generating a code string which includes the first portion, the second portion, the third portion, and the fourth portion in the stated order.
摘要:
An image coding method includes coding first binary data indicating a first intra prediction mode and second binary data indicating a second intra prediction mode, wherein in the coding, a first context adaptive portion which is part of the first binary data and a second context adaptive portion which is part of the second binary data are coded by context adaptive binary arithmetic coding, a first bypass portion which is different part of the first binary data and a second bypass portion which is different part of the second binary data are coded by bypass coding, and coded data is generated which includes the first context adaptive portion, the second context adaptive portion, the first bypass portion, and the second bypass portion, the first bypass portion and the second bypass portion being included subsequent to the first context adaptive portion and the second context adaptive portion.
摘要:
The image decoding method includes: determining a context for use in a current block to be processed, from among a plurality of contexts; and performing arithmetic decoding on a bit sequence corresponding to the current block, using the determined context, wherein in the determining: the context is determined under a condition that control parameters of neighboring blocks of the current block are used, when the signal type is a first type, the neighboring blocks being a left block and an upper block of the current block; and the context is determined under a condition that the control parameter of the upper block is not used, when the signal type is a second type, and the second type is (i) “merge_flag”, (ii) “ref_idx_l0” or “ref_idx_l1”, (iii) “inter_pred_flag”, (iv) “mvd_l0” or “mvd_l1”, (v) “no_residual_data_flag”, (vi) “intra_chroma_pred_mode”, (vii) “cbf_luma”, and (viii) “cbf_cb” or “cbf_cr”.