One can change the sensor size by setting a Region-Of-Interest, to set a new ROI use: XI_PRM_WIDTH, XI_PRM_WIDTH_OFFSET, XI_PRM_HEIGHT and XI_PRM_HEIGHT_OFFSET