diff options
author | Jim Bankoski <jimbankoski@google.com> | 2016-07-21 09:20:10 -0700 |
---|---|---|
committer | James Bankoski <jimbankoski@google.com> | 2016-07-23 00:50:55 +0000 |
commit | 0fff2fb34c7924aa59322518db41ee1953d813f9 (patch) | |
tree | fee030bb3663263e75a9cb3ffab9b81523c56fe2 /vp8/decoder/onyxd_if.c | |
parent | 930773a1ede62d8b29ab2f66361e6e59b11ea6b9 (diff) | |
download | libvpx-0fff2fb34c7924aa59322518db41ee1953d813f9.tar libvpx-0fff2fb34c7924aa59322518db41ee1953d813f9.tar.gz libvpx-0fff2fb34c7924aa59322518db41ee1953d813f9.tar.bz2 libvpx-0fff2fb34c7924aa59322518db41ee1953d813f9.zip |
vp8:fix threading issues
1 - stops de allocating before threads are closed.
2 - limits threads to mb_rows when mb_rows < partitions
BUG=webm:851
Change-Id: I7ead53e80cc0f8c2e4c1c53506eff8431de2a37e
Diffstat (limited to 'vp8/decoder/onyxd_if.c')
-rw-r--r-- | vp8/decoder/onyxd_if.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vp8/decoder/onyxd_if.c b/vp8/decoder/onyxd_if.c index 62b4cb0a5..dff53dc17 100644 --- a/vp8/decoder/onyxd_if.c +++ b/vp8/decoder/onyxd_if.c @@ -331,7 +331,6 @@ int vp8dx_receive_compressed_data(VP8D_COMP *pbi, size_t size, if (cm->fb_idx_ref_cnt[cm->new_fb_idx] > 0) { cm->fb_idx_ref_cnt[cm->new_fb_idx]--; } - goto decode_exit; } @@ -464,9 +463,6 @@ int vp8_remove_decoder_instances(struct frame_buffers *fb) { if (!pbi) return VPX_CODEC_ERROR; #if CONFIG_MULTITHREAD - if (pbi->b_multithreaded_rd) { - vp8mt_de_alloc_temp_buffers(pbi, pbi->common.mb_rows); - } vp8_decoder_remove_threads(pbi); #endif |