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
Showing
- test/md5_helper.h 3 additions, 2 deletionstest/md5_helper.h
- test/test-data.sha1 9 additions, 0 deletionstest/test-data.sha1
- test/test.mk 15 additions, 1 deletiontest/test.mk
- test/video_source.h 9 additions, 0 deletionstest/video_source.h
- test/y4m_test.cc 187 additions, 0 deletionstest/y4m_test.cc
- test/y4m_video_source.h 12 additions, 6 deletionstest/y4m_video_source.h
- tools_common.h 1 addition, 0 deletionstools_common.h
- vp9/vp9_iface_common.h 1 addition, 0 deletionsvp9/vp9_iface_common.h
- vpx/src/vpx_image.c 26 additions, 7 deletionsvpx/src/vpx_image.c
- vpx/vpx_codec.h 9 additions, 0 deletionsvpx/vpx_codec.h
- vpx/vpx_image.h 3 additions, 2 deletionsvpx/vpx_image.h
- vpxdec.c 2 additions, 1 deletionvpxdec.c
- vpxenc.c 2 additions, 0 deletionsvpxenc.c
- y4menc.c 38 additions, 6 deletionsy4menc.c
- y4menc.h 1 addition, 1 deletiony4menc.h
- y4minput.c 115 additions, 10 deletionsy4minput.c
- y4minput.h 2 additions, 1 deletiony4minput.h
Loading
Please register or sign in to comment