3. ?!?
● Ma che ci fanno
Alberto e
Francesca!??!?!
● Ma non erano quelli
fissati con le app
web!??!?!
4. Intel
Francesco Baldassarri
Italian Community Manager
Intel Software and Services Group
email: francescoX.baldassarri@intel.com
twitter: @francesco_1985
facebook: www.facebook.com/francesco1985
linkedin: it.linkedin.com/in/fbaldassarri/
5. Intel Devices
I devices Intel sono compatibili con l’
ecosistema Android*.
- Android* Dalvik* apps
- These will directly work, Dalvik has beenoptimized for Intel® platforms.
- Android NDK apps
- Most will run without any recompilation on consumer platforms.
- Android NDK provides an x86 toolchain since 2011
- A simple recompile using the Android NDK yields the best performance
- If there is specific processor dependent code, porting may be necessary
6. Intel Devices
Intel Investe molto in tool di sviluppo per
Android
- Faster Android Emulator on Intel (Intel HAXM)
- Intel Threading Building Blocks (TBB)
- Intel Graphics Performance Analyzer (GPA)
- Intel Integrated Performance Primitives (IPP)
- Intel Optimizing Compiler (C++)
- Intel Beacon Mountain
- Project Anarchy
19. Details (HAXM)
Bundled in BeaconMountain
http://software.intel.com/en-us/android/articles/intel-hardwareaccelerated-execution-manager
Attenzione pianta OSX, maverick
installare lo hotfix
cambia la vita con le immagini x86
23. Details (IPP)
Bundled in BeaconMountain
beh … la ‘preview’
http://software.intel.com/en-us/intel-ipp
Scaricate la versione per linux ( la evaluation, or 199$ :( )
Installatela ( vi serve una macchina linux )
Copiate le librerie (*.a) e gli include (*.h)
(32bit statici non-threaded)
… ed avete la IPP per android x86 !!!
27. Codice (js)
var len_out = outb.length;
var i,j;
for(i=0, j=0; i< len_out; i++, j+=3)
outb[i] = (0.299 * inb[j] + 0.587 * inb[j+1] + 0.114 *inb[j+2]);
var buffer_in = new ArrayBuffer(size*3);
var buffer_out = new ArrayBuffer(size);
var inb = new Uint8Array(buffer_in);
var out = new Uint8Array(buffer_out);