专栏底层软件J5如何将camera数据流通过mipi tx输出到屏端显示

J5如何将camera数据流通过mipi tx输出到屏端显示

已解决
木木布姆2023-03-02
198
9

当前硬件环境数据流:

当前输入图片格式:3840x2160 yuv422(uyvy) 30fps

当前mipitx设置输出格式0x1E(yuv422)

当前已经可以通过hbplayer工具显示camera视频图像

问题分析:

这边想把csirx接受到的camera数据通过csitx0->max96717->视频接口B gmsl输出到hdmi接口的显示屏上(用gmsl转HDMI设备)。用的vpm_gtest应用,idu.json使用默认的,mipi json配好dev相关(如附件)。目前显示屏没有任何图像显示。相关log也没有报错的情况,如附件。96717相关是否需要做修改配置呢?代码具体在哪儿修改?能否通过96717控制gmsl转HDMI设备中的解串器?

底层软件
征程5
评论6
0/1000
  • 木木布姆
    Lv.1
    2023-03-02
    0
    1
    • 木木布姆回复木木布姆:

      附件没转上去,就看评论吧

      2023-03-02
      0
  • 木木布姆
    Lv.1

    vio_test_case.sh中增加:

    elif test "$1" == "tuning_ar0820cphFov120_cim_pym0_4k_2pipe"; then

    echo "========= Run $1"

    $COMMON_DIRvpm_gtest -v "/app/bin/vps/vpm/cfg/tuning/tuning_ar0820cph_yuv_cim_rx0_pym0/vpm_config.json" -e 0 -D 1 -r 1000 -c "/app/bin/vps/vpm/cfg/tuning/tuning_ar0820cph_yuv_cim_rx0_pym0/hb_j5dev.json" -M 1 \

    -x $cam_rstart -X $vio_rstart \

    --gtest_filter=VpmScenarioTest.multi_streams_pym \

    # --gtest_output=xml:$OUTPUT_DIR_PREFIXoutput/vps_$1_test_result.xml

    app log:

    /app/bin/vps/vpm/vio_test_case.sh tuning_ar0820cphFov120_cim_pym0_4k_2pipe

    J5 2.0 Board Test

    ========= Run tuning_ar0820cphFov120_cim_pym0_4k_2pipe

    Note: Google Test filter = VpmScenarioTest.multi_streams_pym

    [==========] Running 1 test from 1 test suite.

    [----------] Global test environment set-up.

    [----------] 1 test from VpmScenarioTest

    [ RUN ] VpmScenarioTest.multi_streams_pym

    ------- Test case VpmPymTest multi_streams_pym -----

    [16:47:32]dump_server_thread_start[287] viomonitor L: wait new socket connect.

    Test prepare pipe TestContext(0).

    Pipe(0) layer0 idu0 init default cfg /app/bin/vps/vpm/cfg/idu_cfg/idu.json

    pipe(0)Test pym work thread 281473018847680---running.

    pipe(0)Test(pym_v2)pym_data_worker_thread Ready !

    Try to get Pipe(0) data type(21)(pym_v2)

    Pipe(0) hb_vpm_pym_flush sucess

    idu0 Display done.

    pym layer 0 info for idu set done

    2023-03-02
    0
    1
    • 木木布姆回复木木布姆:
      2023-03-02
      0
  • 只蓝片羽
    Lv.1

    您好:

    您这里的场景需求是:

    SENSOR(8M)->RX0->CIM/ISP/PYM(GS/BL:1080P)->IDU0->TX0->96717->GMSL2HDMI->显示器(1080P)

    此处TX0后级的96717及再之后的GMSL2HDMI芯片应该要自行配置。

    该类场景可参考: idutx -i 0 -o 1 -u 1 -m 0xc
    其会有idu及加串的配置动作,该命令源码位于hbre/camera/tools/idutx.c
    使用libdummy.so库,具体实现在utility/sensor/dummy_utility.c
    此处除了加串配置外,可能还需配置GMSL2HDMI,通过GMSL连接理论上是可以通过I2C访问到的,该芯片的配置需自行参考手册完成配置。

    谢谢~

    2023-03-07
    0
    1
    • 木木布姆回复只蓝片羽:

      好的,这边试一下,感谢!

      2023-03-07
      0
  • 木木布姆
    Lv.1
    2023-03-02
    0
    0
  • 木木布姆
    Lv.1

    有大佬帮忙解惑吗?

    2023-03-06
    0
    0
  • 嘻依以~喜
    Lv.1

    哥,请问你们现在可以将图像输到显示屏上了吗,使用的是什么方案呀?

    2024-06-02
    0
    0