|
|
@@ -134,10 +134,10 @@ pipi_image_t *pipi_median_ext(pipi_image_t *src, int rx, int ry) |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
dstdata[4 * (y * w + x)] = list[size / 8 * 4]; |
|
|
|
dstdata[4 * (y * w + x) + 1] = list[size / 8 * 4 + 1]; |
|
|
|
dstdata[4 * (y * w + x) + 2] = list[size / 8 * 4 + 2]; |
|
|
|
dstdata[4 * (y * w + x) + 3] = list[size / 8 * 4 + 3]; |
|
|
|
dstdata[4 * (y * w + x)] = list[size / 2 * 4]; |
|
|
|
dstdata[4 * (y * w + x) + 1] = list[size / 2 * 4 + 1]; |
|
|
|
dstdata[4 * (y * w + x) + 2] = list[size / 2 * 4 + 2]; |
|
|
|
dstdata[4 * (y * w + x) + 3] = list[size / 2 * 4 + 3]; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|