Not only w == 8 and w == 16 are supported, but also w == 4.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -95,8 +95,7 @@ int ff_pix_norm1_sse2(const uint8_t *pix, int line_size); · 94 unmodified lines | |||
| 95 | #undef PHADDD | 95 | #undef PHADDD |
| 96 | #endif /* HAVE_SSSE3_INLINE */ | 96 | #endif /* HAVE_SSSE3_INLINE */ |
| 97 | 97 | ||
| 98 | /* Draw the edges of width 'w' of an image of size width, height | 98 | /* Draw the edges of width 'w' of an image of size width, height */ |
| 99 | * this MMX version can only handle w == 8 || w == 16. */ | ||
| 100 | static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height, | 99 | static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height, |
| 101 | int w, int h, int sides) | 100 | int w, int h, int sides) |
| 102 | { | 101 | { |