Hello,
I am running a modified version of the capture encode demo in ezsdk 5.2.2.60. When running the code the OMX initialization comletes. Then, it tries to get the handles for the OMX components that the demo will be using. First it gets the Video capture component handle successfully, and then it tries to get the Control Component handle and the traces prints out that it is out of memory and it failed to allocate 412 bytes in heap 0x0. To see if it was someting specifically wrond with that component i switched the order of initialization of the two components. I put the control first and capture second. This time the control component worked and the capture component had the same error. This verified that it is indeed an out of memory condition. To verify this further i put a for loop around a Memory_alloc call and it was able to successfully declare 5 412 byte buffers before i got the out of memory condition.
My question is this: What memory segment is heap 0 in and how can I make it larger?
I spent hours grepping around trying to figure out how this heap was declared but always got stuck with some mysterious xdc autogenerated stub function that i couldn't make any connection to.
Thanks,
Ben