Move num_lms reading out of a loop
This commit is contained in:
parent
29c2fcb677
commit
075ebdf735
@ -981,8 +981,8 @@ static void revert_cdlms(WmallDecodeCtx *s, int tile_size)
|
|||||||
for (ich = 0; ich < s->num_channels; ich++) {
|
for (ich = 0; ich < s->num_channels; ich++) {
|
||||||
if (!s->is_channel_coded[ich])
|
if (!s->is_channel_coded[ich])
|
||||||
continue;
|
continue;
|
||||||
for (icoef = 0; icoef < tile_size; icoef++) {
|
|
||||||
num_lms = s->cdlms_ttl[ich];
|
num_lms = s->cdlms_ttl[ich];
|
||||||
|
for (icoef = 0; icoef < tile_size; icoef++) {
|
||||||
channel_coeff = s->channel_residues[ich][icoef];
|
channel_coeff = s->channel_residues[ich][icoef];
|
||||||
if (icoef == s->transient_pos[ich]) {
|
if (icoef == s->transient_pos[ich]) {
|
||||||
s->transient[ich] = 1;
|
s->transient[ich] = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user