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.

DM8148 是否支持 RGB16_565 的采集,然后264编码



您好,Tiers:

         请问一下 DM8148 是否 支持 采集  RGB16_565 的信号?

         然后输出  YUV420 进行 264 编码。

--------------------------------------------------------------------------------------

          有相关的 demo 或者  资料吗?   

          帮忙提供一下,感谢。

  • 你好,

    如果把RGB565当成RGB888输入到VIP,理论上是可以支持的。但是没有相关demo。而且由于RGB位数较少,转换后的图像质量不一定好。

    Each video capture port supports one programmable color space conversion to convert 24-bit RGB
    data to YCbCr data.
  • 您好,Chris Meng:

    因为硬件在 VIP port 0,只连接了 16 条数据线, 所以采集 RGB 的话,

    只能选择 :
    (1) 数据格式为: RGB565
    (2)采集接口模式为: 16BIT (DEVICE_CAPT_VIDEO_IF_MODE_16BIT)

    是吗? 感谢。
  • 你好,

    只有设置为RGB888输入,才能利用VIP的硬件实现RGB-》YUV的转换。

    你的输入数据只有RGB565,但可以当作是RGB888,没有的信号你可以拉低处理。
  • 您好,Chris Meng:

    我在以前【正常运行的代码】的基础上,配置 capture 时,做如下更改:

    cap_inst->inDataFormat = SYSTEM_DF_YUV422P;
    更改为:
    cap_inst->inDataFormat = SYSTEM_DF_RGB16_565;

    运行时候,在 CaptureLink_drvCreateInst() 出现 FVID2_create() 创建不成功的情况,返回空指针。

    请问,还有哪里需要更改配置?或者有什么思路? 感谢。