DASH Media Packaging SDK
|
Classes | |
class | ClusterParser |
Public Types | |
enum | KeyFrameFlag { kKeyFrame, kNotKeyFrame } |
enum | SideDataFlag { kGenerateSideData, kNoSideData } |
Protected Member Functions | |
void | SetUp () override |
void | TearDown () override |
template<typename S > | |
void | CreateAndInitializeSegmenter (const MuxerOptions &options, StreamInfo *info, KeySource *key_source, scoped_ptr< webm::Segmenter > *result) const |
Creates a Segmenter of the given type and initializes it. | |
scoped_refptr< MediaSample > | CreateSample (KeyFrameFlag key_frame_flag, uint64_t duration, SideDataFlag side_data_flag) |
Creates a new media sample. | |
MuxerOptions | CreateMuxerOptions () const |
Creates a Muxer options object for testing. | |
VideoStreamInfo * | CreateVideoStreamInfo () const |
Creates a video stream info object for testing. | |
std::string | OutputFileName () const |
Gets the file name of the current output file. | |
std::string | TemplateFileName (int number) const |
Gets the file name of the given template file. | |
Protected Attributes | |
std::string | output_file_name_ |
std::string | segment_template_ |
uint64_t | cur_time_timescale_ |
bool | single_segment_ |
Definition at line 28 of file segmenter_test_base.h.