Displaying 5 results from an estimated 5 matches for "m_encodedbyt".
Did you mean:
m_encodedbytes
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 Valin:
> Why should it return 360 in...
2013 Oct 06
2
Encoder off by one
...;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 05
0
Unexpected opus_encode results when doubelling frame size
Hello!
I have been using
int iByteSizeEncoded = opus_encode(m_enc,
m_ShortRawInput,960,m_EncodedBytes, 4000);
iByteSizeEncoded was 120 as expected.
Now when I double the frame size...
int iByteSizeEncoded = opus_encode(m_enc,
m_ShortRawInput,960*2,m_EncodedBytes, 4000);
... iByteSizeEncoded is not 240 as expected, but 239.
This seems really odd to me since 239 bytes could not even be conver...
2013 Oct 06
0
Encoder off by one
...gt; 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: