]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/nvenc_hevc: add spatial-aq and temporal-aq option to consistent with nvenc_h264
authorLimin Wang <lance.lmwang@gmail.com>
Wed, 15 Apr 2020 02:09:01 +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_hevc.c

index 89919b162c2c2b5650862cc148b4f94b88ec30dd..7f12b56a4618dce8ee2dd8a60defb761bc994087 100644 (file)
@@ -96,7 +96,9 @@ static const AVOption options[] = {
     { "forced-idr",   "If forcing keyframes, force them as IDR frames.",
                                                             OFFSET(forced_idr),   AV_OPT_TYPE_BOOL,  { .i64 = 0 }, -1, 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",