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.

[参考译文] TDA4VE-Q1:DccUpdate 错误

Guru**** 2468030 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1470011/tda4ve-q1-dccupdate-error

器件型号:TDA4VE-Q1

工具与软件:

大家好、我在 SDK 08.06.00中修改了多组份应用、以创建定制应用

我希望在运行图步骤之前更新 DCC、因此我使用了 appDccUpdatefromFS 函数、就像单段中的方法一样。

我检查了我读取 bin 文件的部分、但我在 appUpdateVpacDcc 函数中陷入了无限循环。

您能告诉我问题出在哪里吗

谢谢你

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Kim、

    appDccUpdatefromFS 尚未与多摄像头应用程序一起使用或测试。
    我不确定它是否可以工作、因为多摄像头应用程序中的多个节点在启动时共享相同的 DCC 设置。

    我在 appUpdateVpacDcc 函数中陷入无限循环。

     appDccUpdatefromFS 和 appUpdateVpacDcc 中的代码的哪个部分会触发无限循环?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    BTW、如果您使用单个摄像头启动多摄像头应用程序、您会遇到同样的问题吗?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、我确认一台摄像头正常使用。

    所以接下来要在 multicam_codec 应用程序中将其另存为视频

    在应用 appDccUpdatefromFS 函数之前、我确认视频已保存、

    但当我应用该功能时,屏幕第一次运行正常,但我不能将其另存为视频。

    如何解决该问题

    谢谢你
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    multicam_codec 应用是使您要显示到视频中的图像的应用吗、还是有任何其他用途?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Kim、

    您好、我确认一台摄像机可以正常使用。

    感谢您的确认!

    在应用 appDccUpdatefromFS 函数之前、我确认视频已保存、

    我没有使用 multiAM 编解码器的经验、但这听起来不错。

    当我应用该函数时,屏幕第一次运行正常,但我无法将其另存为视频。

    您能否简单介绍一下调用  appDccUpdatefromFS 的方式和目的?

    您是否可以轻松地使用各种 VISS 设置进行实验?

    我想、如果您在整个传感器至编解码器的流水线开始之前读取 DCC 设置、应该不会有任何问题。
    如果 DCC 设置更新在流水线开始后发生、则可能会出现一些问题、因为之前未实现和测试过该更新。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    并且该应用程序是一种将您想要显示的图像应用于视频中的应用程序、或者是否有其它用途?

    我不知道历史或细节。
    我想这是用于测试编解码器。

    复制我的朋友 对这个问题的评论。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Kim、

    并且该应用程序是一种将您想要显示的图像应用于视频中的应用程序、或者是否有其它用途?

    Mulitcam_codec 应用程序将展示如何使用编解码器。 有关更多详细信息、请参阅以下链接。

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/vision_apps/docs/user_guide/group_apps_basic_demos_app_multi_cam_codec.html

    关于 DCC 错误、由于 MULTI_CAM_APP 中涉及复制节点、因此您必须指定 node_index 来发送 cmd。

    请参阅以下说明、

    /*!
     * \brief Send node specific Control command
     * \details This API is used to send specific control command to the node.
     *          Refer to Node documentation for specific control command.
     *          Note that this API is blocking and does not return until
     *          command is executed by the node.
     *          This API is thread safe, ie multi commands can be sent to
     *          same or different nodes from different threads
     *
     * \param [in] node Reference of the node to which this command is to be sent.
     * \param [in] replicate_nodex_idx: In case of a non-replicated node this
     *             should be 0, For a replicated node this is the index
     *             of the replicated node to which the command is targeted.
     *             To send same command to all replicated nodes use
     *             TIVX_CONTROL_CMD_SEND_TO_ALL_REPLICATED_NODES
     * \param [in] node_cmd_id Node specific control command id, refer to node
     *             specific interface file
     * \param [in,out] ref[] Node parameter,
     *             - This is an array of references, required as parameters for
     *               this control command.
     *             - They can be any OpenVX object, created using create API.
     *             - They are bidirectional parameters, can be used for INPUT,
     *               OUTPUT or both.
     *             - These parameters are a list of references,
     *               which are required for the control command on the given node.
     *             - Refer to node documentation to get details about the parameters
     *               required for given control command.
     *             - If the refs have not been allocated before calling this command,
     *               the refs will be allocated within this command itself
     *             - Caller of this API should explicitly release these refs after
     *               their usage is completed.
     * \param [in] num_refs Number of valid entries/references in ref[] array
     *
     *
     * \ingroup group_tivx_ext_host
     */
    vx_status VX_API_CALL tivxNodeSendCommand(vx_node node,
        uint32_t replicate_nodex_idx, uint32_t node_cmd_id,
        vx_reference ref[], uint32_t num_refs);

    在 single_cam_app 中、没有节点复制、因此我们在此函数调用中传递0、

    通过提供 NODE_INDEX 进行检查、或使用 TIVX_CONTROL_CMD_SEND_TO_ALL_COPY_NOTS 为所有复制节点发送。

    此致、
    Gokul

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    感谢您的详细讲解。

    我还有一个关于应用的问题、我只想关闭 LDC 功能、这可行吗?

    LDC 为什么选择不能将其关闭?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Kim、

     是的、您可以使用最新版本。

    请为此问题提交另一个主题、因为它偏离了标题。

    此致、
    Gokul

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Kim、

    我只想关闭 LDC 功能、这可行吗?

    LDC 本身是一个 tiovx 内核。
    多摄像头应用程序支持 LDC 开启和关闭。