About the specific setting for lens

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Guennadi.

Now MigoR and AP325 board have ov772x camera.
However, the lens used is different.

And I have a specific good setting value
for the lens of AP325.

So, I would like to add new function for
specific lens value.
meybe like this.
Can I add it ?

-- board-ap325 ---------------
static const struct regval_list ov772x_lens[] = {
       { 0xAA, 0xBB }, { 0xCC, 0xDD }, { 0xEE, 0xFF },
       ...
       ENDMARKER,
}

static struct ov772x_camera_info ov772x_info = {
       ...
       .lenssetting = ov772x_lens,
}
-----------------
--- ov772x.c ----
static int ov772x_start_capture(xxx)
{
        ...
        if (priv->info->lenssetting) {
           ret = ov772x_write_array(priv->client,
                                    priv->info->lenssetting);
           if (ret < 0)
               goto error;
        }
        ...           
}
-----------------

Best regards
--
Kuninori Morimoto
 
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux