Open GoogleCodeExporter opened 9 years ago
> I think the threading abstraction is too light in vp8.
True. It should be considered legacy at this point.
> I see that there is a
> slightly more substantial one in vp9 but it makes the same mistake to try to
> convert non-pthreads into pthreads leaving no room for abstraction of the
> attrs making it impossible to properly have abstraction of stack size and
> other params.
Note vp9_set_worker_interface() [1] allows you to override the thread worker
implementation.
[1]
https://gerrit.chromium.org/gerrit/gitweb?p=webm/libvpx.git;a=blob;f=vp9/common/
vp9_thread.h;h=12848fedeff0624b91b81a489f7bfcec31492829;hb=5c78c2f19eec4eb78d866
79b996231218f551022#l212
Original comment by jz...@google.com
on 24 Mar 2015 at 9:43
I understand that its more important to focus on vp9 but for a long time going
forward the current master of vp8 will probably end up into distros and
imprinted for years with the performance issues.
So is it worth trying to improve so we will not have to urge people using these
platforms to build their own version to overcome these issues?
Also is it worth making the default vp9 try to use smaller stack size? at
least we can override it so I am least worried about that.
Original comment by anthony....@gmail.com
on 24 Mar 2015 at 9:52
I didn't mean to discount the other points, yes this should be looked at; I was
just pointing out that there were other options in the meantime.
Ideally vp8/9 would share the same threading code making any updates simpler.
Original comment by jz...@google.com
on 24 Mar 2015 at 9:56
Original comment by ya...@google.com
on 2 Apr 2015 at 9:41
Original comment by jimbankoski@google.com
on 8 May 2015 at 1:31
Original issue reported on code.google.com by
anthony....@gmail.com
on 24 Mar 2015 at 8:29Attachments: