Shaka Packager SDK
|
#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) |
DvbImageColorSpace * | GetColorSpace (uint8_t color_space_id) |
DvbImageColorSpace * | GetColorSpaceForObject (uint16_t object_id) |
DvbImageBuilder * | GetObjectImage (uint16_t object_id) |
bool | GetSamples (int64_t start, int64_t end, std::vector< std::shared_ptr< TextSample >> *samples) const |
void | ClearObjects () |
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.