Features/libjpeg-turbo

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
(Summary)
Line 21: Line 21:
 
== Current status ==
 
== Current status ==
 
* Targeted release: Fedora 14
 
* Targeted release: Fedora 14
* Last updated: 2010-05-31
+
* Last updated: 2010-06-01
* Percentage of completion: 0%
+
* Percentage of completion: 25%
  
 
== Detailed Description ==
 
== Detailed Description ==
Line 31: Line 31:
  
 
== Scope ==
 
== Scope ==
All packages which depends on libjpeg have to be rebuilt against libjpeg-turbo. There are no API/ABI changes so temporary symlink libjpeg->libjpeg-turbo will be provided to make this task easier.
+
libjpeg-turbo has same API/ABI as libjpeg so no package needs to be rebuilt
  
 
== How To Test ==
 
== How To Test ==
Line 40: Line 40:
  
 
== Dependencies ==
 
== Dependencies ==
462 packages (repoquery --alldeps --whatrequires libjpeg |wc -l)
+
462 packages (repoquery --alldeps --whatrequires libjpeg |wc -l) but no rebuild is needed due API/ABI compatibility
  
 
== Contingency Plan ==
 
== Contingency Plan ==
Use libjpeg when libjpeg-turbo hits some serious problems. Both libraries can coexist.
+
Revert to libjpeg when libjpeg-turbo hits some serious problems.
  
 
== Documentation ==
 
== Documentation ==
http://sourceforge.net/projects/libjpeg-turbo
+
* http://sourceforge.net/projects/libjpeg-turbo
 +
* check http://atkac.fedorapeople.org/libjpeg-turbo for SRPM
  
 
== Release Notes ==
 
== Release Notes ==

Revision as of 10:54, 1 June 2010



Contents

Replace libjpeg by libjpeg-turbo

Summary

libjpeg-turbo is fork of the original libjpeg project. It contains numerous performance related enhancements and is at least twice faster in JPEG compression/decompression than original libjpeg on platforms with MMX/SSE instruction set. It has same API/ABI like original libjpeg and also runs on non-SSE platforms where is around 25% faster.

Owner

Current status

  • Targeted release: Fedora 14
  • Last updated: 2010-06-01
  • Percentage of completion: 25%

Detailed Description

Everything is written in summary.

Benefit to Fedora

Much faster JPEG compression/decompression library. JPEG codec is widely used and it is good to speed up core library which implements it. Additionally, libjpeg-turbo is developed in more open-source manner than original libjpeg.

Scope

libjpeg-turbo has same API/ABI as libjpeg so no package needs to be rebuilt

How To Test

You can use any program which uses libjpeg-turbo code. You should try to perform JPEG compression/decompression to and check if you don't see artefacts. You can also compare speed of the libjpeg-turbo against libjpeg, you should be able to visually check that libjpeg-turbo is really faster.

User Experience

A lot faster JPEG compression/decompression

Dependencies

462 packages (repoquery --alldeps --whatrequires libjpeg |wc -l) but no rebuild is needed due API/ABI compatibility

Contingency Plan

Revert to libjpeg when libjpeg-turbo hits some serious problems.

Documentation

Release Notes

libjpeg library has been replaced by libjpeg-turbo library which has same API/ABI but is at least twice faster on all primary architectures and about 25% faster on secondary architectures

Comments and Discussion