|
Shaka Player Embedded
|
#include <decoder_thread.h>
Classes | |
| class | Client |
Public Member Functions | |
| DecoderThread (Client *client, DecodedStream *output) | |
| ~DecoderThread () | |
| SHAKA_NON_COPYABLE_OR_MOVABLE_TYPE (DecoderThread) | |
| void | Attach (const ElementaryStream *input) |
| void | Detach () |
| void | OnSeek () |
| void | SetCdm (eme::Implementation *cdm) |
| void | SetDecoder (Decoder *decoder) |
Handles the thread that decodes input content. This handles synchronizing the threads and connecting the Decoder to the Stream.
Definition at line 39 of file decoder_thread.h.
| shaka::media::DecoderThread::DecoderThread | ( | Client * | client, |
| DecodedStream * | output | ||
| ) |
| client | A client object for callback events. |
| output | The object to put decoded frames into. |
Definition at line 55 of file decoder_thread.cc.
| shaka::media::DecoderThread::~DecoderThread | ( | ) |
Definition at line 69 of file decoder_thread.cc.
| void shaka::media::DecoderThread::Attach | ( | const ElementaryStream * | input | ) |
Starts decoding frames from the given stream.
Definition at line 78 of file decoder_thread.cc.
| void shaka::media::DecoderThread::Detach | ( | ) |
Stops decoding frames from the current stream.
Definition at line 85 of file decoder_thread.cc.
| void shaka::media::DecoderThread::OnSeek | ( | ) |
Called when the video seeks. This should reset any internal data and start over decoding.
Definition at line 90 of file decoder_thread.cc.
| void shaka::media::DecoderThread::SetCdm | ( | eme::Implementation * | cdm | ) |
Definition at line 99 of file decoder_thread.cc.
| void shaka::media::DecoderThread::SetDecoder | ( | Decoder * | decoder | ) |
Sets the decoder used to decode frames.
Definition at line 104 of file decoder_thread.cc.
| shaka::media::DecoderThread::SHAKA_NON_COPYABLE_OR_MOVABLE_TYPE | ( | DecoderThread | ) |
1.8.13