Hi all,
When my create jpeg encoder, I get follow error. My jpeg parameter setting is:
...
pJPEGEnv->Params = Ienc1_Params_DEFAULT;
pJPEGEnv->Params.maxWidth = gm_stEncParams[0][0].uiWidth;
pJPEGEnv->Params.maxHeight = gm_stEncParams[0][0].uiHeight;
pJPEGEnv->Params.forceChromaFormat = XDM_YUV_420P;
pJPEGEnv->DynParams = Ienc1_DynamicParams_DEFAULT;
pJPEGEnv->DynParams.inputWidth = pJPEGEnv->Params.maxWidth;
pJPEGEnv->DynParams.inputHeight = pJPEGEnv->Params.maxHeight;
pJPEGEnv->DynParams.captureWidth = pJPEGEnv->Params.maxWidth;
pJPEGEnv->DynParams.inputChromaFormat = XDM_YUV_420SP;
...
@20,815,942us: [+0 T:0x4b672490] ti.sdo.ce.image1.IMGENC1 - IMGENC1_create> Enter (engine=0x44c8d0, name='jpegenc', params=0x3d9224)
@20,816,142us: [+0 T:0x4b672490] CV - VISA_create(0x44c8d0, 'jpegenc', 0x3d9224, 0x700, 'ti.sdo.ce.image1.IIMGENC1')
@20,816,410us: [+0 T:0x4b672490] CV - VISA_create2(0x44c8d0, 'jpegenc', 0x3d9224, 0x18, 0x700, 'ti.sdo.ce.image1.IIMGENC1')
@20,816,620us: [+0 T:0x4b672490] ti.sdo.ce.alg.Algorithm - Algorithm_create> Enter(fxns=0x177458, idma3Fxns=0x0, iresFxns=0x17740c, params=0x3d9224, attrs=0x4b671c84)
@20,816,853us: [+0 T:0x4b672490] ti.sdo.ce.alg - ALG_create> Enter (scratchId=0, fxns=0x177458, parentAlg=0x0, params=0x3d9224)
@20,817,087us: [+2 T:0x4b672490] ti.sdo.ce.alg - ALG_create> algNumAlloc 5 memory recs
@20,817,259us: [+2 T:0x4b672490] ti.sdo.ce.alg - ALG_create> algAlloc returned numRecs=5
@20,817,403us: [+4 T:0x4b672490] ti.sdo.ce.alg - ALG_create> Memory requested memTab[0]: size=0xf54, align=0x80, space=0x11, attrs=0x1
@20,817,559us: [+4 T:0x4b672490] ti.sdo.ce.alg - ALG_create> Memory requested memTab[1]: size=0xc00, align=0x80, space=0x11, attrs=0x1
@20,817,706us: [+4 T:0x4b672490] ti.sdo.ce.alg - ALG_create> Memory requested memTab[2]: size=0xc400, align=0x80, space=0x11, attrs=0x1
@20,817,848us: [+4 T:0x4b672490] ti.sdo.ce.alg - ALG_create> Memory requested memTab[3]: size=0x968, align=0x80, space=0x11, attrs=0x1
@20,817,993us: [+4 T:0x4b672490] ti.sdo.ce.alg - ALG_create> Memory requested memTab[4]: size=0x64, align=0x80, space=0x11, attrs=0x1
@20,818,409us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_alloc(3924) = 0x49ca6000.
@20,818,634us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_getPhys(0x49ca6000) = 0x871e5000.
@20,819,058us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_alloc(3072) = 0x49ca7000.
@20,819,286us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_getPhys(0x49ca7000) = 0x871e4000.
@20,820,227us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_alloc(50176) = 0x4b673000.
@20,820,462us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_getPhys(0x4b673000) = 0x863d5000.
@20,821,386us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_alloc(2408) = 0x4b6e3000.
@20,821,622us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_getPhys(0x4b6e3000) = 0x871b1000.
@20,822,041us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_alloc(100) = 0x4b6e4000.
@20,822,276us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_getPhys(0x4b6e4000) = 0x871b0000.
@20,823,087us: [+4 T:0x4b672490] ti.sdo.ce.alg - ALG_create> algInit returned IALG_EOK
@20,823,299us: [+0 T:0x4b672490] ti.sdo.ce.alg - ALG_create> Exit (algHandle=0x49ca6000)
@20,823,627us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_alloc(320) = 0x4b6e5000.
@20,823,886us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_getPhys(0x4b6e5000) = 0x871af000.
@20,824,169us: [+0 T:0x4b672490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0x3dde58]
@20,824,389us: [+0 T:0x4b672490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0x3dde58]
@20,824,571us: [+0 T:0x4b672490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0x3dde58]
@20,824,753us: [+0 T:0x4b672490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0x3dde58]
@20,824,905us: [+0 T:0x4b672490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0x3dde58]
@20,825,061us: [+0 T:0x4b672490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0x3dde58]
@20,825,428us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_alloc(344) = 0x4b6e6000.
@20,825,654us: [+4 T:0x4b672490] OM - Memory_contigAlloc> CMEM_getPhys(0x4b6e6000) = 0x871ae000.
@20,826,096us: [+0 T:0x4b672490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0x3dde58]
@20,826,337us: [+0 T:0x4b672490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0x3dde58]
@20,826,676us: [+7 T:0x4b672490] ti.sdo.ce.alg.Algorithm - Algorithm_create> Assignment of alg resources through RMAN FAILED (0x7)
@21,159,523us: [+0 T:0x4b672490] ti.sdo.ce.alg.Algorithm - Algorithm_delete> Enter(alg=0x44c9f0)
@21,160,725us: [+0 T:0x4b672490] ti.sdo.ce.alg.Algorithm - Algorithm_delete> Exit
@21,160,926us: [+0 T:0x4b672490] ti.sdo.ce.alg.Algorithm - Algorithm_create> return (0x0)
@21,161,072us: [+2 T:0x4b672490] CV - VISA_create2> FAILED to create local codec.
@21,161,213us: [+0 T:0x4b672490] CV - VISA_delete(0x44c9b8)
@21,161,407us: [+5 T:0x4b672490] CV - VISA_delete> deleting codec (localQueue=0xffff, remoteQueue=0xffff)
@21,161,583us: [+0 T:0x4b672490] ti.sdo.ce.image1.IMGENC1 - IMGENC_create> return (0x0)
Best Regards
Tanyu