Commit graph

2791 commits

Author SHA1 Message Date
Ron
783ecbff0c Don't bark scary warnings at compile time about no doxygen
We already report whether or not the docs will be built in the summary box
at the end of the configure run.
2012-06-11 14:24:18 -04:00
Gregory Maxwell
91b56f6542 Fixup paths in doc/ 2012-06-11 13:33:35 -04:00
Gregory Maxwell
595b334f26 Pretty up the HTML doxygen output. 2012-06-11 01:42:32 -04:00
Gregory Maxwell
daa14598eb Add brief descriptions to the encode/decode groups to avoid weird autobreif strings. 2012-06-10 21:30:01 -04:00
Gregory Maxwell
1f65ce89b0 Correct documentation in opus_custom.h. 2012-06-10 21:15:02 -04:00
Gregory Maxwell
2967d4e220 Remove unnecessary and not-very-portable opus_demo case insensitivity. 2012-06-04 16:47:25 -04:00
Gregory Maxwell
daa416700c Fix doxygen docs wrt OPUS_WARN_UNUSED_RESULT and OPUS_ARG_NONNULL.
Also get the subname rigtht.
2012-06-02 23:17:29 -04:00
Gregory Maxwell
c64f4a4265 Update headers to cause warnings on unused returns and null args.
In places where an ignored return or a null-arg is a sure indication
of a bug add the GCC warning attributes. The null arg annotation
is not enable for Opus itself because it will cause the compiler
to optimize out some null checks. I don't trust our callers
quite that much.
2012-06-01 15:58:17 -04:00
root
bcbf40b601 modified the Visual Studio 2010 projects and solution file to include a x64 configuration. modified the output folders such that the architecture is included in the path (so you get Release64, Debug32, etc.) so you can have all build types in one tree. 2012-06-01 14:26:01 -04:00
Gregory Maxwell
f99e3292e7 Avoid an inconsequential memory leak in tests/test_opus_decode.c 2012-06-01 08:47:25 -04:00
Gregory Maxwell
d6737c8522 Avoid an inconsequential memory leak in tests/test_opus_encode.c. 2012-06-01 00:52:51 -04:00
Jean-Marc Valin
bc1683d983 Seems like using dllimport on Windows wasn't useful
This was a problem for static builds
2012-05-31 11:50:33 -04:00
Gregory Maxwell
9ce27c564e Fix for building mingw32 apps. 2012-05-30 14:42:29 -04:00
Ralph Giles
d8f1c7093c Advertise the static library for uninstalled builds.
It's less surprising for people using the -uninstalled
pkg-config file if we advertise the static library rather
than the shared build. That way the executables work without
having to hack the same location into LD_LIBRARY_PATH, and
the resulting binaries are easier to distribute.

For this to actually work with opus-tools, the -fPIE had
to be turned off, as it was in 1d128b4d5c6f. Support
for static PIE builds would be restored if we compiled
libopus.a with -fPIC.

Also remove the private header locations. These are no
longer required to declare any of the public api.
2012-05-30 14:19:01 -04:00
Jean-Marc Valin
66ac10210c Fixes some cases where MIN/MAX macros result in duplicated function calls
Also enforces an upper bound of 510 kb/s even for frames that are
smaller than 20 ms. This reduces waste for high bitrate VBR.
2012-05-30 14:04:51 -04:00
Timothy B. Terriberry
d09dc7c7a2 Fix opus-uninstalled.pc.
With these changes, opus-tools can actually build using it.
2012-05-28 23:44:42 -04:00
Ralph Giles
64c2dd7d8e Add extern "C" protection to opus_multistream.h.
Unlike the other headers, opus_multistream.h didn't declare
itself to be C code, causing confusing errors when the caller
tries to use the functions from C++.
2012-05-23 16:33:14 -07:00
Gregory Maxwell
e052947f18 Use 'frame' instead of 'signal', take out stdlib.h in silk/.
On MacOS, stdlib.h ends up including sys/signal.h, generating
warnings about the local variables called 'signal' shadowing
the global symbol signal(3).

This was originally done in 86476906 but it missed some use
of 'signal' in prototypes in headers where it didn't cause
warnings. Later the prototypes were moved around and the
warnings came back.

