diff --git a/src/lib/internal.h b/src/lib/internal.h index a25c2075d..6901b801d 100644 --- a/src/lib/internal.h +++ b/src/lib/internal.h @@ -1737,7 +1737,7 @@ create_polyfill_op(int y, int x, struct topolyfill** stck){ typedef struct ncvisual_implementation { int (*visual_init)(int loglevel); void (*visual_printbanner)(fbuf* f); - int (*visual_blit)(struct ncvisual* ncv, int rows, int cols, ncplane* n, + int (*visual_blit)(struct ncvisual* ncv, unsigned rows, unsigned cols, ncplane* n, const struct blitset* bset, const blitterargs* barg); struct ncvisual* (*visual_create)(void); struct ncvisual* (*visual_from_file)(const char* fname); diff --git a/src/media/ffmpeg.c b/src/media/ffmpeg.c index 43d76063a..33026adc1 100644 --- a/src/media/ffmpeg.c +++ b/src/media/ffmpeg.c @@ -631,7 +631,7 @@ int ffmpeg_resize(ncvisual* n, unsigned rows, unsigned cols){ } // rows/cols: scaled output geometry (pixels) -int ffmpeg_blit(ncvisual* ncv, int rows, int cols, ncplane* n, +int ffmpeg_blit(ncvisual* ncv, unsigned rows, unsigned cols, ncplane* n, const struct blitset* bset, const blitterargs* bargs){ void* data; int stride = 0; diff --git a/src/media/oiio.cpp b/src/media/oiio.cpp index e2070aeed..4e3afab22 100644 --- a/src/media/oiio.cpp +++ b/src/media/oiio.cpp @@ -144,7 +144,7 @@ int oiio_resize(ncvisual* nc, unsigned rows, unsigned cols) { return 0; } -int oiio_blit(struct ncvisual* ncv, int rows, int cols, +int oiio_blit(struct ncvisual* ncv, unsigned rows, unsigned cols, ncplane* n, const struct blitset* bset, const blitterargs* bargs) { //fprintf(stderr, "%d/%d -> %d/%d on the resize\n", ncv->pixy, ncv->pixx, rows, cols); diff --git a/src/media/oiio.h b/src/media/oiio.h index ece61c713..18d1139fd 100644 --- a/src/media/oiio.h +++ b/src/media/oiio.h @@ -11,7 +11,7 @@ int oiio_decode(ncvisual* nc); struct ncvisual_details* oiio_details_init(void); void oiio_printbanner(fbuf* f); void oiio_details_seed(struct ncvisual* ncv); -int oiio_blit(ncvisual* ncv, int rows, int cols, +int oiio_blit(ncvisual* ncv, unsigned rows, unsigned cols, struct ncplane* n, const struct blitset* bset, const blitterargs* bargs); ncvisual* oiio_from_file(const char* filename);