FastLED 3.9.15
Loading...
Searching...
No Matches

◆ plm_audio_read_allocation()

const plm_quantizer_spec_t * fl::third_party::plm_audio_read_allocation ( plm_audio_t * self,
int sb,
int tab3 )

Definition at line 3582 of file pl_mpeg.hpp.

3582 {
3583 int tab4 = PLM_AUDIO_QUANT_LUT_STEP_3[tab3][sb];
3584 int qtab = PLM_AUDIO_QUANT_LUT_STEP_4[tab4 & 15][plm_buffer_read(self->buffer, tab4 >> 4)];
3585 return qtab ? (&PLM_AUDIO_QUANT_TAB[qtab - 1]) : 0;
3586}
int plm_buffer_read(plm_buffer_t *self, int count) FL_NOEXCEPT
Definition pl_mpeg.hpp:1017
static const uint8_t PLM_AUDIO_QUANT_LUT_STEP_3[3][32]
Definition pl_mpeg.hpp:3143
static const plm_quantizer_spec_t PLM_AUDIO_QUANT_TAB[]
Definition pl_mpeg.hpp:3181
static const uint8_t PLM_AUDIO_QUANT_LUT_STEP_4[6][16]
Definition pl_mpeg.hpp:3166

References FL_NOEXCEPT, PLM_AUDIO_QUANT_LUT_STEP_3, PLM_AUDIO_QUANT_LUT_STEP_4, PLM_AUDIO_QUANT_TAB, and plm_buffer_read().

Referenced by plm_audio_decode_frame().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: