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

◆ plm_video_has_header()

int fl::third_party::plm_video_has_header ( plm_video_t * self)

Definition at line 2263 of file pl_mpeg.hpp.

2263 {
2264 if (self->has_sequence_header) {
2265 return TRUE;
2266 }
2267
2268 if (self->start_code != PLM_START_SEQUENCE) {
2270 }
2271 if (self->start_code == -1) {
2272 return FALSE;
2273 }
2274
2276 return FALSE;
2277 }
2278
2279 return TRUE;
2280}
int plm_video_decode_sequence_header(plm_video_t *self) FL_NOEXCEPT
Definition pl_mpeg.hpp:2282
int plm_buffer_find_start_code(plm_buffer_t *self, int code) FL_NOEXCEPT
Definition pl_mpeg.hpp:1078
static const int PLM_START_SEQUENCE
Definition pl_mpeg.hpp:1634
#define TRUE
Definition pl_mpeg.hpp:174
#define FALSE
Definition pl_mpeg.hpp:175

References FALSE, FL_NOEXCEPT, plm_buffer_find_start_code(), PLM_START_SEQUENCE, plm_video_decode_sequence_header(), and TRUE.

Referenced by plm_has_headers(), plm_video_decode(), plm_video_get_framerate(), plm_video_get_height(), plm_video_get_pixel_aspect_ratio(), and plm_video_get_width().

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