| CPC H04N 19/105 (2014.11) [H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/70 (2014.11)] | 15 Claims |

|
1. A method for decoding a current prediction block within a current coding block of a video stream, the method comprising:
determining whether the current prediction block is associated with an inter prediction mode;
deriving a first parameter representing whether the current prediction block shares inter prediction reference frames with spatially neighboring prediction blocks of the current coding block when the current prediction block is associated with the inter prediction mode, the first parameter being a 3-value quantity denoted by “nearest_match” and being derived as a sum of a first binary value and a second binary value respectively indicating whether any one of a set of spatially neighboring prediction blocks immediately above and to the immediate left of the current coding block in a predetermined set of neighboring positions relative to the current coding block is associated with a reference frame matching that of the current prediction block;
deriving a second parameter associated with utilization of motion vector prediction in the spatially neighboring prediction blocks of the current coding block, the second parameter being denoted by “newmv_count” and being derived and indicating a number of prediction blocks among the set of spatially neighboring prediction blocks having at least one motion vector that is predicted by a reference motion vector; and
selecting coding contexts for at least one syntax associated with the inter prediction mode of the current prediction block according to the first parameter and the second parameter and independent of any temporary motion vector predictors of the current prediction block.
|