[Bug 783804] encoder: h265(HEVC): Add multi reference support

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Aug 11 04:40:32 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=783804

Hyunjun Ko <zzoon at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #356825|0                           |1
        is obsolete|                            |

--- Comment #7 from Hyunjun Ko <zzoon at igalia.com> ---
Created attachment 357377
  --> https://bugzilla.gnome.org/attachment.cgi?id=357377&action=edit
libs: encoder: h265: add multi reference support

This is doing the same as h264 encoder as the following:

Using num_ref_frames provided and the result of the Query
VAConfigAttribEncMaxRefFrames, it determines the size of reference list
and perform encoding with multi reference frames as the following:

1\ The num_ref_frames is being considered as the number of
reference picture list0
2\ Encoder adds 1 reference frame more to the reference picture list1
internally if b-frame encoding.
3\ If num_ref_frames is bigger than the number of refrence frames
supported in the driver, it will be lowered.

Also this patch includes:
- Set num_negative_pics and num_positive_pics according to the number of
refs.
- Set delta_poc according to the number of refs.
- Set num_ref_idx_active_override_flag to TRUE and add
num_ref_idx_l0_active_minus1 and num_ref_idx_l1_active_minus1 to slice.
- Increase max_dec_pic_buffering according to the number of refs
- Change max_num_reorder_pics according to num of bframes
- Change to keep IDR period and keyframe-period equal.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list