summaryrefslogtreecommitdiff
path: root/silk/structs.h
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2011-10-09 01:05:25 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2011-10-09 01:05:25 -0400
commit1f65994ef428520534630d5d706c91fb1d690938 (patch)
tree97be3b71623869a3c5385afaef39ef6dc09331b4 /silk/structs.h
parentebece6337320f9605b8cc0debd5742e15415ad6e (diff)
downloadopus-1f65994ef428520534630d5d706c91fb1d690938.tar.gz
Avoids unnecessary collapse of the HF stereo image in hybrid mode.
SILK now reports an "effective width" that takes into account side prediction.
Diffstat (limited to 'silk/structs.h')
-rw-r--r--silk/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/silk/structs.h b/silk/structs.h
index 70c81bae..10a3546c 100644
--- a/silk/structs.h
+++ b/silk/structs.h
@@ -101,6 +101,7 @@ typedef struct {
opus_int32 mid_side_amp_Q0[ 4 ];
opus_int16 smth_width_Q14;
opus_int16 width_prev_Q14;
+ opus_int16 effective_width_prev_Q14;
opus_int8 predIx[ MAX_FRAMES_PER_PACKET ][ 2 ][ 3 ];
opus_int8 mid_only_flags[ MAX_FRAMES_PER_PACKET ];
} stereo_enc_state;