Hi,
I'm using dm8168evm ,dvrrdk4.00's demo_vdec_vdis.c.From the ahead of the file, we know that the output dataformat of swmasiclink is YUV422I by default. Through the fivd.h at line 976,i know that for YUV422I datafomat,
Representation of YUV422 Interleaved Buffer:
Field 0 YUV -> addr[0][0], Field 1 YUV -> addr[1][0];
my questions are followed :
(1)From the print information i only got one field(frame->fid =0) of the picture .In the file of displayLink_drv.c i fond that
pFrame->addr[1][0] =
(UInt8 *) pFrame->addr[0][0] + pitch0;
pFrame->addr[1][1] =
(UInt8 *) pFrame->addr[0][1] + pitch1;
does it mean only one field of picture are sent in McFW?? Field 1 is only the copy of Field 0 with certainly offset??
(2)i use CCS ,and get some frame information from displaylink where the displaylink get the frame from swmasic .
from the picture above ,the two address just as Formula pFrame->addr[1][0] =
(UInt8 *) pFrame->addr[0][0] + pitch0 does,where pitch0 =3840;
if addr[1][0] means the Field 1 ,but to a picture of 1920*1080,Field 0's data from addr[0][0] is already overlap with Field 1 which starts at addr[1][0],which confused me a lot ?
(3)when i configure the swmasiclink's output dataformate to SYSTEM_DF_YUV420SP_UV,and chose swMsInstId=SYSTEM_SW_MS_SC_INST_VIP0_SC; the swmasiclink's creating is oK,but the program is abssert during at displaylink creating procedure .does displaylink not support YUV420SP input dataformate??
thanks ahead !!