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>2019-09-06 12:46:11 +0300
committerPaul B Mahol <onemda@gmail.com>2019-09-06 15:10:37 +0300
commitd131541445005e6533b9870debf8c15e4b9a74f6 (patch)
tree17d47b25eb705a07b5d78c6945de51d1596d1981 /libavfilter/v360.h
parent058bbf48c6ba74eddecc4fd684ce45a50d49366f (diff)
avfilter/vf_v360: reduce allocations by reusing duplicated remaps
Diffstat (limited to 'libavfilter/v360.h')
-rw-r--r--libavfilter/v360.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/v360.h b/libavfilter/v360.h
index a0eefdec16..624a0bdda4 100644
--- a/libavfilter/v360.h
+++ b/libavfilter/v360.h
@@ -97,9 +97,11 @@ typedef struct V360Context {
int planewidth[4], planeheight[4];
int inplanewidth[4], inplaneheight[4];
int nb_planes;
+ int nb_allocated;
uint16_t *u[4], *v[4];
int16_t *ker[4];
+ unsigned map[4];
int (*remap_slice)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs);