Ronald S. Bultje 60cb39da86 Dual 16x16 inter prediction.
This patch introduces the concept of dual inter16x16 prediction. A
16x16 inter-predicted macroblock can use 2 references instead of 1,
where both references use the same mvmode (new, near/est, zero). In the
case of newmv, this means that two MVs are coded instead of one. The
frame can be encoded in 3 ways: all MBs single-prediction, all MBs dual
prediction, or per-MB single/dual prediction selection ("hybrid"), in
which case a single bit is coded per-MB to indicate whether the MB uses
single or dual inter prediction.

In the future, we can (maybe?) get further gains by mixing this with
Adrian's 32x32 work, per-segment dual prediction settings, or adding
support for dual splitmv/8x8mv inter prediction.

Gain (on derf-set, CQ mode) is ~2.8% (SSIM) or ~3.6% (glb PSNR). Most
gain is at medium/high bitrates, but there's minor gains at low bitrates
also. Output was confirmed to match between encoder and decoder.

Note for optimization people: this patch introduces a 2nd version of
16x16/8x8 sixtap/bilin functions, which does an avg instead of a
store. They may want to look and make sure this is implemented to
their satisfaction so we can optimize it best in the future.

Change-ID: I59dc84b07cbb3ccf073ac0f756d03d294cb19281
2011-12-06 11:53:02 -08:00
..
2011-12-06 11:53:02 -08:00
2011-04-25 17:37:41 -04:00
2011-12-06 11:53:02 -08:00
2011-08-02 19:26:46 -04:00
2011-02-24 14:35:18 -05:00
2011-12-06 11:53:02 -08:00
2011-07-21 09:01:53 -07:00
2011-05-24 13:24:52 -04:00
2011-11-09 16:03:23 -08:00
2011-11-03 17:14:26 +00:00
2011-09-16 15:55:19 -07:00
2010-10-27 18:08:04 -07:00
2011-08-19 10:29:41 -04:00
2011-08-19 10:29:41 -04:00
2011-12-06 11:53:02 -08:00
2011-02-08 17:42:54 -05:00
2011-07-21 09:01:53 -07:00
2011-07-08 09:31:41 +03:00
2010-10-27 18:08:04 -07:00
2010-10-27 18:08:04 -07:00
2011-05-12 11:08:16 -04:00
2011-07-26 11:34:36 -07:00
2011-12-06 11:53:02 -08:00
2011-06-27 09:43:21 -07:00
2011-09-16 15:55:19 -07:00
2011-12-06 11:53:02 -08:00
2011-12-06 11:53:02 -08:00
2011-12-06 11:53:02 -08:00
2011-09-16 15:55:19 -07:00
2011-11-08 12:21:08 +00:00
2011-11-08 12:21:08 +00:00
2010-10-27 18:08:04 -07:00
2011-12-06 11:53:02 -08:00
2010-10-27 18:08:04 -07:00
2011-05-06 00:13:59 -04:00
2010-10-27 18:08:04 -07:00
2010-10-27 18:08:04 -07:00