summaryrefslogtreecommitdiff
path: root/doc/encoders.texi
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-12-20 20:39:56 +0000
committerMark Thompson <sw@jkqxz.net>2019-01-23 23:04:11 +0000
commit5fdcf85bbffe7451c227478fda62da5c0938f27d (patch)
treee780fe3a5b8289e4c0cd8fe9700583452e8a06c0 /doc/encoders.texi
parent26ce3a43a35fe3a43c895945252aa22c6b46ffb7 (diff)
vaapi_encode: Convert to send/receive API
This attaches the logic of picking the mode of for the next picture to the output, which simplifies some choices by removing the concept of the picture for which input is not yet available. At the same time, we allow more complex reference structures and track more reference metadata (particularly the contents of the DPB) for use in the codec-specific code. It also adds flags to explicitly track the available features of the different codecs. The new structure also allows open-GOP support, so that is now available for codecs which can do it.
Diffstat (limited to 'doc/encoders.texi')
-rw-r--r--doc/encoders.texi19
1 files changed, 14 insertions, 5 deletions
diff --git a/doc/encoders.texi b/doc/encoders.texi
index 0a85c191e3..e86ae69cc5 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -2807,15 +2807,24 @@ Size / quality tradeoff: higher values are smaller / worse quality.
@end itemize
All encoders support the following options:
-@itemize
-@item
-@option{low_power}
-
+@table @option
+@item low_power
Some drivers/platforms offer a second encoder for some codecs intended to use
less power than the default encoder; setting this option will attempt to use
that encoder. Note that it may support a reduced feature set, so some other
options may not be available in this mode.
-@end itemize
+
+@item idr_interval
+Set the number of normal intra frames between full-refresh (IDR) frames in
+open-GOP mode. The intra frames are still IRAPs, but will not include global
+headers and may have non-decodable leading pictures.
+
+@item b_depth
+Set the B-frame reference depth. When set to one (the default), all B-frames
+will refer only to P- or I-frames. When set to greater values multiple layers
+of B-frames will be present, frames in each layer only referring to frames in
+higher layers.
+@end table
Each encoder also has its own specific options:
@table @option