examples: use I420 input for encoders
authorJohn Koleszar <jkoleszar@google.com>
Tue, 25 May 2010 12:33:57 +0000 (08:33 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 25 May 2010 12:34:02 +0000 (08:34 -0400)
commit6b76e3fb69c9cc8afc40c4755532ee0d49143086
treec3a7d06963e79450033ee512105224a4231bf961
parentefcdf4d6a7677602b1e4bd33496328cd920138e9
examples: use I420 input for encoders

The output of simple_decoder, as well as the default format for the
ivf{enc,dec} tools, is I420. The encoder examples are changed to default
to I420 as well. This is desirable because passing the output of
simple_encoder to simple_decoder would otherwise have the chroma planes
flipped, which is unexpected.

Change-Id: I9d4f10ace594a54a7fc4f9a1f9187365c01fd638
examples/encoder_tmpl.c