On Tue, Mar 07, 2017 at 06:39:35AM +0000, Konda Raju wrote:
> From 45fe0b3a56e82ad745b4cd81f4ab206c5c2983b8 Mon Sep 17 00:00:00 2001
> From: Konda Raju <[email protected]>
> Date: Tue, 7 Mar 2017 12:02:14 +0530
> Subject: [PATCH] add initial QP value options
> 
> --- a/libavcodec/nvenc_h264.c
> +++ b/libavcodec/nvenc_h264.c
> @@ -89,6 +89,9 @@ static const AVOption options[] = {
> +    { "init_qpP", "Initial QP value for P frame",         OFFSET(init_qp_p), 
>   AV_OPT_TYPE_INT,    { .i64 = -1 }, -1, 51, VE },
> +    { "init_qpB", "Initial QP value for B frame",         OFFSET(init_qp_b), 
>   AV_OPT_TYPE_INT,    { .i64 = -1 }, -1, 51, VE },
> +    { "init_qpI", "Initial QP value for I frame",         OFFSET(init_qp_i), 
>   AV_OPT_TYPE_INT,    { .i64 = -1 }, -1, 51, VE },
>  
> --- a/libavcodec/nvenc_hevc.c
> +++ b/libavcodec/nvenc_hevc.c
> @@ -87,6 +87,9 @@ static const AVOption options[] = {
> +    { "init_qpP", "Initial QP value for P frame",         OFFSET(init_qp_p), 
>   AV_OPT_TYPE_INT,    { .i64 = -1 }, -1, 51, VE },
> +    { "init_qpB", "Initial QP value for B frame",         OFFSET(init_qp_b), 
>   AV_OPT_TYPE_INT,    { .i64 = -1 }, -1, 51, VE },
> +    { "init_qpI", "Initial QP value for I frame",         OFFSET(init_qp_i), 
>   AV_OPT_TYPE_INT,    { .i64 = -1 }, -1, 51, VE },

I meant "I-frame", "P-frame", "B-frame" here, notice the hyphen.

Will fix before pushing.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to