[xiph-commits] r15103 - branches/theora_multithread_decode_omp/lib/dec

piga at svn.xiph.org piga at svn.xiph.org
Sun Jul 6 17:27:51 PDT 2008


Author: piga
Date: 2008-07-06 17:27:51 -0700 (Sun, 06 Jul 2008)
New Revision: 15103

Modified:
   branches/theora_multithread_decode_omp/lib/dec/decode.c
Log:
The opemMP parallel implementation


Modified: branches/theora_multithread_decode_omp/lib/dec/decode.c
===================================================================
--- branches/theora_multithread_decode_omp/lib/dec/decode.c	2008-07-07 00:24:36 UTC (rev 15102)
+++ branches/theora_multithread_decode_omp/lib/dec/decode.c	2008-07-07 00:27:51 UTC (rev 15103)
@@ -2133,6 +2133,7 @@
       int avail_fragy_end;
       avail_fragy0=avail_fragy_end=_dec->state.fplanes[0].nvfrags;
       notdone=stripe_fragy+pipe.mcu_nvfrags<avail_fragy_end;
+      #pragma omp parallel for
       for(pli=0;pli<3;pli++){
         oc_fragment_plane *fplane;
         int                frag_shift;



More information about the commits mailing list