Commit 36069c6f authored by michael's avatar michael

quick fix for movies with a height which is not a multiple of 8


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@165 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e721f4ac
......@@ -2607,7 +2607,7 @@ static void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStri
for(x=0; x<width; x+=BLOCK_SIZE)
blockCopy(dst + x, dstStride, src + x, srcStride, 8, mode & LEVEL_FIX);
for(y=0; y<height; y+=BLOCK_SIZE)
for(y=0; y<height-7; y+=BLOCK_SIZE)
{
//1% speedup if these are here instead of the inner loop
uint8_t *srcBlock= &(src[y*srcStride]);
......
......@@ -2607,7 +2607,7 @@ static void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStri
for(x=0; x<width; x+=BLOCK_SIZE)
blockCopy(dst + x, dstStride, src + x, srcStride, 8, mode & LEVEL_FIX);
for(y=0; y<height; y+=BLOCK_SIZE)
for(y=0; y<height-7; y+=BLOCK_SIZE)
{
//1% speedup if these are here instead of the inner loop
uint8_t *srcBlock= &(src[y*srcStride]);
......
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