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
Showing
- configure 1 addition, 0 deletionsconfigure
- vp8/common/alloccommon.c 3 additions, 0 deletionsvp8/common/alloccommon.c
- vp8/common/blockd.h 13 additions, 0 deletionsvp8/common/blockd.h
- vp8/common/filter.c 214 additions, 0 deletionsvp8/common/filter.c
- vp8/common/generic/systemdependent.c 20 additions, 8 deletionsvp8/common/generic/systemdependent.c
- vp8/common/onyxc_int.h 13 additions, 0 deletionsvp8/common/onyxc_int.h
- vp8/common/recon.h 16 additions, 0 deletionsvp8/common/recon.h
- vp8/common/reconinter.c 127 additions, 0 deletionsvp8/common/reconinter.c
- vp8/common/reconinter.h 6 additions, 0 deletionsvp8/common/reconinter.h
- vp8/common/subpixel.h 32 additions, 0 deletionsvp8/common/subpixel.h
- vp8/decoder/decodemv.c 59 additions, 1 deletionvp8/decoder/decodemv.c
- vp8/decoder/decodframe.c 35 additions, 0 deletionsvp8/decoder/decodframe.c
- vp8/decoder/onyxd_int.h 3 additions, 0 deletionsvp8/decoder/onyxd_int.h
- vp8/decoder/threading.c 4 additions, 0 deletionsvp8/decoder/threading.c
- vp8/encoder/bitstream.c 71 additions, 2 deletionsvp8/encoder/bitstream.c
- vp8/encoder/encodeframe.c 174 additions, 3 deletionsvp8/encoder/encodeframe.c
- vp8/encoder/ethreading.c 8 additions, 0 deletionsvp8/encoder/ethreading.c
- vp8/encoder/onyx_if.c 187 additions, 0 deletionsvp8/encoder/onyx_if.c
- vp8/encoder/onyx_int.h 33 additions, 5 deletionsvp8/encoder/onyx_int.h
- vp8/encoder/pickinter.c 6 additions, 0 deletionsvp8/encoder/pickinter.c
Loading
Please register or sign in to comment