* Scale by a factor of 3 a row of pixels of 16 bits. * This function operates like scale3x_8_def() but for 16 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.
| 691 | * \param dst2 Third destination row, triple length in pixels. |
| 692 | */ |
| 693 | void scale3x_16_def(scale3x_uint16* dst0, scale3x_uint16* dst1, scale3x_uint16* dst2, const scale3x_uint16* src0, const scale3x_uint16* src1, const scale3x_uint16* src2, unsigned count) |
| 694 | { |
| 695 | #ifdef USE_SCALE_RANDOMWRITE |
| 696 | scale3x_16_def_whole(dst0, dst1, dst2, src0, src1, src2, count); |
| 697 | #else |
| 698 | scale3x_16_def_border(dst0, src0, src1, src2, count); |
| 699 | scale3x_16_def_center(dst1, src0, src1, src2, count); |
| 700 | scale3x_16_def_border(dst2, src2, src1, src0, count); |
| 701 | #endif |
| 702 | } |
| 703 | |
| 704 | /** |
| 705 | * Scale by a factor of 3 a row of pixels of 32 bits. |
no test coverage detected