You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: amf/doc/AMF_Video_Encode_AV1_API.md
+58Lines changed: 58 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -597,6 +597,8 @@ This command encodes `400` frames through D3D renderer and creates an output fil
597
597
| TILES_PER_FRAME | amf_int64 |
598
598
| LTR_MODE | amf_int64 |
599
599
| MAX_NUM_REFRAMES | amf_int64 |
600
+
| MAX_CONSECUTIVE_BPICTURES | amf_int64 |
601
+
| ADAPTIVE_MINIGOP | amf_bool |
600
602
| ENCODING_LATENCY_MODE | amf_int64 |
601
603
| FRAMESIZE | AMFSize |
602
604
| ALIGNMENT_MODE | amf_int64 |
@@ -727,6 +729,34 @@ Maximum number of reference frames.
727
729
728
730
---
729
731
732
+
**Name:**
733
+
`AMF_VIDEO_ENCODER_AV1_MAX_CONSECUTIVE_BPICTURES`
734
+
735
+
**Values:**
736
+
`0`...`0` or `127`
737
+
738
+
**Default Value:**
739
+
`0` or `127`
740
+
741
+
**Description:**
742
+
Maximum number of consecutive B Pictures. The default value is determined by `AMF_VIDEO_ENCODER_AV1_CAP_BFRAMES`. If `AMF_VIDEO_ENCODER_AV1_CAP_BFRAMES` is true, the default value is 127; otherwise, it is 0.
743
+
744
+
---
745
+
746
+
**Name:**
747
+
`AMF_VIDEO_ENCODER_AV1_ADAPTIVE_MINIGOP`
748
+
749
+
**Values:**
750
+
`true`, `false`
751
+
752
+
**Default Value:**
753
+
`false`
754
+
755
+
**Description:**
756
+
Disable/Enable Adaptive MiniGOP, can enable with PA enabled.
757
+
758
+
---
759
+
730
760
**Name:**
731
761
`AMF_VIDEO_ENCODER_AV1_ENCODING_LATENCY_MODE`
732
762
@@ -1187,6 +1217,7 @@ Enable high motion quality boost mode to pre-analyze the motion of the video and
1187
1217
| CDEF_MODE | amd_int64 |
1188
1218
| INTRA_REFRESH_MODE | amf_int64 |
1189
1219
| INTRAREFRESH_STRIPES | amf_int64 |
1220
+
| B_PIC_PATTERN | amf_int64 |
1190
1221
1191
1222
<palign="center">
1192
1223
Table 6. Encoder picture-control parameters
@@ -1311,6 +1342,20 @@ Valid only when intra refresh is enabled.
1311
1342
1312
1343
---
1313
1344
1345
+
**Name:**
1346
+
`AMF_VIDEO_ENCODER_AV1_B_PIC_PATTERN`
1347
+
1348
+
**Values:**
1349
+
`0`...`127`
1350
+
1351
+
**Default Value:**
1352
+
`0`
1353
+
1354
+
**Description:**
1355
+
Sets the number of consecutive B-pictures in a GOP. BPicturesPattern = `0` indicates that B-pictures are not used.
#defineAMF_VIDEO_ENCODER_AV1_CAP_MAX_NUM_TEMPORAL_LAYERS L"Av1CapMaxNumTemporalLayers" // amf_int64; default = N/A; The cap of maximum number of temporal layers
357
357
#defineAMF_VIDEO_ENCODER_AV1_CAP_MAX_NUM_LTR_FRAMES L"Av1CapMaxNumLTRFrames" // amf_int64; default = N/A; The cap of maximum number of LTR frames. This value is calculated based on current value of AMF_VIDEO_ENCODER_AV1_MAX_NUM_TEMPORAL_LAYERS.
358
358
#defineAMF_VIDEO_ENCODER_AV1_CAP_SUPPORT_TILE_OUTPUT L"AV1SupportTileOutput" // amf_bool; if tile output is supported
359
+
#defineAMF_VIDEO_ENCODER_AV1_CAP_BFRAMES L"AV1BFrames" // amf_bool; if b frames are supported for AV1
359
360
360
361
#defineAMF_VIDEO_ENCODER_AV1_CAP_SUPPORT_SMART_ACCESS_VIDEO L"Av1EncoderSupportSmartAccessVideo" // amf_bool; returns true if system supports SmartAccess Video
361
362
#defineAMF_VIDEO_ENCODER_AV1_CAP_WIDTH_ALIGNMENT_FACTOR L"Av1WidthAlignmentFactor" // amf_int64; default = 1; The encoder capability for width alignment
362
363
#defineAMF_VIDEO_ENCODER_AV1_CAP_HEIGHT_ALIGNMENT_FACTOR L"Av1HeightAlignmentFactor" // amf_int64; default = 1; The encoder capability for height alignment
363
364
364
365
#defineAMF_VIDEO_ENCODER_AV1_MULTI_HW_INSTANCE_ENCODE L"Av1MultiHwInstanceEncode" // amf_bool; flag to enable AV1 multi VCN encode.
365
366
367
+
// properties for Picture Management (VCN5 feature)
368
+
#defineAMF_VIDEO_ENCODER_AV1_MAX_CONSECUTIVE_BPICTURES L"Av1MaxConsecutiveBPictures" // amf_int64; default 0 or 127, determined by AMF_VIDEO_ENCODER_AV1_CAP_BFRAMES. Maximum number of consecutive B frames for B frame encoding
369
+
#defineAMF_VIDEO_ENCODER_AV1_B_PIC_PATTERN L"Av1BPicturesPattern" // amf_int64; default 0. Number of B frames for B frame encoding
370
+
#defineAMF_VIDEO_ENCODER_AV1_ADAPTIVE_MINIGOP L"Av1AdaptiveMiniGop" // amf_bool; default false. Adaptive miniGOP size for B frame encoding
0 commit comments