TI中文支持网
TI专业的中文技术问题搜集分享网站

8127 DMVAL下sclr link 不能使用输入720P?

各位好:
我们现在使用IPNC_RDK_v3.5.0,使用sclr link, 没使用DEI link.
在example: SMART ANALYTICS时,当输入的是1080P图像,缩放输出352X192时图像正常, 但使用输入的是720P图像, 程序出错,

pCameraInstPrm->sensorOutWidth = 1920; // 1920P->720P 出错
pCameraInstPrm->sensorOutHeight = 1080;
pCameraOutPrm->scOutWidth = 1920; // 1920P->720P 出错
pCameraOutPrm->scOutHeight = 1080;

/* Scaler Link Params */
SclrLink_CreateParams_Init(&sclrPrm);
sclrPrm.inQueParams.prevLinkId = dupId[SCALER_DUP_IDX];
sclrPrm.inQueParams.prevLinkQueId = 1;
if(Vsys_getSystemUseCase() == VSYS_USECASE_TRISTREAM_SMARTANALYTICS)
sclrPrm.outQueParams.nextLink = dupId[VA_DUP_IDX];
else
sclrPrm.outQueParams.nextLink = gVsysModuleContext.fdId;
sclrPrm.tilerEnable = FALSE;
sclrPrm.enableLineSkipSc = FALSE;
sclrPrm.inputFrameRate = 30; sclrPrm.outputFrameRate = 30; sclrPrm.scaleMode = DEI_SCALE_MODE_ABSOLUTE; sclrPrm.scaleMode = DEI_SCALE_MODE_ABSOLUTE;
sclrPrm.outScaleFactor.absoluteResolution.outWidth = 320;
sclrPrm.outScaleFactor.absoluteResolution.outHeight = 192; sclrPrm.outDataFormat = VF_YUV420SP_UV;
sclrPrm.pathId = SCLR_LINK_SEC0_SC3;

打印信息如下:
[m3video] Channel:1 inputframerate:30 targetfps:30
[c6xdsp ] DMVAL:
[c6xdsp ] Started processing 8fe99138 handle[c6xdsp ] DMVAL:
[c6xdsp ] > DMVAL: Library framework reset.
[c6xdsp ] DMVAL:
[c6xdsp ] > DMVAL: DMVAL_IMG_YUV420_PLANARINTERLEAVED input image detected. Copying 92160 bytes of input into buffer#0[c6xdsp ] DMVAL:
[c6xdsp ] > DMVAL: Circular buffer pointer: Current = 0, Previous = 0, Oldest = 1.
[c6xdsp ] > DMVAL: Exiting DMVAL_processInput.
[c6xdsp ] DMVAL:
[c6xdsp ] Processing of TZ algorithm for frame = 0
[c6xdsp ] 12541: Assertion @ Line: 40 in links_common/system/system_linkApi.c: procId < SYSTEM_PROC_MAX : failed !!!

bj li:

UP!

xing lixing:

回复 bj li:

up

Chris Meng:

回复 xing lixing:

你好,

输入给DVMAL的图像必须是QVGA的大小。

PKF:

回复 Chris Meng:

缩放link 原比例缩放,会出现bug,加入输入是1080p,缩放之后也是1080p就会出现bug

赞(0)
未经允许不得转载:TI中文支持网 » 8127 DMVAL下sclr link 不能使用输入720P?
分享到: 更多 (0)