This also cleans up some cases in where stdlib.h was used
but shouldn't be required.
2012-05-23 10:28:36 -04:00
Ron
b6512b444d Enable building just the library (or just the docs)
Both are still built and installed by default though.
2012-05-21 23:16:39 +09:30
Ron
b2b0391e56 Actually install the documentation with make install
Instead of just its build stamp :)
2012-05-21 23:14:50 +09:30
Gregory Maxwell
d445f02f65 Tweak doxygen input so that the manpage names won't conflict. 2012-05-20 19:33:38 -04:00
Jean-Marc Valin
24ed465e71 int vs opus_int32 consistency 2012-05-18 15:14:17 -04:00
Ralph Giles
9d9bad48ab Remove the obsolete LIBOPUS_SUFFIX define.
As best we recall, this was used to version the
library filename during rapid development. It's
no longer needed now that the bitstream is frozen
and isn't hooked up to anything in the build system.
2012-05-18 12:01:46 -07:00
Ralph Giles
3164fcf6a4 Move the various version defines to be together.
The config.h version defines were declared in the
middle of the math feature testing. This commit moves
it to the top of configure.ac where the other version
number code resides.
2012-05-18 11:47:58 -07:00
Gregory Maxwell
fdd0c52b40 Minor doc improvement wrt OPUS_APPLICATION_RESTRICTED_LOWDELAY. 2012-05-17 19:45:28 -04:00
Jean-Marc Valin
8858cac6bc Sync with draft -14 2012-05-17 19:45:10 -04:00
Jean-Marc Valin
14d63d1879 Fixes the stereo_analysis() fixed-point overflow issue properly 2012-05-16 17:50:17 -04:00
Jean-Marc Valin
7143b2d0ff Merge branch 'tmp_draft'
Conflicts:
	README
2012-05-16 00:36:19 -04:00
Jean-Marc Valin
88f22f2d17 Revert "Adds 3rd clause to CELT license"
This reverts commit 9f407afad6.
2012-05-16 00:29:02 -04:00
Jean-Marc Valin
88ddeee581 version bump 2012-05-15 19:58:28 -04:00
Gregory Maxwell
87003d5b59 Remove trailing whitespace from draft-ietf-codec-opus.xml. 2012-05-15 19:52:44 -04:00
Kat Walsh
1ed596f486 commas 2012-05-15 18:44:08 -04:00
Jean-Marc Valin
3c321e3107 Table title capitalization 2012-05-15 18:05:49 -04:00
Kat Walsh
56de780e2a draft copyediting 2012-05-15 18:01:38 -04:00
Jean-Marc Valin
14d14998c2 misc draft fixes 2012-05-15 16:51:22 -04:00
Timothy B. Terriberry
53e6782ea5 More minor gen-art part 2 edits.
Includes the addition of a band-layout table.
2012-05-15 16:47:16 -04:00
Jean-Marc Valin
e249b0b205 Apparently the tar compatibility option has compatibility problems! 2012-05-15 16:31:50 -04:00
Gregory Maxwell
8ecba1ad26 Make vararray and restrict checks fail GCC 2.95.3's broken implementation. 2012-05-15 16:24:12 -04:00
Gregory Maxwell
6c83b0bd96 Improve portability to BeOS via some configure.ac fixes and cleanups. 2012-05-15 16:24:07 -04:00
Gregory Maxwell
981a2804ea Alt. compile instructions in the draft should match the Makefile. 2012-05-15 16:18:55 -04:00
Jean-Marc Valin
4e66c2c012 Gen-art (bit allocation work).
Also, make the archive work with older versions of tar
2012-05-15 16:15:12 -04:00
Jean-Marc Valin
2599dc5931 Gen-art part2 2012-05-15 14:46:21 -04:00
Jean-Marc Valin
2b0806d474 Gen-art update 2012-05-15 12:22:12 -04:00
Timothy B. Terriberry
df39d65c83 Gen-art part2 2012-05-15 10:51:59 -04:00
Jean-Marc Valin
2cb95f5285 draft: reference for LSP stability 2012-05-15 10:49:41 -04:00
Gregory Maxwell
dac1b4fc92 Make vararray and restrict checks fail GCC 2.95.3's broken implementation. 2012-05-15 09:18:53 -04:00
Gregory Maxwell
bada4442b9 Improve portability to BeOS via some configure.ac fixes and cleanups. 2012-05-15 09:18:49 -04:00
Gregory Maxwell
1096fe5cfa Remove unused headers/defines in silk/typedef.h, improving portability to AMIX4.0/GCC1.4. 2012-05-15 09:18:43 -04:00
Gregory Maxwell
936f52ca0e Add #errors when !OPUS_BUILD or !(VAR_ARRAYS||USE_ALLOCA||NONTHREADSAFE_PSEUDOSTACK).
This will help prevent people using non-standard build environments from
footgunning themselves and becoming a support burden.
2012-05-15 09:18:39 -04:00
Gregory Maxwell
efbb5ea401 SILK to print error line with FIXED_DEBUG, assert with FIXED_DEBUG_ASSERT. 2012-05-15 09:18:31 -04:00