This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Libraries and defines in OpenMax demo Capture-Encode (Memory leak???)

Hi,

I want to make a very simple capture demo using Openmax,

that just capture frames, do not deinterlace encode or display.

So I started from the capture encode demo, 

I deleted all parts except vfcc, and it works fine.

But there is a memory leak problem about 120KB/min.

I didn't use any malloc or new in the main loop,

so I want to delete all unnecessary libraries and defines to test it again.

Now the settings is showed as below.

--------------------------

defines

-c -Wunused -fPIC -fno-strict-aliasing -march=armv5t -Dfar= -DMULTICHANNEL_OPT=1 -Dxdc_target_name__=GCArmv5T -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_bld__vers_1_0_4_3_3 -DGlobal_appTerminate=0 -DGlobal_GrpxDssMsgHeapId=6 -DGlobal_TilerHeapId=7 -D_LOCAL_CORE_a8host_ -D_LOCAL_CORE_a8host_ -D_REMOTE_omxbase_ -D_REMOTE_server_ -D_REMOTE_scheduler_ -D_REMOTE_domx_ -D_REMOTE_domx_delegates_shmem_ -D_REMOTE_omxcore_ -D_REMOTE_omxbase_ -D_REMOTE_vfcc_ -D_BUILD_omxbase_ -D_BUILD_server_ -D_BUILD_scheduler_ -D_BUILD_domx_ -D_BUILD_domx_delegates_shmem_ -D_BUILD_omxcore_ -D_BUILD_omxbase_ -D_BUILD_vfcc_ -DDOMX_CORE_REMOTEDUCATIHOST -DVC_APPS -DTI_816X_BUILD -DPLATFORM_EVM_SI -DADD_FBDEV_SUPPORT

--------------------------

--------------------------

libraries

--start-group $(OMX_INSTALL_DIR)/lib/omxcore.av5T $(OMX_INSTALL_DIR)/lib/memcfg.av5T $(OMX_INSTALL_DIR)/lib/domx.av5T $(OMX_INSTALL_DIR)/lib/domx_delegates_shmem.av5T $(OMX_INSTALL_DIR)/lib/timmosal.av5T $(OMX_INSTALL_DIR)/lib/omxcfg.av5T $(OSAL_INSTALL_DIR)/packages/linuxdist/build/lib/osal.a $(OSAL_INSTALL_DIR)/packages/linuxdist/cstubs/lib/cstubs.a $(FC_INSTALL_DIR)/lib/rcm_syslink.av5T $(FC_INSTALL_DIR)/packages/ti/sdo/fc/memutils/lib/release/memutils.av5T [$(OSAL_INSTALL_DIR)/packages/ti/sdo/xdcruntime/linux/lib/debug/osal_linux_470.av5T] $(FC_INSTALL_DIR)/packages/ti/sdo/fc/global/lib/debug/fcsettings.av5T $(SYSLINK_INSTALL_DIR)/packages/ti/syslink/lib/syslink.a_release $(LINUXUTILS_INSTALL_DIR)/packages/ti/sdo/linuxutils/cmem/lib/cmem.a470MV $(UIA_INSTALL_DIR)/packages/ti/uia/linux/lib/servicemgr.a --end-group

--------------------------

Waiting for any reply.

Regards,

Lei