How to Use ARMv6 Optimized OpenMAX DL Libraries with iPhone

There are assembly language libraries for ARM for signal processing and other useful materials called "OpenMAX DL for the ARM11 processor family."

When you download the library from the ARM site, it contains the .s assembly files. How can they be compiled using Xcode and called from Objective-C for iPhone? There are examples of built-in builds, but I can’t find information on using .s build files.

+4
source share
1 answer

In short, you can compile the assembly file using X code. Just add the * .s build files to the projects and create the project. The assembly file collects and links.

Do not forget to include the necessary * .h files in your code, and then call it as a normal function.

You can read more here: http://www.iphonedevsdk.com/forum/iphone-sdk-tools-utilities/16804-calling-assembly-functions-c.html


Edit: There are many MACROses in ARMv6-optimized OpenMAX libraries, and perhaps some of them are specific to RealView. Therefore, they may compile in X code or may not compile. Perhaps this is your problem.

+1
source

All Articles