[FFmpeg-devel] [PATCH] Generic part of frame multithreading

Alexander Strange astrange
Wed Aug 20 04:55:21 CEST 2008


This patch adds the new API and generic implementation for frame  
multithreading. It doesn't cause any behavior changes, since it's just  
more functions with no users yet.

Some issues:
- No support for field pictures or slice+frame threading. Without  
these there'll be some speed regressions for for some TV streams,  
especially for PAFF. I'll try to get the first one done soon, as it's  
pretty easy.
- The thread.h functions with "decode" in the name need to be renamed,  
since they'll be used for encoding as well. I haven't thought of a  
better name for "ff_report_predecode_done" that isn't too vague yet.
- https://roundup.mplayerhq.hu/roundup/ffmpeg/issue590
- Some clients can't handle the extra decoder delay right, so I  
attached another patch that disables it by default. I don't know  
whether it's a good idea since we won't know when it's safe to to make  
it default again.
- I'm not sure the documentation is good enough.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1-frame-threading.diff
Type: text/x-diff
Size: 25576 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080819/a6a746d1/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-nodefault-frame-threading.diff
Type: text/x-diff
Size: 2696 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080819/a6a746d1/attachment-0001.diff>



More information about the ffmpeg-devel mailing list