摘要: 1. db定义字节类型变量,一个字节数据占1个字节单元,读完一个,偏移量加1 dw定义字类型变量,一个字数据占2个字节单元,读完一个,偏移量加2 dd定义双字类型变量,一个双字数据占4个字节单元,读完一个,偏移量加4 2. s2 times 9 db '*'9 个byte 变量被分配了 初始化为 ' 阅读全文
posted @ 2021-03-15 19:48 洛笔达 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 1. hscale 计算结果的时候 14 + %1 - %2 //m0 >> 14 + 16-15 m0 >>= 15 2. vscale // 这里的输入实际上是 高12位数据, 0-4096 static void yuv2p010cX_c(SwsContext *c, const int16_ 阅读全文
posted @ 2021-03-15 19:43 洛笔达 阅读(200) 评论(0) 推荐(0) 编辑
摘要: y 方向直接复制 1. hscale 2. vscale static void yuv2p016cX_c(SwsContext *c, const int16_t *chrFilter, int chrFilterSize, const int16_t **chrUSrc, const int16 阅读全文
posted @ 2021-03-15 17:38 洛笔达 阅读(171) 评论(0) 推荐(0) 编辑