[x264-devel] 答复: x264 porting to NXP iMX8 with Greenhills MULTI and INTEGRITY OS have run-time error

Lijia (George Lee, Euler) george.lee at huawei.com
Tue Oct 9 13:07:43 CEST 2018


The original open source x.264 video encode library DOES NOT provide RTOS support such as VxWorks or Greenhills Integrity(A very ancient and high-performance RTOS worlswide) you are using for developing automobile in-vehicle embedded application. But its software stack or architecture clearly exports a good hierarchical porting layer, e.g.  you can find osdep.c/h under common folder which currently works on Windows/Linux/Android. The whole core encode logics are implemented in OS-agnostic way meaning independence of any sort of OS. So I can give you several advices as follows,


1.       Enhance osdep.c to add support for Integrity OS

2.       Leveraging NXP iMX8 CPU’s architecture/instruction set and low-level DSP hardware accelerator, modify or tweak x.264 NEON assembling portion.

3.       Re-design task/thread partitioning scheme to best suit to CPU performance constraints which is very vital for successful porting, native x.264 design is of little help to you or basically no any help in that regard.

4.       For some typical embedded application on RTOS, you maybe tailor some x.264 built-in capability due to speedup consideration.

I think that no any formal company can provide porting engineering service even Videolan itself yet. In the main you must rely on your own practice to accomplish this project. But maybe you can find the right expert or guru to offer you a lightweight guidance based upon his video experience.

George Lee (李佳)
~~~~~~~~~~~~~~~~~~~~~~~~~
Chief Media Architect
Euler Department
Email: george.lee at huawei.com<mailto:george.lee at huawei.com>
Tel:+86-0755-28427022
Mobie: +86-18688736682
~~~~~~~~~~~~~~~~~~~~~~~~~
________________________________
华为技术有限公司 Huawei Technologies Co., Ltd.
[cid:image001.png at 01D46000.45264730]
________________________________
发件人: x264-devel [mailto:x264-devel-bounces at videolan.org] 代表 Biao GONG
发送时间: 2018年9月27日 21:28
收件人: x264-devel at videolan.org
主题: [x264-devel] x264 porting to NXP iMX8 with Greenhills MULTI and INTEGRITY OS have run-time error

Dear all,

I'm sorry to interrupt.
We are from China, and we are working on a camera system on vehicle and need to compress and transmit video.
We checked video compress library, and we think x.264 is a very good library. Now we are trying to porting x.264 to our project to evaluate the feasibility, this project is base on NXP iMX8 CPU and Greenhills INTEGRITY OS.
We have some problem on porting, if we enable assemble option, then there will a lot of errors, and if we disable assemble, we can compile successfully, but when call function for compress, there will run-time error.
Could you share your experience on porting to an embedded system ? Or could you provide engineering service to help us porting this library to our system ?

Best regards!

Biao GONG   龚彪
Software Team Leader
CDA ISC

Tel: +86 (0)755 36885222 - 8730
VALEO INTERIOR CONTROLS (SHENZHEN) CO., LTD.
法雷奥汽车内部控制(深圳)有限公司
Add:  North Junyi Ind. Park, Huaide Vil., Fuyong Town, Baoan Dist., Shenzhen 518128, China
深圳市宝安区福永镇怀德村翠岗六区第四幢北方骏亿工业园 (107国道富邦家具后),邮编:518128
[http://www.valeo.com/wp-content/themes/valeo/images/logo.png]<http://www.valeo.com/>


This e-mail message is intended for the internal use of the intended recipient(s) only.

The information contained herein is confidential/privileged. Its disclosure or reproduction is strictly prohibited.

If you are not the intended recipient, please inform the sender immediately, do not disclose it internally or to third parties and destroy it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20181009/337e9b2d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5474 bytes
Desc: image001.png
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20181009/337e9b2d/attachment-0001.png>


More information about the x264-devel mailing list