[vlc-devel] VLC's performance on SMP system

xxcv xxcv07 at gmail.com
Sun May 31 03:25:05 CEST 2009


Kaarlo Räihä wrote:
> You have to pass it manually because there isn't option for this in 
> VLC yet. If you look how the loopfilter option is implemented, you 
> should be able to figure out how to pass the threads option to 
> libavcodec. (it might also require some changes to source code)
Results are same as before.
FFdshow uses its own ffmpeg and ffmpeg-mt
after viewing the svn content 
<http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout/trunk/src/ffmpeg-mt/libavcodec/>.
There's no libavcodec/w32thread.c in ffdshow
source.
Looking at this file in ffmpeg-mt.git:master, show
no support for thread_type FF_THREAD_FRAME.
---
int avcodec_thread_init(AVCodecContext *s, int thread_count){
    int i;
    ThreadContext *c;
    uint32_t threadid;

    if(!(s->thread_type & FF_THREAD_SLICE)){
        av_log(s, AV_LOG_WARNING, "The requested thread algorithm is not 
supported with this thread library.\n");
        return 0;
    }

    s->thread_count= thread_count;
    s->active_thread_type= FF_THREAD_SLICE;
---

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090531/25b71db4/attachment.html>


More information about the vlc-devel mailing list