Shaka Packager SDK
Classes | Public Member Functions | List of all members
shaka::media::SubtitleComposer Class Reference

#include <subtitle_composer.h>

Public Member Functions

 DISALLOW_COPY_AND_ASSIGN (SubtitleComposer)
 
void SetDisplaySize (uint16_t width, uint16_t height)
 
bool SetRegionPosition (uint8_t region_id, uint16_t x, uint16_t y)
 
bool SetRegionInfo (uint8_t region_id, uint8_t color_space_id, uint16_t width, uint16_t height)
 
bool SetObjectInfo (uint16_t object_id, uint8_t region_id, uint16_t x, uint16_t y, int default_color_code)
 
DvbImageColorSpaceGetColorSpace (uint8_t color_space_id)
 
DvbImageColorSpaceGetColorSpaceForObject (uint16_t object_id)
 
DvbImageBuilderGetObjectImage (uint16_t object_id)
 
bool GetSamples (int64_t start, int64_t end, std::vector< std::shared_ptr< TextSample >> *samples) const
 
void ClearObjects ()
 

Detailed Description

Holds pixel/caption data for a single DVB-sub page. This composes multiple objects and creates TextSample objects from it.

Definition at line 23 of file subtitle_composer.h.


The documentation for this class was generated from the following files: