03 2021 档案
摘要:P010LE **** **** ** xxxx xx 高10位有效 P016LE 16 位有效 YUV420P10LE 低10位有效 YUV444P16LE 16位有效
阅读全文
摘要:1. db定义字节类型变量,一个字节数据占1个字节单元,读完一个,偏移量加1 dw定义字类型变量,一个字数据占2个字节单元,读完一个,偏移量加2 dd定义双字类型变量,一个双字数据占4个字节单元,读完一个,偏移量加4 2. s2 times 9 db '*'9 个byte 变量被分配了 初始化为 '
阅读全文
摘要:1. hscale 计算结果的时候 14 + %1 - %2 //m0 >> 14 + 16-15 m0 >>= 15 2. vscale // 这里的输入实际上是 高12位数据, 0-4096 static void yuv2p010cX_c(SwsContext *c, const int16_
阅读全文
摘要:y 方向直接复制 1. hscale 2. vscale static void yuv2p016cX_c(SwsContext *c, const int16_t *chrFilter, int chrFilterSize, const int16_t **chrUSrc, const int16
阅读全文
摘要:av_cold void ff_sws_init_swscale_x86(SwsContext *c) { int cpu_flags = av_get_cpu_flags(); ... c->yuv2planeX = yuv2yuvX_sse3; hscalefn = c->dstBpc <= 1
阅读全文
摘要:1. vscale int ff_init_vscale(SwsContext *c, SwsFilterDescriptor *desc, SwsSlice *src, SwsSlice *dst) { VScalerContext *lumCtx = NULL; VScalerContext *
阅读全文
摘要:具体流程 ffmpeg/libswscale/swscale.c : 466 ff_rotate_slice(hout_slice, lastPosY, lastCPosY); if (posY < lastLumSrcY + 1) { //luminance Scale for (i = lumS
阅读全文