IMX179 UPSCALE

#if defined (LEAD_CAMERA_UPSCALE_13MP)
static msm_sensor_dimension_t imx179_sunny_p8n10f_scale_size_tbl[] = {
    {4160, 3120}, 
}; 
728
static int32_t imx179_sunny_p8n10f_get_scale_tbl(msm_sensor_dimension_t *tbl) 

    int i; 
    if(sensor_lib_ptr.scale_tbl_cnt == 0) 
        return -1; 
    for(i = 0; i < sensor_lib_ptr.scale_tbl_cnt; i++){ 
        tbl[i] = imx179_sunny_p8n10f_scale_size_tbl[i]; 
    }
    return 0; 

#endif

static sensor_lib_t sensor_lib_ptr = {

#if defined (LEAD_CAMERA_UPSCALE_13MP)  
    /* scale size table count*/ 
    .scale_tbl_cnt = ARRAY_SIZE(imx179_sunny_p8n10f_scale_size_tbl), 
    /*function to get scale size tbl */ 
    .get_scale_tbl = imx179_sunny_p8n10f_get_scale_tbl, 
#endif

你可能感兴趣的:(IMX179 UPSCALE)