summaryrefslogtreecommitdiff
path: root/y4minput.c
AgeCommit message (Collapse)Author
2016-07-19vp8/{bitstream,rdopt},y4minput: correct break placementJames Zern
these should be placed within {}s when present Change-Id: If00e9766fa8cb039cc070467f353a468f99460fb
2016-07-19y4minput.c: correct empty loop formattingJames Zern
prefer {}s over ';' Change-Id: I563fc82717e1deb4f42a40e03dca318c6adaa0c1
2016-07-19top-level: apply clang-formatclang-format
Change-Id: Ibd5395bf8956a80f7c0df4d539c7a42c927a1fc7
2014-10-08Revert "Change the y4m buffer allocation size"Yaowu Xu
This reverts commit 72ef1949388c4c0d82769ef06c6db0195b124b13. Change-Id: Ic1906bcc6da05d2e6529152b92df809c8e5a2406
2014-10-03Change the y4m buffer allocation sizeYaowu Xu
This attempts to fix issue #847 Change-Id: Ifa2f96b6b33624004272d83363e089b5b4dc5626
2014-09-02Removing legacy compatibility layer.Dmitry Kovalev
Change-Id: I6fdcea0e0faf42386dd2b8f972a3b3fb2c21b2c7
2014-08-21y4minput.c : removed malloc of 0 bytes to resolve warningJim Bankoski
Change-Id: Ic143455b0880e639959732e178cd62140a510b79
2014-08-21y4minput.c : uninitalized buffer caused garbage value warningJim Bankoski
Change-Id: I613f521680b235726b2e0f78c068c0e5d7799f76
2014-07-11Silent -wextra warningsYaowu Xu
1. vpxenc.c 2. y4minput.c Change-Id: I1cfe1ef84a3eec11376976c09947fe6178ee039f
2014-07-05Adds support for reading and writing 10/12-bit y4mDeb Mukherjee
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
2014-07-02Reverting "Adds support for reading and writing 10/12-bit y4m" for now ↵Dmitry Kovalev
because of Mac Build Failure. This reverts commit 82dc1332af4b16d3e4ad3c4358498820637b7add Change-Id: I824bf42bf47c7df6985c79e451d6af913030d374
2014-07-02Adds support for reading and writing 10/12-bit y4mDeb Mukherjee
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. Change-Id: Ie2794daf6dbafd2f128464f9b9da520fc54c0dd6
2014-03-18y4minput: add more error reporting on read failureJames Zern
Change-Id: Iedb136e4019ec3eb3005ea567efb33902dccfb8d
2014-03-11y4minput: add some tolerance for read short countsJames Zern
Change-Id: Id5d3c536b7494eb3292f33f35c700b5de7034595
2013-05-06Y4M input support for 4:2:2, 4:4:4, 4:4:4:4John Koleszar
Adds a new experiment CONFIG_NON420 that allows other chroma subsamplings to be passed to the codec. This commit allows the data to be passed from a y4m input file through vpxenc to the codec, where they're currently rejected. Later commits will finish support for this inside the codec. Change-Id: Ib3aac604d8cad9e24cef395fa1067f16ba7e8e43
2012-11-06Merge other top-level C codeJohn Koleszar
Change-Id: I0ff77f51595599cc3de5183c6c655fd261e3d925
2012-07-17Restyle codeJohn Koleszar
Approximate the Google style guide[1] so that that there's a written document to follow and tools to check compliance[2]. [1]: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml [2]: http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py Change-Id: Idf40e3d8dddcc72150f6af127b13e5dab838685f
2011-05-09clean up unused variable warningsJohann
Change-Id: I9467d7a50eac32d8e8f3a2f26db818e47c93c94b
2010-10-27Eliminate more warnings.Timothy B. Terriberry
This eliminates a large set of warnings exposed by the Mozilla build system (Use of C++ comments in ISO C90 source, commas at the end of enum lists, a couple incomplete initializers, and signed/unsigned comparisons). It also eliminates many (but not all) of the warnings expose by newer GCC versions and _FORTIFY_SOURCE (e.g., calling fread and fwrite without checking the return values). There are a few spurious warnings left on my system: ../vp8/encoder/encodemb.c:274:9: warning: 'sz' may be used uninitialized in this function gcc seems to be unable to figure out that the value shortcut doesn't change between the two if blocks that test it here. ../vp8/encoder/onyx_if.c:5314:5: warning: comparison of unsigned expression >= 0 is always true ../vp8/encoder/onyx_if.c:5319:5: warning: comparison of unsigned expression >= 0 is always true This is true, so far as it goes, but it's comparing against an enum, and the C standard does not mandate that enums be unsigned, so the checks can't be removed. Change-Id: Iaf689ae3e3d0ddc5ade00faa474debe73b8d3395
2010-09-09Use WebM in copyright notice for consistencyJohn Koleszar
Changes 'The VP8 project' to 'The WebM project', for consistency with other webmproject.org repositories. Fixes issue #97. Change-Id: I37c13ed5fbdb9d334ceef71c6350e9febed9bbba
2010-06-18cosmetics: trim trailing whitespaceJohn Koleszar
When the license headers were updated, they accidentally contained trailing whitespace, so unfortunately we have to touch all the files again. Change-Id: I236c05fade06589e417179c0444cb39b09e4200d
2010-06-04LICENSE: update with latest textJohn Koleszar
Change-Id: Ieebea089095d9073b3a94932791099f614ce120c
2010-06-02Add support for reading YUV4MPEG2 files to ivfenc.Timothy B. Terriberry
A large collection of example files may be found at http://media.xiph.org/video/derf/ This also fixes a bug in ivfenc for uncompressed IVF input, which previously appeared not to skip past the file header the second time it opened the file. I don't actually have an IVF file with which to test this fix, however. Change-Id: Id69a1e11a3fa16c4a4fa8944e880bcea090cd52b