Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

void ipu_csi_get_window_size ( uint32_t *  width,
uint32_t *  height,
uint32_t  dummy 
)

ipu_csi_get_window_size

Parameters:
width pointer to window width
height pointer to window height
dummy dummy for IPUv1 to keep the same interface with IPUv3

Definition at line 176 of file ipu_csi.c.

Referenced by prp_enc_setup(), and prpvf_start().

{
      uint32_t reg;

      reg = __raw_readl(CSI_ACT_FRM_SIZE);
      *width = (reg & 0xFFFF) + 1;
      *height = (reg >> 16 & 0xFFFF) + 1;
}


Generated by  Doxygen 1.6.0   Back to index