diff options
author | Alex Converse <aconverse@google.com> | 2016-05-17 17:45:33 -0700 |
---|---|---|
committer | Alex Converse <aconverse@google.com> | 2016-05-18 09:39:49 -0700 |
commit | a5191f3e60a21df728414151919e6ebbf9ce37b6 (patch) | |
tree | 0360f6f8e814bccb2042287174d8ec331c2b7af3 /vp9/common/vp9_reconinter.h | |
parent | bdfbd6325ef8582beb0cb382f7d0f12cc488ecee (diff) | |
download | libvpx-a5191f3e60a21df728414151919e6ebbf9ce37b6.tar libvpx-a5191f3e60a21df728414151919e6ebbf9ce37b6.tar.gz libvpx-a5191f3e60a21df728414151919e6ebbf9ce37b6.tar.bz2 libvpx-a5191f3e60a21df728414151919e6ebbf9ce37b6.zip |
Move, rename, and inline high_inter_predictor.
The inlining mirrors what was done with the low bit depth
inter_predictor. And the new highbd_inter_predictor name is more
consistent with other high bit depth functions.
Change-Id: I96437f745759aeec6260c6e39a974bf36f1c211c
Diffstat (limited to 'vp9/common/vp9_reconinter.h')
-rw-r--r-- | vp9/common/vp9_reconinter.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/vp9/common/vp9_reconinter.h b/vp9/common/vp9_reconinter.h index 7d907748e..07745e3aa 100644 --- a/vp9/common/vp9_reconinter.h +++ b/vp9/common/vp9_reconinter.h @@ -34,14 +34,18 @@ static INLINE void inter_predictor(const uint8_t *src, int src_stride, } #if CONFIG_VP9_HIGHBITDEPTH -void high_inter_predictor(const uint8_t *src, int src_stride, - uint8_t *dst, int dst_stride, - const int subpel_x, - const int subpel_y, - const struct scale_factors *sf, - int w, int h, int ref, - const InterpKernel *kernel, - int xs, int ys, int bd); +static INLINE void highbd_inter_predictor(const uint8_t *src, int src_stride, + uint8_t *dst, int dst_stride, + const int subpel_x, + const int subpel_y, + const struct scale_factors *sf, + int w, int h, int ref, + const InterpKernel *kernel, + int xs, int ys, int bd) { + sf->highbd_predict[subpel_x != 0][subpel_y != 0][ref]( + src, src_stride, dst, dst_stride, + kernel[subpel_x], xs, kernel[subpel_y], ys, w, h, bd); +} #endif // CONFIG_VP9_HIGHBITDEPTH MV average_split_mvs(const struct macroblockd_plane *pd, const MODE_INFO *mi, |