Rework libjpeg-turbo library startup

Registered by Tom Gall on 2011-09-05

Rework libjpeg-turbo start to utilize fini and init library calls instead of initializing the library (and checking again and again and...) when tests for the existence of certain functions are call.

Just look at the auxv for what hardware is there and setup the optimized function tables right then and there.

Blueprint information

Status:
Complete
Approver:
Tom Gall
Priority:
High
Drafter:
Tom Gall
Direction:
Approved
Assignee:
Tom Gall
Definition:
Approved
Series goal:
Accepted for 1.2
Implementation:
Implemented
Milestone target:
milestone icon 1.1.90-2011.09
Started by
Tom Gall on 2011-09-16
Completed by
Fathi Boudra on 2011-09-26

Related branches

Sprints

Whiteboard

Headline:
libjpeg-turbo code for all architectures, now uses smarter and faster initialize mechanism for all architectures

Acceptance:
Libjpeg-turbo is able to start, initialize itself, setup hardware dependent function tables etc at library startup using library init and by reading aux tables or other hardware appropriate methods.

(?)

Work Items

Work items:
Scope out all architectures needing nominal support: DONE
Put together generic implementation: DONE
Add arm architecture specific implementation: DONE
Add ia32/ia64 architecture specific implementation: DONE
Add Windows specific implementation: DONE
Add OSX specific implementation: DONE
Test: DONE
All tests pass / bugs fixed : DONE
Push patch upstream: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.