Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -54,14 +54,14 @@ typedef struct Super2xSaIContext { · 53 unmodified lines | ||
| 54 | 54 | + ((((A & q_lo_pixel_mask) + (B & q_lo_pixel_mask) + (C & q_lo_pixel_mask) + (D & q_lo_pixel_mask)) >> 2) & q_lo_pixel_mask) |
| 55 | 55 | |
| 56 | 56 | static void super2xsai(AVFilterContext *ctx, |
| 57 | − uint8_t *src, int src_linesize, | |
| 57 | + const uint8_t *src, int src_linesize, | |
| 58 | 58 | uint8_t *dst, int dst_linesize, |
| 59 | 59 | int width, int height) |
| 60 | 60 | { |
| 61 | 61 | Super2xSaIContext *s = ctx->priv; |
| 62 | 62 | unsigned int x, y; |
| 63 | 63 | uint32_t color[4][4]; |
| 64 | − unsigned char *src_line[4]; | |
| 64 | + const uint8_t *src_line[4]; | |
| 65 | 65 | const int bpp = s->bpp; |
| 66 | 66 | const uint32_t hi_pixel_mask = s->hi_pixel_mask; |
| 67 | 67 | const uint32_t lo_pixel_mask = s->lo_pixel_mask; |