diff options
author | wm4 <wm4@nowhere> | 2020-04-24 14:41:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-04-24 14:41:50 +0200 |
commit | 71295fb872ba6593c8591cff7398498e05afb298 (patch) | |
tree | d205cb839328edbc2ce87609ca8fa7f244c8d3b9 /video/mp_image.h | |
parent | 8909bf3317b26f35265efa7dae534f430c636bb3 (diff) | |
download | mpv-71295fb872ba6593c8591cff7398498e05afb298.tar.bz2 mpv-71295fb872ba6593c8591cff7398498e05afb298.tar.xz |
video: add alpha type metadata
This is mostly for testing. It adds passing through the metadata through
the video chain. The metadata can be manipulated with vf_format. Support
for zimg alpha conversion (if built with zimg after it gained alpha
support) is implemented. Support premultiplied input in vo_gpu.
Some things still seem to be buggy.
Diffstat (limited to 'video/mp_image.h')
-rw-r--r-- | video/mp_image.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/mp_image.h b/video/mp_image.h index 16bae6e7d9..e51022dd5c 100644 --- a/video/mp_image.h +++ b/video/mp_image.h @@ -51,6 +51,7 @@ struct mp_image_params { // The image should be rotated clockwise (0-359 degrees). int rotate; enum mp_stereo3d_mode stereo3d; // image is encoded with this mode + enum mp_alpha_type alpha; // usually auto; only set if explicitly known }; /* Memory management: |