* Scale by a factor of 2 a row of pixels of 32 bits. * This function operates like scale2x_8_def() but for 32 bits pixels. * \param src0 Pointer at the first pixel of the previous row. * \param src1 Pointer at the first pixel of the current row. * \param src2 Pointer at the first pixel of the next row. * \param count Length in pixels of the src0, src1 and src2 rows. * It must be at least 2.
| 566 | * \param dst1 Second destination row, double length in pixels. |
| 567 | */ |
| 568 | void scale2x_32_def(scale2x_uint32* dst0, scale2x_uint32* dst1, const scale2x_uint32* src0, const scale2x_uint32* src1, const scale2x_uint32* src2, unsigned count) |
| 569 | { |
| 570 | #ifdef USE_SCALE_RANDOMWRITE |
| 571 | scale2x_32_def_whole(dst0, dst1, src0, src1, src2, count); |
| 572 | #else |
| 573 | scale2x_32_def_border(dst0, src0, src1, src2, count); |
| 574 | scale2x_32_def_border(dst1, src2, src1, src0, count); |
| 575 | #endif |
| 576 | } |
| 577 | |
| 578 | /** |
| 579 | * Scale by a factor of 2x3 a row of pixels of 8 bits. |
no test coverage detected