shaka-packager/packager/media
KongQun Yang 92e1e39868 Update MediaSample to avoid redundent copying
Use std::shared_ptr<const uint8_t> with a custom deleter to
represent MediaSample::data_ instead of std::vector<uint8_t>.

MediaSample::data_ can be shared by multiple MediaSamples and it is
immutable. A new data instance must be created if the clients want to
modify the underlying data. The new data instance can be transferred
to MediaSample using provided MediaSample::TransferData function.
This avoids unnecessary data copying.

Change-Id: Ib59785a9e19d0abb3283179b12eb6779ee922f79
2017-09-28 14:01:30 -07:00
..
base Update MediaSample to avoid redundent copying 2017-09-28 14:01:30 -07:00
chunking Separate MediaHandlerTestBase From FakeMediaHandler 2017-09-25 16:41:06 -07:00
codecs Make NaluReader skip encrypted portion 2017-06-22 22:09:59 +00:00
crypto Update MediaSample to avoid redundent copying 2017-09-28 14:01:30 -07:00
demuxer Separate MediaHandlerTestBase From FakeMediaHandler 2017-09-25 16:41:06 -07:00
event Move Muxer Creation To Own Method 2017-09-11 12:23:07 -07:00
formats Update MediaSample to avoid redundent copying 2017-09-28 14:01:30 -07:00
origin Added Origin Handler 2017-08-18 09:20:10 -07:00
public Consolidate Mp4OutputParams into MuxerOptions 2017-08-18 11:57:34 -07:00
replicator Made Trick Play A 1:1 Handler 2017-09-26 08:25:04 -07:00
test Integrate packager top level library 2017-06-13 13:40:26 -07:00
trick_play Use TrickPlay Test Structure As Common Test Structure 2017-09-27 22:10:08 +00:00