What's the capture-mode of mfw_v4lsrc?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What's the capture-mode of mfw_v4lsrc?

1,333 Views
RobbieJiang
Contributor IV

Hi all,

I'm working on imx51/Linux-2.6.31.

I find that there is a 'capture-mode' property of mfw_v4lsrc element.

But there is no any description about it in mfw_v4lsrc.c.

Where can I find any document about the 'capture-mode' property?

Regards,

Robbie

Labels (3)
0 Kudos
Reply
3 Replies

701 Views
BrilliantovKiri
Senior Contributor I

Hello, Robbie!

Capture-mode is a configuration for your sensor:

drivers/media/video/mxc/capture/ov5642.c

enum ov5642_mode {

        ov5642_mode_MIN = 0,

        ov5642_mode_VGA_640_480 = 0,

        ov5642_mode_QVGA_320_240 = 1,

        ov5642_mode_NTSC_720_480 = 2,

        ov5642_mode_PAL_720_576 = 3,

        ov5642_mode_720P_1280_720 = 4,

        ov5642_mode_1080P_1920_1080 = 5,

        ov5642_mode_QSXGA_2592_1944 = 6,

        ov5642_mode_QCIF_176_144 = 7,

        ov5642_mode_MAX = 7

};

0 Kudos
Reply

701 Views
RobbieJiang
Contributor IV

Hi Kirill,

Thanks for your reply.

My question is,

Does this definition of capture-mode  still apply to other sensors, like TVP 5150?

0 Kudos
Reply

701 Views
BrilliantovKiri
Senior Contributor I

Hello, Robbie!

Capture-mode is a common way for configuration resolution and framerate.

I think you can check supported mode in drivers for your device.

0 Kudos
Reply