]> git.nihav.org Git - nihav.git/blob - nihav-itu/src/codecs/h264/dsp/mc/x86/mod.rs
h264: make a specific version of 4x4 bidirectional MC function
[nihav.git] / nihav-itu / src / codecs / h264 / dsp / mc / x86 / mod.rs
1 #[allow(clippy::uninit_assumed_init)]
2 mod luma_mc;
3 pub use luma_mc::H264_LUMA_INTERP;
4 mod chroma_mc;
5 pub use chroma_mc::*;
6 mod blockdsp;
7 use blockdsp::*;
8
9 impl super::RegisterSIMD for super::H264MC {
10 fn register_simd(&mut self) {
11 self.avg[1] = avg_4;
12 self.avg[2] = avg_8;
13 self.avg[3] = avg_16;
14 self.put_block_weighted[1] = put_block_weighted_4;
15 self.put_block_weighted[2] = put_block_weighted_8;
16 self.put_block_weighted[3] = put_block_weighted_16;
17 self.put_block_weighted2[1] = put_block_weighted2_4;
18 self.put_block_weighted2[2] = put_block_weighted2_8;
19 self.put_block_weighted2[3] = put_block_weighted2_16;
20 }
21 }