Initial version of alpha channel support
authorJohn Koleszar <jkoleszar@google.com>
Thu, 16 May 2013 00:55:08 +0000 (17:55 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Fri, 17 May 2013 05:21:09 +0000 (22:21 -0700)
commit679e4abdd5f733ab544689ce210b42d37e7ce164
treeb2afbb63f8dc55e5f3ba974617bdce10b5ab34e1
parent16ac5a5cde0472fc29719aab7ad0958d1492df43
Initial version of alpha channel support

This is a mostly-working implementation of an extra channel in the
bitstream. Configure with --enable-alpha to test. Notable TODOs:

 - Add extra channel to all mismatch tests, PSNR, SSIM, etc
 - Configurable subsampling
 - Variable number of planes (currently always uses all 4)
 - Loop filtering
 - Per-plane lossless quantizer
 - ARNR support

This implementation just uses the same contents as the Y channel
for the A channel, due to lack of content and general pain in
playing back 4 channel content. A later patch will use the actual
alpha channel passed in from outside the codec.

Change-Id: Ibf81f023b1c570bd84b3064e9b4b8ae52e087592
19 files changed:
configure
vp9/common/vp9_alloccommon.c
vp9/common/vp9_blockd.h
vp9/common/vp9_extend.c
vp9/common/vp9_mbpitch.c
vp9/common/vp9_onyxc_int.h
vp9/common/vp9_postproc.c
vp9/common/vp9_reconinter.c
vp9/common/vp9_reconinter.h
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encodemb.c
vp9/encoder/vp9_lookahead.c
vp9/encoder/vp9_onyx_if.c
vp9/encoder/vp9_onyx_int.h
vp9/encoder/vp9_quantize.c
vp9/encoder/vp9_rdopt.c
vp9/encoder/vp9_temporal_filter.c
vp9/vp9_iface_common.h
vpx_scale/generic/yv12config.c