[FFmpeg-soc] [soc] Call draw_edges per-MB-row instead of per-frame when possible.

Michael Niedermayer michaelni at gmx.at
Tue Jul 15 14:41:36 CEST 2008


On Tue, Jul 15, 2008 at 04:28:31AM -0400, Alexander Strange wrote:
> 
> On Jul 15, 2008, at 4:19 AM, Alexander Strange wrote:
> 
> > ---
> > libavcodec/mpegvideo.c |   18 ++++++++++++++++--
> > libavcodec/mpegvideo.h |    2 ++
> > 2 files changed, 18 insertions(+), 2 deletions(-)diff --git a/ 
> > libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
> > index cc444a2..1b373b6 100644
> 
> I wrote much more detailed commit messages than these, but it seems I  
> forgot the option to make git send-email not drop all of them...

:/


> 
> Anyway, several of these are ready to submit as mainline patches, and  
> I'll do that after I've tested them some more to make sure they're  
> actually useful and don't break anything. This change was necessary  
> for multithreading (it was either this or use EMU_EDGE), but I think  
> it may be more cache-efficient in general.

I just hope you arent drawing the whole 0..height edge more than once.

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20080715/9dc71aea/attachment.pgp>


More information about the FFmpeg-soc mailing list