将 PC 视频编解码器移植到移动环境中?

发布于 2024-07-29 17:35:33 字数 186 浏览 5 评论 0原文

我的任务是将在 PC 上执行的视频编解码器移植到移动平台(在我的例子中为 OMAP3430 MDK)。 虽然我的问题与特定平台或语言无关。

我要求在将编解码器移植到移动平台时要牢记具体的线索/想法。 PC 和移动环境的主要区别是什么? 移动平台常见的瓶颈有哪些?

我也希望能参考与此类任务相关的学术出版物。

I work on the task of porting a video codec written to perform on a PC, onto a mobile platform (in my case OMAP3430 MDK). Though my question is not related to a specific platform or language.

I ask for specific clues/ideas to bear in mind when porting a codec onto a Mobile Platform. What are the main differences of the PC and mobile environments. What are the common bottlenecks in Mobile platforms?

I would also appreciate any references to the academic publications related with such a task.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

怪我鬧 2024-08-05 17:35:34

如果您要移植的只是一个编解码器,那么您就有一个定义良好且范围有限的任务 - 您正在处理的代码预计可以很好地包含在操作系统特性上的依赖性相对较少。

您想要提前了解的事情包括:

  • 您的编解码器是否需要浮点单元? 您的目标平台有吗?
  • 您的编解码器是否针对英特尔指令集进行了深度优化? 它包含汇编语言例程吗? MMX 代码? 上交所? 如果是这样,您是否可以使用执行相同功能的 C 例程来构建它,只是为了开始,还是必须从头开始编写它们?
  • 目标平台是位端还是小端? 您要移植的代码可以同时处理这两者吗?

If all you're porting is a codec, then you have a pretty well defined task that's limited in scope - the code you're working on can be expected to be pretty well contained with relatively few dependencies on OS idiosyncrasies.

Things you want to find out ahead of time include:

  • Does your codec require a floating point unit? Does your target platform have one?
  • Is your codec heavily optimized for the Intel instruction set? Does it include assembly language routines? MMX code? SSE? If it does, can you build it with C routines that perform the same functions, just to get started, or will you have to write them from scratch?
  • Is the target platform bit endian or small endian? Can the code you're porting handle both?
紫南 2024-08-05 17:35:34

根据分辨率和帧速率、实时要求以及实际需要的视频处理,您可能希望在 omap soc 的 DSP 处理器上实现编解码器。

从标准 PC 应用程序移植到 TI DSP 可能是一项相当重要的任务。

Depending on the resolution and frame rate, real time requirements, and what video processing is actually required, you will probably want to implement the codec on the DSP processor of the omap soc.

Porting to from a standard PC application to TI DSP might be a fairly significant task.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文