]> git.sesse.net Git - ffmpeg/commit
vp9: enable multi-thread decoding when refreshctx is equal to 0
authorDi Wu <di1028.wu@samsung.com>
Sat, 11 Oct 2014 17:20:18 +0000 (01:20 +0800)
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Fri, 10 Oct 2014 12:13:44 +0000 (09:13 -0300)
commit162b5211080b187fc8a2e8393b7fa07207c1611e
tree640cf2782186eaa497a332d1bb567fda290ab44c
parentc5ca76ad3b50e0cee1ebacb09e2c030e2c38f8dd
vp9: enable multi-thread decoding when refreshctx is equal to 0

In vp9_decode_frame function, ff_thread_finish_setup is not called
when refreshctx is equal to 0, and the next decoding thread can not
start work until the cunrrent frame has been decoded completely. So
ff_thread_finish_setup needs to be called to enable Multi-thread
decoding in this condition.

Signed-off-by: Di Wu <di1028.wu@samsung.com>
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
libavcodec/vp9.c