summaryrefslogtreecommitdiff
path: root/vpx/vpx_decoder.h
diff options
context:
space:
mode:
authorScott LaVarnway <slavarnway@google.com>2012-10-03 10:07:13 -0700
committerScott LaVarnway <slavarnway@google.com>2013-01-30 10:27:26 -0800
commit75f647fe8a35ef59b7924a5f6f8af5c49e205ed1 (patch)
treeb6160b4b548259628dfd16d4803fd1b7fd1adcd0 /vpx/vpx_decoder.h
parent8b22a9d377890f1ccf4e5729dfdaa1dde74e3cff (diff)
downloadlibvpx-75f647fe8a35ef59b7924a5f6f8af5c49e205ed1.tar
libvpx-75f647fe8a35ef59b7924a5f6f8af5c49e205ed1.tar.gz
libvpx-75f647fe8a35ef59b7924a5f6f8af5c49e205ed1.tar.bz2
libvpx-75f647fe8a35ef59b7924a5f6f8af5c49e205ed1.zip
WIP: Multiple decoder instances support
Started adding support for multiple internal decoder instances. Also added code to limit the vp8 config options available when using frame-based multithreading. Change-Id: I0f1ee7abcfcff59204f50162e28254b8dd6972eb
Diffstat (limited to 'vpx/vpx_decoder.h')
-rw-r--r--vpx/vpx_decoder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vpx/vpx_decoder.h b/vpx/vpx_decoder.h
index dbe6aaaaa..e7701e512 100644
--- a/vpx/vpx_decoder.h
+++ b/vpx/vpx_decoder.h
@@ -65,12 +65,17 @@ extern "C" {
*
* The available flags are specified by VPX_CODEC_USE_* defines.
*/
+#define VPX_CODEC_CAP_FRAME_THREADING 0x200000 /**< Can support frame-based
+ multi-threading */
+
#define VPX_CODEC_USE_POSTPROC 0x10000 /**< Postprocess decoded frame */
#define VPX_CODEC_USE_ERROR_CONCEALMENT 0x20000 /**< Conceal errors in decoded
frames */
#define VPX_CODEC_USE_INPUT_FRAGMENTS 0x40000 /**< The input frame should be
passed to the decoder one
fragment at a time */
+#define VPX_CODEC_USE_FRAME_THREADING 0x80000 /**< Enable frame-based
+ multi-threading */
/*!\brief Stream properties
*