]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/nvenc_h264: add spatial_aq and temporal_aq option to consistent with nvenc_hevc
authorLimin Wang <lance.lmwang@gmail.com>
Wed, 15 Apr 2020 02:09:00 +0000 (10:09 +0800)
committerLimin Wang <lance.lmwang@gmail.com>
Sat, 2 May 2020 21:28:33 +0000 (05:28 +0800)
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
libavcodec/nvenc_h264.c

index bac45ac8ee316a8c1d2000c891cf8e858e2c575d..c877cf4a303e6206d7ee443edde916668e8ec49c 100644 (file)
@@ -99,7 +99,9 @@ static const AVOption options[] = {
     { "b_adapt",      "When lookahead is enabled, set this to 0 to disable adaptive B-frame decision",
                                                             OFFSET(b_adapt),      AV_OPT_TYPE_BOOL,  { .i64 = 1 }, 0,  1, VE },
     { "spatial-aq",   "set to 1 to enable Spatial AQ",      OFFSET(aq),           AV_OPT_TYPE_BOOL,  { .i64 = 0 }, 0,  1, VE },
+    { "spatial_aq",   "set to 1 to enable Spatial AQ",      OFFSET(aq),           AV_OPT_TYPE_BOOL,  { .i64 = 0 }, 0,  1, VE },
     { "temporal-aq",  "set to 1 to enable Temporal AQ",     OFFSET(temporal_aq),  AV_OPT_TYPE_BOOL,  { .i64 = 0 }, 0,  1, VE },
+    { "temporal_aq",  "set to 1 to enable Temporal AQ",     OFFSET(temporal_aq),  AV_OPT_TYPE_BOOL,  { .i64 = 0 }, 0,  1, VE },
     { "zerolatency",  "Set 1 to indicate zero latency operation (no reordering delay)",
                                                             OFFSET(zerolatency),  AV_OPT_TYPE_BOOL,  { .i64 = 0 }, 0,  1, VE },
     { "nonref_p",     "Set this to 1 to enable automatic insertion of non-reference P-frames",