Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-09-29 11:48:54 +0300
committerPaul B Mahol <onemda@gmail.com>2020-09-29 15:21:20 +0300
commit86b29c0cd0d0e82179f655c1385afd1013e00eca (patch)
treedf4a978c63d57e71a360b95977bb49af0fa740dd /libavfilter/v360.h
parentad2546e3b33eabeeeeed7d1b1f5e804181e819b7 (diff)
avfilter/vf_v360: split maps into slices
Diffstat (limited to 'libavfilter/v360.h')
-rw-r--r--libavfilter/v360.h11
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,