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

◆ cleanupDecoder()

void fl::third_party::SoftwareMpeg1Decoder::cleanupDecoder ( )
private

Definition at line 435 of file software_decoder.cpp.hpp.

435 {
436 if (decoderData_) {
437 // Destroy pl_mpeg instance
438 if (decoderData_->plmpeg) {
440 decoderData_->plmpeg = nullptr;
441 }
442
443 decoderData_->initialized = false;
444 decoderData_->headerParsed = false;
445 decoderData_->hasNewFrame = false;
446 decoderData_->inputBuffer.reset();
447 decoderData_->rgbFrameBuffer.reset();
448 }
449
450 // Clean up frame buffers
451 frameBuffer_.clear();
452}
fl::vector< fl::shared_ptr< Frame > > frameBuffer_
void plm_destroy(plm_t *self) FL_NOEXCEPT
Definition pl_mpeg.hpp:296

References decoderData_, FL_NOEXCEPT, frameBuffer_, and fl::third_party::plm_destroy().

Referenced by end().

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