This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM368 V4L2

您好,请教一下。

videohd.h里的宏定义#define  V4L2_STD_FR_50    ((V4l2_std_id)0x0008000000000000ULL),0x0008000000000000ULL如何理解?为什么打印出来是0呢?

ULL是unsigned  long  long的意思吗?

  • 您好,请教一下。

    videohd.h里的宏定义#define  V4L2_STD_FR_50    ((V4l2_std_id)0x0008000000000000ULL),为什么打印出来是0呢?其它的宏定义打印出来也是0.  

    videodev2.h里的宏定义#define  V4L2_STD_SECAM_B    ((V4l2_std_id)0x00080000)是正常的。

    是否和ULL后缀有关呀?

  • 你好,

    应该和要打印的数据的位数有关。你打印的时候参考一下下面的信息:

    %d--> for int

    %ld--> for long int

    %lld--> for long long int

    %llu--> for unsigned long long int

x 出现错误。请重试或与管理员联系。