Features/libjpeg-turbo

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{admon/important | Comments and Explanations | The page source contains comments providing guidance to fill out each section.  They are invisible when viewing this page.  To read it, choose the "edit" link.<br/> '''Copy the source to a ''new page'' before making changes!  DO NOT EDIT THIS TEMPLATE FOR YOUR FEATURE.'''}}
+
<!-- {{admon/important | Comments and Explanations | The page source contains comments providing guidance to fill out each section.  They are invisible when viewing this page.  To read it, choose the "edit" link.<br/> '''Copy the source to a ''new page'' before making changes!  DO NOT EDIT THIS TEMPLATE FOR YOUR FEATURE.'''}}
  
 
{{admon/important | Set a Page Watch| Make sure you click ''watch'' on your new page so that you are notified of changes to it by others, including the Feature Wrangler}}
 
{{admon/important | Set a Page Watch| Make sure you click ''watch'' on your new page so that you are notified of changes to it by others, including the Feature Wrangler}}
  
{{admon/note | All sections of this template are required for review by FESCo.  If any sections are empty it will not be reviewed }}
+
{{admon/note | All sections of this template are required for review by FESCo.  If any sections are empty it will not be reviewed }} -->
  
  
Line 14: Line 14:
  
 
== Summary ==
 
== 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.
+
[http://libjpeg-turbo.virtualgl.org/ libjpeg-turbo] is fork of the original [http://www.ijg.org/ 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 ==
 
== Owner ==
Line 21: Line 21:
 
== Current status ==
 
== Current status ==
 
* Targeted release: Fedora 14
 
* Targeted release: Fedora 14
* Last updated: 2010-05-31
+
* Last updated: 2010-07-02
* Percentage of completion: 0%
+
* Percentage of completion: 100%
  
 
== Detailed Description ==
 
== Detailed Description ==
<!-- Expand on the summary, if appropriate. A couple sentences suffices to explain the goal, but the more details you can provide the better. -->
+
Everything is written in summary.
  
 
== Benefit to Fedora ==
 
== Benefit to Fedora ==
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 ==
$ repoquery --alldeps --whatrequires libjpeg |wc -l
+
462 packages (repoquery --alldeps --whatrequires libjpeg |wc -l) but no rebuild is needed due API/ABI compatibility
462
+
  
 
== Contingency Plan ==
 
== Contingency Plan ==
Use libjpeg when libjpeg-turbo will hit 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
  
 
== Release Notes ==
 
== Release Notes ==
<!-- The Fedora Release Notes inform end-users about what is new in the release.  Examples of past release notes are here: http://docs.fedoraproject.org/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
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns.  If there are any such changes involved in this feature, indicate them here.  You can also link to upstream documentation if it satisfies this need.  This information forms the basis of the release notes edited by the documentation team and shipped with the release. -->
+
*
+
  
 
== Comments and Discussion ==
 
== Comments and Discussion ==
* See [[Talk:Features/YourFeatureName]]  <!-- This adds a link to the "discussion" tab associated with your page.  This provides the ability to have ongoing comments or conversation without bogging down the main feature page -->
+
* See [[Talk:Features/libjpeg-turbo]]  <!-- This adds a link to the "discussion" tab associated with your page.  This provides the ability to have ongoing comments or conversation without bogging down the main feature page -->
  
  
[[Category:FeaturePageIncomplete]]
+
[[Category:FeatureAcceptedF14]]
 
<!-- When your feature page is completed and ready for review -->
 
<!-- When your feature page is completed and ready for review -->
 
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
 
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
 
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
 
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
 
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->
 
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->

Latest revision as of 11:47, 2 July 2010



Contents

[edit] Replace libjpeg by libjpeg-turbo

[edit] 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.

[edit] Owner

[edit] Current status

  • Targeted release: Fedora 14
  • Last updated: 2010-07-02
  • Percentage of completion: 100%

[edit] Detailed Description

Everything is written in summary.

[edit] 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.

[edit] Scope

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

[edit] 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.

[edit] User Experience

A lot faster JPEG compression/decompression

[edit] Dependencies

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

[edit] Contingency Plan

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

[edit] Documentation

[edit] 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

[edit] Comments and Discussion