diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-01-19 10:46:07 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-01-19 19:54:29 +0100 |
commit | 3bf28d40e5288632e27151e4791eb09000cbee5e (patch) | |
tree | 5cec2033d734d091805e718edff39b956a606451 /libavfilter/v360.h | |
parent | ff5e241bca43c7092a2f32a5d9ef8a7564f10933 (diff) | |
download | ffmpeg-3bf28d40e5288632e27151e4791eb09000cbee5e.tar.gz |
avfilter/vf_v360: change remaps to int16_t type
Diffstat (limited to 'libavfilter/v360.h')
-rw-r--r-- | libavfilter/v360.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/v360.h b/libavfilter/v360.h index 82bc37ef48..6f51396d86 100644 --- a/libavfilter/v360.h +++ b/libavfilter/v360.h @@ -96,8 +96,8 @@ enum RotationOrder { }; typedef struct XYRemap { - uint16_t u[4][4]; - uint16_t v[4][4]; + int16_t u[4][4]; + int16_t v[4][4]; float ker[4][4]; } XYRemap; @@ -152,25 +152,25 @@ typedef struct V360Context { int nb_allocated; int elements; - uint16_t *u[2], *v[2]; + int16_t *u[2], *v[2]; int16_t *ker[2]; unsigned map[4]; void (*in_transform)(const struct V360Context *s, const float *vec, int width, int height, - uint16_t us[4][4], uint16_t vs[4][4], float *du, float *dv); + int16_t us[4][4], int16_t vs[4][4], float *du, float *dv); void (*out_transform)(const struct V360Context *s, int i, int j, int width, int height, float *vec); void (*calculate_kernel)(float du, float dv, const XYRemap *rmap, - uint16_t *u, uint16_t *v, int16_t *ker); + int16_t *u, int16_t *v, int16_t *ker); int (*remap_slice)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs); void (*remap_line)(uint8_t *dst, int width, const uint8_t *const src, ptrdiff_t in_linesize, - const uint16_t *const u, const uint16_t *const v, const int16_t *const ker); + const int16_t *const u, const int16_t *const v, const int16_t *const ker); } V360Context; void ff_v360_init(V360Context *s, int depth); |