summaryrefslogtreecommitdiffstats
path: root/video/mp_image.h
diff options
context:
space:
mode:
authorquietvoid <39477805+quietvoid@users.noreply.github.com>2023-02-13 21:04:04 -0500
committerNiklas Haas <github-daiK1o@haasn.dev>2023-02-19 20:50:37 +0100
commit0d82afbc7f5138735b1010aaa7f050d68537bc86 (patch)
tree45a89fe9b93a4476721dd73fe858c49e36f703f1 /video/mp_image.h
parent2955a0759c6d88780407968f78f4236e65bf96d4 (diff)
downloadmpv-0d82afbc7f5138735b1010aaa7f050d68537bc86.tar.bz2
mpv-0d82afbc7f5138735b1010aaa7f050d68537bc86.tar.xz
mp_image: forward AV_FRAME_DATA_DOVI_RPU_BUFFER side data
When available, and ignored if `vf=format:dolbyvision=no`.
Diffstat (limited to 'video/mp_image.h')
-rw-r--r--video/mp_image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/mp_image.h b/video/mp_image.h
index ac23252fff..98dd666412 100644
--- a/video/mp_image.h
+++ b/video/mp_image.h
@@ -112,6 +112,8 @@ typedef struct mp_image {
struct AVBufferRef *dovi;
// Film grain data, if any
struct AVBufferRef *film_grain;
+ // Dolby Vision RPU buffer, if any
+ struct AVBufferRef *dovi_buf;
// Other side data we don't care about.
struct mp_ff_side_data *ff_side_data;
int num_ff_side_data;