离线
CedarX是Allwinner发布的专有多媒体框架,不受linux-sunxi社区的支持。
它是负责硬件加速视频和音频解/编码(CedarV + CedarA)以及硬件块的专有软件库的名称。至于音频,硬件ACE(音频编解码器引擎)似乎只存在于A10和更早的SoC中。Allwinner重构了他们的专有用户空间库并部分地在GPLv2下发布它们,将它们命名为“media-codec”,而一些编解码器仍然只能作为类似插件中链接的专有二进制blob。
围绕该库许可的争议[1] [2] [3] [4]引起了一些压力之后 ,Allwinner发布了一个名为Sunxi-CedarX的新媒体编解码库[5] ,这是一个到目前为止的改写只有部分实现了一些编解码器作为开源,让其余的编解码器和功能这样的编码依赖于一个封闭的源插件二进制文件。
Allwinner的CedarX技术和库:
众所周知,Allwinner自己的CedarX专有库没有明确的使用许可,因此即使某些版本的源代码可用,开源软件中的使用条款也是未知的。Allwinner正在慢慢努力解决这个问题。
离线
噢,请教晕哥,C100s上可以用吗?
离线
root@ubuntu:/opt/c600/linux-3.10# find drivers/ |grep \\.o$ |grep sun
drivers/char/sunxi-di/built-in.o
drivers/char/sunxi-scr/built-in.o
drivers/char/sunxi_sys_info/chipid-sunxi.o
drivers/char/sunxi_sys_info/sunxi_sys_info.o
drivers/char/sunxi_sys_info/built-in.o
drivers/spi/spi-sunxi.o
drivers/clocksource/sunxi_timer.o
drivers/i2c/busses/i2c-suniv.o
drivers/dma/sunxi-dma.o
drivers/soc/allwinner/pm-suniv/mem_key.o
drivers/soc/allwinner/pm-suniv/pm_of.o
drivers/soc/allwinner/pm-suniv/mem_ccu-sunivw1p1.o
drivers/soc/allwinner/pm-suniv/mem_divlibc.o
drivers/soc/allwinner/pm-suniv/mem_gpio.o
drivers/soc/allwinner/pm-suniv/pm-sunivw1.o
drivers/soc/allwinner/pm-suniv/mem_twi.o
drivers/soc/allwinner/pm-suniv/mem_int.o
drivers/soc/allwinner/pm-suniv/mem_sram.o
drivers/soc/allwinner/pm-suniv/built-in.o
drivers/soc/allwinner/pm-suniv/suniv-pm.o
drivers/soc/allwinner/pm-suniv/standby.o
drivers/soc/allwinner/pm-suniv/mem_tmr.o
drivers/soc/allwinner/pm-suniv/mem_clk.o
drivers/mmc/host/sunxi-mmc-sunivw1p1-0.o
drivers/mmc/host/sunxi-mmc-sunivw1p1-1.o
drivers/mmc/host/sunxi-mmc-export.o
drivers/mmc/host/sunxi-mmc-debug.o
drivers/mmc/host/sunxi-mmc.o
drivers/misc/sunxi-rf/sunxi-wlan.o
drivers/misc/sunxi-rf/built-in.o
drivers/misc/sunxi-rf/sunxi-bluetooth.o
drivers/media/rc/rc-sunxi-keymaps.o
drivers/media/rc/sunxi-ir-rx.o
drivers/media/rc/sunxi-ir-dev.o
drivers/irqchip/irq-suniv.o
drivers/video/sunxi/lcd/built-in.o
drivers/video/sunxi/lcd/lcd0_panel_cfg.o
drivers/video/sunxi/lcd/lcd1_panel_cfg.o
drivers/video/sunxi/lcd/dev_lcd.o
drivers/video/sunxi/lcd/lcd.o
drivers/video/sunxi/built-in.o
drivers/video/sunxi/disp/dev_disp.o
drivers/video/sunxi/disp/de_bsp/de/disp_tv.o
drivers/video/sunxi/disp/de_bsp/de/disp_display.o
drivers/video/sunxi/disp/de_bsp/de/disp_de.o
drivers/video/sunxi/disp/de_bsp/de/disp_video.o
drivers/video/sunxi/disp/de_bsp/de/disp_clk.o
drivers/video/sunxi/disp/de_bsp/de/disp_event.o
drivers/video/sunxi/disp/de_bsp/de/disp_sprite.o
drivers/video/sunxi/disp/de_bsp/de/ebios/de_tvec.o
drivers/video/sunxi/disp/de_bsp/de/ebios/de_be.o
drivers/video/sunxi/disp/de_bsp/de/ebios/de_lcdc.o
drivers/video/sunxi/disp/de_bsp/de/ebios/de_layer.o
drivers/video/sunxi/disp/de_bsp/de/ebios/de_hwc.o
drivers/video/sunxi/disp/de_bsp/de/ebios/de_fe.o
drivers/video/sunxi/disp/de_bsp/de/disp_lcd.o
drivers/video/sunxi/disp/de_bsp/de/disp_hwc.o
drivers/video/sunxi/disp/de_bsp/de/disp_vga.o
drivers/video/sunxi/disp/de_bsp/de/disp_scaler.o
drivers/video/sunxi/disp/de_bsp/de/disp_combined.o
drivers/video/sunxi/disp/de_bsp/de/disp_layer.o
drivers/video/sunxi/disp/de_bsp/de/disp_hdmi.o
drivers/video/sunxi/disp/built-in.o
drivers/video/sunxi/disp/disp.o
drivers/video/sunxi/disp/dev_fb.o
drivers/video/sunxi/disp/OSAL/OSAL_Pin.o
drivers/video/sunxi/disp/OSAL/OSAL_Lib_C.o
drivers/video/sunxi/disp/OSAL/OSAL_Int.o
drivers/video/sunxi/disp/OSAL/OSAL_Semi.o
drivers/video/sunxi/disp/OSAL/OSAL_Clock.o
drivers/video/sunxi/disp/OSAL/OSAL_Cache.o
drivers/video/sunxi/disp/OSAL/OSAL_Dma.o
drivers/video/sunxi/disp/OSAL/OSAL_Parser.o
drivers/video/sunxi/disp/OSAL/OSAL_IrqLock.o
drivers/video/sunxi/disp/OSAL/OSAL_Thread.o
drivers/video/sunxi/disp/OSAL/OSAL_Time.o
drivers/tty/serial/sunxi-uart.o
drivers/usb/sunxi_usb/sunxi_usb_manager.o
drivers/usb/sunxi_usb/usbc/usbc_dev.o
drivers/usb/sunxi_usb/usbc/usbc_phy.o
drivers/usb/sunxi_usb/usbc/usbc_host.o
drivers/usb/sunxi_usb/usbc/usbc.o
drivers/usb/sunxi_usb/manager/usb_hcd_servers.o
drivers/usb/sunxi_usb/manager/usb_hw_scan.o
drivers/usb/sunxi_usb/manager/usb_msg_center.o
drivers/usb/sunxi_usb/manager/usbc0_platform.o
drivers/usb/sunxi_usb/manager/usb_manager.o
drivers/usb/sunxi_usb/sunxi_usb_hcd0.o
drivers/usb/sunxi_usb/misc/sunxi_usb_debug.o
drivers/usb/sunxi_usb/sunxi_usb_udc.o
drivers/usb/sunxi_usb/built-in.o
drivers/usb/sunxi_usb/udc/sunxi_udc.o
drivers/usb/sunxi_usb/udc/sunxi_udc_dma.o
drivers/usb/sunxi_usb/udc/sunxi_udc_debug.o
drivers/usb/sunxi_usb/udc/sunxi_udc_board.o
drivers/usb/sunxi_usb/sunxi_usbc.o
drivers/usb/sunxi_usb/hcd/hcd0/sunxi_hcd0.o
drivers/usb/sunxi_usb/hcd/core/sunxi_hcd_host.o
drivers/usb/sunxi_usb/hcd/core/sunxi_hcd_dma.o
drivers/usb/sunxi_usb/hcd/core/sunxi_hcd_debug.o
drivers/usb/sunxi_usb/hcd/core/sunxi_hcd_core.o
drivers/usb/sunxi_usb/hcd/core/sunxi_hcd_virt_hub.o
drivers/clk/sunxi/built-in.o
drivers/clk/sunxi/clk-sunivw1.o
drivers/clk/sunxi/clk-periph.o
drivers/clk/sunxi/clk-factors.o
drivers/pinctrl/sunxi/built-in.o
drivers/pinctrl/sunxi/pinctrl-sunivw1p1.o
drivers/pinctrl/sunxi/pinctrl-sunxi.o
drivers/input/keyboard/sunxi-keyboard.o
看起来 c600 bsp linux 应该没有驱动视频解码器.
即使驱动了,也不一定能用。
最好还是去看下 melis 的平台(唱戏机), 不过也是调用库,没有源码.
离线
melis是什么操作系统也是Linux吗?
离线
https://github.com/linux-sunxi/cedarx-libs/
白瞎了30分, 就是这个开源的代码.
这个Linux 提供了库,但是这库支持那些armGCC 呢? 有限制没有。它的库关联了其它的GCC库没有呢
离线
接下来的故事还有没有
离线
有用v3s硬编码的老带哥说一下怎么弄吗,要用硬编码一定得上camdroid吗
离线
说实话,就是Linux下爆破了硬编解码h264能做的应用也很有限,我用Hi3518做视频录像,分给视频处理的ddr刚好够用
离线
相反,如何在 yuv 中解碼原始 h264 流?
离线