aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp8dsp.h
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-11-14 15:21:24 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2016-11-14 15:21:24 +0100
commit5a447edd475a7ae672f385ca0c76a5fc5a56ac1f (patch)
treeb96e675b5226f9cc6fe01030684b7f6d6da07b3c /libavcodec/vp8dsp.h
parent68b0d7e0be66bfa8141f8bd3eaa004b8104b8c34 (diff)
parentdc08bbf63a217c839aa4c143f2a1d0b7e2e6d997 (diff)
downloadffmpeg-5a447edd475a7ae672f385ca0c76a5fc5a56ac1f.tar.gz
Merge commit 'dc08bbf63a217c839aa4c143f2a1d0b7e2e6d997'
* commit 'dc08bbf63a217c839aa4c143f2a1d0b7e2e6d997': vp8dsp: Clarify the first dimension of the mc function tables Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/vp8dsp.h')
-rw-r--r--libavcodec/vp8dsp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp8dsp.h b/libavcodec/vp8dsp.h
index 0401c9221b..cda759421f 100644
--- a/libavcodec/vp8dsp.h
+++ b/libavcodec/vp8dsp.h
@@ -70,12 +70,12 @@ typedef struct VP8DSPContext {
void (*vp8_h_loop_filter_simple)(uint8_t *dst, ptrdiff_t stride, int flim);
/**
- * first dimension: width>>3, height is assumed equal to width
+ * first dimension: 4-log2(width), height is assumed equal to width
* second dimension: 0 if no vertical interpolation is needed;
* 1 4-tap vertical interpolation filter (my & 1)
* 2 6-tap vertical interpolation filter (!(my & 1))
* third dimension: same as second dimension, for horizontal interpolation
- * so something like put_vp8_epel_pixels_tab[width>>3][2*!!my-(my&1)][2*!!mx-(mx&1)](..., mx, my)
+ * so something like put_vp8_epel_pixels_tab[4-log2(width)][2*!!my-(my&1)][2*!!mx-(mx&1)](..., mx, my)
*/
vp8_mc_func put_vp8_epel_pixels_tab[3][3][3];
vp8_mc_func put_vp8_bilinear_pixels_tab[3][3][3];