]> granicus.if.org Git - libvpx/commit
Adjust MAXRATE_1080P.
authorpaulwilkins <paulwilkins@google.com>
Wed, 7 Feb 2018 15:05:20 +0000 (15:05 +0000)
committerpaulwilkins <paulwilkins@google.com>
Thu, 8 Feb 2018 12:31:09 +0000 (12:31 +0000)
commitb78dad3ffad819cb79f0430ed5dc176656110b34
treeadd73d8e0ca40458cdf874621fb8c87fe9b07e20
parent1acc25f11b74a95217597fc4974047982054346c
Adjust MAXRATE_1080P.

This value was originally set in response to requests from the hardware
team before levels were properly defined for VP9.

Even if a level is not specified for an encode, it imposes a maximum
frame size for videos of dimensions <= 1080P.  For larger formats the
limit was set at 250 bits per MB.

This patch modifies the limit to be more in line with the requirements
specified for level 4 (max rate for a 4 frame group of 16 Mbits).  If a lower
level is specified at encode time and this mandates a smaller maximum frame
size then the level requirement will still take precedence.

Increasing this value allows for some slide shows or very low motion clips
to code a better quality key frame.

Change-Id: Ic08e0e09c8a918077152190c59732b9a1c049787
vp9/encoder/vp9_ratectrl.c