search for: m_rawbyt

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

Did you mean: m_rawbytes
2013 Oct 06
2
Encoder off by one
Why does opus_encode return 359, and not 360, please? This is 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 iByteSiz...
2013 Oct 06
1
Encoder off by one
...06.10.2013 16:50, schrieb Jean-Marc Valin: > Why should it return 360 in the first place??? > > On 10/06/2013 06:33 AM, Hermann Weber wrote: >> Why does opus_encode return 359, and not 360, please? >> >> This is 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; >&gt...
2013 Oct 06
0
Encoder off by one
Why should it return 360 in the first place??? On 10/06/2013 06:33 AM, Hermann Weber wrote: > Why does opus_encode return 359, and not 360, please? > > This is 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]=...
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: