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

◆ plm_demux_create()

plm_demux_t * fl::third_party::plm_demux_create ( plm_buffer_t * buffer,
int destroy_when_done )

Definition at line 1159 of file pl_mpeg.hpp.

1159 {
1160 plm_demux_t *self = (plm_demux_t *)PLM_MALLOC(sizeof(plm_demux_t));
1161 fl::memset(self, 0, sizeof(plm_demux_t));
1162
1163 self->buffer = buffer;
1164 self->destroy_buffer_when_done = destroy_when_done;
1165
1168 self->start_code = -1;
1169
1171 return self;
1172}
int plm_demux_has_headers(plm_demux_t *self) FL_NOEXCEPT
Definition pl_mpeg.hpp:1181
void * memset(void *s, int c, size_t n) FL_NOEXCEPT
#define PLM_PACKET_INVALID_TS
Definition pl_mpeg.h:171
#define PLM_MALLOC(sz)
Definition pl_mpeg.hpp:179

References fl::third_party::plm_demux_t::buffer, fl::third_party::plm_demux_t::destroy_buffer_when_done, fl::third_party::plm_demux_t::duration, FL_NOEXCEPT, fl::memset(), plm_demux_has_headers(), PLM_MALLOC, PLM_PACKET_INVALID_TS, fl::third_party::plm_demux_t::start_code, and fl::third_party::plm_demux_t::start_time.

Referenced by plm_create_with_buffer().

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