Mercurial > libavcodec.hg
comparison rectangle.h @ 11280:fea25a6f874e libavcodec
3rd and hopefully last 100l fix.
author | michael |
---|---|
date | Wed, 24 Feb 2010 22:13:20 +0000 |
parents | 08fdccf61a03 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11279:08fdccf61a03 | 11280:fea25a6f874e |
---|---|
85 *(uint64_t*)(p + 0+2*stride)= v; | 85 *(uint64_t*)(p + 0+2*stride)= v; |
86 *(uint64_t*)(p + 8+2*stride)= v; | 86 *(uint64_t*)(p + 8+2*stride)= v; |
87 *(uint64_t*)(p + 0+3*stride)= v; | 87 *(uint64_t*)(p + 0+3*stride)= v; |
88 *(uint64_t*)(p + 8+3*stride)= v; | 88 *(uint64_t*)(p + 8+3*stride)= v; |
89 #else | 89 #else |
90 const uint32_t v= size==2 ? val*0x00010001 : val*0x01010101; | 90 const uint32_t v= size==2 ? val*0x00010001 : val; |
91 *(uint32_t*)(p + 0+0*stride)= v; | 91 *(uint32_t*)(p + 0+0*stride)= v; |
92 *(uint32_t*)(p + 4+0*stride)= v; | 92 *(uint32_t*)(p + 4+0*stride)= v; |
93 if(h==1) return; | 93 if(h==1) return; |
94 *(uint32_t*)(p + 0+1*stride)= v; | 94 *(uint32_t*)(p + 0+1*stride)= v; |
95 *(uint32_t*)(p + 4+1*stride)= v; | 95 *(uint32_t*)(p + 4+1*stride)= v; |