diff options
author | Deb Mukherjee <debargha@google.com> | 2014-06-12 16:53:13 -0700 |
---|---|---|
committer | Deb Mukherjee <debargha@google.com> | 2014-07-05 16:00:54 -0700 |
commit | 5820c5d614a9efdba545f24f446d4605a62f40f2 (patch) | |
tree | cce18d663237a38b22c206aba649c7783c45c545 /y4menc.h | |
parent | 3643544fe0b6ff217a75f598b5257cf2c72a8908 (diff) | |
download | libvpx-5820c5d614a9efdba545f24f446d4605a62f40f2.tar libvpx-5820c5d614a9efdba545f24f446d4605a62f40f2.tar.gz libvpx-5820c5d614a9efdba545f24f446d4605a62f40f2.tar.bz2 libvpx-5820c5d614a9efdba545f24f446d4605a62f40f2.zip |
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
Diffstat (limited to 'y4menc.h')
-rw-r--r-- | y4menc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ extern "C" { int y4m_write_file_header(char *buf, size_t len, int width, int height, const struct VpxRational *framerate, - vpx_img_fmt_t fmt); + vpx_img_fmt_t fmt, unsigned int bit_depth); int y4m_write_frame_header(char *buf, size_t len); #ifdef __cplusplus |