[media] unsigned for _blit()

This commit is contained in:
nick black 2021-11-21 05:38:52 -05:00
parent bda934f477
commit 27257328ce
4 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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);

View File

@ -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);