search for: m_shortsinput

Displaying 4 results from an estimated 4 matches for "m_shortsinput".

2013 Oct 06
2
Encoder off by one
...my code: int iShortsRead = fread(m_RawBytes, sizeof(short), (5760/sizeof(short)), fin); for(int i=0;i<iShortsRead;i++) { opus_int32 s; s=m_RawBytes[2*i+1]<<8|m_RawBytes[2*i]; s=((s&0xFFFF)^0x8000)-0x8000; m_ShortsInput[i]=s; } int iByteSizeEncoded = opus_encode(m_enc, m_ShortsInput, (5760/sizeof(short)), m_EncodedBytes, (960*6));
2013 Oct 06
1
Encoder off by one
If you encode with int iByteSizeEncoded = opus_encode(m_enc, m_ShortsInput, (1920/sizeof(short)), m_EncodedBytes, (960*6)); ... the byte size is 120. I thought that an odd value like 359 has to be a fault on my side. I thought it would be a multiple of something. So 359 is really correct??? Thank you for clearing this up. Am 06.10.2013 16:50, schrieb Jean-Marc Vali...
2013 Oct 06
0
Encoder off by one
...= fread(m_RawBytes, sizeof(short), > (5760/sizeof(short)), fin); > for(int i=0;i<iShortsRead;i++) > { > opus_int32 s; > s=m_RawBytes[2*i+1]<<8|m_RawBytes[2*i]; > s=((s&0xFFFF)^0x8000)-0x8000; > m_ShortsInput[i]=s; > } > int iByteSizeEncoded = opus_encode(m_enc, m_ShortsInput, > (5760/sizeof(short)), m_EncodedBytes, (960*6)); > _______________________________________________ > opus mailing list > opus at xiph.org > http://lists.xiph.org/mailman/listinfo/opus >
2013 Oct 04
3
OPUS implementation with FPGA
Hi, We would like to use the OPUS codec @ 16 kHz sampling rate and max 32 kbps. What about implementing an OPUS coder and decoder in an FPGA? Has this been done? Would either coder or decoder more suitable for FPGA implementation? Best regards Fredrik Bonde -------------- next part -------------- An HTML attachment was scrubbed... URL: