|
temp = (s2440CAM->CIPRSTATUS>>26)&3;
temp = (temp + 2) % 4;//为什么要这样做呢?
switch (temp)
{
case 0: //10
buffer_rgb = (U8 *)s2440CAM->CIPRCLRSA1;//RGB 1st frame start address for preview DMA
break;
case 1: //11
buffer_rgb = (U8 *)s2440CAM->CIPRCLRSA2;//RGB 2st frame start address for preview DMA
break;
case 2: //00
buffer_rgb = (U8 *)s2440CAM->CIPRCLRSA3;//RGB 3st frame start address for preview DMA
break;
case 3: //01
buffer_rgb = (U8 *)s2440CAM->CIPRCLRSA4;//RGB 4st frame start address for preview DMA
break;
default :
buffer_rgb = (U8 *)s2440CAM->CIPRCLRSA1;//RGB 1st frame start address for preview DMA
break;
CIPRCLRSA1 CIPRCLRSA2 CIPRCLRSA3 CIPRCLRSA4 到底有啥关系呢,整的我有点晕了,请高手帮忙
|
|