Author: post
Date: 2009-10-09 18:02:52 +0200 (Fri, 09 Oct 2009)
New Revision: 159

Modified:
   RawSpeed/OrfDecoder.cpp
Log:
- Added comment to ORF decoder.

Modified: RawSpeed/OrfDecoder.cpp
===================================================================
--- RawSpeed/OrfDecoder.cpp     2009-10-09 15:13:38 UTC (rev 158)
+++ RawSpeed/OrfDecoder.cpp     2009-10-09 16:02:52 UTC (rev 159)
@@ -94,6 +94,12 @@
 
   return mRaw;
 }
+/* This is probably the slowest decoder of them all.
+ * I cannot see any way to effectively speed up the prediction
+ * phase, which is by far the slowest part of this algorithm.
+ * Also there is no way to multithread this code, since prediction
+ * is based on the output of all previous pixel (bar the first four)
+ */
 
 void OrfDecoder::decodeCompressed(ByteStream& s, guint w, guint h) {
   int nbits, sign, low, high, i, wo, n, nw;


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to