Files
luban-lite-t3e-pro/doc/out/external-references/video_memory.html

165 lines
98 KiB
HTML
Raw Normal View History

2025-01-23 16:37:00 +08:00
<!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="表 1 . Sheet1 分辨率 计算方式 说明 宽 高 输入码流buffer (大小可由应用层配置) 1920 1080 输出帧buffer width*height*3/2 * frame_num frame_num至少需要参考帧个数+1 目前我们配置的是(参考帧个数+2多一个用于显示 帧内预测需要的上一行数据 width*2 宏块信息buffer 固定12K dblk ..."/><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.relation" content="../../topics/revinfo/revinfo_rtos.html"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.date.modified" content="2024-01-15"/><meta name="DC.format" content="HTML5"/><meta name="DC.identifier" content="video_memory"/><title>video_memory</title><!-- Build number 2023110923. --><meta name="wh-path2root" content="../../"/><meta name="wh-toc-id" content="&lt;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&gt;&lt;?workdir /E:\out\temp\webhelp-responsive\RTOS_SDK-external\out\external-references?&gt;&lt;?workdir-uri file:/E:/out/temp/webhelp-responsive/RTOS_SDK-external/out/external-references/?&gt;&lt;?path2project ..\..\?&gt;&lt;?path2project-uri ../../?&gt;&lt;?path2rootmap-uri ../../?&gt;&lt;topic xmlns:dita-ot=&#34;http://dita-ot.sourceforge.net/ns/201007/dita-ot&#34; xmlns:ditaarch=&#34;http://dita.oasis-open.org/architecture/2005/&#34; class=&#34;- topic/topic &#34; ditaarch:DITAArchVersion=&#34;1.3&#34; domains=&#34;(topic abbrev-d) a(props deliveryTarget) (topic equation-d) (topic hazard-d) (topic hi-d) (topic indexing-d) (topic markup-d) (topic mathml-d) (topic pr-d) (topic relmgmt-d) (topic sw-d) (topic svg-d) (topic ui-d) (topic ut-d) (topic markup-d xml-d)&#34; id=&#34;video_memory&#34; specializations=&#34;@props/deliveryTarget&#34; xtrc=&#34;topic:1;4:26&#34; xtrf=&#34;file:/F:/aicdita/aicdita-cn/out/external-references/video_memory.xlsx&#34;&gt;&lt;title class=&#34;- topic/title &#34; xtrc=&#34;title:1;4:33&#34; xtrf=&#34;file:/F:/aicdita/aicdita-cn/out/external-references/video_memory.xlsx&#34;&gt;video_memory&lt;/title&gt;&lt;prolog class=&#34;- topic/prolog &#34;&gt;&lt;author class=&#34;- topic/author &#34; type=&#34;contributor&#34; xtrc=&#34;author:1;9:36&#34; xtrf=&#34;file:/F:/aicdita/aicdita-cn/RTOS_SDK.ditamap&#34;&gt;yan.wang&lt;/author&gt;&lt;critdates class=&#34;- topic/critdates &#34; xtrc=&#34;critdates:1;10:20&#34; xtrf=&#34;file:/F:/aicdita/aicdita-cn/RTOS_SDK.ditamap&#34;&gt;&lt;revised class=&#34;- topic/revised &#34; modified=&#34;2024-01-15&#34; xtrc=&#34;revised:1;12:45&#34; xtrf=&#34;file:/F:/aicdita/aicdita-cn/RTOS_SDK.ditamap&#34;/&gt;&lt;/critdates&gt;&lt;metadata class=&#34;- topic/metadata &#34;&gt;&lt;keywords class=&#34;- topic/keywords &#34; xtrc=&#34;keywords:4;70:23&#34; xtrf=&#34;file:/F:/aicdita/aicdita-cn/reusables/ExternalReferences.ditamap&#34;&gt;&lt;keyword class=&#34;- topic/keyword &#34; xtrc=&#34;keyword:4;71:27&#34; xtrf=&#34;file:/F:/aicdita/aicdita-cn/reusables/ExternalReferences.ditamap&#34;/&gt;&lt;/keywords&gt;&lt;/metadata&gt;&lt;/prolog&gt;&lt;body class=&#34;- topic/body &#34; xtrc=&#34;body:1;4:59&#34; xtrf=&#34;file:/F:/aicdita/aicdita-cn/out/external-references/video_memory.xlsx&#34;&gt;&lt;table class=&#34;- topic/table &#34; id=&#34;Sheet1&#34; xtrc=&#34;table:1;4:78&#34; xtrf=&#34;file:/F:/aicdita/aicdita-cn/out/external-references/video_memory.xlsx&#34;&gt;&lt;title class=&#34;- topic/title &#34; xtrc=&#34;title:2;4:85&#34; xtrf=&#34;file:/F:/aicdita/aicdita-cn/out/external-references/video_memory.xlsx&#34;&gt;Sheet1&lt;/title&gt;&lt;tgroup class=&#34;- topic/tgroup &#34; cols=&#34;5&#34; xtrc=&#34;tgroup:1;4:116&#34; xtrf=&#34;file:/F:/aicdita/aicdita-cn/out/external-references/video_memory.xlsx&#34;&gt;&lt;colspec class=&
<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="video_memory" 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_navigation_links "><span id="topic_navigation_links" class="navheader">
<span class="navnext"><a class="- topic/link link" href="../../topics/revinfo/revinfo_rtos.html" title="修订记录" aria-label="下一主题: 修订记录" rel="next"></a></span> </span></div>
<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/out/external-references/video_memory.xlsx">Edit online</a></span><h1 class="- topic/title title topictitle1" id="ariaid-title1">video_memory</h1><div class="date inPage">15 Jan 2024</div><div style="color: gray;"></div><div class="- topic/body body"><div class="table-container"><table class="- topic/table table" id="video_memory__Sheet1" data-ofbid="video_memory__Sheet1" 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"> 1</span><span class="table--title-label-punctuation">. </span></span><span class="table--title">Sheet1</span></caption><colgroup><col/><col/><col/><col/><col/></colgroup><thead class="- topic/thead thead"><tr class="- topic/row"><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory__Sheet1__entry__1">分辨率</th><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory__Sheet1__entry__2"></th></tr></thead><tbody class="- topic/tbody tbody"><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__1"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__2">计算方式</td><td class="- topic/entry entry colsep-0 rowsep-0">说明</td><td class="- topic/entry entry colsep-0 rowsep-0"></td><td class="- topic/entry entry colsep-0 rowsep-0"></td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__1">输入码流buffer
(大小可由应用层配置)</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__2"></td><td class="- topic/entry entry colsep-0 rowsep-0"></td><td class="- topic/entry entry colsep-0 rowsep-0">1920</td><td class="- topic/entry entry colsep-0 rowsep-0">1080</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__1">输出帧buffer</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__2">width*height*3/2 * frame_num</td><td class="- topic/entry entry colsep-0 rowsep-0">frame_num至少需要参考帧个数+1
目前我们配置的是(参考帧个数+2多一个用于显示</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__1">帧内预测需要的上一行数据</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__2">width*2</td><td class="- topic/entry entry colsep-0 rowsep-0"></td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__1">宏块信息buffer</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__2">固定12K</td><td class="- topic/entry entry colsep-0 rowsep-0"></td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__1">dblk 需要的上一个宏块行最后4行数据</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__2">width*8</td><td class="- topic/entry entry colsep-0 rowsep-0"></td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__1">co-located信息</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__2">固定68K</td><td class="- topic/entry entry colsep-0 rowsep-0">这两块buffer B帧解码才会用到但硬件没有预留开关控制所以在我们的使用场景也必须申请</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__1">co-located buffer</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__2">(width/16)*(height/16)*32*frame_num</td><td class="- topic/entry entry colsep-0 rowsep-0"></td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__1"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory__Sheet1__entry__2"></td></tr></tbody></table></div><div class="table-container"><table class="- topic/table table" id="video_memory___" data-ofbid="video_memory___" data-cols="12"><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/><col/><col/><col/><col/><col/><col/><col/><col/><col/><col/><col/></colgroup><thead class="- topic/thead thead"><tr class="- topic/row"><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory_____entry__1">分辨率</th><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory_____entry__2"></th><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory_____entry__3">参考帧个数</th><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory_____entry__4">额外输出buf个数</th><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory_____entry__5">输入码流buf</th><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory_____entry__6">输出帧buf</th><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory_____entry__7">帧内预测内部使用临时buf</th><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory_____entry__8">宏块信息</th><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory_____entry__9">dblk临时buf</th><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory_____entry__10">co-located信息</th><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory_____entry__11">每一帧co-located
数据缓存</th><th class="- topic/entry entry colsep-0 rowsep-0" id="video_memory_____entry__12">buff总量(KB)</th></tr></thead><tbody class="- topic/tbody tbody"><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__1"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__2"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__3"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__4"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__5"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__6"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__7"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__8"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__9"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__10"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__11"></td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__12"></td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__1">1920</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__2">1080</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__3">1</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__4">1</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__5">524288</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__6">9331200</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__7">3840</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__8">12288</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__9">15360</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__10">69632</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__11">777600</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__12">10483</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__1">1024</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__2">600</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__3">1</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__4">1</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__5">524288</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__6">2764800</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__7">2048</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__8">12288</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__9">8192</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__10">69632</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__11">230400</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__12">3527</td></tr><tr class="- topic/row"><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__1">1280</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__2">720</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__3">1</td><td class="- topic/entry entry colsep-0 rowsep-0" headers="video_memory_____entry__4">1</td><td class="- topic/entry entry colsep-0 rowsep-0" h
</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>