主题 : 6410硬件解码 H264 第一个测试版 可解码h264,av输出(测试版) 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 27001
精华: 1
发帖: 41
金钱: 255 两
威望: 51 点
贡献值: 1 点
综合积分: 102 分
注册时间: 2010-08-18
最后登录: 2021-04-22
楼主  发表于: 2010-08-20 23:43

 6410硬件解码 H264 第一个测试版 可解码h264,av输出(测试版)

管理提醒: 本帖被 arm9home 从 Linux技术交流专区 移动到本区(2010-09-09)
改动比较多
大概步骤:
找到友善之臂开发板光盘A
在三星原厂资料中找到三星修改的内核源码和 S3C6410X_MultiMedia_Driver_V2.7
进入S3C6410X_MultiMedia_Driver_V2.7/Multimedia_DD/TVOUT_V1.1
打开tvout_drv
修改Makefile
使用友善提供的交叉编译器
使用友善提供的内核源码(非三星原厂内核源码)
然后make,过程中会有头文件找不到,到友善提供内核源码中去找相应的头文件
拷贝过来,有几个文件需要修改一下
友善提供的修改的mfs驱动源代码在
linux-2.6.28.6/drivers/media/video/samsung/

然后到tv_app中修改相应的Makefile
目前只改出了h264的示例

需要用到的设备文件
/dev/s3c-mfc 拷贝到/dev/misc/s3c-mfc
/dev/video14 拷贝到/dev/video/tvout
拷贝之前要现创建文件夹
拷贝的时候加参数 -a (cp -a /dev/video14 ./video/tvout)

也可以直接修改 tv_test.c
指定设备文件为/dev/s3c-mfc和/dev/video14
这样就不用修改了
有能力的网友继续完善吧~~
附件: tvout_app.tgz (478 K) 下载次数:726
附件: tvout_drv.tgz (230 K) 下载次数:547
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-08-21 00:01
什么都不说了,先加精再说。
谢谢分享。
为了更好的分享和管理源代码,建议你把源代码上传到提供project hosting的网站,如code.google.com
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2010-08-21 00:05
期待你更多的成果,加油
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2010-08-25 16:38

 Re:回 2楼(kasim) 的帖子

引用第5楼rxf992于2010-08-25 16:02发表的 回 2楼(kasim) 的帖子 :
想问下版主:
1、友善板子提供的2.6.28内核源码是怎么的来的呢?
2、为什么2.6.28里面提供的MFC相关驱动接口和友善资料光盘里面提供的版本不兼容?
3、为何友善不在资料光盘中提供兼容的版本?

我很想帮你了解这些问题,不过可惜我不是友善之臂的人,也不清楚他们到底是怎么做的。但从现有的东西推测, 友善之臂提供的2.6.28的内核源代码应该是从三星原厂发布的2.6.28的源代码(http://git.kernel.org/?p=linux/kernel/git/kki_ap/linux-2.6-samsung.git;a=tree;h=refs/heads/2.6.28-samsung;hb=2.6.28-samsung)修改而来。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
4楼  发表于: 2010-08-27 12:25
引用第8楼pla155于2010-08-27 11:25发表的  :
什么都不说了,先加精再说

这个我可以,你不可以:)
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."