Hi, I am working on trying to compile opus to be as small as possible. I have passed the FIXED_POINT and the DISABLE_FLOAT_API but I am looking into making this lib even smaller in size. Where can I find out about how to best strip this lib to only compile in what I need?
Aside from compilng with -Os, you'll have to look at the exact pieces you're using and remove the others. For example, if you're always encoding in SILK mode, then you can remove the CELT encoder (but not the decoder if you want to remain compliant). There's a lot of things you may not need, but it's highly application-specific, so there's no defines for each piece. Jean-Marc On 3/28/19 7:27 PM, Saint Mice wrote:> Hi, > > I am working on trying to compile opus to be as small as possible. I have passed the FIXED_POINT and the DISABLE_FLOAT_API but I am looking into making this lib even smaller in size. Where can I find out about how to best strip this lib to only compile in what I need? > > _______________________________________________ > opus mailing list > opus at xiph.org > http://lists.xiph.org/mailman/listinfo/opus >
What if I want to build it for an arch that’s not standard and want to remove SILK completely, is that possible? Thanks, Alex> On May 26, 2019, at 10:40 AM, Jean-Marc Valin <jmvalin at jmvalin.ca> wrote: > > Aside from compilng with -Os, you'll have to look at the exact pieces > you're using and remove the others. For example, if you're always > encoding in SILK mode, then you can remove the CELT encoder (but not the > decoder if you want to remain compliant). There's a lot of things you > may not need, but it's highly application-specific, so there's no > defines for each piece. > > Jean-Marc > >> On 3/28/19 7:27 PM, Saint Mice wrote: >> Hi, >> >> I am working on trying to compile opus to be as small as possible. I have passed the FIXED_POINT and the DISABLE_FLOAT_API but I am looking into making this lib even smaller in size. Where can I find out about how to best strip this lib to only compile in what I need? >> >> _______________________________________________ >> opus mailing list >> opus at xiph.org >> http://lists.xiph.org/mailman/listinfo/opus >>
On Mar 28 16:27:09, saintmice at gmail.com wrote:> I am working on trying to compile opus to be as small as possible.Why? On May 26 11:23:17, saintmice at gmail.com wrote:> What if I want to build it for an arch that’s not standardStop speaking in riddles and say what exactly you are doing and why.