summaryrefslogtreecommitdiff
path: root/y4menc.h
diff options
context:
space:
mode:
authorDeb Mukherjee <debargha@google.com>2014-06-12 16:53:13 -0700
committerDeb Mukherjee <debargha@google.com>2014-07-05 16:00:54 -0700
commit5820c5d614a9efdba545f24f446d4605a62f40f2 (patch)
treecce18d663237a38b22c206aba649c7783c45c545 /y4menc.h
parent3643544fe0b6ff217a75f598b5257cf2c72a8908 (diff)
downloadlibvpx-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/y4menc.h b/y4menc.h
index 0fabf56eb..69d590413 100644
--- a/y4menc.h
+++ b/y4menc.h
@@ -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