Opened 4 years ago

Closed 4 years ago

#1145 closed defect (fixed)

Picture buffer padding with ref_wraparound and multiple subpictures

Reported by: wzeng Owned by:
Priority: minor Milestone:
Component: VTM Version:
Keywords: Cc: dr.hendry@…, seethal.paluri@…, ksuehring, XiangLi, fbossen, jvet@…


JVET-R0184 was adopted to enable ref wraparound and subpictures with the constraint that all subpictures width shall be the same as picture width.

In case of ref wraparound enabled, the reference picture buffer with type PIC_RECON_WRAP will be used for inter prediction.

However, in VTM9.1, the functions handling subpictures (Picture::saveSubPicBorder, Picture::extendSubPicBorder and Picture::restoreSubPicBorder) only considered picture buffer with type PIC_RECONSTRUCTION.
This will potentially cause wrong reference data is fetched when both ref_wraparound and subpics are enabled. Specifically, when subpic_treated_as_pic_flag=1, the reference data pointing to outside of top or bottom subpic boundary will be fetched incorrectly.

A possible fix is attached.

Attachments (1)

fix_refwrap_subpic.diff (9.8 KB) - added by wzeng 4 years ago.

Download all attachments as: .zip

Change history (3)

Changed 4 years ago by wzeng

comment:2 Changed 4 years ago by ksuehring

  • Resolution set to fixed
  • Status changed from new to closed

The MR was merged.

Note: See TracTickets for help on using tickets.