diff options
author | Dmitry Kovalev <dkovalev@google.com> | 2013-10-03 18:55:21 -0700 |
---|---|---|
committer | Dmitry Kovalev <dkovalev@google.com> | 2013-10-03 18:55:21 -0700 |
commit | 9ec09700d6f70759b7bb5e54a7df5894336f02d9 (patch) | |
tree | 5b6341f015e313c902f421a99a09ec65101c77b1 /vp9/common/vp9_convolve.h | |
parent | 934c4e66214b1ec851aa1e0690da94cc39875fee (diff) | |
download | libvpx-9ec09700d6f70759b7bb5e54a7df5894336f02d9.tar libvpx-9ec09700d6f70759b7bb5e54a7df5894336f02d9.tar.gz libvpx-9ec09700d6f70759b7bb5e54a7df5894336f02d9.tar.bz2 libvpx-9ec09700d6f70759b7bb5e54a7df5894336f02d9.zip |
Adding vp9_get_filter_kernel() function.
Moving INTERPOLATIONFILTERTYPE enum and subpix_fn_table struct to
vp9_filter.h. Adding convenient typedef for subpel kernels.
Function vp9_setup_interp_filters() besides setting xd->subpix.filter_x &
xd->subpix.filter_y has a side effect of also setting scale factors. This
is not required inside decode_modes_b() because scale factors have been
already set by set_ref() calls. That's why replacing
vp9_setup_interp_filters() call with newly created vp9_get_filter_kernel()
call. The behavior of vp9_setup_interp_filters() is unchanged (it
is used from the encoder).
Change-Id: I3f36d3f7cd8d15195a6e2fafd1777cdaf9ecb847
Diffstat (limited to 'vp9/common/vp9_convolve.h')
-rw-r--r-- | vp9/common/vp9_convolve.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vp9/common/vp9_convolve.h b/vp9/common/vp9_convolve.h index 3d4cf6914..9a5caa662 100644 --- a/vp9/common/vp9_convolve.h +++ b/vp9/common/vp9_convolve.h @@ -21,9 +21,4 @@ typedef void (*convolve_fn_t)(const uint8_t *src, ptrdiff_t src_stride, const int16_t *filter_y, int y_step_q4, int w, int h); -struct subpix_fn_table { - const int16_t (*filter_x)[8]; - const int16_t (*filter_y)[8]; -}; - #endif // VP9_COMMON_VP9_CONVOLVE_H_ |