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

◆ plm_buffer_peek_non_zero()

int fl::third_party::plm_buffer_peek_non_zero ( plm_buffer_t * self,
int bit_count )

Definition at line 1101 of file pl_mpeg.hpp.

1101 {
1102 if (!plm_buffer_has(self, bit_count)) {
1103 return FALSE;
1104 }
1105
1106 int val = plm_buffer_read(self, bit_count);
1107 self->bit_index -= bit_count;
1108 return val != 0;
1109}
int plm_buffer_read(plm_buffer_t *self, int count) FL_NOEXCEPT
Definition pl_mpeg.hpp:1017
int plm_buffer_has(plm_buffer_t *self, size_t count) FL_NOEXCEPT
Definition pl_mpeg.hpp:998
#define FALSE
Definition pl_mpeg.hpp:175

References FALSE, FL_NOEXCEPT, plm_buffer_has(), and plm_buffer_read().

Referenced by plm_video_decode_slice().

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