summaryrefslogtreecommitdiff
path: root/tools_common.c
AgeCommit message (Collapse)Author
2020-06-02Add NV12 supportJerome Jiang
Change-Id: Ia2a8221a156e0882079c5a252f59bc84d8f516b1
2019-02-11Test decode and find mismatch in vp9 svc example encoder.Jerome Jiang
Also write it to opsnr.stt when internal stats is enabled. Removed some redundant code in vpxenc.c and vp9cx_set_ref.c Change-Id: I3700137fff0be92a23e4ab75713db72da1dc4076
2019-01-30add y4m support to vp9 example encoders.Jerome Jiang
vp9_spatial_svc_encoder and vpx_temporal_svc_encoder. Change-Id: I8dfa1dfad83c83a26ddac4e7c57b5f1ff161e588
2019-01-29Clean up TODOs for vpx_img_* functions.Jerome Jiang
They should stay in tools_common.{c,h} Change-Id: I34bd05e8b000ce780bb1f77abcb8cbfd1e83158f
2016-07-19top-level: apply clang-formatclang-format
Change-Id: Ibd5395bf8956a80f7c0df4d539c7a42c927a1fc7
2016-06-17remove vp10James Zern
development has moved to the nextgenv2 branch and a snapshot from here was used to seed aomedia BUG=b/29457125 Change-Id: Iedaca11ec7870fb3a4e50b2c9ea0c2b056a0d3c0
2015-08-15Set VP9 as vpxenc default encoderJingning Han
Change-Id: Idb8a133364fc29ac762ad344262bcc47c568a55c
2015-08-14Remove vp10's build dependency on vp9Yaowu Xu
CONFIG_VP9_HIGHBITDEPTH is currently used by both vp9 and vp10, but in many place outside vp9/vp10, the macro was used in conjunction of CONFIG_VP9. This created a dependency on vp9 for vp10 to build. This commit removes the dependency by use CONFIG_VP9_HIGHBITDEPTH only in these places. Change-Id: I8cc007fc9cf132394c6498ce6759e606b64a6ad0
2015-08-12Merge "Fork VP9 and VP10 codebase"Jingning Han
2015-08-11Fork VP9 and VP10 codebaseJingning Han
This commit folks the VP9 and VP10 codebase and makes libvpx support VP8, VP9, and VP10. Change-Id: I81782e0b809acb3c9844bee8c8ec8f4d5e8fa356
2015-08-10tools_common: fix build w/encoders/decoders disabledJames Zern
gcc-based builds will allow a 0-element array, but visual studio builds will not; this change hides the encoder and decoder specific symbols as modules using them are selected based on the configuration. Change-Id: Ic16ba9d12241070ec689dc5880164c14a4f7ca44
2015-07-08Clean out more MSVC warningsYaowu Xu
Change-Id: I1bab0c104df2ec4825d050cd516e26ab635a7b3e
2015-05-11tools_common.h: fix get_vpx_decoder_count() protoJames Zern
silences a missing-prototype warning Change-Id: I99f8b4a9b7df836208e93170159733c5b5c2d881
2015-05-11tools_common.h: fix get_vpx_encoder_count() protoJames Zern
silences a missing-prototype warning Change-Id: Icf5c7f1f3e8ae9792276068fb3c0fd04b40fc7ad
2014-10-15Fix in bit-shift operation for highbitdepth decodeDeb Mukherjee
Fixes a bug introduced in a previous refactoring patch. Change-Id: I243e74637cfd7a997c7a1fef03b06c290dd0dee6
2014-10-08Refactoring of highbitdepth bitshift operationsDeb Mukherjee
Moves the high bitdepth bit-shift operations to tools_common.c Change-Id: Ifab91574362609cd224d2d6bae5fde00652eb3e4
2014-09-29Miscellaneous decoder changes for high bitdepthDeb Mukherjee
Also includes yv12 config changes. Change-Id: Iacf40d8bf486815b54c32a127ce3cd4516b7e44f
2014-09-02Adds config opt for highbitdepth + misc. vpxDeb Mukherjee
Adds config parameter vp9_highbitdepth, to support highbitdepth profiles. Also includes most vpx level high bit-depth functions. However encode/decode in the highbitdepth profiles will not work until the rest of the code is in place. Change-Id: I34c53b253c38873611057a6cbc89a1361b8985a6
2014-08-07tools_common.c: unsigned signed mismatch addressedJim Bankoski
Change-Id: I919ca42794f13751ca099868e73892d9df64e45f
2014-07-16Adds support for raw yuv files for 422/444Deb Mukherjee
Adds support for raw yuv inputs in 422/444 sampling for use in profiles 1 and 3. New options added to vpxenc are: --i422 and --i444, which are to be used in conjunction with --width, --height, and --fps for proper raw yuv handling. A new option is added to vpxdec: --rawvideo, which enforces raw yuv video output for the bit-stream decoded irrespective of 420, 422 or 444 sampling. The existing options --i420 and --yv12 are specialized for use only for 420 content. Change-Id: I2e3028380709afa673bf2e2c25ad5e271a626055
2014-07-14Misc. bit-depth related changesDeb Mukherjee
Sets the bit-depth field as default 8 in the image structure in vp8. Generalizes yuv read in preparation for support for reading 422/444 for 8-bit and 10/12-bit. Change-Id: I560c13c348b122fd028e408431156376b895058c
2014-02-27Merge "Adding sse_to_psnr function to tools_common.{h, c}."Dmitry Kovalev
2014-02-27Adding sse_to_psnr function to tools_common.{h, c}.Dmitry Kovalev
Change-Id: Id5f974172416499ff55b0929e315b12d16ff1b1b
2014-02-26Reusing mem_get_le{16, 32} defined in vpx_ports/mem_opts.h.Dmitry Kovalev
Change-Id: If4b5209ac14aaba6f1c1014bc0497baa8eabfaff
2014-02-12Adding and reusing vpx_img_plane_{width, height}() functions.Dmitry Kovalev
Change-Id: I668afb50614644d2eac2e968e1fafd6d73170bec
2014-02-11Adding API to get vpx encoder/decoder interface.Dmitry Kovalev
Change-Id: I137e5e6585356792913e1e84da6c0a439c5153a5
2014-02-07Cleaning up {simple, twopass}_encoder examples.Dmitry Kovalev
Change-Id: Ide9c408f4cee7408741ef8c0ffac01645a5a67ca
2014-01-27Adapting simple_decoder to use new file reading API.Dmitry Kovalev
Change-Id: I374a0c4bb4a66c0d3dc874c6e57fdee9d1ab72df
2013-11-15vpx[dec|enc]: Extract IVF support from the apps.Tom Finegan
- Move IVF reading support into ivfdec.c and ivfdec.h - Move IVF writing support into ivfenc.c and ivfenc.h - Removed IVF writing code from the SVC example in favor of ivfenc. Change-Id: I70adf6240d0320fdd232d8546ed573f0f68dd793
2013-11-06Move WebM writing support out of vpxenc.c.Tom Finegan
This is mainly a clean up patchset. It moves the WebM writing support out of vpxenc and into its own source file. Changes to tools_common and vpxdec result from relocation of shared bits of code. Change-Id: Iee55d3285f56e0a548f791094fb14c5ac5346a26
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
2010-11-02fix pipe support on windowsJohn Koleszar
STDIO streams are opened in text mode by default on Windows. This patch changes the stdin/stdout streams to be in binary mode if they are being used for I/O from the vpxenc or vpxdec tools. Fixes issue #216. Thanks to mw AT hesotech.de for the fix. Change-Id: I34525b3ce2a4a031d5a48d36df4667589372225b