XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

Xiph.Org activity

Mark Harris commented on merge request !199 at Xiph.Org / Opus

I debugged the 32-bit mips fixed-point qext test failures. It appears that the issue is that, like the optimized comb filter, some mips optimizations in celt/mips/kiss_fft_mipsr1.h and celt/mips/mdct_mipsr1.h were also not updated when the generic functions were updated to use Q31 coefficients. They are still incorrectly assuming Q15 coefficients in several places, such as in C_MUL() and kf_bfly5().

Mark Harris commented on merge request !199 at Xiph.Org / Opus

I just tried it and 32-bit mips with fixed point and qext doesn't work before this MR either. This MR added an argument to comb_filter() with qext enabled, except that it wasn't added to the mips implementation, so that is what led me to try this on mips with qext enabled, because it seemed likely to be broken. It looks like that issue should be addressed separately and this change is good.

Mark Harris commented on merge request !199 at Xiph.Org / Opus

With that update it builds on mips (32-bit big endian), configured with --enable-assertions --enable-fixed-point --enable-qext, but the tests fail: PASS: celt/tests/test_unit_cwrs32 FAIL: celt/tests/test_unit_dft PASS: celt/tests/test_unit_mini_kfft PASS: celt/tests/test_unit_entropy PASS: celt/tests/test_unit_laplace PASS: celt/tests/test_unit_mathops FAIL: celt/tests/test_unit_mdct PASS: celt/tests/test_unit_rotation PASS: celt/tests/test_unit_types PASS:…

Mark Harris commented on merge request !199 at Xiph.Org / Opus

This fails to build on mips, configured with --enable-assertions --enable-fixed-point --enable-qext: In file included from celt/celt.c:58: celt/mips/celt_mipsr1.h:103:6: error: conflicting types for ‘comb_filter’ void comb_filter(opus_val32 *y, opus_val32 *x, int T0, int T1, int N, ^~~~~~~~~~~ In file included from celt/celt.c:39: celt/celt.h:253:6: note: previous declaration of ‘comb_filter’ was here void comb_filter(opus_val32 *y, opus_val32 *x, int T0, int T1, int N, ^~~~~~~~~~~ celt/celt.c:…

Jasper Cheng opened issue #2054: SPEEX_RESET_STATE does not reset all encoder/decoder state at Xiph.Org / Speex

SPEEX_RESET_STATE is documented as "Reset the encoder/decoder memories to zero", but after a reset both the encoder and the decoder still carry state from the previous stream, so a reset state does not behave like a freshly created one. Tested on main (f461ff44) and 1.2.1, floating-point build. Reproducer The program below feeds stream A, calls SPEEX_RESET_STATE, then feeds stream B, and compares the result with a new encoder/decoder that only sees stream B. /* SPEEX_RESET_STATE vs. a freshly…

Jay Moore commented on issue #2271 at Xiph.Org / Ezstream

I agree. This was closed over 4 years ago. If I'm still having to patch it I have to make assumptions: there actually is no fix and the issue was closed to shut people up the maintainer has gone MIA and no one will bother to do this someone wants this utility to remain broken Not a good look. It's hard to defend the project when a 4 year old issue continues to remain broken for no logical reason. Any other project would have gotten an abandoned tag.

Mark Harris commented on merge request !198 at Xiph.Org / Opus

This doesn't make sense because modes like 88200/960 will work without ENABLE_QEXT, but will produce an error with ENABLE_QEXT; clearly a bug. Also, other valid frame sizes such as 88200/952 and 88200/968 are accepted, just some very specific values produce an error. The fix should be in comb_filter() (and its callers if it does not currently have enough information), to not make inappropriate assumptions about Fs based on overlap==240.

Mark Harris commented on merge request !198 at Xiph.Org / Opus

This fixes only half of the problem. Suppose the repacketizer is given two 60ms packets, each containing three 20ms frames, and then opus_repacketizer_out_range_impl() is called with begin=1 end=4 to get a new 60ms packet consisting of the second, third, and fourth frames. The previous code tried to generate a packet containing all of the extensions from the second packet, which was incorrect. This fix throws out the extensions associated with the fifth and sixth frames since they are outside…

Mark Harris commented on merge request !198 at Xiph.Org / Opus

"Real packets only carry a handful of extensions per frame" is true for packets produced by this encoder implementation, but the repacketizer is also supposed to handle valid packets produced by other implementations, including future implementations that conform to the specifications. draft-ietf-mlcodec-opus-extension allows a given extension ID to appear multiple times, so a valid packet according to the specification could contain many more than 255 extensions per frame. If you don't think…