各位大神:
请教一下DVRRDK4.0中,在使用decoder进行解码的时候,多个channel是否可以设置不同的分辨率?(注:decode之后还会用到scaler进行缩放处理)
比如如下设置
Void Vdec_params_init(VDEC_PARAMS_S * pContext)
{
UInt16 i;
memset(pContext, 0, sizeof(VDEC_PARAMS_S));
pContext->forceUseDecChannelParams = FALSE;
i = 0;
pContext->decChannelParams[i].dynamicParam.frameRate = 30;
pContext->decChannelParams[i].dynamicParam.targetBitRate = 2 * 1000 * 1000;
pContext->decChannelParams[i].maxVideoWidth = 1920;
pContext->decChannelParams[i].maxVideoHeight = 1080;
pContext->decChannelParams[i].tilerEnable = FALSE;
pContext->decChannelParams[i].fieldPicture = FALSE;
i = 1;
pContext->decChannelParams[i].dynamicParam.frameRate = 30;
pContext->decChannelParams[i].dynamicParam.targetBitRate = 2 * 1000 * 1000;
pContext->decChannelParams[i].maxVideoWidth = 1280;
pContext->decChannelParams[i].maxVideoHeight = 720;
pContext->decChannelParams[i].tilerEnable = FALSE;
pContext->decChannelParams[i].fieldPicture = FALSE;
i = 2;
pContext->decChannelParams[i].dynamicParam.frameRate = 30;
pContext->decChannelParams[i].dynamicParam.targetBitRate = 2 * 1000 * 1000;
pContext->decChannelParams[i].maxVideoWidth = 720;
pContext->decChannelParams[i].maxVideoHeight = 576;
pContext->decChannelParams[i].tilerEnable = FALSE;
pContext->decChannelParams[i].fieldPicture = FALSE;
}