|
Shaka Player Embedded
|
#include <frames.h>
Classes | |
| class | Impl |
Public Member Functions | |
| BaseFrame (std::shared_ptr< const StreamInfo > stream_info, double pts, double dts, double duration, bool is_key_frame) | |
| virtual | ~BaseFrame () |
| BaseFrame (const BaseFrame &)=delete | |
| BaseFrame & | operator= (const BaseFrame &)=delete |
| BaseFrame (BaseFrame &&)=delete | |
| BaseFrame & | operator= (BaseFrame &&)=delete |
| virtual size_t | EstimateSize () const |
Public Attributes | |
| const std::shared_ptr< const StreamInfo > | stream_info |
| const double | pts |
| const double | dts |
| const double | duration |
| const bool | is_key_frame |
| shaka::media::BaseFrame::BaseFrame | ( | std::shared_ptr< const StreamInfo > | stream_info, |
| double | pts, | ||
| double | dts, | ||
| double | duration, | ||
| bool | is_key_frame | ||
| ) |
|
delete |
|
delete |
|
virtual |
Estimates the size of this frame. This can be used to restrict the number of frames stored or to monitor/debug memory usage. This should only be used as an estimate and may not accurately measure the size.
Reimplemented in shaka::media::DecodedFrame, shaka::media::EncodedFrame, shaka::media::ffmpeg::FFmpegDecodedFrame, and shaka::media::ffmpeg::FFmpegEncodedFrame.
| const double shaka::media::BaseFrame::dts |
| const double shaka::media::BaseFrame::duration |
| const bool shaka::media::BaseFrame::is_key_frame |
| const double shaka::media::BaseFrame::pts |
| const std::shared_ptr<const StreamInfo> shaka::media::BaseFrame::stream_info |
Contains the info describing the current stream this belongs to. If two frames belong to the same stream, they must contain pointers to the same StreamInfo object.
1.8.13