aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/filter_kernels.h
diff options
context:
space:
mode:
authorGravatar Niklas Haas <git@haasn.xyz>2017-08-27 09:15:50 +0200
committerGravatar Niklas Haas <git@haasn.xyz>2017-09-04 13:53:14 +0200
commit8cf5799ab1e1cb2de22636eadf3119a319161aec (patch)
tree891a1917891078c003a788597662fe1c9ae3e318 /video/out/filter_kernels.h
parentf589a3bd78efbc16e8025bff0809ac3c16b8ea2b (diff)
vo_opengl: refactor scaler LUT weight packing/loading
This is mostly done so we can support using textures with more components than the scaler LUTs have entries. But while we're at it, also change the way the weights are packed so that they're always sequential with no gaps. This allows us to simplify pass_sample_separated_get_weights as well.
Diffstat (limited to 'video/out/filter_kernels.h')
-rw-r--r--video/out/filter_kernels.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/filter_kernels.h b/video/out/filter_kernels.h
index ac9b7fd39a..dd9672a256 100644
--- a/video/out/filter_kernels.h
+++ b/video/out/filter_kernels.h
@@ -50,6 +50,7 @@ const struct filter_kernel *mp_find_filter_kernel(const char *name);
bool mp_init_filter(struct filter_kernel *filter, const int *sizes,
double scale);
-void mp_compute_lut(struct filter_kernel *filter, int count, float *out_array);
+void mp_compute_lut(struct filter_kernel *filter, int count, int stride,
+ float *out_array);
#endif /* MPLAYER_FILTER_KERNELS_H */