ivfdec: support y4m output from raw input
authorJohn Koleszar <jkoleszar@google.com>
Wed, 20 Oct 2010 14:49:12 +0000 (10:49 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 26 Oct 2010 02:02:33 +0000 (22:02 -0400)
commitcfe3f9173f7b19f41c59baf2390b6db65b023c00
treeaed4510c7b4a6a207a69d29b1404f5c7ba620aa1
parentad252daf65bcc989f5265b7bef7b04430cafcef4
ivfdec: support y4m output from raw input

The width and height needed to write the Y4M header can be found by
probing the stream with vpx_codec_peek_stream_info(). This also
has the consequence of supporting multiple codecs from raw files
with automatic detections, should we add additional codecs in the
future.

Change-Id: I7522a8f4c7577b6ed9876d744c59cd86d30c6049
ivfdec.c