mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-15 02:48:54 +00:00
add doc v1.1.2
This commit is contained in:
219
doc/topics/sdk/mdi/mdi_config.html
Normal file
219
doc/topics/sdk/mdi/mdi_config.html
Normal file
@@ -0,0 +1,219 @@
|
||||
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn" data-whc_version="26.0">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="description" content="按照以下流程,配置 MDI 驱动模块及相关参数: 在 Luban-Lite 根目录下执行 scons --menuconfig ,进入 menuconfig 的功能配置界面,按如下选择,打开 MPP VIN DevMode: 注: MDI 驱动依赖 MPP 中的 VIN 子模块,而且用到的是其中的 DevMode,需要提前打开。 Local packages options ---> ..."/><meta name="DC.rights.owner" content="(C) 版权 2025"/><meta name="copyright" content="(C) 版权 2025"/><meta name="generator" content="DITA-OT"/><meta name="DC.type" content="topic"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.date.modified" content="2024-12-05"/><meta name="DC.format" content="HTML5"/><meta name="DC.identifier" content="id"/><meta name="DC.language" content="zh-CN"/><title>参数配置</title><!-- Build number 2023110923. --><meta name="wh-path2root" content="../../../"/><meta name="wh-toc-id" content=""/><meta name="wh-source-relpath" content="topics/sdk/mdi/mdi_config.dita"/><meta name="wh-out-relpath" content="topics/sdk/mdi/mdi_config.html"/>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/commons.css?buildId=2023110923"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/topic.css?buildId=2023110923"/>
|
||||
|
||||
<script src="../../../webhelp/app/options/properties.js?buildId=20250121171154"></script>
|
||||
<script src="../../../webhelp/app/localization/strings.js?buildId=2023110923"></script>
|
||||
<script src="../../../webhelp/app/search/index/keywords.js?buildId=20250121171154"></script>
|
||||
<script defer="defer" src="../../../webhelp/app/commons.js?buildId=2023110923"></script>
|
||||
<script defer="defer" src="../../../webhelp/app/topic.js?buildId=2023110923"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-styles-web.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/notes.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-common.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-images.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/footnote.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-web-watermark.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/topic-body-list.css?buildId=2023110923"/></head>
|
||||
|
||||
<body id="id" class="wh_topic_page frmBody">
|
||||
<a href="#wh_topic_body" class="sr-only sr-only-focusable">
|
||||
跳转到主要内容
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<header class="navbar navbar-default wh_header">
|
||||
<div class="container-fluid">
|
||||
<div class="wh_header_flex_container navbar-nav navbar-expand-md navbar-dark">
|
||||
<div class="wh_logo_and_publication_title_container">
|
||||
<div class="wh_logo_and_publication_title">
|
||||
|
||||
<a href="http://www.artinchip.com" class=" wh_logo d-none d-sm-block "><img src="../../../company-logo-white.png" alt="RTOS SDK 使用指南SDK 指南文件"/></a>
|
||||
<div class=" wh_publication_title "><a href="../../../index.html"><span class="booktitle"><span class="ph mainbooktitle">RTOS SDK 使用指南</span><span class="ph booktitlealt">SDK 指南文件</span></span></a></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="wh_top_menu_and_indexterms_link collapse navbar-collapse" id="wh_top_menu_and_indexterms_link">
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class=" wh_search_input navbar-form wh_topic_page_search search " role="form">
|
||||
|
||||
|
||||
|
||||
<form id="searchForm" method="get" role="search" action="../../../search.html"><div><input type="search" placeholder="搜索 " class="wh_search_textfield" id="textToSearch" name="searchQuery" aria-label="搜索查询" required="required"/><button type="submit" class="wh_search_button" aria-label="搜索"><span class="search_input_text">搜索</span></button></div></form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="container-fluid" id="wh_topic_container">
|
||||
<div class="row">
|
||||
|
||||
<nav class="wh_tools d-print-none navbar-expand-md" aria-label="Tools">
|
||||
|
||||
<div data-tooltip-position="bottom" class=" wh_breadcrumb "></div>
|
||||
|
||||
|
||||
|
||||
<div class="wh_right_tools">
|
||||
<button class="wh_hide_highlight" aria-label="切换搜索突出显示" title="切换搜索突出显示"></button>
|
||||
<button class="webhelp_expand_collapse_sections" data-next-state="collapsed" aria-label="折叠截面" title="折叠截面"></button>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class=" wh_print_link print d-none d-md-inline-block "><button onClick="window.print()" title="打印此页" aria-label="打印此页"></button></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="wh_content_area">
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-12" id="wh_topic_body">
|
||||
|
||||
|
||||
|
||||
<div class=" wh_topic_content body "><main role="main"><article class="- topic/topic topic" role="article" aria-labelledby="ariaid-title1"><span class="edit-link" style="font-size:12px; opacity:0.6; text-align:right; vertical-align:middle"><a target="_blank" href="http://172.16.35.88/tasks/jdssno1uvvbf2mltu9kb9v3if05d5gopuakboe8hlud18rma/edit/F:/aicdita/aicdita-cn/topics/sdk/mdi/mdi_config.dita">Edit online</a></span><h1 class="- topic/title title topictitle1" id="ariaid-title1">参数配置</h1><div class="date inPage">5 Dec 2024</div><div style="color: gray;">
|
||||
Read time: 2 minute(s)
|
||||
</div><div class="- topic/body body"><div class="- topic/p p" data-ofbid="d111120e17__20250121171551">按照以下流程,配置 MDI 驱动模块及相关参数:<ol class="- topic/ol ol" id="id__ol_jjy_5rt_2dc" data-ofbid="id__ol_jjy_5rt_2dc"><li class="- topic/li li" data-ofbid="d111120e20__20250121171551">
|
||||
<div class="- topic/p p" data-ofbid="d111120e22__20250121171551">在 <span class="- topic/ph ph">Luban-Lite</span> 根目录下执行 <span class="+ topic/keyword sw-d/cmdname keyword cmdname">scons --menuconfig</span>,进入 menuconfig
|
||||
的功能配置界面,按如下选择,打开 MPP VIN DevMode:<div class="- topic/note note note note_note" id="id__note_onm_fst_2dc" data-ofbid="id__note_onm_fst_2dc"><span class="note__title">注:</span> MDI 驱动依赖 MPP 中的
|
||||
VIN 子模块,而且用到的是其中的
|
||||
DevMode,需要提前打开。</div><pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_xn1_4rt_2dc" data-ofbid="id__codeblock_xn1_4rt_2dc">Local packages options --->
|
||||
ArtInChip packages options --->
|
||||
[*] aic-mpp --->
|
||||
[*] Enable Video Input interface of DevMode
|
||||
(<span class="hl-number">6278400</span>) Size of Video Input buffer</pre></div>
|
||||
<p class="- topic/p p" data-ofbid="d111120e35__20250121171551">其中 <span class="+ topic/ph ui-d/uicontrol ph uicontrol">Size of Video Input buffer</span>
|
||||
需要根据应用场景的图像数据格式来计算。关于详细计算说明,可查看<a class="- topic/xref xref" href="mdi_config.html#id__section_s15_dst_2dc">MDI 应用场景及资源需求</a>。</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d111120e45__20250121171551">在 <span class="- topic/ph ph">Luban-Lite</span> 根目录下执行 <span class="+ topic/keyword sw-d/cmdname keyword cmdname">scons --menuconfig</span>,进入 menuconfig
|
||||
的功能配置界面,按如下选择,打开 MDI 驱动<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_ddm_hst_2dc" data-ofbid="id__codeblock_ddm_hst_2dc">Board options --->
|
||||
[*] Using MDI
|
||||
(PE.<span class="hl-number">11</span>) Busy signal PIN
|
||||
[*] Data sequence is First-In-First-Save</pre><ul class="- topic/ul ul simple" id="id__ul_ihk_mrt_2dc" data-ofbid="id__ul_ihk_mrt_2dc"><li class="- topic/li li" data-ofbid="d111120e56__20250121171551">
|
||||
<p class="- topic/p p" data-ofbid="d111120e58__20250121171551">
|
||||
<span class="+ topic/ph ui-d/uicontrol ph uicontrol">Busy
|
||||
signal
|
||||
PIN</span>:用于向 Host 发送 Busy 信号,默认值 PE.11 在
|
||||
D12x 中并不存在,需要根据实际板级电路修改此参数。</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d111120e64__20250121171551">
|
||||
<p class="- topic/p p" data-ofbid="d111120e66__20250121171551">
|
||||
<span class="+ topic/ph ui-d/uicontrol ph uicontrol">Data sequence is
|
||||
First-In-First-Save</span>:用于调整输入信号的存放顺序,取决于数据源格式和数据线的排布方式。</p>
|
||||
</li></ul></li></ol></div><section class="- topic/section section" id="id__section_s15_dst_2dc" data-ofbid="id__section_s15_dst_2dc"><h2 class="- topic/title title sectiontitle">MDI 应用场景及资源需求</h2>
|
||||
|
||||
|
||||
|
||||
<p class="- topic/p p" data-ofbid="d111120e77__20250121171551">为了覆盖大部分场景, <span class="+ topic/ph ui-d/uicontrol ph uicontrol">Size of Video Input buffer</span>
|
||||
<strong class="+ topic/ph hi-d/b ph b">默认值使用输入 640*480、RGB888 格式计算得到 6278400</strong>,如果输入超过 640*480、RGB888 的资源需求,就需要调大此
|
||||
Buffer。用户可以参考<a class="- topic/xref xref" href="../../../external-references/MDI_buf_size.xlsx">MDIBuf 资源需求的计算表</a> 的数据源格式、显示格式来计算 Buf 资源的需求。</p>
|
||||
<p class="- topic/p p" data-ofbid="d111120e90__20250121171551">MDI 应用场景及资源需求的详细说明如下所示:</p>
|
||||
|
||||
|
||||
<div class="- topic/div div section" id="id__mpp-vin-devmode">
|
||||
|
||||
<div class="- topic/div div section" id="id__mdi-de"><strong class="+ topic/ph hi-d/b ph b">MDI -> DE 场景的资源需求</strong>
|
||||
<p class="- topic/p p" data-ofbid="d111120e99__20250121171551">MDI 取到的数据放入 Buffer 队列,该 Buffer 队列会直接交给 DE 去显示。 运行过程中为了流畅度,<strong class="+ topic/ph hi-d/b ph b">Buffer 队列需要的
|
||||
Buffer 数量至少是 3</strong>。</p><p class="- topic/p p" data-ofbid="d111120e104__20250121171551">Buffer 的大小主要取决于 Framebuffer 的图像格式,下表以 1024*600
|
||||
显示分辨率列举一些情况:</p><div class="table-container"><table class="- topic/table table frame-all" id="id__table_dhk_mrt_2dc" data-ofbid="id__table_dhk_mrt_2dc" data-cols="4"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label">表<span class="table--title-label-number"> 1</span><span class="table--title-label-punctuation">. </span></span><span class="table--title"></span></caption><colgroup><col style="width:21.598272138228943%"/><col style="width:24.406047516198704%"/><col style="width:24.838012958963283%"/><col style="width:29.157667386609077%"/></colgroup><thead class="- topic/thead thead"><tr class="- topic/row"><th class="- topic/entry entry colsep-1 rowsep-1" id="id__table_dhk_mrt_2dc__entry__1">FB 格式</th><th class="- topic/entry entry colsep-1 rowsep-1" id="id__table_dhk_mrt_2dc__entry__2">Buffer Size</th><th class="- topic/entry entry colsep-1 rowsep-1" id="id__table_dhk_mrt_2dc__entry__3">Buffer 个数</th><th class="- topic/entry entry colsep-0 rowsep-1" id="id__table_dhk_mrt_2dc__entry__4">总的 RAM 需求</th></tr></thead><tbody class="- topic/tbody tbody"><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_dhk_mrt_2dc__entry__1">RGB565</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_dhk_mrt_2dc__entry__2">1,228,800</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_dhk_mrt_2dc__entry__3">3</td><td class="- topic/entry entry colsep-0 rowsep-1" headers="id__table_dhk_mrt_2dc__entry__4">3,686,400</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_dhk_mrt_2dc__entry__1">RGB888</td><td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_dhk_mrt_2dc__entry__2">1,843,200</td><td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_dhk_mrt_2dc__entry__3">3</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="id__table_dhk_mrt_2dc__entry__4">5,529,600</td></tr></tbody></table></div></div>
|
||||
<div class="- topic/div div section" id="id__mdi-ge-de">
|
||||
<strong class="+ topic/ph hi-d/b ph b">MDI -> GE -> DE 场景的资源需求</strong>
|
||||
<p class="- topic/p p" data-ofbid="d111120e148__20250121171551">MDI 取到的数据先放入 Buffer 队列,该 Buffer 队列会交给 GE 去处理,然后 GE 输出到一对乒乓 Buffer,乒乓 Buffer
|
||||
再转交 DE 去显示。 同上,运行过程中为了流畅度,Buffer 队列需要的 Buffer 数量至少是 3。</p><p class="- topic/p p" data-ofbid="d111120e150__20250121171551">这种场景要分两部分去计算
|
||||
Buffer 需求: Buffer 总大小=Buffer 队列的大小+乒乓 Buffer 的大小</p><ol class="- topic/ol ol arabic simple" id="id__ol_ehk_mrt_2dc" data-ofbid="id__ol_ehk_mrt_2dc"><li class="- topic/li li" data-ofbid="d111120e153__20250121171551">
|
||||
<div class="- topic/p p" data-ofbid="d111120e155__20250121171551">Buffer 队列中,单个 Buffer 的大小取决于 MDI 的输入图像格式。下表是一些格式举例:<div class="table-container"><table class="- topic/table table frame-all" id="id__table_fhk_mrt_2dc" data-ofbid="id__table_fhk_mrt_2dc" data-cols="5"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label">表<span class="table--title-label-number"> 2</span><span class="table--title-label-punctuation">. </span></span><span class="table--title"></span></caption><colgroup><col style="width:18.26241134751773%"/><col style="width:19.326241134751772%"/><col style="width:21.98581560283688%"/><col style="width:22.69503546099291%"/><col style="width:17.730496453900706%"/></colgroup><thead class="- topic/thead thead"><tr class="- topic/row"><th class="- topic/entry entry colsep-1 rowsep-1" id="id__table_fhk_mrt_2dc__entry__1">输入格式</th><th class="- topic/entry entry colsep-1 rowsep-1" id="id__table_fhk_mrt_2dc__entry__2">输入分辨率</th><th class="- topic/entry entry colsep-1 rowsep-1" id="id__table_fhk_mrt_2dc__entry__3">输入 Buffer Size</th><th class="- topic/entry entry colsep-1 rowsep-1" id="id__table_fhk_mrt_2dc__entry__4">输入 Buffre 个数</th><th class="- topic/entry entry colsep-0 rowsep-1" id="id__table_fhk_mrt_2dc__entry__5">RAM 需求</th></tr></thead><tbody class="- topic/tbody tbody"><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__1">RGB565</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__2">320*480</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__3">307,200</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__4">3</td><td class="- topic/entry entry colsep-0 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__5">921,600</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__1">RGB888</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__2">320*480</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__3">460,800</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__4">3</td><td class="- topic/entry entry colsep-0 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__5">1,382,400</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__1">RGB565</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__2">640*480</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__3">921,600</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__4">3</td><td class="- topic/entry entry colsep-0 rowsep-1" headers="id__table_fhk_mrt_2dc__entry__5">1,728,000</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_fhk_mrt_2dc__entry__1">RGB888</td><td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_fhk_mrt_2dc__entry__2">640*480</td><td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_fhk_mrt_2dc__entry__3">921,600</td><td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_fhk_mrt_2dc__entry__4">3</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="id__table_fhk_mrt_2dc__entry__5">2,592,000</td></tr></tbody></table></div></div>
|
||||
<div class="- topic/note note note note_note" id="id__note_xgp_qn3_ddc" data-ofbid="id__note_xgp_qn3_ddc"><span class="note__title">注:</span>
|
||||
<p class="- topic/p p" data-ofbid="d111120e225__20250121171551">在 <strong class="+ topic/ph hi-d/b ph b">局部刷新</strong> 的场景中,需要用一块 Buffer 来当作背景图的备份,所以在上表基础上 Buffer 队列中的
|
||||
Buffer 个数需要再加一。</p>
|
||||
</div>
|
||||
</li><li class="- topic/li li" data-ofbid="d111120e232__20250121171551">
|
||||
<div class="- topic/p p" data-ofbid="d111120e234__20250121171551">乒乓 Buffer 中,单个 Buffer 的大小取决于 DE 的图像格式。下表是一些格式举例:<div class="table-container"><table class="- topic/table table frame-all" id="id__table_hhk_mrt_2dc" data-ofbid="id__table_hhk_mrt_2dc" data-cols="4"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label">表<span class="table--title-label-number"> 3</span><span class="table--title-label-punctuation">. </span></span><span class="table--title"></span></caption><colgroup><col style="width:24.39024390243903%"/><col style="width:26.829268292682933%"/><col style="width:24.39024390243903%"/><col style="width:24.39024390243903%"/></colgroup><thead class="- topic/thead thead"><tr class="- topic/row"><th class="- topic/entry entry colsep-1 rowsep-1" id="id__table_hhk_mrt_2dc__entry__1">FB 格式</th><th class="- topic/entry entry colsep-1 rowsep-1" id="id__table_hhk_mrt_2dc__entry__2">Buffer Size</th><th class="- topic/entry entry colsep-1 rowsep-1" id="id__table_hhk_mrt_2dc__entry__3">Buffer 个数</th><th class="- topic/entry entry colsep-0 rowsep-1" id="id__table_hhk_mrt_2dc__entry__4">RAM 需求</th></tr></thead><tbody class="- topic/tbody tbody"><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_hhk_mrt_2dc__entry__1">RGB565</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_hhk_mrt_2dc__entry__2">1,228,800</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_hhk_mrt_2dc__entry__3">2</td><td class="- topic/entry entry colsep-0 rowsep-1" headers="id__table_hhk_mrt_2dc__entry__4">2,457,600</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_hhk_mrt_2dc__entry__1">RGB888</td><td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_hhk_mrt_2dc__entry__2">1,843,200</td><td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_hhk_mrt_2dc__entry__3">2</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="id__table_hhk_mrt_2dc__entry__4">3,686,400</td></tr></tbody></table></div></div>
|
||||
</li></ol></div>
|
||||
</div>
|
||||
|
||||
</section></div></article></main></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<footer class="navbar navbar-default wh_footer">
|
||||
<div class=" footer-container mx-auto ">
|
||||
<title>footer def</title>
|
||||
<style><!--
|
||||
|
||||
.p1 {
|
||||
font-family: FangZhengShuSong, Times, serif;
|
||||
}
|
||||
.p2 {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
.p3 {
|
||||
font-family: "Lucida Console", "Courier New", monospace;
|
||||
}
|
||||
|
||||
--></style>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="webhelp.fragment.footer">
|
||||
<p class="p1">Copyright © 2019-2024 广东匠芯创科技有限公司. All rights reserved.</p>
|
||||
</div><div>
|
||||
<div class="generation_time">
|
||||
Update Time: 2025-01-21
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<div id="go2top" class="d-print-none">
|
||||
<span class="oxy-icon oxy-icon-up"></span>
|
||||
</div>
|
||||
|
||||
<div id="modal_img_large" class="modal">
|
||||
<span class="close oxy-icon oxy-icon-remove"></span>
|
||||
<div id="modal_img_container"></div>
|
||||
<div id="caption"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="${pd}/publishing/publishing-styles-AIC-template/js/custom.js" defer="defer"></script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
206
doc/topics/sdk/mdi/mdi_debug.html
Normal file
206
doc/topics/sdk/mdi/mdi_debug.html
Normal file
@@ -0,0 +1,206 @@
|
||||
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn" data-whc_version="26.0">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="description" content="调试开关 在 Luban-Lite 中,MDI 驱动的 Log 控制接口共用了全局的 ulog 接口。 ulog 打印级别的控制方法,可以参考调试 Log 的级别。 在 mpp_vin_dev.c 中,预留了两个调试用的宏: # define VIN_DEBUG_SHOW_FRAMERATE # define VIN_DEBUG_DISP_ENABLE # define ..."/><meta name="DC.rights.owner" content="(C) 版权 2025"/><meta name="copyright" content="(C) 版权 2025"/><meta name="generator" content="DITA-OT"/><meta name="DC.type" content="topic"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.date.modified" content="2024-12-05"/><meta name="DC.format" content="HTML5"/><meta name="DC.identifier" content="id"/><meta name="DC.language" content="zh-CN"/><title>调试指南</title><!-- Build number 2023110923. --><meta name="wh-path2root" content="../../../"/><meta name="wh-toc-id" content=""/><meta name="wh-source-relpath" content="topics/sdk/mdi/mdi_debug.dita"/><meta name="wh-out-relpath" content="topics/sdk/mdi/mdi_debug.html"/>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/commons.css?buildId=2023110923"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/topic.css?buildId=2023110923"/>
|
||||
|
||||
<script src="../../../webhelp/app/options/properties.js?buildId=20250121171154"></script>
|
||||
<script src="../../../webhelp/app/localization/strings.js?buildId=2023110923"></script>
|
||||
<script src="../../../webhelp/app/search/index/keywords.js?buildId=20250121171154"></script>
|
||||
<script defer="defer" src="../../../webhelp/app/commons.js?buildId=2023110923"></script>
|
||||
<script defer="defer" src="../../../webhelp/app/topic.js?buildId=2023110923"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-styles-web.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/notes.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-common.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-images.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/footnote.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-web-watermark.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/topic-body-list.css?buildId=2023110923"/></head>
|
||||
|
||||
<body id="id" class="wh_topic_page frmBody">
|
||||
<a href="#wh_topic_body" class="sr-only sr-only-focusable">
|
||||
跳转到主要内容
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<header class="navbar navbar-default wh_header">
|
||||
<div class="container-fluid">
|
||||
<div class="wh_header_flex_container navbar-nav navbar-expand-md navbar-dark">
|
||||
<div class="wh_logo_and_publication_title_container">
|
||||
<div class="wh_logo_and_publication_title">
|
||||
|
||||
<a href="http://www.artinchip.com" class=" wh_logo d-none d-sm-block "><img src="../../../company-logo-white.png" alt="RTOS SDK 使用指南SDK 指南文件"/></a>
|
||||
<div class=" wh_publication_title "><a href="../../../index.html"><span class="booktitle"><span class="ph mainbooktitle">RTOS SDK 使用指南</span><span class="ph booktitlealt">SDK 指南文件</span></span></a></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="wh_top_menu_and_indexterms_link collapse navbar-collapse" id="wh_top_menu_and_indexterms_link">
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class=" wh_search_input navbar-form wh_topic_page_search search " role="form">
|
||||
|
||||
|
||||
|
||||
<form id="searchForm" method="get" role="search" action="../../../search.html"><div><input type="search" placeholder="搜索 " class="wh_search_textfield" id="textToSearch" name="searchQuery" aria-label="搜索查询" required="required"/><button type="submit" class="wh_search_button" aria-label="搜索"><span class="search_input_text">搜索</span></button></div></form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="container-fluid" id="wh_topic_container">
|
||||
<div class="row">
|
||||
|
||||
<nav class="wh_tools d-print-none navbar-expand-md" aria-label="Tools">
|
||||
|
||||
<div data-tooltip-position="bottom" class=" wh_breadcrumb "></div>
|
||||
|
||||
|
||||
|
||||
<div class="wh_right_tools">
|
||||
<button class="wh_hide_highlight" aria-label="切换搜索突出显示" title="切换搜索突出显示"></button>
|
||||
<button class="webhelp_expand_collapse_sections" data-next-state="collapsed" aria-label="折叠截面" title="折叠截面"></button>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class=" wh_print_link print d-none d-md-inline-block "><button onClick="window.print()" title="打印此页" aria-label="打印此页"></button></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="wh_content_area">
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-lg-10 col-md-10 col-sm-10 col-xs-12" id="wh_topic_body">
|
||||
|
||||
<button id="wh_close_topic_toc_button" class="close-toc-button d-none" aria-label="Toggle topic table of content" aria-controls="wh_topic_toc" aria-expanded="true">
|
||||
<span class="close-toc-icon-container">
|
||||
<span class="close-toc-icon"></span>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<div class=" wh_topic_content body "><main role="main"><article class="- topic/topic topic" role="article" aria-labelledby="ariaid-title1"><span class="edit-link" style="font-size:12px; opacity:0.6; text-align:right; vertical-align:middle"><a target="_blank" href="http://172.16.35.88/tasks/jdssno1uvvbf2mltu9kb9v3if05d5gopuakboe8hlud18rma/edit/F:/aicdita/aicdita-cn/topics/sdk/mdi/mdi_debug.dita">Edit online</a></span><h1 class="- topic/title title topictitle1" id="ariaid-title1">调试指南</h1><div class="date inPage">5 Dec 2024</div><div style="color: gray;">
|
||||
Read time: 1 minute(s)
|
||||
</div><div class="- topic/body body"><section class="- topic/section section" id="id__section_i5c_b5t_2dc" data-ofbid="id__section_i5c_b5t_2dc"><h2 class="- topic/title title sectiontitle">调试开关</h2>
|
||||
|
||||
<div class="- topic/div div">
|
||||
<p class="- topic/p p" data-ofbid="d258406e24__20250121171715">在 <span class="- topic/ph ph">Luban-Lite</span> 中,MDI 驱动的 Log 控制接口共用了全局的 ulog 接口。</p>
|
||||
<p class="- topic/p p" data-ofbid="d258406e30__20250121171715">ulog 打印级别的控制方法,可以参考调试 Log 的级别。</p>
|
||||
<div class="- topic/p p" data-ofbid="d258406e33__20250121171715">在 mpp_vin_dev.c
|
||||
中,预留了两个调试用的宏:<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_t3p_b5t_2dc" data-ofbid="id__codeblock_t3p_b5t_2dc">#<span class="hl-directive">define</span> VIN_DEBUG_SHOW_FRAMERATE
|
||||
#<span class="hl-directive">define</span> VIN_DEBUG_DISP_ENABLE
|
||||
#<span class="hl-directive">define</span> VIN_DEBUG_PART_REFRESH
|
||||
#<span class="hl-directive">define</span> VIN_DEBUG_GEN_CMD
|
||||
<em class="hl-comment">// #define VIN_DEBUG_VERBOSE_LOG</em></pre></div>
|
||||
<div class="- topic/p p" data-ofbid="d258406e38__20250121171715">这些宏的功能分别是:<div class="- topic/note note note note_note" id="id__note_ysd_s5t_2dc" data-ofbid="id__note_ysd_s5t_2dc"><span class="note__title">注:</span> 注释掉宏可关闭相应功能,可以看到最后一个调试开关的默认状态是关闭。</div></div>
|
||||
<ol class="- topic/ol ol arabic simple" id="id__ol_ssh_ytt_2dc" data-ofbid="id__ol_ssh_ytt_2dc"><li class="- topic/li li" data-ofbid="d258406e44__20250121171715">
|
||||
<p class="- topic/p p" data-ofbid="d258406e46__20250121171715"><strong class="+ topic/ph hi-d/b ph b">VIN_DEBUG_SHOW_FRAMERATE</strong>: 是否统计帧率的数据并定时打印显示</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d258406e51__20250121171715">
|
||||
<p class="- topic/p p" data-ofbid="d258406e53__20250121171715"><strong class="+ topic/ph hi-d/b ph b">VIN_DEBUG_DISP_ENABLE</strong>: 启用 DE 将数据显示到屏幕</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d258406e58__20250121171715">
|
||||
<p class="- topic/p p" data-ofbid="d258406e60__20250121171715"><strong class="+ topic/ph hi-d/b ph b">VIN_DEBUG_PART_REFRESH</strong>: 启用 <strong class="+ topic/ph hi-d/b ph b">局部刷新</strong> 功能的支持</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d258406e68__20250121171715">
|
||||
<p class="- topic/p p" data-ofbid="d258406e70__20250121171715"><strong class="+ topic/ph hi-d/b ph b">VIN_DEBUG_GEN_CMD</strong>: 模拟一组 DBI CMD 来完成初始化的参数配置,即不依赖发送端的初始化命令</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d258406e75__20250121171715">
|
||||
<p class="- topic/p p" data-ofbid="d258406e77__20250121171715"><strong class="+ topic/ph hi-d/b ph b">VIN_DEBUG_VERBOSE_LOG</strong>: 显示更多 log 信息,主要是打开传输过程中的 0x2A、0x2B 命令信息</p>
|
||||
</li></ol>
|
||||
</div>
|
||||
</section><section class="- topic/section section" id="id__section_kmb_15t_2dc" data-ofbid="id__section_kmb_15t_2dc"><h2 class="- topic/title title sectiontitle">驱动加载状态</h2>
|
||||
|
||||
<div class="- topic/div div section" id="id__id3">
|
||||
<p class="- topic/p p" data-ofbid="d258406e91__20250121171715">MDI 的设备初始化入口,是放在 MPP VIN Dev 的初始化中调用完成的。 </p>
|
||||
<p class="- topic/p p" data-ofbid="d258406e94__20250121171715">在 RT-Thread 中,MDI 暂时没有注册为一个设备,只是提供了一些 API 接口,所以从命令 <span class="+ topic/keyword sw-d/cmdname keyword cmdname">list_device</span>
|
||||
中是看不到 MDI 设备的。</p>
|
||||
</div>
|
||||
</section></div></article></main></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav role="navigation" id="wh_topic_toc" aria-label="On this page" class="col-lg-2 d-none d-lg-block navbar d-print-none">
|
||||
<div id="wh_topic_toc_content">
|
||||
|
||||
<div class=" wh_topic_toc "><div class="wh_topic_label">在本页上</div><ul><li class="section-item"><div class="section-title"><a href="#id__section_i5c_b5t_2dc" data-tocid="id__section_i5c_b5t_2dc">调试开关</a></div></li><li class="section-item"><div class="section-title"><a href="#id__section_kmb_15t_2dc" data-tocid="id__section_kmb_15t_2dc">驱动加载状态</a></div></li></ul></div>
|
||||
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<footer class="navbar navbar-default wh_footer">
|
||||
<div class=" footer-container mx-auto ">
|
||||
<title>footer def</title>
|
||||
<style><!--
|
||||
|
||||
.p1 {
|
||||
font-family: FangZhengShuSong, Times, serif;
|
||||
}
|
||||
.p2 {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
.p3 {
|
||||
font-family: "Lucida Console", "Courier New", monospace;
|
||||
}
|
||||
|
||||
--></style>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="webhelp.fragment.footer">
|
||||
<p class="p1">Copyright © 2019-2024 广东匠芯创科技有限公司. All rights reserved.</p>
|
||||
</div><div>
|
||||
<div class="generation_time">
|
||||
Update Time: 2025-01-21
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<div id="go2top" class="d-print-none">
|
||||
<span class="oxy-icon oxy-icon-up"></span>
|
||||
</div>
|
||||
|
||||
<div id="modal_img_large" class="modal">
|
||||
<span class="close oxy-icon oxy-icon-remove"></span>
|
||||
<div id="modal_img_container"></div>
|
||||
<div id="caption"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="${pd}/publishing/publishing-styles-AIC-template/js/custom.js" defer="defer"></script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
588
doc/topics/sdk/mdi/mdi_design.html
Normal file
588
doc/topics/sdk/mdi/mdi_design.html
Normal file
File diff suppressed because one or more lines are too long
249
doc/topics/sdk/mdi/mdi_faq.html
Normal file
249
doc/topics/sdk/mdi/mdi_faq.html
Normal file
@@ -0,0 +1,249 @@
|
||||
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn" data-whc_version="26.0">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="description" content="屏幕显示画面卡顿 现象 屏幕显示的画面有明显卡顿情况。 原因分析 可能是 OS 的调度不够及时导致,导致 MDI 的帧采集不连贯。 解决方法 检查操作系统调度。 确保操作系统(OS)能够及时调度任务。如果 OS 的调度不够及时,可能会导致 MDI(多媒体接口)的帧采集不连贯,从而出现卡顿现象。 调整 MDI 驱动中的调试信息输出。如果 MDI ..."/><meta name="DC.rights.owner" content="(C) 版权 2025"/><meta name="copyright" content="(C) 版权 2025"/><meta name="generator" content="DITA-OT"/><meta name="DC.type" content="topic"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.date.modified" content="2024-10-29"/><meta name="DC.format" content="HTML5"/><meta name="DC.identifier" content="id"/><meta name="DC.language" content="zh-CN"/><title>常见问题</title><!-- Build number 2023110923. --><meta name="wh-path2root" content="../../../"/><meta name="wh-toc-id" content=""/><meta name="wh-source-relpath" content="topics/sdk/mdi/mdi_faq.dita"/><meta name="wh-out-relpath" content="topics/sdk/mdi/mdi_faq.html"/>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/commons.css?buildId=2023110923"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/topic.css?buildId=2023110923"/>
|
||||
|
||||
<script src="../../../webhelp/app/options/properties.js?buildId=20250121171154"></script>
|
||||
<script src="../../../webhelp/app/localization/strings.js?buildId=2023110923"></script>
|
||||
<script src="../../../webhelp/app/search/index/keywords.js?buildId=20250121171154"></script>
|
||||
<script defer="defer" src="../../../webhelp/app/commons.js?buildId=2023110923"></script>
|
||||
<script defer="defer" src="../../../webhelp/app/topic.js?buildId=2023110923"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-styles-web.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/notes.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-common.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-images.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/footnote.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-web-watermark.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/topic-body-list.css?buildId=2023110923"/></head>
|
||||
|
||||
<body id="id" class="wh_topic_page frmBody">
|
||||
<a href="#wh_topic_body" class="sr-only sr-only-focusable">
|
||||
跳转到主要内容
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<header class="navbar navbar-default wh_header">
|
||||
<div class="container-fluid">
|
||||
<div class="wh_header_flex_container navbar-nav navbar-expand-md navbar-dark">
|
||||
<div class="wh_logo_and_publication_title_container">
|
||||
<div class="wh_logo_and_publication_title">
|
||||
|
||||
<a href="http://www.artinchip.com" class=" wh_logo d-none d-sm-block "><img src="../../../company-logo-white.png" alt="RTOS SDK 使用指南SDK 指南文件"/></a>
|
||||
<div class=" wh_publication_title "><a href="../../../index.html"><span class="booktitle"><span class="ph mainbooktitle">RTOS SDK 使用指南</span><span class="ph booktitlealt">SDK 指南文件</span></span></a></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="wh_top_menu_and_indexterms_link collapse navbar-collapse" id="wh_top_menu_and_indexterms_link">
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class=" wh_search_input navbar-form wh_topic_page_search search " role="form">
|
||||
|
||||
|
||||
|
||||
<form id="searchForm" method="get" role="search" action="../../../search.html"><div><input type="search" placeholder="搜索 " class="wh_search_textfield" id="textToSearch" name="searchQuery" aria-label="搜索查询" required="required"/><button type="submit" class="wh_search_button" aria-label="搜索"><span class="search_input_text">搜索</span></button></div></form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="container-fluid" id="wh_topic_container">
|
||||
<div class="row">
|
||||
|
||||
<nav class="wh_tools d-print-none navbar-expand-md" aria-label="Tools">
|
||||
|
||||
<div data-tooltip-position="bottom" class=" wh_breadcrumb "></div>
|
||||
|
||||
|
||||
|
||||
<div class="wh_right_tools">
|
||||
<button class="wh_hide_highlight" aria-label="切换搜索突出显示" title="切换搜索突出显示"></button>
|
||||
<button class="webhelp_expand_collapse_sections" data-next-state="collapsed" aria-label="折叠截面" title="折叠截面"></button>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class=" wh_print_link print d-none d-md-inline-block "><button onClick="window.print()" title="打印此页" aria-label="打印此页"></button></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="wh_content_area">
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-lg-10 col-md-10 col-sm-10 col-xs-12" id="wh_topic_body">
|
||||
|
||||
<button id="wh_close_topic_toc_button" class="close-toc-button d-none" aria-label="Toggle topic table of content" aria-controls="wh_topic_toc" aria-expanded="true">
|
||||
<span class="close-toc-icon-container">
|
||||
<span class="close-toc-icon"></span>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<div class=" wh_topic_content body "><main role="main"><article class="- topic/topic topic" role="article" aria-labelledby="ariaid-title1"><span class="edit-link" style="font-size:12px; opacity:0.6; text-align:right; vertical-align:middle"><a target="_blank" href="http://172.16.35.88/tasks/jdssno1uvvbf2mltu9kb9v3if05d5gopuakboe8hlud18rma/edit/F:/aicdita/aicdita-cn/topics/sdk/mdi/mdi_faq.dita">Edit online</a></span><h1 class="- topic/title title topictitle1" id="ariaid-title1">常见问题</h1><div class="date inPage">29 Oct 2024</div><div style="color: gray;">
|
||||
Read time: 1 minute(s)
|
||||
</div><div class="- topic/body body"><section class="- topic/section section" id="id__section_fmh_rry_2dc" data-ofbid="id__section_fmh_rry_2dc"><h2 class="- topic/title title sectiontitle">屏幕显示画面卡顿</h2>
|
||||
|
||||
<ul class="- topic/ul ul simple" id="id__ul_gjl_kry_2dc" data-ofbid="id__ul_gjl_kry_2dc"><li class="- topic/li li" data-ofbid="d106103e23__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e25__20250121171540">现象</p>
|
||||
|
||||
<p class="- topic/p p" data-ofbid="d106103e28__20250121171540">屏幕显示的画面有明显卡顿情况。</p>
|
||||
|
||||
</li><li class="- topic/li li" data-ofbid="d106103e31__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e33__20250121171540">原因分析</p>
|
||||
<p class="- topic/p p" data-ofbid="d106103e36__20250121171540">可能是 OS 的调度不够及时导致,导致 MDI 的帧采集不连贯。</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d106103e39__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e41__20250121171540">解决方法</p>
|
||||
<ol class="- topic/ol ol arabic simple" id="id__ol_jjl_kry_2dc" data-ofbid="id__ol_jjl_kry_2dc"><li class="- topic/li li" data-ofbid="d106103e45__20250121171540">检查操作系统调度。<p class="- topic/p p" data-ofbid="d106103e47__20250121171540">确保操作系统(OS)能够及时调度任务。如果 OS 的调度不够及时,可能会导致
|
||||
MDI(多媒体接口)的帧采集不连贯,从而出现卡顿现象。</p></li><li class="- topic/li li" data-ofbid="d106103e49__20250121171540">调整 MDI 驱动中的调试信息输出。如果 MDI 驱动中的调试信息输出过多,会占用大量的系统资源,影响帧率。<ul class="- topic/ul ul" id="id__ul_xyb_tty_2dc" data-ofbid="id__ul_xyb_tty_2dc"><li class="- topic/li li" data-ofbid="d106103e52__20250121171540">关闭或降低调试信息的输出频率。如果 MDI 驱动中的调试信息打开了,每一帧数据处理都有输出
|
||||
log,会影响帧率,需要关掉。</li><li class="- topic/li li" data-ofbid="d106103e54__20250121171540">提升 log 级别,减少不必要的日志记录。详见 <a class="- topic/xref xref" href="mdi_debug.html">调试指南</a></li></ul></li><li class="- topic/li li" data-ofbid="d106103e59__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e61__20250121171540">尝试增加 buffer 数量,保证 Buffer 队列中有充裕的空闲 buf。</p>
|
||||
</li></ol>
|
||||
</li></ul>
|
||||
|
||||
</section><section class="- topic/section section" id="id__section_gmh_rry_2dc" data-ofbid="id__section_gmh_rry_2dc"><h2 class="- topic/title title sectiontitle">出现
|
||||
GE
|
||||
Timeout
|
||||
报错</h2>
|
||||
|
||||
<div class="- topic/div div">
|
||||
<ul class="- topic/ul ul simple" id="id__ul_kjl_kry_2dc" data-ofbid="id__ul_kjl_kry_2dc"><li class="- topic/li li" data-ofbid="d106103e74__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e76__20250121171540">现象</p>
|
||||
|
||||
<p class="- topic/p p" data-ofbid="d106103e79__20250121171540">MDI->GE->MDI 场景,在采集几帧画面后就出现 GE Timeout,然后卡死</p>
|
||||
|
||||
</li><li class="- topic/li li" data-ofbid="d106103e82__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e84__20250121171540">原因分析</p>
|
||||
<p class="- topic/p p" data-ofbid="d106103e87__20250121171540">由于高帧率和高分辨率的数据量过大,导致 GE 无法及时读取到数据,从而引发 Timeout 报错,并且因为 GE
|
||||
卡顿会导致整个数据流无法持续正常流转。 </p>
|
||||
</li><li class="- topic/li li" data-ofbid="d106103e90__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e92__20250121171540">解决方法</p>
|
||||
<ol class="- topic/ol ol" id="id__ol_usc_d5y_2dc" data-ofbid="id__ol_usc_d5y_2dc"><li class="- topic/li li" data-ofbid="d106103e96__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e98__20250121171540">检查并调整 Host 端数据源的帧率,将其降低到一个合适的值。</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d106103e101__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e103__20250121171540">检查并调整分辨率设置,使其低于当前配置。</p>
|
||||
</li></ol>
|
||||
</li></ul>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</section><section class="- topic/section section" id="id__section_mv4_sry_2dc" data-ofbid="id__section_mv4_sry_2dc"><h2 class="- topic/title title sectiontitle"> 画面出现规律的分割</h2>
|
||||
|
||||
<div class="- topic/div div">
|
||||
<ul class="- topic/ul ul simple" id="id__ul_njl_kry_2dc" data-ofbid="id__ul_njl_kry_2dc"><li class="- topic/li li" data-ofbid="d106103e117__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e119__20250121171540">现象</p>
|
||||
|
||||
<p class="- topic/p p" data-ofbid="d106103e122__20250121171540">假如原图是一棵树,但最终显示出来是两棵树,或者一颗半,而且颜色失真。</p>
|
||||
|
||||
</li><li class="- topic/li li" data-ofbid="d106103e125__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e127__20250121171540">原因分析</p>
|
||||
<p class="- topic/p p" data-ofbid="d106103e130__20250121171540">一般是 RGB565、RGB888 格式的误用导致。</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d106103e133__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e135__20250121171540">解决方法</p>
|
||||
<p class="- topic/p p" data-ofbid="d106103e138__20250121171540">排查 Host 端发送的 0x3A 命令的数据内容是否符合实际的数据格式。如果不符合,则调整 0x3A 参数的数据。0x3A 数据定义详见
|
||||
<a class="- topic/xref xref" href="mdi_design.html">设计说明</a> 中的自定义 DBI 命令设计。</p>
|
||||
<ol class="- topic/ol ol arabic simple" id="id__ol_qjl_kry_2dc" data-ofbid="id__ol_qjl_kry_2dc"><li class="- topic/li li" data-ofbid="d106103e146__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e148__20250121171540">调整 DBI 和 DPI 的数据格式定义。</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d106103e151__20250121171540">
|
||||
<p class="- topic/p p" data-ofbid="d106103e153__20250121171540">确认 SoC 的 MDI、DE 控制器参数配置,是否和 0x3A 命令保持一致。</p>
|
||||
</li></ol>
|
||||
</li></ul>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</section></div></article></main></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav role="navigation" id="wh_topic_toc" aria-label="On this page" class="col-lg-2 d-none d-lg-block navbar d-print-none">
|
||||
<div id="wh_topic_toc_content">
|
||||
|
||||
<div class=" wh_topic_toc "><div class="wh_topic_label">在本页上</div><ul><li class="section-item"><div class="section-title"><a href="#id__section_fmh_rry_2dc" data-tocid="id__section_fmh_rry_2dc">屏幕显示画面卡顿</a></div></li><li class="section-item"><div class="section-title"><a href="#id__section_gmh_rry_2dc" data-tocid="id__section_gmh_rry_2dc">出现
|
||||
GE
|
||||
Timeout
|
||||
报错</a></div></li><li class="section-item"><div class="section-title"><a href="#id__section_mv4_sry_2dc" data-tocid="id__section_mv4_sry_2dc"> 画面出现规律的分割</a></div></li></ul></div>
|
||||
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<footer class="navbar navbar-default wh_footer">
|
||||
<div class=" footer-container mx-auto ">
|
||||
<title>footer def</title>
|
||||
<style><!--
|
||||
|
||||
.p1 {
|
||||
font-family: FangZhengShuSong, Times, serif;
|
||||
}
|
||||
.p2 {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
.p3 {
|
||||
font-family: "Lucida Console", "Courier New", monospace;
|
||||
}
|
||||
|
||||
--></style>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="webhelp.fragment.footer">
|
||||
<p class="p1">Copyright © 2019-2024 广东匠芯创科技有限公司. All rights reserved.</p>
|
||||
</div><div>
|
||||
<div class="generation_time">
|
||||
Update Time: 2025-01-21
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<div id="go2top" class="d-print-none">
|
||||
<span class="oxy-icon oxy-icon-up"></span>
|
||||
</div>
|
||||
|
||||
<div id="modal_img_large" class="modal">
|
||||
<span class="close oxy-icon oxy-icon-remove"></span>
|
||||
<div id="modal_img_container"></div>
|
||||
<div id="caption"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="${pd}/publishing/publishing-styles-AIC-template/js/custom.js" defer="defer"></script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
259
doc/topics/sdk/mdi/mdi_test.html
Normal file
259
doc/topics/sdk/mdi/mdi_test.html
Normal file
@@ -0,0 +1,259 @@
|
||||
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn" data-whc_version="26.0">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="description" content="准备测试环境 硬件 D12x 开发板 Host 端的板子(D21x 开发板可满足大部分测试的格式需求) 跨接两个板子的子板、或者数据排线 软件 MDI 模块的测试 demo:test_mdi PC 端的串口终端软件,用于 PC 和开发板进行串口通信 配置和测试 test_mdi 在 Luban-Lite 根目录下执行 scons --menuconfig ,进入 menuconfig ..."/><meta name="DC.rights.owner" content="(C) 版权 2025"/><meta name="copyright" content="(C) 版权 2025"/><meta name="generator" content="DITA-OT"/><meta name="DC.type" content="topic"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.date.modified" content="2024-12-23"/><meta name="DC.format" content="HTML5"/><meta name="DC.identifier" content="id"/><meta name="DC.language" content="zh-CN"/><title>测试指南</title><!-- Build number 2023110923. --><meta name="wh-path2root" content="../../../"/><meta name="wh-toc-id" content=""/><meta name="wh-source-relpath" content="topics/sdk/mdi/mdi_test.dita"/><meta name="wh-out-relpath" content="topics/sdk/mdi/mdi_test.html"/>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/commons.css?buildId=2023110923"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/topic.css?buildId=2023110923"/>
|
||||
|
||||
<script src="../../../webhelp/app/options/properties.js?buildId=20250121171154"></script>
|
||||
<script src="../../../webhelp/app/localization/strings.js?buildId=2023110923"></script>
|
||||
<script src="../../../webhelp/app/search/index/keywords.js?buildId=20250121171154"></script>
|
||||
<script defer="defer" src="../../../webhelp/app/commons.js?buildId=2023110923"></script>
|
||||
<script defer="defer" src="../../../webhelp/app/topic.js?buildId=2023110923"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-styles-web.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/notes.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-common.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-images.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/footnote.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-web-watermark.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/topic-body-list.css?buildId=2023110923"/></head>
|
||||
|
||||
<body id="id" class="wh_topic_page frmBody">
|
||||
<a href="#wh_topic_body" class="sr-only sr-only-focusable">
|
||||
跳转到主要内容
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<header class="navbar navbar-default wh_header">
|
||||
<div class="container-fluid">
|
||||
<div class="wh_header_flex_container navbar-nav navbar-expand-md navbar-dark">
|
||||
<div class="wh_logo_and_publication_title_container">
|
||||
<div class="wh_logo_and_publication_title">
|
||||
|
||||
<a href="http://www.artinchip.com" class=" wh_logo d-none d-sm-block "><img src="../../../company-logo-white.png" alt="RTOS SDK 使用指南SDK 指南文件"/></a>
|
||||
<div class=" wh_publication_title "><a href="../../../index.html"><span class="booktitle"><span class="ph mainbooktitle">RTOS SDK 使用指南</span><span class="ph booktitlealt">SDK 指南文件</span></span></a></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="wh_top_menu_and_indexterms_link collapse navbar-collapse" id="wh_top_menu_and_indexterms_link">
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class=" wh_search_input navbar-form wh_topic_page_search search " role="form">
|
||||
|
||||
|
||||
|
||||
<form id="searchForm" method="get" role="search" action="../../../search.html"><div><input type="search" placeholder="搜索 " class="wh_search_textfield" id="textToSearch" name="searchQuery" aria-label="搜索查询" required="required"/><button type="submit" class="wh_search_button" aria-label="搜索"><span class="search_input_text">搜索</span></button></div></form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="container-fluid" id="wh_topic_container">
|
||||
<div class="row">
|
||||
|
||||
<nav class="wh_tools d-print-none navbar-expand-md" aria-label="Tools">
|
||||
|
||||
<div data-tooltip-position="bottom" class=" wh_breadcrumb "></div>
|
||||
|
||||
|
||||
|
||||
<div class="wh_right_tools">
|
||||
<button class="wh_hide_highlight" aria-label="切换搜索突出显示" title="切换搜索突出显示"></button>
|
||||
<button class="webhelp_expand_collapse_sections" data-next-state="collapsed" aria-label="折叠截面" title="折叠截面"></button>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class=" wh_print_link print d-none d-md-inline-block "><button onClick="window.print()" title="打印此页" aria-label="打印此页"></button></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="wh_content_area">
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-lg-10 col-md-10 col-sm-10 col-xs-12" id="wh_topic_body">
|
||||
|
||||
<button id="wh_close_topic_toc_button" class="close-toc-button d-none" aria-label="Toggle topic table of content" aria-controls="wh_topic_toc" aria-expanded="true">
|
||||
<span class="close-toc-icon-container">
|
||||
<span class="close-toc-icon"></span>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<div class=" wh_topic_content body "><main role="main"><article class="- topic/topic topic" role="article" aria-labelledby="ariaid-title1"><span class="edit-link" style="font-size:12px; opacity:0.6; text-align:right; vertical-align:middle"><a target="_blank" href="http://172.16.35.88/tasks/jdssno1uvvbf2mltu9kb9v3if05d5gopuakboe8hlud18rma/edit/F:/aicdita/aicdita-cn/topics/sdk/mdi/mdi_test.dita">Edit online</a></span><h1 class="- topic/title title topictitle1" id="ariaid-title1">测试指南</h1><div class="date inPage">23 Dec 2024</div><div style="color: gray;">
|
||||
Read time: 3 minute(s)
|
||||
</div><div class="- topic/body body"><section class="- topic/section section" id="id__section_p11_zcy_2dc" data-ofbid="id__section_p11_zcy_2dc"><h2 class="- topic/title title sectiontitle">准备测试环境</h2>
|
||||
|
||||
<div class="- topic/div div">
|
||||
<div class="- topic/div div section" id="id__id3">
|
||||
<strong class="+ topic/ph hi-d/b ph b">硬件</strong>
|
||||
<ul class="- topic/ul ul simple" id="id__ul_wrz_55t_2dc" data-ofbid="id__ul_wrz_55t_2dc"><li class="- topic/li li" data-ofbid="d100290e31__20250121171536">
|
||||
<p class="- topic/p p" data-ofbid="d100290e33__20250121171536">D12x 开发板</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d100290e37__20250121171536">
|
||||
<p class="- topic/p p" data-ofbid="d100290e39__20250121171536">Host 端的板子(D21x 开发板可满足大部分测试的格式需求)</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d100290e42__20250121171536">
|
||||
<p class="- topic/p p" data-ofbid="d100290e44__20250121171536">跨接两个板子的子板、或者数据排线</p>
|
||||
</li></ul></div>
|
||||
<div class="- topic/div div section" id="id__id4">
|
||||
<strong class="+ topic/ph hi-d/b ph b">软件</strong>
|
||||
<ul class="- topic/ul ul simple" id="id__ul_xrz_55t_2dc" data-ofbid="id__ul_xrz_55t_2dc"><li class="- topic/li li" data-ofbid="d100290e54__20250121171536">
|
||||
<p class="- topic/p p" data-ofbid="d100290e56__20250121171536">MDI 模块的测试 demo:test_mdi</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d100290e59__20250121171536">
|
||||
<p class="- topic/p p" data-ofbid="d100290e61__20250121171536">PC 端的串口终端软件,用于 PC 和开发板进行串口通信</p>
|
||||
</li></ul></div>
|
||||
|
||||
</div>
|
||||
</section><section class="- topic/section section" id="id__section_jd1_ffy_2dc" data-ofbid="id__section_jd1_ffy_2dc"><h2 class="- topic/title title sectiontitle">配置和测试 test_mdi</h2>
|
||||
|
||||
|
||||
|
||||
<div class="- topic/p p" data-ofbid="d100290e71__20250121171536">
|
||||
<ol class="- topic/ol ol" id="id__ol_xk3_gfy_2dc" data-ofbid="id__ol_xk3_gfy_2dc"><li class="- topic/li li" data-ofbid="d100290e74__20250121171536">
|
||||
<div class="- topic/p p" data-ofbid="d100290e76__20250121171536">在 <span class="- topic/ph ph">Luban-Lite</span> 根目录下执行 <span class="+ topic/keyword sw-d/cmdname keyword cmdname">scons --menuconfig</span>,进入
|
||||
menuconfig 的功能配置界面,按如下选择,使能 MDI
|
||||
驱动测试命令工具:<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_isn_3fy_2dc" data-ofbid="id__codeblock_isn_3fy_2dc">Drivers options --->
|
||||
Drivers examples --->
|
||||
[*] Enable MDI driver test command</pre></div>
|
||||
<p class="- topic/p p" data-ofbid="d100290e87__20250121171536">结果:test_mdi 启动 MDI,接收 Host 端传来的数据和命令,并将数据传给 GE、DE 模块去处理和显示。</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d100290e90__20250121171536">
|
||||
<div class="- topic/p p" data-ofbid="d100290e92__20250121171536">在打开 test_mdi 的编译后,板子上可直接运行 test_mdi
|
||||
命令:<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_y5b_3fy_2dc" data-ofbid="id__codeblock_y5b_3fy_2dc">test_mdi -h</pre><pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_upr_y2k_5dc" data-ofbid="id__codeblock_upr_y2k_5dc">Compile time: Feb <span class="hl-number">29</span> <span class="hl-number">2024</span> <span class="hl-number">16</span>:<span class="hl-number">16</span>:<span class="hl-number">41</span>
|
||||
Usage: test_mdi [options]:
|
||||
-c, --count the number of capture frame
|
||||
-h, --help
|
||||
</pre></div>
|
||||
<div class="- topic/p p" data-ofbid="d100290e99__20250121171536">示例:<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_xsv_y2k_5dc" data-ofbid="id__codeblock_xsv_y2k_5dc">test_mdi -c <span class="hl-number">1</span>
|
||||
</pre><pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_ff1_z2k_5dc" data-ofbid="id__codeblock_ff1_z2k_5dc">test_mdi</pre><pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_tl1_1fk_5dc" data-ofbid="id__codeblock_tl1_1fk_5dc">Bus mode: <span class="hl-number">8080</span>, Pin: X16, Big endian: <span class="hl-number">0</span>
|
||||
[I] aic_find_panel()<span class="hl-number">59</span> find panel driver : panel-rgb</pre><pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_kdr_1fk_5dc" data-ofbid="id__codeblock_kdr_1fk_5dc">[W] dbi_cmd_process()<span class="hl-number">509</span> unknown command <span class="hl-number">0</span>
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd f7
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd ec
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd c0
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd c1
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd c5
|
||||
[I] dbi_cmd_fr_set()<span class="hl-number">412</span> pixclk <span class="hl-number">51886560</span> is too large
|
||||
Recv framerate <span class="hl-number">68</span>, pixclk should be <span class="hl-number">50000000</span>
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd b4
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd b6
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd b7
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd be
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd e9
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd b7
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd f4
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd f4
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd <span class="hl-number">35</span>
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd <span class="hl-number">44</span>
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd <span class="hl-number">33</span>
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd <span class="hl-number">37</span>
|
||||
Recv width: <span class="hl-number">320</span> (<span class="hl-number">0</span> - <span class="hl-number">319</span>)
|
||||
Recv height: <span class="hl-number">480</span> (<span class="hl-number">0</span> - <span class="hl-number">479</span>)
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd <span class="hl-number">36</span>
|
||||
Recv DBI <span class="hl-number">24</span>bits(<span class="hl-number">7</span>) -> DPI <span class="hl-number">24</span>bits(<span class="hl-number">7</span>), Flag <span class="hl-number">1</span>
|
||||
[I] dbi_cmd_unsupported()<span class="hl-number">444</span> Unsupported cmd <span class="hl-number">11</span>
|
||||
|
||||
Allocated <span class="hl-number">4</span> video buffer <strong class="hl-keyword">for</strong> MDI:
|
||||
Buf Plane size
|
||||
<span class="hl-number">0</span> <span class="hl-number">0x400a40e0</span> <span class="hl-number">1843200</span>
|
||||
<span class="hl-number">1</span> <span class="hl-number">0x402660e0</span> <span class="hl-number">1843200</span>
|
||||
<span class="hl-number">2</span> <span class="hl-number">0x404280e0</span> <span class="hl-number">1843200</span>
|
||||
<span class="hl-number">3</span> <span class="hl-number">0x405ea0e0</span> <span class="hl-number">1843200</span>
|
||||
[I] aic_find_panel()<span class="hl-number">59</span> find panel driver : panel-rgb
|
||||
[I] dbi_cmd_disp_on()<span class="hl-number">233</span> Turn on DE
|
||||
MDI frame rate: <span class="hl-number">17.3</span>, frame <span class="hl-number">1000</span> / <span class="hl-number">57.7</span> seconds
|
||||
MDI frame rate: <span class="hl-number">31.2</span>, frame <span class="hl-number">1000</span> / <span class="hl-number">32.0</span> seconds
|
||||
MDI frame rate: <span class="hl-number">31.2</span>, frame <span class="hl-number">1000</span> / <span class="hl-number">32.0</span> seconds
|
||||
MDI frame rate: <span class="hl-number">31.2</span>, frame <span class="hl-number">1000</span> / <span class="hl-number">31.9</span> seconds</pre></div>
|
||||
</li></ol>
|
||||
</div>
|
||||
|
||||
<div class="- topic/div div"></div>
|
||||
</section></div></article></main></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<nav role="navigation" id="wh_topic_toc" aria-label="On this page" class="col-lg-2 d-none d-lg-block navbar d-print-none">
|
||||
<div id="wh_topic_toc_content">
|
||||
|
||||
<div class=" wh_topic_toc "><div class="wh_topic_label">在本页上</div><ul><li class="section-item"><div class="section-title"><a href="#id__section_p11_zcy_2dc" data-tocid="id__section_p11_zcy_2dc">准备测试环境</a></div></li><li class="section-item"><div class="section-title"><a href="#id__section_jd1_ffy_2dc" data-tocid="id__section_jd1_ffy_2dc">配置和测试 test_mdi</a></div></li></ul></div>
|
||||
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<footer class="navbar navbar-default wh_footer">
|
||||
<div class=" footer-container mx-auto ">
|
||||
<title>footer def</title>
|
||||
<style><!--
|
||||
|
||||
.p1 {
|
||||
font-family: FangZhengShuSong, Times, serif;
|
||||
}
|
||||
.p2 {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
.p3 {
|
||||
font-family: "Lucida Console", "Courier New", monospace;
|
||||
}
|
||||
|
||||
--></style>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="webhelp.fragment.footer">
|
||||
<p class="p1">Copyright © 2019-2024 广东匠芯创科技有限公司. All rights reserved.</p>
|
||||
</div><div>
|
||||
<div class="generation_time">
|
||||
Update Time: 2025-01-21
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<div id="go2top" class="d-print-none">
|
||||
<span class="oxy-icon oxy-icon-up"></span>
|
||||
</div>
|
||||
|
||||
<div id="modal_img_large" class="modal">
|
||||
<span class="close oxy-icon oxy-icon-remove"></span>
|
||||
<div id="modal_img_container"></div>
|
||||
<div id="caption"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="${pd}/publishing/publishing-styles-AIC-template/js/custom.js" defer="defer"></script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
195
doc/topics/sdk/mdi/mdi_user_guide.html
Normal file
195
doc/topics/sdk/mdi/mdi_user_guide.html
Normal file
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn" data-whc_version="26.0">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="description" content="Multi-Display Interface (MDI) 模块负责从外部 MCU 等系统中获取到数据,采集图像信号并输出到 RAM,然后转交给 Display Engine (DE) 去显示。在这种应用场景中,“外部 MCU” 属于 Host 角色,使用 MDI 接口的 SoC 是 Device 角色 ,例如 D12x,功能上相当于一颗 “屏驱芯片”。 表 1 . 术语定义 术语 定义 注释说明 ..."/><meta name="DC.rights.owner" content="(C) 版权 2025"/><meta name="copyright" content="(C) 版权 2025"/><meta name="generator" content="DITA-OT"/><meta name="DC.type" content="topic"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.date.modified" content="2024-12-02"/><meta name="DC.format" content="HTML5"/><meta name="DC.identifier" content="id"/><meta name="DC.language" content="zh-CN"/><title>MDI 使用指南</title><!-- Build number 2023110923. --><meta name="wh-path2root" content="../../../"/><meta name="wh-toc-id" content=""/><meta name="wh-source-relpath" content="topics/sdk/mdi/mdi_user_guide.dita"/><meta name="wh-out-relpath" content="topics/sdk/mdi/mdi_user_guide.html"/>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/commons.css?buildId=2023110923"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/topic.css?buildId=2023110923"/>
|
||||
|
||||
<script src="../../../webhelp/app/options/properties.js?buildId=20250121171154"></script>
|
||||
<script src="../../../webhelp/app/localization/strings.js?buildId=2023110923"></script>
|
||||
<script src="../../../webhelp/app/search/index/keywords.js?buildId=20250121171154"></script>
|
||||
<script defer="defer" src="../../../webhelp/app/commons.js?buildId=2023110923"></script>
|
||||
<script defer="defer" src="../../../webhelp/app/topic.js?buildId=2023110923"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-styles-web.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/notes.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-common.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-images.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/footnote.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/aic-web-watermark.css?buildId=2023110923"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/topic-body-list.css?buildId=2023110923"/></head>
|
||||
|
||||
<body id="id" class="wh_topic_page frmBody">
|
||||
<a href="#wh_topic_body" class="sr-only sr-only-focusable">
|
||||
跳转到主要内容
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<header class="navbar navbar-default wh_header">
|
||||
<div class="container-fluid">
|
||||
<div class="wh_header_flex_container navbar-nav navbar-expand-md navbar-dark">
|
||||
<div class="wh_logo_and_publication_title_container">
|
||||
<div class="wh_logo_and_publication_title">
|
||||
|
||||
<a href="http://www.artinchip.com" class=" wh_logo d-none d-sm-block "><img src="../../../company-logo-white.png" alt="RTOS SDK 使用指南SDK 指南文件"/></a>
|
||||
<div class=" wh_publication_title "><a href="../../../index.html"><span class="booktitle"><span class="ph mainbooktitle">RTOS SDK 使用指南</span><span class="ph booktitlealt">SDK 指南文件</span></span></a></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="wh_top_menu_and_indexterms_link collapse navbar-collapse" id="wh_top_menu_and_indexterms_link">
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class=" wh_search_input navbar-form wh_topic_page_search search " role="form">
|
||||
|
||||
|
||||
|
||||
<form id="searchForm" method="get" role="search" action="../../../search.html"><div><input type="search" placeholder="搜索 " class="wh_search_textfield" id="textToSearch" name="searchQuery" aria-label="搜索查询" required="required"/><button type="submit" class="wh_search_button" aria-label="搜索"><span class="search_input_text">搜索</span></button></div></form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="container-fluid" id="wh_topic_container">
|
||||
<div class="row">
|
||||
|
||||
<nav class="wh_tools d-print-none navbar-expand-md" aria-label="Tools">
|
||||
|
||||
<div data-tooltip-position="bottom" class=" wh_breadcrumb "></div>
|
||||
|
||||
|
||||
|
||||
<div class="wh_right_tools">
|
||||
<button class="wh_hide_highlight" aria-label="切换搜索突出显示" title="切换搜索突出显示"></button>
|
||||
<button class="webhelp_expand_collapse_sections" data-next-state="collapsed" aria-label="折叠截面" title="折叠截面"></button>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class=" wh_print_link print d-none d-md-inline-block "><button onClick="window.print()" title="打印此页" aria-label="打印此页"></button></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="wh_content_area">
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-12" id="wh_topic_body">
|
||||
|
||||
|
||||
|
||||
<div class=" wh_topic_content body "><main role="main"><article class="- topic/topic topic" role="article" aria-labelledby="ariaid-title1"><span class="edit-link" style="font-size:12px; opacity:0.6; text-align:right; vertical-align:middle"><a target="_blank" href="http://172.16.35.88/tasks/jdssno1uvvbf2mltu9kb9v3if05d5gopuakboe8hlud18rma/edit/F:/aicdita/aicdita-cn/topics/sdk/mdi/mdi_user_guide.dita">Edit online</a></span><h1 class="- topic/title title topictitle1" id="ariaid-title1">MDI 使用指南</h1><div class="date inPage">2 Dec 2024</div><div style="color: gray;">
|
||||
Read time: 1 minute(s)
|
||||
</div><div class="- topic/body body"><p class="- topic/p p" data-ofbid="d259907e20__20250121171720">Multi-Display Interface (MDI) 模块负责从外部 MCU 等系统中获取到数据,采集图像信号并输出到 RAM,然后转交给 Display Engine
|
||||
(DE) 去显示。在这种应用场景中,“外部 MCU” 属于 Host 角色,使用 MDI 接口的 <strong class="+ topic/ph hi-d/b ph b">SoC 是 Device 角色</strong>,例如 D12x,功能上相当于一颗
|
||||
“屏驱芯片”。</p><div class="table-container"><table class="- topic/table table frame-all" id="id__table_lny_brt_2dc" data-ofbid="id__table_lny_brt_2dc" data-cols="3"><caption class="- topic/title title tablecap" data-caption-side="top" data-is-repeated="true"><span class="table--title-label">表<span class="table--title-label-number"> 1</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">术语定义</span></caption><colgroup><col style="width:20%"/><col style="width:40.599999999999994%"/><col style="width:39.4%"/></colgroup><thead class="- topic/thead thead"><tr class="- topic/row"><th class="- topic/entry entry colsep-1 rowsep-1" id="id__table_lny_brt_2dc__entry__1">术语</th><th class="- topic/entry entry colsep-1 rowsep-1" id="id__table_lny_brt_2dc__entry__2">定义</th><th class="- topic/entry entry colsep-0 rowsep-1" id="id__table_lny_brt_2dc__entry__3">注释说明</th></tr></thead><tbody class="- topic/tbody tbody"><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_lny_brt_2dc__entry__1">CMA</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_lny_brt_2dc__entry__2">Contiguous Memory Allocator</td><td class="- topic/entry entry colsep-0 rowsep-1" headers="id__table_lny_brt_2dc__entry__3">连续内存分配器</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_lny_brt_2dc__entry__1">DBI</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_lny_brt_2dc__entry__2">Display Bus Interface</td><td class="- topic/entry entry colsep-0 rowsep-1" headers="id__table_lny_brt_2dc__entry__3">显示总线接口</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_lny_brt_2dc__entry__1">DPI</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_lny_brt_2dc__entry__2">Display Pixel Interface</td><td class="- topic/entry entry colsep-0 rowsep-1" headers="id__table_lny_brt_2dc__entry__3">显示像素接口</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_lny_brt_2dc__entry__1">MDI</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_lny_brt_2dc__entry__2">MCU Display Input</td><td class="- topic/entry entry colsep-0 rowsep-1" headers="id__table_lny_brt_2dc__entry__3">用于接收 MCU 视频数据</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_lny_brt_2dc__entry__1">VBI</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_lny_brt_2dc__entry__2">Vertical Blanking Interval</td><td class="- topic/entry entry colsep-0 rowsep-1" headers="id__table_lny_brt_2dc__entry__3">垂直消隐期</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_lny_brt_2dc__entry__1">MPP</td><td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_lny_brt_2dc__entry__2">Media Process Platform</td><td class="- topic/entry entry colsep-0 rowsep-1" headers="id__table_lny_brt_2dc__entry__3">通用多媒体处理软件平台</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_lny_brt_2dc__entry__1">VIN</td><td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_lny_brt_2dc__entry__2">Video Input</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="id__table_lny_brt_2dc__entry__3">视频输入(采集)模块</td></tr></tbody></table></div><section class="- topic/section section" id="id__id3" data-ofbid="id__id3"><h2 class="- topic/title title sectiontitle">模块特性</h2>
|
||||
|
||||
|
||||
<p class="- topic/p p" data-ofbid="d259907e95__20250121171720">MDI 特性:</p>
|
||||
<ul class="- topic/ul ul simple" id="id__ul_mny_brt_2dc" data-ofbid="id__ul_mny_brt_2dc"><li class="- topic/li li" data-ofbid="d259907e99__20250121171720">
|
||||
<p class="- topic/p p" data-ofbid="d259907e101__20250121171720">支持 8080 8/16bit 并口协议</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d259907e104__20250121171720">
|
||||
<p class="- topic/p p" data-ofbid="d259907e106__20250121171720">支持 6800 8/16bit 并口协议</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d259907e109__20250121171720">
|
||||
<p class="- topic/p p" data-ofbid="d259907e111__20250121171720">支持 3/4-wire SPI、2-SDA、4-SDA SPI 协议</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d259907e114__20250121171720">
|
||||
<p class="- topic/p p" data-ofbid="d259907e116__20250121171720">8080/6800 8/16bit 支持最高 50 MHz 接口时钟频率</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d259907e119__20250121171720">
|
||||
<p class="- topic/p p" data-ofbid="d259907e121__20250121171720">3/4-wire SPI、2-SDA、4-SDA SPI 支持最高 100 MHz 接口时钟频率</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d259907e124__20250121171720">
|
||||
<p class="- topic/p p" data-ofbid="d259907e126__20250121171720">支持自定义的读写命令及数据</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d259907e129__20250121171720">
|
||||
<p class="- topic/p p" data-ofbid="d259907e131__20250121171720">支持和 GE 配合完成旋转、缩放效果</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d259907e134__20250121171720">
|
||||
<p class="- topic/p p" data-ofbid="d259907e136__20250121171720">支持局部刷新</p>
|
||||
</li></ul>
|
||||
<p class="- topic/p p" data-ofbid="d259907e140__20250121171720">MDI 硬件框图:</p>
|
||||
<figure class="- topic/fig fig fignone" id="id__id4" data-ofbid="id__id4"><br/><div class="imagecenter"><img class="- topic/image image imagecenter" id="id__image_nny_brt_2dc" src="../../../images/mdi/mdi_overview_block.png" alt="mdi_overview_block"/></div><br/><figcaption data-caption-side="bottom" class="- topic/title title figcapcenter"><span class="figtitleprefix fig--title-label">图<span class="fig--title-label-number"> 1</span><span class="fig--title-label-punctuation">. </span></span><span class="fig--title">MDI 硬件架构示意图</span></figcaption></figure>
|
||||
<p class="- topic/p p" data-ofbid="d259907e151__20250121171720">根据输入的图像格式,MDI 的数据流处理有两种情况:</p>
|
||||
<ol class="- topic/ol ol arabic simple" id="id__ol_ony_brt_2dc" data-ofbid="id__ol_ony_brt_2dc"><li class="- topic/li li" data-ofbid="d259907e155__20250121171720">
|
||||
<p class="- topic/p p" data-ofbid="d259907e157__20250121171720">从接口收到图像数据,按原始尺寸转交 DE 显示到屏幕上;</p>
|
||||
</li><li class="- topic/li li" data-ofbid="d259907e160__20250121171720">
|
||||
<p class="- topic/p p" data-ofbid="d259907e162__20250121171720">从接口收到 <strong class="+ topic/ph hi-d/b ph b">GE Ctrl 命令</strong> 和 图像数据,会先调用 GE 将输入图像做满屏的缩放和旋转,然后转接 DE 显示到屏幕上。</p>
|
||||
</li></ol>
|
||||
<figure class="- topic/fig fig fignone" id="id__id5" data-ofbid="id__id5"><br/><div class="imagecenter"><img class="- topic/image image imagecenter" id="id__image_pny_brt_2dc" src="../../../images/mdi/mdi_data_flow.png" alt="mdi_data_flow"/></div><br/><figcaption data-caption-side="bottom" class="- topic/title title figcapcenter"><span class="figtitleprefix fig--title-label">图<span class="fig--title-label-number"> 2</span><span class="fig--title-label-punctuation">. </span></span><span class="fig--title">MDI 应用场景的数据流示意图</span></figcaption></figure>
|
||||
</section></div></article></main></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<footer class="navbar navbar-default wh_footer">
|
||||
<div class=" footer-container mx-auto ">
|
||||
<title>footer def</title>
|
||||
<style><!--
|
||||
|
||||
.p1 {
|
||||
font-family: FangZhengShuSong, Times, serif;
|
||||
}
|
||||
.p2 {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
.p3 {
|
||||
font-family: "Lucida Console", "Courier New", monospace;
|
||||
}
|
||||
|
||||
--></style>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="webhelp.fragment.footer">
|
||||
<p class="p1">Copyright © 2019-2024 广东匠芯创科技有限公司. All rights reserved.</p>
|
||||
</div><div>
|
||||
<div class="generation_time">
|
||||
Update Time: 2025-01-21
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<div id="go2top" class="d-print-none">
|
||||
<span class="oxy-icon oxy-icon-up"></span>
|
||||
</div>
|
||||
|
||||
<div id="modal_img_large" class="modal">
|
||||
<span class="close oxy-icon oxy-icon-remove"></span>
|
||||
<div id="modal_img_container"></div>
|
||||
<div id="caption"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="${pd}/publishing/publishing-styles-AIC-template/js/custom.js" defer="defer"></script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user