diff options
author | wm4 <wm4@nowhere> | 2020-05-09 18:00:27 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-05-09 18:02:57 +0200 |
commit | 9190b3c4694d9fbbe23429a0402a3a236d16e4fb (patch) | |
tree | 5ba38ecc27ffd05155cb45d6117981c6133d73cc /video/repack.h | |
parent | bf19f34960ef1664ef8da614aa1b034003fcbc0f (diff) | |
download | mpv-9190b3c4694d9fbbe23429a0402a3a236d16e4fb.tar.bz2 mpv-9190b3c4694d9fbbe23429a0402a3a236d16e4fb.tar.xz |
repack: add support for converting from/to float formats
Will be needed by draw_bmp.c. The tests cross-check this with zimg to
control whether we're getting it right.
Diffstat (limited to 'video/repack.h')
-rw-r--r-- | video/repack.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/repack.h b/video/repack.h index fa81ca9df2..7afe7ed845 100644 --- a/video/repack.h +++ b/video/repack.h @@ -10,6 +10,10 @@ enum { // Expand some (not all) low bit depth fringe formats to 8 bit on unpack. REPACK_CREATE_EXPAND_8BIT = (1 << 1), + + // For mp_repack_create_planar(). If specified, the planar format uses a + // float 32 bit sample format. No range expansion is done. + REPACK_CREATE_PLANAR_F32 = (1 << 2), }; struct mp_repack; |