standard.index = 0standard.id = 1000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 30standard.framelines = 480standard.index = 1standard.id = 2000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 60standard.framelines = 480standard.index = 2standard.id = 4000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 30standard.framelines = 600standard.index = 3standard.id = 8000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 60standard.framelines = 600standard.index = 4standard.id = 10000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 30standard.framelines = 768standard.index = 5standard.id = 20000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 30standard.framelines = 480standard.index = 6standard.id = 40000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 60standard.framelines = 480standard.index = 7standard.id = 80000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 25standard.framelines = 576standard.index = 8standard.id = 100000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 50standard.framelines = 576standard.index = 9standard.id = 200000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 24standard.framelines = 720standard.index = 10standard.id = 400000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 30standard.framelines = 720standard.index = 11standard.id = 800000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 18standard.framelines = 1080standard.index = 12standard.id = 1000000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 25standard.framelines = 1024standard.index = 13standard.id = 2000000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 20standard.framelines = 1200standard.index = 14standard.id = 4000000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 12standard.framelines = 1536
Hi,
The v4l2_standard structure also has a filed "name" you might print this field in your application and you will get your answer.
Regards,
--Prabhakar Lad
standard.name = VGA-30standard.index = 0standard.id = 1000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 30standard.framelines = 480standard.name = VGA-60standard.index = 1standard.id = 2000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 60standard.framelines = 480standard.name = SVGA-30standard.index = 2standard.id = 4000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 30standard.framelines = 600standard.name = SVGA-60standard.index = 3standard.id = 8000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 60standard.framelines = 600standard.name = XGA-30standard.index = 4standard.id = 10000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 30standard.framelines = 768standard.name = 480P-MT-30standard.index = 5standard.id = 20000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 30standard.framelines = 480standard.name = 480P-MT-60standard.index = 6standard.id = 40000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 60standard.framelines = 480standard.name = 576P-MT-25standard.index = 7standard.id = 80000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 25standard.framelines = 576standard.name = 576P-MT-50standard.index = 8standard.id = 100000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 50standard.framelines = 576standard.name = 720P-MT-24standard.index = 9standard.id = 200000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 24standard.framelines = 720standard.name = 720P-MT-30standard.index = 10standard.id = 400000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 30standard.framelines = 720standard.name = 1080P-MT-18standard.index = 11standard.id = 800000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 18standard.framelines = 1080standard.name = SXGA-25standard.index = 12standard.id = 1000000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 25standard.framelines = 1024standard.name = UXGA-20standard.index = 13standard.id = 2000000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 20standard.framelines = 1200standard.name = QXGA-12standard.index = 14standard.id = 4000000000000standard.frameperiod.numerator = 1standard.frameperiod.denominator = 12standard.framelines = 1536
#define V4L2_STD_PAL_B ((v4l2_std_id)0x00000001)#define V4L2_STD_PAL_B1 ((v4l2_std_id)0x00000002)#define V4L2_STD_PAL_G ((v4l2_std_id)0x00000004)#define V4L2_STD_PAL_H ((v4l2_std_id)0x00000008)#define V4L2_STD_PAL_I ((v4l2_std_id)0x00000010)#define V4L2_STD_PAL_D ((v4l2_std_id)0x00000020)#define V4L2_STD_PAL_D1 ((v4l2_std_id)0x00000040)#define V4L2_STD_PAL_K ((v4l2_std_id)0x00000080)#define V4L2_STD_PAL_M ((v4l2_std_id)0x00000100)#define V4L2_STD_PAL_N ((v4l2_std_id)0x00000200)#define V4L2_STD_PAL_Nc ((v4l2_std_id)0x00000400)#define V4L2_STD_PAL_60 ((v4l2_std_id)0x00000800)#define V4L2_STD_NTSC_M ((v4l2_std_id)0x00001000)#define V4L2_STD_NTSC_M_JP ((v4l2_std_id)0x00002000)#define V4L2_STD_NTSC_443 ((v4l2_std_id)0x00004000)#define V4L2_STD_NTSC_M_KR ((v4l2_std_id)0x00008000)#define V4L2_STD_SECAM_B ((v4l2_std_id)0x00010000)#define V4L2_STD_SECAM_D ((v4l2_std_id)0x00020000)#define V4L2_STD_SECAM_G ((v4l2_std_id)0x00040000)#define V4L2_STD_SECAM_H ((v4l2_std_id)0x00080000)#define V4L2_STD_SECAM_K ((v4l2_std_id)0x00100000)#define V4L2_STD_SECAM_K1 ((v4l2_std_id)0x00200000)#define V4L2_STD_SECAM_L ((v4l2_std_id)0x00400000)#define V4L2_STD_SECAM_LC ((v4l2_std_id)0x00800000)
#define V4L2_STD_525P_60 ((v4l2_std_id)(0x0001000000000000ULL))#define V4L2_STD_625P_50 ((v4l2_std_id)(0x0002000000000000ULL))#define V4L2_STD_720P_60 ((v4l2_std_id)(0x0004000000000000ULL))#define V4L2_STD_720P_50 ((v4l2_std_id)(0x0008000000000000ULL))#define V4L2_STD_1080I_60 ((v4l2_std_id)(0x0010000000000000ULL))#define V4L2_STD_1080I_50 ((v4l2_std_id)(0x0020000000000000ULL))#define V4L2_STD_1080P_60 ((v4l2_std_id)(0x0040000000000000ULL))#define V4L2_STD_1080P_50 ((v4l2_std_id)(0x0080000000000000ULL))#define V4L2_STD_720P_30 ((v4l2_std_id)(0x0100000000000000ULL))#define V4L2_STD_1080I_30 ((v4l2_std_id)(0x0200000000000000ULL))#define V4L2_STD_1080P_30 ((v4l2_std_id)(0x0400000000000000ULL))
Best regard!
I believe you are using some sensor rite? open that file for example drivers/media/video/davinci/mt9p031.c or mt9v034.c
open that file and search for "struct v4l2_standard" you will find your answer.
What is the capture device you are using ?
Thx,
So you can navigate into your Camera driver, tvp5150,tvp7002 and look for struct v4l2_standard structure.