diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-09-29 11:48:54 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-09-29 15:21:20 +0300 |
commit | 86b29c0cd0d0e82179f655c1385afd1013e00eca (patch) | |
tree | df4a978c63d57e71a360b95977bb49af0fa740dd /libavfilter/v360.h | |
parent | ad2546e3b33eabeeeeed7d1b1f5e804181e819b7 (diff) |
avfilter/vf_v360: split maps into slices
Diffstat (limited to 'libavfilter/v360.h')
-rw-r--r-- | libavfilter/v360.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libavfilter/v360.h b/libavfilter/v360.h index 851bbcb8d8..c0f700b62b 100644 --- a/libavfilter/v360.h +++ b/libavfilter/v360.h @@ -109,6 +109,12 @@ typedef struct XYRemap { float ker[4][4]; } XYRemap; +typedef struct SliceXYRemap { + int16_t *u[2], *v[2]; + int16_t *ker[2]; + uint8_t *mask; +} SliceXYRemap; + typedef struct V360Context { const AVClass *class; int in, out; @@ -164,10 +170,9 @@ typedef struct V360Context { int elements; int mask_size; int max_value; + int nb_threads; - int16_t *u[2], *v[2]; - int16_t *ker[2]; - uint8_t *mask; + SliceXYRemap *slice_remap; unsigned map[4]; int (*in_transform)(const struct V360Context *s, |