mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
[media] unsigned for _blit()
This commit is contained in:
parent
bda934f477
commit
27257328ce
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user