opengl es - How to convert RGB frame to YUV in android using GPU? -


i looking h/w accelerated way convert rgb frame yuv (say yuv420) in android. see renderscript has intrisics yuv rgb conversion. looking rgb yuv though.

i need embedded system (android 4.0.3 based) cortex-a8 sgx530 gpu core. on 720p argb frame keeps changing @ 10 frames per sec. doing on arm a8 core not acceptable. thats why looking way using gpu compute. imagining renderscript or opengl based implementation can solve this.but don't know how.

a blog post here http://www.mdk.org.pl/2007/11/17/gl-colorspace-conversions has example doing rgb yuv conversion using gstreamer , opengl.
looking works on android.

edit: link http://slouken.blogspot.com/2011/02/mpeg-acceleration-with-glsl.html has pointers. still researching.

is using gpu necessary? cortex-a8 has neon support can convert frames fast gpu could. there nice c library takes care of cpu h/w acceleration: http://code.google.com/p/libyuv/.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -