Adds support for reading and writing 10/12-bit y4m
authorDeb Mukherjee <debargha@google.com>
Thu, 12 Jun 2014 23:53:13 +0000 (16:53 -0700)
committerDeb Mukherjee <debargha@google.com>
Sat, 5 Jul 2014 23:00:54 +0000 (16:00 -0700)
commit5820c5d614a9efdba545f24f446d4605a62f40f2
treecce18d663237a38b22c206aba649c7783c45c545
parent3643544fe0b6ff217a75f598b5257cf2c72a8908
Adds support for reading and writing 10/12-bit y4m

The y4m extension used is the same as the one used in ffmpeg/x264.
The patch is adapted from the highbitdepth branch.

Also adds unit tests for y4m header parsing and md5 check
of the raw frame data, as well as y4m writing.

[build fix for Mac/VS by not using tuples with strings]

Change-Id: I40897ee37d289e4b6cea6fedc67047d692b8cb46
17 files changed:
test/md5_helper.h
test/test-data.sha1
test/test.mk
test/video_source.h
test/y4m_test.cc [new file with mode: 0644]
test/y4m_video_source.h
tools_common.h
vp9/vp9_iface_common.h
vpx/src/vpx_image.c
vpx/vpx_codec.h
vpx/vpx_image.h
vpxdec.c
vpxenc.c
y4menc.c
y4menc.h
y4minput.c
y4minput.h