[FFmpeg-devel] [PATCH] simplify dnxhd threading

Mike Melanson mike
Sat Sep 26 07:31:51 CEST 2009


Reimar D?ffinger wrote:
> On Fri, Sep 25, 2009 at 10:51:36AM -0700, Baptiste Coudurier wrote:
>> 68 contexts, even when not using threads ? I'm concerned about memory.
> 
> Yes, that probably should be checked. Though I think that giving each thread
> its own whole context is overdoing it anyway.

Thanks for the patch. I vastly simplified the Theora multithreading 
prototype. Instead of copying the whole VP3 context like I did when 
modeling after the dnxhd encoder, I made a new structure that only 
contains a single int-- the slice number to be processed. Then I submit 
68 slices to the thread dispatcher for processing.

...and it still doesn't work quite right.

-- 
     -Mike Melanson



More information about the ffmpeg-devel mailing list