Claims (6)
1. Способ предсказания текущего блока изображения двунаправленного предсказания в текущем кадре, содержащий1. A method for predicting the current block image bi-directional prediction in the current frame, containing
вычисление векторов движения вперед и назад блока двунаправленного предсказания путем масштабирования вектора движения смещенного блока в последующем опорном кадре;calculating the forward and backward motion vectors of the bidirectional prediction block by scaling the motion vector of the displaced block in a subsequent reference frame;
получение предыдущего и последующего блоков с использованием, соответственно, векторов движения вперед и назад; иobtaining the previous and subsequent blocks using, respectively, the forward and reverse motion vectors; and
предсказание блока изображения двунаправленного предсказания из комбинации предыдущего и последующего блоков,prediction of a bi-directional prediction image block from a combination of the previous and subsequent blocks,
при этом комбинация включает первый и второй коэффициенты для соответствующих предыдущего и последующего блоков и первый и второй коэффициенты зависят от информации о порядке отображения для текущего кадра и опорного кадра.the combination includes the first and second coefficients for the corresponding previous and subsequent blocks and the first and second coefficients depend on information about the display order for the current frame and the reference frame.
2. Способ по п.1, в котором первый и второй коэффициенты зависят от разности в информации о порядке отображения между текущим кадром и опорным кадром.2. The method according to claim 1, in which the first and second coefficients depend on the difference in information about the display order between the current frame and the reference frame.
3. Способ по п.2, в котором каждая информация о порядке отображения представляется в виде значения порядкового номера кадра.3. The method according to claim 2, in which each information about the display order is presented in the form of a sequence number of the frame.
4. Способ по п.2, в котором опорный кадр является предыдущим опорным кадром или последующим опорным кадром.4. The method according to claim 2, in which the reference frame is a previous reference frame or a subsequent reference frame.
5. Способ по п.1, в котором информация о порядке отображения представляется в виде значения порядкового номера кадра.5. The method according to claim 1, in which information about the display order is presented in the form of a sequence number of the frame.
6. Способ по п.1, в котором на операции предсказания предсказывают блок изображения двунаправленного предсказания при работе декодера в режиме прямого предсказания.6. The method according to claim 1, wherein the prediction operation predicts a bidirectional prediction image block when the decoder is in direct prediction mode.