“wpredp”参数在 x264(或 FFmpeg)中有什么作用?

What does ' wpredp' parameter do in x264 (or FFmpeg)?

我不明白 'wpredp' 是做什么的?我试图找到 'wpredp' 参数的描述,但没有成功。有人可以解释一下它的作用吗?

--weightb (x264)

-flags2 +wpred (FFmpeg)

This allows B-frames to use weighted prediction options other than the default. There is no real speed cost for this, so it should always be enabled.

来源:https://sites.google.com/site/linuxencoding/x264-ffmpeg-mapping

同理,wpredp适用于P帧

Weighted prediction allows an encoder to specify the use of a scaling and offset, when performing motion compensation, and providing a significant benefit in performance in special case, such as fade-to-black, fade-in and cross-fade transitions. This includes implicit weighted prediction for B-frames, and explicit weighted prediction for P-frames.

资料来源:Marios C. Angelides、Harry Agius - MPEG 应用手册:实践标准