X264 中的x264_macroblock_cache_load 的问题
来源:互联网 发布:软件项目管理问题 编辑:程序博客网 时间:2024/05/22 07:44
关于拷贝模块,很复杂。
首先有x264_t结构体中的指针函数
void (*copy[7])( uint8_t *dst, int, uint8_t *src, int, int i_height );
来自结构体x264_t中的, x264_mc_functions_t;
而这些指针函数的初始化来自
void x264_mc_init( int cpu, x264_mc_functions_t *pf )
{
pf->copy[PIXEL_16x16] = mc_copy_w16;
pf->copy[PIXEL_8x8] = mc_copy_w8;
pf->copy[PIXEL_4x4] = mc_copy_w4;
}
mc_copy_w16定义于一个宏
#define MC_COPY(W) /
static void mc_copy_w##W( uint8_t *dst, int i_dst, uint8_t *src, int i_src, int i_height ) /
{ /
mc_copy( src, i_src, dst, i_dst, W, i_height ); /
}
MC_COPY( 16 )
MC_COPY( 8 )
MC_COPY( 4 )
其中的W为暗含参数
这样追本溯源就可以得到
h->mc.copy[i?PIXEL_8x8:PIXEL_16x16]( h->mb.pic.p_fenc[i], FENC_STRIDE,
&h->fenc->plane[i][ w * (i_mb_x + i_mb_y * i_stride) ], i_stride, w );
- X264 中的x264_macroblock_cache_load 的问题
- X264 中的x264_macroblock_cache_load 的问题2
- x264 - x264_macroblock_cache_load
- x264 - x264_macroblock_cache_load
- x264_macroblock_cache_load()
- x264多线程中的一些问题
- 看X264代码遇到的问题
- x264编译“CommandLineToArgvW”未定义的问题
- x264_macroblock_cache_load分析
- x264_macroblock_cache_load分析
- x264中的参数说明
- x264中的Decoder
- x264中的NAL流程
- 浅谈x264中的宏块树
- 关于X264中的x264_reduce_fraction
- x264中的NAL流程
- x264中的参数说明
- 浅谈x264中的宏块树
- 堆和栈的区别与联系
- win7-key
- 下拉树 T形下拉树 跳转
- SQL Server Tips by Burleson
- 有没有一种写法,可以分别定义全站input分别对应type="text",type="submit",type="chekbox"....等等的样式呢?
- X264 中的x264_macroblock_cache_load 的问题
- Indie 音乐类型扫盲
- 利用DefaultHttpClient实现代理访问,和登录CAS并且写cookie
- HDU 1237 简单计算器
- [Win7]cx_Oracle 找不到指定模块错误解决
- sql增加字段、修改字段名、删除字段、修改表名、改存储过程名!!
- Flex 开发必备利器,Flex入门,Flex设置外部浏览器
- .net 文件下载上传、网页抓取 用WebClient实现
- c# web service的文章