optimizing image proc for beagleboard