LumenLight

    LumenLight模块为应用层提供灯光绘制方法和LED信息。


位置 :frameworks/native/libs/lumenlight

++Method++

void lumen_set_enable(bool cmd)

    设置 lumen_draw 是否生效.

int lumen_draw(unsigned char* buf, int len)

    写入LED像素值.

++Variable++

int m_ledCount

    LED数量。

int m_pixelFormat

    像素格式,3代表RGB格式。

int m_frameSize

    像素值总长度,m_frameSzie = m_ledCount m_pixelFormat*。

int m_fps

    建议使用的最大帧率,实际帧率大于该值时可能导致丢帧。

results matching ""

    No results matching ""