Commit f3499c09 authored by michael's avatar michael

unroll tiny and trivial loop. Same speed but clearer.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22051 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 76c55c33
......@@ -1430,9 +1430,9 @@ static inline void write_back_motion(H264Context *h, int mb_type){
AV_ZERO128(mvd_dst);
else{
AV_COPY64(mvd_dst, mvd_src + 8*3);
for(y=0; y<3; y++){
AV_COPY16(mvd_dst + 3 + 3 - y, mvd_src + 3 + 8*y);
}
AV_COPY16(mvd_dst + 3 + 3, mvd_src + 3 + 8*0);
AV_COPY16(mvd_dst + 3 + 2, mvd_src + 3 + 8*1);
AV_COPY16(mvd_dst + 3 + 1, mvd_src + 3 + 8*2);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment