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.

Insufficient resources error on using OMX.TI.VPSSM3.VFPC.NF on ezsdk 5.04

What are the proper settings to setup the Noise Filter in ezsdk 05.04?

When I attempt to set the device to idle I receive an error OMX_ErrorInsufficientResources.

Here is my setup:

nPortIndex: 0
eDir: OMX_DirInput
nBufferCountActual: 4
nBufferCountMin: 1
nBufferSize: 4147200
bEnabled: Disabled
bPopulated: Unpopulated
bBuffersContiguous: False
nBufferAlignment: 128
cMIMEType: (null)
pNativeRender: (nil)
nFrameWidth: 1920
nFrameHeight: 1080
nStride: 3840
nSliceHeight: 0
nBitrate: 0
xFramerate >> 16: 0
bFlagErrorConcealment False
pNativeWindow: (nil)
eCompressionFormat: OMX_VIDEO_CodingUnused
eColorFormat: OMX_COLOR_FormatYCbYCr

********************

nPortIndex: 16
eDir: OMX_DirOutput
nBufferCountActual: 4
nBufferCountMin: 4
nBufferSize: 3110400
bEnabled: Disabled
bPopulated: Unpopulated
bBuffersContiguous: False
nBufferAlignment: 128
cMIMEType: (null)
pNativeRender: (nil)
nFrameWidth: 1920
nFrameHeight: 1080
nStride: 1920
nSliceHeight: 0
nBitrate: 0
xFramerate >> 16: 0
bFlagErrorConcealment False
pNativeWindow: (nil)
eCompressionFormat: OMX_VIDEO_CodingUnused
eColorFormat: OMX_COLOR_FormatYUV420SemiPlanar

sSubSamplinginfo.nPortIndex = 0
sSubSamplinginfo.nSubSamplingFactor = 1

memTypeCfg.nPortIndex = 0
memTypeCfg.eBufMemoryType = OMX_BUFFER_MEMORY_DEFAULT

memTypeCfg.nPortIndex = 16
memTypeCfg.eBufMemoryType = OMX_BUFFER_MEMORY_DEFAULT

chResolution.nChId = 0
chResolution.nPortIndex = 0
chResolution.Frm0Width = 1920
chResolution.Frm0Height = 1080
chResolution.Frm0Pitch = 3840
chResolution.eDir = OMX_DirInput
chResolution.Frm1Width = 0
chResolution.Frm1Height = 0
chResolution.Frm1Pitch = 0
chResolution.FrmStartX = 0
chResolution.FrmStartY = 0
chResolution.FrmCropWidth = 1920
chResolution.FrmCropHeight = 1080

chResolution.nChId = 0
chResolution.nPortIndex = 0
chResolution.Frm0Width = 1920
chResolution.Frm0Height = 1080
chResolution.Frm0Pitch = 1920
chResolution.eDir = OMX_DirOutput
chResolution.Frm1Width = 0
chResolution.Frm1Height = 0
chResolution.Frm1Pitch = 0
chResolution.FrmStartX = 0
chResolution.FrmStartY = 0
chResolution.FrmCropWidth = 1920
chResolution.FrmCropHeight = 1080

algEnable.nPortIndex = 0
algEnable.nChId = 0
algEnable.bAlgBypass = OMX_TRUE

Here is the log file from the cores:

1258.log.txt

  • I have also seen this problem when trying to use the NF module in bypass mode for 422 to 420 conversion - with plausible settings it always sends OMX_ErrorInsufficientResources on the loaded to idle transition just as buffers are being allocated and then never enters the idle state.

    I didn't come up with any solution and ended up doing that conversion in NEON on the ARM core, but use of the otherwise-unused NF would definitely be preferable.

    Has anyone made the NF module work in EZSDK 5.04?  None of the demos use it so there isn't an example to fall back on.

    - Mark