diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2014-12-19 19:15:08 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-12-25 20:47:49 +0100 |
commit | 6c99c92a42add7f6a462114d5a4a53c93c551058 (patch) | |
tree | e78b18ab5deaa8d09c22ba14ba177e8d7c64fecd /libavcodec/avcodec.h | |
parent | 57b6704ecd0f56d6a3092e448687cfd837bb0ac1 (diff) | |
download | ffmpeg-6c99c92a42add7f6a462114d5a4a53c93c551058.tar.gz |
libavcodec: add AV_HWACCEL_ALLOW_HIGH_DEPTH flag
This can be used by the application to signal its ability to cope with
video surface of types other than 8-bits YUV 4:2:0.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index c998ee41c2..8a008c97c0 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3052,6 +3052,12 @@ typedef struct AVHWAccel { #define AV_HWACCEL_FLAG_IGNORE_LEVEL (1 << 0) /** + * Hardware acceleration can output YUV pixel formats with a different chroma + * sampling than 4:2:0 and/or other than 8 bits per component. + */ +#define AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH (1 << 1) + +/** * @} */ |