diff options
author | Ronald S. Bultje <rbultje@google.com> | 2011-04-20 14:14:42 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-04-21 19:42:19 -0400 |
commit | 94f7451a3a5ad61cd49da0aa9f08cefe75482007 (patch) | |
tree | dde7d51bb68563d316ca285e19bd68fa326e925a /libavcodec/avcodec.h | |
parent | 3283f274fdbef16d13df06661cec601e1bc01aab (diff) | |
download | ffmpeg-94f7451a3a5ad61cd49da0aa9f08cefe75482007.tar.gz |
Introduce slice threads flag.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 7727ad08bf..d1377ca0f8 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -676,6 +676,10 @@ typedef struct RcOverride{ * Codec supports frame-level multithreading. */ #define CODEC_CAP_FRAME_THREADS 0x1000 +/** + * Codec supports slice-based (or partition-based) multithreading. + */ +#define CODEC_CAP_SLICE_THREADS 0x2000 //The following defines may change, don't expect compatibility if you use them. #define MB_TYPE_INTRA4x4 0x0001 |