summaryrefslogtreecommitdiff
path: root/vp9/decoder/vp9_decoder.h
diff options
context:
space:
mode:
authorVenkatarama NG. Avadhani <venkatarama.avadhani@ittiam.com>2018-07-05 13:49:04 +0530
committerHarish Mahendrakar <harish.mahendrakar@ittiam.com>2018-07-20 18:18:29 +0000
commit37dc76657040eab5c1024995480a39f3716d26c7 (patch)
treeeac769a1033a971824d2de400cb5118592b61224 /vp9/decoder/vp9_decoder.h
parente09e99aa14f10956ea3846982c5c815a18d5863e (diff)
downloadlibvpx-37dc76657040eab5c1024995480a39f3716d26c7.tar
libvpx-37dc76657040eab5c1024995480a39f3716d26c7.tar.gz
libvpx-37dc76657040eab5c1024995480a39f3716d26c7.tar.bz2
libvpx-37dc76657040eab5c1024995480a39f3716d26c7.zip
Add Flag to Enable Row Based MultiThreading
This commit adds a command line argument "--row-mt". Passing "--row-mt=1" will set the row_mt flag in the decoder context. This flag will be used to determine whether row-wise multi-threading path is to be taken when the row-wise multi-threading functions are added. Change-Id: I35a5393a2720254437daa5e796630709049e0bc2
Diffstat (limited to 'vp9/decoder/vp9_decoder.h')
-rw-r--r--vp9/decoder/vp9_decoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/decoder/vp9_decoder.h b/vp9/decoder/vp9_decoder.h
index 4b26c314d..5f22c00cb 100644
--- a/vp9/decoder/vp9_decoder.h
+++ b/vp9/decoder/vp9_decoder.h
@@ -72,6 +72,8 @@ typedef struct VP9Decoder {
int inv_tile_order;
int need_resync; // wait for key/intra-only frame.
int hold_ref_buf; // hold the reference buffer.
+
+ int row_mt;
} VP9Decoder;
int vp9_receive_compressed_data(struct VP9Decoder *pbi, size_t size,