| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
| |
Although gcc guarantees 16 byte stack alignment, threads under WinXP
don't appear to be guaranteed to start stack aligned. So fix the
alignment.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
When converting RGB format to RGB format with the same bits per sample,
unscaled path performs conversion on the whole buffer at once. For
non-multiple-of-16 BGR24 to RGB24 conversion it means that padding at the
end of line will be converted too. Since it may be of arbitrary length
(e.g. 8 bytes), operating on the whole buffer produces obviously wrong
results.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
|
|
|
| |
Prevents overflows on very bright scenes when adding dither,
which may lead to black dots.
|
| |
|
|
|
|
| |
Based on a somewhat similar idea in FFmpeg's swscale.
|
|
This duplicates the function fillPlane().
|