st/va encode handle ntsc framerate rate control
authorAndy Furniss <adf.lists@gmail.com>
Sun, 29 Jan 2017 14:22:31 +0000 (14:22 +0000)
committerChristian König <christian.koenig@amd.com>
Mon, 6 Mar 2017 13:04:24 +0000 (14:04 +0100)
commit012b6d3fe7937d1624f906351b2ba555d9e7e112
tree79f75666bc9256a61cdda06a6b8feb7293f13c67
parentf3dc318464b786c2696e650e7c69984b5453624b
st/va encode handle ntsc framerate rate control

Tested with ffmpeg and gst-vaapi. Without this bits per
frame is set way too low for fractional framerates.

v2: Mark Thompson: simplify calculation.
    Use float.

Signed-off-by: Andy Furniss <adf.lists@gmail.com>
Acked-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/picture.c