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

int prp_vf_adc_select ( void *  private  ) 

function to select PRP-VF as the working path

Parameters:
private cam_data * mxc v4l2 main structure
Returns:
status

Definition at line 539 of file ipu_prp_vf_adc.c.

References _cam_data::overlay_active, prpvf_start(), prpvf_stop(), _cam_data::vf_start_adc, and _cam_data::vf_stop_adc.

Referenced by start_preview().

{
      cam_data *cam;
      if (private) {
            cam = (cam_data *) private;
            cam->vf_start_adc = prpvf_start;
            cam->vf_stop_adc = prpvf_stop;
            cam->overlay_active = false;
      } else {
            return -EIO;
      }
      return 0;
}


Generated by  Doxygen 1.6.0   Back to index