diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2019-11-17 17:32:09 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2022-01-08 01:04:24 +0300 |
commit | 068697556fc784e088b351f56df26fab04d503c2 (patch) | |
tree | 1eedf215ada4965bef7649a64f3061a245725599 /include | |
parent | 36beb8185dd9de5450c9a4cbcd0d969901a6b0cc (diff) |
Add interface to output invisible (alt-ref) frames
Addresses part of #310.
Diffstat (limited to 'include')
-rw-r--r-- | include/dav1d/dav1d.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/dav1d/dav1d.h b/include/dav1d/dav1d.h index 105578f..b7a79f7 100644 --- a/include/dav1d/dav1d.h +++ b/include/dav1d/dav1d.h @@ -70,7 +70,11 @@ typedef struct Dav1dSettings { int strict_std_compliance; ///< whether to abort decoding on standard compliance violations ///< that don't affect actual bitstream decoding (e.g. inconsistent ///< or invalid metadata) - uint8_t reserved[28]; ///< reserved for future use + int output_invisible_frames; ///< output invisibly coded frames (in coding order) in addition + ///< to all visible frames. Because of show-existing-frame, this + ///< means some frames may appear twice (once when coded, + ///< once when shown) + uint8_t reserved[24]; ///< reserved for future use } Dav1dSettings; /** |