GNOME Bugzilla – Bug 768827
encoder: h264: Too many references given in pic_params for P-frames.
Last modified: 2016-07-22 09:26:59 UTC
The pic_param's ReferenceFrames is populated with the whole reference pool for a picture which may have references that are not included in the actual slice's reference list (P-slices for instance). It sort of looks like the driver might then do motion estimation in this situation with the invalid provided reference picture, but I'm not able to craft a video where that happens so maybe not.
Created attachment 331554 [details] [review] [PATCH] encoder: h264: Set pic_param ReferenceFrames from slice reflists
Review of attachment 331554 [details] [review]: No, this is wrong. VAEncPictureParameterBufferH264->ReferenceFrames should contain all frames existing in dpb. I still suspect driver is giving unnecessary warning here, thinking pic_param->ref pic order should be align with slice_header.
Removing the unnecessary warning in driver: https://lists.freedesktop.org/archives/libva/2016-July/004184.html
Pushed the diver patch, Closing this bug as invalid.