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

◆ plm_buffer_skip_bytes()

int fl::third_party::plm_buffer_skip_bytes ( plm_buffer_t * self,
uint8_t v )

Definition at line 1050 of file pl_mpeg.hpp.

1050 {
1051 plm_buffer_align(self);
1052 int skipped = 0;
1053 while (plm_buffer_has(self, 8) && self->bytes[self->bit_index >> 3] == v) {
1054 self->bit_index += 8;
1055 skipped++;
1056 }
1057 return skipped;
1058}
int plm_buffer_has(plm_buffer_t *self, size_t count) FL_NOEXCEPT
Definition pl_mpeg.hpp:998
void plm_buffer_align(plm_buffer_t *self) FL_NOEXCEPT
Definition pl_mpeg.hpp:1040

References FL_NOEXCEPT, plm_buffer_align(), and plm_buffer_has().

Referenced by plm_audio_decode_header(), and plm_demux_decode_packet().

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