f84dfbc avcodec/nvenc: add rate control option
libavcodec/nvenc.c | 278 ++++++++++++++++++++++++++---------------------
libavcodec/nvenc.h | 1 +
libavcodec/nvenc_h264.c | 8 ++
libavcodec/nvenc_hevc.c | 8 ++
4 files changed, 174 insertions(+), 121 deletions(-)