diff options
author | Ben Jackson <[email protected]> | 2012-09-15 10:32:43 -0700 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2012-09-15 20:26:47 +0200 |
commit | 39a3894ad50f97592ca68081095c5c2bcbcad841 (patch) | |
tree | fe3f9f40b82d01ac418c41f4797f65343b6d92d8 /mt-work/yuvcmp.c | |
parent | 1c20fcf0b0d30b63c33e4302c3d92b66b1665b33 (diff) |
lavc/vp6: Implement "slice" threading for VP6A decode
The YUV channels of VP6 are encoded in a highly linear fashion which does
not have any slice-like concept to thread. The alpha channel of VP6A is
fairly independent of the YUV and comprises 40% of the work. This patch
uses the THREAD_SLICE capability to split the YUV and A decodes into
separate threads.
Two bugs are fixed by splitting YUV and alpha state:
- qscale_table from VP6A decode was for alpha channel instead of YUV
- alpha channel filtering settings were overwritten by YUV header parse
Signed-off-by: Ben Jackson <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'mt-work/yuvcmp.c')
0 files changed, 0 insertions, 0 deletions