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

◆ plm_buffer_find_start_code()

int fl::third_party::plm_buffer_find_start_code ( plm_buffer_t * self,
int code )

Definition at line 1078 of file pl_mpeg.hpp.

1078 {
1079 int current = 0;
1080 while (TRUE) {
1081 current = plm_buffer_next_start_code(self);
1082 if (current == code || current == -1) {
1083 return current;
1084 }
1085 }
1086 return -1;
1087}
int plm_buffer_next_start_code(plm_buffer_t *self) FL_NOEXCEPT
Definition pl_mpeg.hpp:1060
#define TRUE
Definition pl_mpeg.hpp:174

References FL_NOEXCEPT, plm_buffer_next_start_code(), and TRUE.

Referenced by plm_buffer_has_start_code(), plm_demux_has_headers(), plm_demux_seek(), plm_video_create_with_buffer(), plm_video_decode(), and plm_video_has_header().

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