search for: mixing_matrix_size_in_bytes

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

2017 Nov 21
4
[PATCH] Support for Channel Mapping 253.
...if int is 16 bits. > One of the operands of the multiplication should be cast to opus_int32 > in such cases to ensure a 32-bit multiply and avoid overflow. > > Done. > 4) get_multistream_decoder: align() must be applied separately to > sizeof(OpusProjectionDecoder) and st->demixing_matrix_size_in_bytes > since they may each have padding. Including the alignment padding in > demixing_matrix_size_in_bytes as in (5) avoids the second call to > align(). Similarly in opus_projection_decoder_get_size, align() > should just be applied to sizeof(OpusProjectionDecoder); in that case > the...
2017 Nov 19
0
[PATCH] Support for Channel Mapping 253.
...X macro, multiplication may overflow if int is 16 bits. One of the operands of the multiplication should be cast to opus_int32 in such cases to ensure a 32-bit multiply and avoid overflow. 4) get_multistream_decoder: align() must be applied separately to sizeof(OpusProjectionDecoder) and st->demixing_matrix_size_in_bytes since they may each have padding. Including the alignment padding in demixing_matrix_size_in_bytes as in (5) avoids the second call to align(). Similarly in opus_projection_decoder_get_size, align() should just be applied to sizeof(OpusProjectionDecoder); in that case the other sizes may have the...
2017 Nov 21
0
[PATCH] Support for Channel Mapping 253.
...One of the operands of the multiplication should be cast to opus_int32 > in such cases to ensure a 32-bit multiply and avoid overflow. > > Done. >   > >  4) get_multistream_decoder: align() must be applied separately to > sizeof(OpusProjectionDecoder) and st->demixing_matrix_size_in_bytes > since they may each have padding.  Including the alignment padding in > demixing_matrix_size_in_bytes as in (5) avoids the second call to > align().  Similarly in opus_projection_decoder_get_size, align() > should just be applied to sizeof(OpusProjectionDecoder); in th...
2017 Nov 10
2
[PATCH] Support for Channel Mapping 253.
On 11/09/2017 01:58 PM, Drew Allen wrote: > Attached is a quick patch that addresses a bug when exporting the matrix > from the encoder. Actually, I don't see what your encoder change is supposed to do. Are there cases where demixing_matrix->rows != nb_output_streams ? Cheers, Jean-Marc > Cheers, > Drew > > On Wed, Nov 8, 2017 at 4:44 PM Drew Allen <bitllama at