summaryrefslogtreecommitdiff
path: root/libs.mk
AgeCommit message (Collapse)Author
2014-09-02Removing legacy compatibility layer.Dmitry Kovalev
Change-Id: I6fdcea0e0faf42386dd2b8f972a3b3fb2c21b2c7
2014-08-22enable wextra in vp9Jim Bankoski
Change-Id: Ibb8bd0c256d138a21e8f96feed39f0793ed98d20
2014-07-29make testdata: look for other variants of sha1sumJames Zern
it's shasum / sha1 on osx, bsd variants Change-Id: I3513ae1740adfb05e9b5777d27d445dafbd22413
2014-07-29make testdata: fail if a sha1 fails or is missingJames Zern
Change-Id: Ia0b51165d260e283f5338f290a39718e462aed55
2014-06-27libs.mk: don't include x86inc.asm in codec src listJames Zern
this file is an include and doesn't need to be built on its own. fixes: ranlib: file: libvpx_g.a(x86inc.asm.o) has no symbols Change-Id: I89504e37ff0a4488489af7b9b7e09fb32acc4853
2014-06-02*.mk: pass SRC_PATH_BARE to all GEN_VCPROJ invocationsJames Zern
this will enable stripping of the path from the object file name Change-Id: Ia5ff575cfa4fe946200878b0aded05832609f316
2014-05-20Merge "Add make target for running example tests."Tom Finegan
2014-05-15Add make target for running example tests.Tom Finegan
Change-Id: I0d0dfda96b99cefb5ef5c16df4a024de5bf8007e
2014-05-14make spatial svc an experimentJames Zern
disabled by default, enable with: --enable-experimental --enable-spatial-svc this disables vp9_spatial_svc_encoder and svc_test, further work is needed to remove internal lib references Change-Id: I6a487ecbf07eb98843a99d96e17f08f960b63088
2014-04-22Add utiltest target to Makefile.Tom Finegan
Add target for running tests via make. Runs vpxdec.sh and vpxenc.sh. Change-Id: I5fddb7356b6ac37e284b4f15b47310f108ae3da3
2014-03-05Merge changes Idfb71188,Ibe1e72dbJames Zern
* changes: build: convert rtcd.sh to perl configure: check for perl
2014-03-04msvs: filter out include-only asm filesJames Zern
avoid building x86inc.asm, x86_abi_support.asm and vpx_config.asm as they provide no symbols themselves fixes: warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library Change-Id: Iecfe03aa76efbfc07c2af5b91ba5405634e45f1d
2014-03-03build: convert rtcd.sh to perlJames Zern
significantly speeds up file generation. the goal of this change is to convert rtcd.sh to perl as directly as possible to allow for simple comparison. future changes can make it more perl-like. --- Linux [CREATE] vpx_scale_rtcd.h real 0m0.485s -> 0m0.022s [CREATE] vp8_rtcd.h real 0m4.619s -> 0m0.060s [CREATE] vp9_rtcd.h real 0m10.102s -> 0m0.087s Windows [CREATE] vpx_scale_rtcd.h real 0m8.360s -> 0m0.080s [CREATE] vp8_rtcd.h real 1m8.083s -> 0m0.160s [CREATE] vp9_rtcd.h real 2m6.489s -> 0m0.233s Change-Id: Idfb71188206c91237d6a3c3a81dfe00d103f11ee
2014-02-27Reusing existing mem_{get, put}_be32() functions.Dmitry Kovalev
Change-Id: Iba128039534e16a6e0a8cfe7e58306c4655e9f0d
2014-02-11Merge "Add get release decoder frame buffer functions."Frank Galligan
2014-02-10Add get release decoder frame buffer functions.Frank Galligan
This CL changes libvpx to call a function when a frame buffer is needed for decode. Libvpx will call a release callback when no other frames reference the frame buffer. This CL adds a default implementation of the frame buffer callbacks. Currently only VP9 is supported. A future CL will add support for applications to supply their own frame buffer callbacks. Change-Id: I1405a320118f1cdd95f80c670d52b085a62cb10d
2014-02-04*.mk: s/\bUSE_X86INC/CONFIG_USE_X86INC/James Zern
CONFIG_USE_X86INC is available to every makefile, there's no need to duplicate its value with USE_X86INC Change-Id: Id12bd5f09cba78abba56ab5a8f56351562e5b8b6
2014-01-29obj_int_extract (msvs): add missing project depJames Zern
obj_int_extract.bat this project and target still need some work to allow for concurrent builds to succeed from the command line. Change-Id: Ieb3bddc54636e77519083c48573909616257eb23
2014-01-24Revert external frame buffer code.Frank Galligan
A future CL will add external frame buffers differently. Squash commit of four revert commits: Revert "Increase required number of external frame buffers" This reverts commit 9e41d569d7c84dd9ca8f0047c15377a883945685. Revert "Add external constants." This reverts commit bbf53047b03106e3c2e24b28cb836cc838db5ee8. Revert "Add frame buffer lru cache." This reverts commit fbada948fa345e67acf9aa41a8f9a78f5dfe8648. Conflicts: vpxdec.c Change-Id: I76fe42419923a6ea6c75d9997cbbf941d73d3005 Revert "Add support to pass in external frame buffers." This reverts commit 10f891696bc4c972c13cc9fde2c53470501a03e2. Conflicts: test/external_frame_buffer_test.cc vp9/common/vp9_alloccommon.c vp9/common/vp9_reconinter.c vp9/decoder/vp9_decodeframe.c vp9/encoder/vp9_onyx_if.c vp9/vp9_dx_iface.c vpx/vpx_decoder.h vpx/vpx_external_frame_buffer.h vpx_scale/generic/yv12config.c vpxdec.c Change-Id: I7434cf590f1c852b38569980e4247fad0d939c2e
2014-01-08Install test sources for MSVSJohann
Move the code outside the conditions. The test sources themselves are also required for Visual Studio. Change-Id: Id5e93ebc7369e1807eba0b9dc4f7d0f18033d794
2013-12-15Add support to pass in external frame buffers.Frank Galligan
VP9 decoder can now use frame buffers passed in by the application. Change-Id: I599527ec85c577f3f5552831d79a693884fafb73
2013-11-06Move SVC per-frame loop from sample app into libvpx properIvan Maltz
SVC multiple layer per frame encoding is invoked with vpx_svc_init and vpx_svc_encode. These interfaces are designed to be invoked from ffmpeg. Additional improvements: - make dummy frame handling a bit more explicit - fixed bug with single layer encodes - track individual frame sizes and psnrs instead of averages - parameterized quantizer, 16th scalefactors, more logging, - enabled single layer encodes to generate baseline - include new mode for 3 layer I frame with 5 total layers Change-Id: I46cfa600d102e208c6af8acd6132e0cc25cda8d4
2013-10-22Revert "Merge "SVC improvements""James Zern
This reverts commit a82001b1cfd688601bbda9b08b3d20e9b46b14d4, reversing changes made to f6d870f7ae6f968bdbc342af80c8f71fa98f2ac2. This commit breaks windows builds and needs some work to fix those and some additional comments. Change-Id: Ic0b0228e36704b127e5e399ce59db26182cfffe7
2013-10-21SVC improvementsIvan Maltz
These changes were originally made in the Stratacaster team-review repository commit e114bffcd82ad74c3696ec58e13c0ac895d6c82d Author: Charles 'Buck' Krasic <ckrasic@google.com> Date: Mon Oct 14 16:52:13 2013 -0700 Make dummy frame handling a bit more explicit, fixing bug with single layer encodes. Squashed commit of the following: commit 1ebbfd976c0fadb02bf1ea562a2d0e3f0206daad Merge: ac468dd 54e88b7 Author: Ivan Maltz <ivanmaltz@google.com> Date: Fri Oct 11 17:29:58 2013 -0700 Move SVC code from vp9_spatial_scalable_encoder to libvpx module accessible from ffmpeg commit 54e88b78b160becc9569fc3c6cb6b0a8c95dc357 Author: Ivan Maltz <ivanmaltz@google.com> Date: Tue Oct 8 09:08:40 2013 -0700 common svc encoding code for sample app and ffmpeg added svc_encodeframe.c, svc_context.h, svc_test.cc vp9_spatial_scalable_encoder uses vpx_svc_encode commit 5616ec8e2e3d3e8d277333d8a9242f6c70151162 Merge: 4528014 e29137d Author: Ivan Maltz <ivanmaltz@google.com> Date: Tue Oct 8 08:47:58 2013 -0700 Merge branch 'master' into stratacaster commit 45280148450b1f3d61e390df8aadedf85cd5bce1 Merge: bb2b675 1ab60f7 Author: Sujeevan Rajayogam <sujee@google.com> Date: Fri Oct 4 10:22:31 2013 -0700 Merge branch 'master' into stratacaster commit bb2b675e595dc9bfc8551e963edf56800c3aea61 Author: Sujeevan Rajayogam <sujee@google.com> Date: Wed Oct 2 12:37:26 2013 -0700 Track individual frame sizes and psnrs instead of averages. commit c6d303b714795c81e7ceb4173967115c9f8ff5b7 Merge: fa87df9 3583087 Author: Sujeevan Rajayogam <sujee@google.com> Date: Fri Sep 27 10:05:35 2013 -0700 Merge branch 'master' into stratacaster commit fa87df94fba923d9f7aeb8ae20c6e15f777e00b5 Merge: bf22d71 3c465af Author: Sujeevan Rajayogam <sujee@google.com> Date: Thu Sep 26 16:10:31 2013 -0700 Merge branch 'master' into stratacaster commit bf22d7144895a82e0c348ac177c8a261b9e2b88e Author: Sujeevan Rajayogam <sujee@google.com> Date: Thu Sep 26 11:10:34 2013 -0700 Parameterized quantizer, 16th scalefactors, more logging, enabled single layer encodes to generate baseline. commit ceffd7e6025b765f9886b5ea0f324248aa37e327 Author: Sujeevan Rajayogam <sujee@google.com> Date: Thu Sep 19 10:04:49 2013 -0700 - Include new mode for 3 layer I frame with 5 total layers. - Refactor svc api. Change-Id: Ie4d775e21e006fa597d884c59488dc999478e9b5
2013-09-30Removing vpx_codec_impl_{top, bottom}.h files.Dmitry Kovalev
It doesn't seem reasonable to have these files as our API part. Just inlining them in the source. Change-Id: Iff970bb25e72e49e7ac21990824dbf4ef8bfd2e2
2013-09-16Fix failure to copy data files if content changesAdrian Grange
Jenkins was failing to detect the case where an existing file is recreated with new content. In this case, thinking that the file already existed, Jenkins did not re-copy the file as it should have. By adding the file test-data.sha1 as a dependendency to the LIBVPX_TEST_DATA build target the files will be recopied if the MD5 of an existing file changes. This could be further improved to only copy files that have changed rather than copying the whole set as done in this patch. (Thanks to jzern@ who diagnozed ithe problem and suggested this fix). Change-Id: Icea7c61a95189bc639fec83020c28c70da5b2b41
2013-08-05reworked config for use_x86_incJim Bankoski
Support enabling it or disabling it. Moved read out to configure.sh so that its done once instead of in make and in config. Change-Id: I73a9190cf31de9f03e8a577f478fa522f8c01c8b
2013-08-05Begin to restrict x86inc.asm usageJim Bankoski
Chromium does not support 32bit builds for Mac which use x86inc.asm. Make the files which include it work if 64bit or not PIC enabled starting with vp9_copy_sse2.asm Consolidate these targets in vp9_rtcd_defs.sh Change-Id: If18f0b957a611efd085a3ee7d245cf1eb91e8248
2013-06-26test_libvpx: disable pthreads in gtest for win targetsJames Zern
currently threading is internal to libvpx so thread safety is unneeded in libgtest -- visual studio builds already operate in this way as they do not have pthread.h available by default. this removes an unconditional link to libpthread using $(extralibs) should libvpx require it. Change-Id: I2f278b711f533d0f4d8a6c896833e3e2237d1f45
2013-06-25make: add libvpx_test_srcs.txt targetJames Zern
same application as libvpx_srcs.txt Change-Id: I1f096cc3c180d205365663c1aa5533b52561d811
2013-06-20Merge "clean out libvpx-srcs.txt if built"Jim Bankoski
2013-06-20clean out libvpx-srcs.txt if builtJim Bankoski
Change-Id: Idfd69e66e8982275eb00d8007a55efd1a4f86a98
2013-06-20Revert "test_libvpx: disable pthreads in gtest"James Zern
This reverts commit 90a9900abb79fabfd44189a959d14ca677c2777a Seems to break the Mac build: src/include/gtest/internal/gtest-port.h:1208:: pthread_mutex_lock(&mutex_)failed with error 22 Abort trap: 6 Change-Id: Icbe31161d7c27f1b0a28d33409e7712430bbf0ae
2013-06-19test_libvpx: disable pthreads in gtestJames Zern
currently threading is internal to libvpx so thread safety is unneeded in libgtest -- visual studio builds already operate in this way as they do not have pthread.h available by default. this removes an unconditional link to libpthread using $(extralibs) should libvpx require it. Change-Id: Ieae1d693406653a54b54fba818c598836797d33b
2013-06-13libs.mk: allow tests to be shardedJames Zern
Creates test_shard.#n [0,9] targets, usable with make -j [jobs] Change-Id: Ied86dcc89ae72d1690564aa0dd86de10e06d25f9
2013-05-22Add support for armv7-win32-vs11Martin Storsjo
The arm assembly files are named .s after conversion, to reuse as much of the existing makefile infrastructure for conversion to gas format as possible. Within the generated visual studio project, only the converted assembly sources are available, which might not be optimal for actually developing it, but is acceptable for just building the library. Multithreading is disabled since the traditional win32 threading functions aren't available on WinRT/Windows Phone 8. Building of vpx itself and the examples succeed, while building the tests fail due to them using functions not available in the windows store/windows phone API subsets - therefore the unit tests are disabled. This works for building in Visual Studio Express 2012 for Windows Phone, while Visual Studio Express 2012 for Windows 8 (for "Windows Store" apps) seems to reject the vcxproj files due to not supporting "classic style native application or managed projects". The built static library should be compatible with that platform though. Change-Id: Idcd7eca60bfaaaeb09392a9cd7a02e4a670e3b30
2013-05-21msvs: Don't link to winmm.libMartin Storsjo
Linking to this library doesn't seem to be necessary, and this library isn't available in the windows phone API subset. Change-Id: I179837d6f9c7407f1cb6101533dc978316a30adf
2013-05-21msvs: Pass dependency project vcxproj files to the project generation scriptMartin Storsjo
This is required since the dependencies are specified within the vcxproj files themselves, not in the solution file. This doesn't do anything for the old vcproj files. Change-Id: If7818d8e9dbf4aac5bcb34abe648946cf24db51c
2013-05-21msvs: Support producing both vcproj and vcxproj depending on configure variablesMartin Storsjo
Change-Id: Ifa27c7064118c24401ea4e55a64e129c4f503cd5
2013-04-17Fix Android ndk-buildJohann
Add the config directory to the rtcd generation script. libvpx is configured in the jni directory but ndk-build is intended to be run from the next directory up. Currently it needs to be run from the jni directory but this is being looked in to. Add a trailing slash to allow the variable to be empty. Reduce offset generation to the files which are actually used. Change-Id: Ia84fac37e8998ba647423d0ee45fc66a891ce10c
2013-04-05fix make test invocation for msvc win64James Zern
Change-Id: If5d4b7ffa67223ed72b53a6c9b9e42b4de5718f2
2013-02-22Append .exe to the executable on OS/2KO Myung-Hun
Change-Id: I1c3b17450b08d2fdfacb7b94055da29d4d20f9c8
2013-01-28obj_int_extract.bat is not a generated fileJohann
Trying to create Visual Studio project files would fail with: make[1]: *** No rule to make target `obj_int_extract.bat', needed by `.projects'. Stop. Change-Id: Ie55458427ddea199a3de9973eaf2a37f711f839e
2013-01-18Link pthread when it is availableJohann
Linking when we don't use it but it is available is probably harmless. Gtest requires pthreads. Don't automatically enable unit tests if we don't have it. Change-Id: I5e6c3b609f840c7b6dbb36fc65809f0ef84685f8
2013-01-16Don't include x86inc.asm on non-x86 targetsJohn Koleszar
This file is currently unused, as the asm that depended on it has been disabled for the current roll into Chromium. It's expected that it will return in some form, so wrap it in an x86 check rather than deleting it. This extra file isn't really an issue with the libvpx build system, but affects the gyp builds since on ARM (android) it tries to do the ADS->GAS conversion on all .asm files reported in libvpx_srcs.txt. Change-Id: I080fbc22ab59fff41264ae230a48fa753594135b
2012-12-27Merge branch 'vp9-preview' of review:webm/libvpxJohn Koleszar
Merge the vp9-preview branch into master. Change-Id: If700b9054676f24bed9deb59050af546c1ca5296
2012-12-26Build fixes to merge vp9-preview into masterJohn Koleszar
Various fixups to resolve issues when building vp9-preview under the more stringent checks placed on the experimental branch. Change-Id: I21749de83552e1e75c799003f849e6a0f1a35b07
2012-12-05Remove ARM optimizations from VP9Johann
Change-Id: I9f0ae635fb9a95c4aa1529c177ccb07e2b76970b
2012-12-05Update ARM for vpx_scale changesJohann
Refactor asm_offsets for vpx_scale. Change-Id: I2db0eeb28c8e757bd033c6614a1e5319a1a204a5
2012-12-04Enable unit tests to build with MSVCYaowu Xu
Change-Id: Ie80597221bee494679ae2ba50cca22dea2609cba