diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-28 11:21:59 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-08-30 13:55:55 +0200 |
commit | a2318326f13f0e86c6d7222ec15659d2fa7d666f (patch) | |
tree | ad8cf01f8edeea9261296f3934f0e7697c80bffa /libavcodec/avcodec.h | |
parent | 8db73c61a7b24bc4f4d3d415bea2990d17d16354 (diff) | |
download | ffmpeg-a2318326f13f0e86c6d7222ec15659d2fa7d666f.tar.gz |
lavc: add lossy/lossless codec properties.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 07d75c2692..742a2a39cb 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -467,6 +467,16 @@ typedef struct AVCodecDescriptor { * Video codecs only. */ #define AV_CODEC_PROP_INTRA_ONLY (1 << 0) +/** + * Codec supports lossy compression. Audio and video codecs only. + * @note a codec may support both lossy and lossless + * compression modes + */ +#define AV_CODEC_PROP_LOSSY (1 << 1) +/** + * Codec supports lossless compression. Audio and video codecs only. + */ +#define AV_CODEC_PROP_LOSSLESS (1 << 2) #if FF_API_OLD_DECODE_AUDIO /* in bytes */ |