shaka-packager/packager/media/codecs
Haoming Chen 78f4fd9d3f Fix an issue in NalUnitToByteStreamConverter.
- This fixes the issue when one NAL unit has multiple
  subsamples, which is allowed in spec and could happen
  when the clear_bytes exceeds 2^16 bytes.
- The new algorithm updates the subsample entries in
  following steps:
  1) When NaluReader parses a new NAL unit, the
  function splits subsamples and align them with the
  NAL unit. It also finds the range of subsamples
  for that NAL unit.
  2) Drop or update subsamples of that NAL unit,
  based on the type. Other inserted bytes are treated
  as a new all-clear subsample.
  3) Merge those subsamples if possible.
- This addresses #237.

Change-Id: I2cab47cd00d90e29ec52b90d4fde057c632193ac
2017-06-19 20:19:11 +00:00
..
aac_audio_specific_config.cc Fix AAC-HE not correctly signaled in codec string 2017-04-13 23:40:23 +00:00
aac_audio_specific_config.h Fix AAC-HE not correctly signaled in codec string 2017-04-13 23:40:23 +00:00
aac_audio_specific_config_unittest.cc Fix AAC-HE not correctly signaled in codec string 2017-04-13 23:40:23 +00:00
avc_decoder_configuration_record.cc Fix avc3 codec string problem 2017-04-28 19:24:11 +00:00
avc_decoder_configuration_record.h Fix avc3 codec string problem 2017-04-28 19:24:11 +00:00
avc_decoder_configuration_record_unittest.cc Fix avc3 codec string problem 2017-04-28 19:24:11 +00:00
codecs.gyp Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
decoder_configuration_record.cc Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
decoder_configuration_record.h Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
ec3_audio_util.cc Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
ec3_audio_util.h Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
ec3_audio_util_unittest.cc Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
es_descriptor.cc Windows build working 2016-08-18 08:30:26 -07:00
es_descriptor.h Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
es_descriptor_unittest.cc Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
h26x_bit_reader.cc Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
h26x_bit_reader.h Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
h26x_bit_reader_unittest.cc Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
h26x_byte_to_unit_stream_converter.cc Support generation of libpackager.so (shared_library) 2017-06-13 20:42:32 +00:00
h26x_byte_to_unit_stream_converter.h Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
h264_byte_to_unit_stream_converter.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
h264_byte_to_unit_stream_converter.h Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
h264_byte_to_unit_stream_converter_unittest.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
h264_parser.cc Change {luma,chrome}_weight_flag to arrays 2017-03-24 21:14:18 +00:00
h264_parser.h Change {luma,chrome}_weight_flag to arrays 2017-03-24 21:14:18 +00:00
h264_parser_unittest.cc Change {luma,chrome}_weight_flag to arrays 2017-03-24 21:14:18 +00:00
h265_byte_to_unit_stream_converter.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
h265_byte_to_unit_stream_converter.h Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
h265_byte_to_unit_stream_converter_unittest.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
h265_parser.cc Change values for slice header attributes 2016-12-15 17:07:17 -08:00
h265_parser.h Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
h265_parser_unittest.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
hevc_decoder_configuration_record.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
hevc_decoder_configuration_record.h Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
hevc_decoder_configuration_record_unittest.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
nal_unit_to_byte_stream_converter.cc Fix an issue in NalUnitToByteStreamConverter. 2017-06-19 20:19:11 +00:00
nal_unit_to_byte_stream_converter.h Update NalUnitToByteStreamConvert to support escaping encrypted NAL only 2017-03-23 18:21:24 +00:00
nal_unit_to_byte_stream_converter_unittest.cc Fix an issue in NalUnitToByteStreamConverter. 2017-06-19 20:19:11 +00:00
nalu_reader.cc Keep slice data partition NALs in clear 2017-02-28 18:10:30 -08:00
nalu_reader.h Keep slice data partition NALs in clear 2017-02-28 18:10:30 -08:00
nalu_reader_unittest.cc Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
video_slice_header_parser.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
video_slice_header_parser.h Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
video_slice_header_parser_unittest.cc Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
vp8_parser.cc Add support for WebM colour element 2017-05-02 20:22:17 +00:00
vp8_parser.h Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
vp8_parser_unittest.cc Support v1 vp9 in iso-bmff 2017-04-27 19:37:14 +00:00
vp9_parser.cc Add support for WebM colour element 2017-05-02 20:22:17 +00:00
vp9_parser.h Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
vp9_parser_unittest.cc Support v1 vp9 in iso-bmff 2017-04-27 19:37:14 +00:00
vp_codec_configuration_record.cc Add support for WebM colour element 2017-05-02 20:22:17 +00:00
vp_codec_configuration_record.h Add support for WebM colour element 2017-05-02 20:22:17 +00:00
vp_codec_configuration_record_unittest.cc Add support for WebM colour element 2017-05-02 20:22:17 +00:00
vpx_parser.h Rename filters directory to codecs 2016-05-27 16:13:19 -07:00
webvtt_util.h Update DEPS to fix mac build failure 2016-08-19 13:49:41 -07:00