Patent ID: 9693059
Date: 2017-06-27
CPC Classifications: H04N

Claim:
1. A moving picture coding and decoding system which includes a coding apparatus for coding a current block of a current field picture in a temporal direct mode using a motion vector of a coded field picture and a decoding apparatus for decoding a current block of a current field picture in a temporal direct mode using a motion vector of a decoded field picture, wherein the coding apparatus comprises: a non-transitory memory storing a program; and a hardware processor that executes the program and causes the coding apparatus to perform as: a first unit operable to obtain a motion vector of a co-located block included in the coded field picture, the coded field picture being located closely in display order to the current field picture in which the current block to be coded is included and the co-located block being co-located with the current block included in the current field picture; a first scaling judgment unit operable to judge that scaling of the motion vector of the co-located block cannot be performed when (i) display order information of the coded field picture that includes the co-located block and (ii) display order information of a reference field picture that is referred to by the co-located block in a coding process of the co-located block, are identical, and operable to judge that the scaling of the motion vector of the co-located block can be performed when (i) the display order information of the coded field picture that includes the co-located block and (ii) the display order information of the reference field picture that is referred to by the co-located block, are not identical, the coded field picture and the reference field picture belonging to the same frame as a top field and a bottom field; a first motion vector generation unit operable to (1) generate two motion vectors of the current block through the scaling when said first scaling judgment unit judges that the scaling can be performed because (i) the display order information of the coded field picture that includes the co-located block and (ii) the display order information of the reference field picture that is referred to by the co-located block, are not identical and (2) generate the two motion vectors of the current block by setting one of the two motion vectors to a zero value and another of the two motion vectors to be a predetermined value without the scaling when said first scaling judgment unit judges that the scaling cannot be performed because (i) display order information of the coded field picture that includes the co-located block and (ii) display order information of a reference field picture that is referred to by the co-located block in a coding process of the co-located block, are identical; and a first motion compensation unit operable to perform motion compensation of the current block using the two motion vectors generated by said first motion vector generation unit, wherein the scaling is performed based on a temporal location relation between the current field picture and the coded field picture and the reference field picture according to the display order information, and wherein the decoding apparatus comprises: a non-transitory memory storing a program; and a hardware processor that executes the program and causes the decoding apparatus to perform as: a second unit operable to obtain a motion vector of a co-located block included in the decoded field picture, the decoded field picture being located closely in display order to the current field picture in which the current block to be decoded is included and the co-located block being co-located with the current block included in the current field picture; a second scaling judgment unit operable to judge that scaling of the motion vector of the co-located block cannot be performed when (i) display order information of the decoded field picture which includes the co-located block and (ii) display order information of a reference field picture which is referred to by the co-located block in a decoding process of the co-located block, are identical, and operable to judge that the scaling of the motion vector of the co-located block can be performed when (i) the display order information of the decoded field picture that includes the co-located block and (ii) the display order information of the reference field picture that is referred to by the co-located block, are not identical, the decoded field picture and the reference field picture belonging to the same frame as a top field and a bottom field; a second motion vector generation unit operable to (1) generate two motion vectors of the current block through the scaling when said second scaling judgment unit judges that the scaling can be performed because (i) the display order information of the decoded field picture that includes the co-located block and (ii) the display order information of the reference field picture that is referred to by the co-located block, are not identical and (2) generate the two motion vectors of the current block by setting one of the two motion vectors to be a zero value and another of the two motion vectors to be a predetermined value without the scaling when said second scaling judgment unit judges that the scaling cannot be performed because (i) display order information of the decoded field picture that includes the co-located block and (ii) display order information of a reference field picture that is referred to by the co-located block in a decoding process of the co-located block, are identical; and a second motion compensation unit operable to perform motion compensation of the current block using the two motion vectors generated by said second motion vector generation unit, wherein the scaling is performed based on a temporal location relation between the current field picture and the decoded field picture and the reference field picture according to the display order information.