tilerEnable这个功能在好几个LINK节点都可以看到,现在在看system-usecase:VSYS_USECASE_MULTICHN_PROGRESSIVE_VCAP_VDIS_VENC_VDEC
也就是8148的multich_progressive_4d1_vcap_venc_vdec_vdis.c文件。
其中,VIP-SC路配置TILER_ENABLE
374 deiPrm.tilerEnable[DEI_LINK_OUT_QUE_VIP_SC] = TILER_ENABLE;
另外一路也是送到MERGE LINK的,也是tilerenable,最终是要送到VIDEO ENCODE。
388 nsfPrm.tilerEnable = TILER_ENABLE;
但VIP1-SC输出的CIF数据,好像没有使能tiler.
这样的配置是什么原因,tiler有什么作用,两种配置有什么典型的使用场景?
另外,对于DEI的两种输出DEI和VIP,不知道我理解的对不对,也请大神一起指点。
API GUIDE说明:
DEI can have upto two outputs
- Output from DEI scaler
- Output from VIP scaler
其中:setVipScYuv422Format = TRUE, set data format of VIP-SC to YUV422I
setVipScYuv422Format = FALSE, set data format of VIP-SC to YUV420SP
我的理解是,DEI输出都是YUV422,如果DEI输入是420,色度不够的话,也是补足成YUV422.
VIP输出默认是YUV420,可设置为YUV422,如果色度空间不够,也是复制色度空间补足YUV422.
不知道我的理解对么?
zhimin lin:
Tiler enable mean, for this output, the memory will be used from the Tiled memory space.
(这个在内存分配表里有一块TILED MEMORY,好像说明是用来快速旋转图像使用的)
Yes, DEI output is always YUV422.
DEI driver supports two outputs, one from VIP, which can be either YUV420 or YUV422, the other is DEI output , which is always YUV422.
liang gu:
回复 zhimin lin:
zhimin lin
Tiler enable mean, for this output, the memory will be used from the Tiled memory space.
(这个在内存分配表里有一块TILED MEMORY,好像说明是用来快速旋转图像使用的)
Yes, DEI output is always YUV422.
DEI driver supports two outputs, one from VIP, which can be either YUV420 or YUV422, the other is DEI output , which is always YUV422.