Displaying 1 result from an estimated 1 matches for "pitch_state_alloc".
2009 Jul 24
1
STATIC_MODES, fft and prob members
Hi Guys,
I've just been looking into STATIC_MODES. My plan is to generate and
store the modes as part of our sound banks when they are encoded.
I have noticed that even with STATIC_MODES turned on, celt_mode_create
still allocs and generates the fft and prob members (via
pitch_state_alloc and quant_prob_alloc respectively). I also notice that
in dump_modes.c, these two members are just set to 0 explicitly. Why
aren't these two members part of the static mode?
Would anything bad happen if I make them part of the static mode? I
assume not because CELTMode is read-only right?...