shaka-packager/packager/media/formats/wvm
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
..
wvm.gyp Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
wvm_media_parser.cc Update MediaSample to avoid redundent copying 2017-09-28 14:01:30 -07:00
wvm_media_parser.h Rename trick play rate to trick play factor. 2017-05-17 21:51:34 +00:00
wvm_media_parser_unittest.cc Use free-form strings for stream labels (track types) 2017-06-13 15:04:00 -07:00