3 ms·
Isn't Huffman the only serial stage in JPEG decode? IQ, IDCT, and colorspace conversion should be embarrassingly parallel. What fraction of time is spent in Huf
by wmf 14y ago
Isn't Huffman the only serial stage in JPEG decode? IQ, IDCT, and colorspace conversion should be embarrassingly parallel. What fraction of time is spent in Huffman decoding?
- redblue 14y agoyep, after all those embarrassingly parallel things are parallelized, the serial stages choke performance. I had to crack that puzzle. As for %, off-hand I would say the majority of the time. This is not apparent when you profile the traditional C-oriented libraries. It is when the colorspace/iDCT code is implemented in SIMD, the other stuff starts showing up as the primary bottleneck. Amdahl's Law is quite frustrating!