This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

System_LinkChInfo类型中的pitch[]数组



这个数组是干什么用的?

 pChInfo->startX     = 48;
        pChInfo->startY     = 32;
        pChInfo->width      = 720;
        pChInfo->height     = 576;
        pChInfo->pitch[0]   = SystemUtils_align(pChInfo->width+pChInfo->startX, SYSTEM_BUFFER_ALIGNMENT);
        pChInfo->pitch[1]   = pChInfo->pitch[0];
        pChInfo->pitch[2]   = 0;

SYSTEM_BUFFER_ALIGNMENT=16

为什么只有3个?为什么前两个是 (width+startX+16-1)/(16*16)?而第三个是0?