shaka-packager/packager/media/formats/mp4
KongQun Yang d850befb72 Refactor and Cleanup Descriptor classes
- Define BaseDescriptor and generic read / write operations.

- Define descriptors: ESDescriptor, DecoderConfigDescriptor,
  DecoderSpecificInfoDescriptor, SLConfigDescriptor.
  DecoderSpecificInfoDescriptor and all other descriptors can now
  handle arbitrary length size, not limiting to 64 byte for
  DecoderSpecificInfoDescriptor, which was placed to limit
  ESDescriptor length size to one byte.

- Now DecoderConfigDescriptor is able to handle reading and writing
  of all fields including buffer_size_db, which was not handled
  earlier.

Fixes #536.

Change-Id: Ia8a775f8bf6e90e3343a85f0e643bc44cd017c7a
2019-02-27 22:26:10 +00:00
..
box.cc Set Box Definition Defaults in Header 2018-06-04 23:14:59 +00:00
box.h Set Box Definition Defaults in Header 2018-06-04 23:14:59 +00:00
box_buffer.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
box_definitions.cc Refactor and Cleanup Descriptor classes 2019-02-27 22:26:10 +00:00
box_definitions.h Set Box Definition Defaults in Header 2018-06-04 23:14:59 +00:00
box_definitions_comparison.h Refactor and Cleanup Descriptor classes 2019-02-27 22:26:10 +00:00
box_definitions_unittest.cc Refactor and Cleanup Descriptor classes 2019-02-27 22:26:10 +00:00
box_reader.cc Skip reading meta box as it may not be well formed 2018-03-01 20:21:37 +00:00
box_reader.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
box_reader_unittest.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
chunk_info_iterator.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
chunk_info_iterator.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
chunk_info_iterator_unittest.cc Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
composition_offset_iterator.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
composition_offset_iterator.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
composition_offset_iterator_unittest.cc Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
decoding_time_iterator.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
decoding_time_iterator.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
decoding_time_iterator_unittest.cc Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
fragmenter.cc Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
fragmenter.h Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
key_frame_info.h Support KeyFrame events in TS and MP4 2018-02-02 14:05:50 -08:00
mp4.gyp Adjust timestamps in mp4 if there is an initial composition offset 2018-07-26 23:20:21 +00:00
mp4_media_parser.cc Refactor and Cleanup Descriptor classes 2019-02-27 22:26:10 +00:00
mp4_media_parser.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
mp4_media_parser_unittest.cc Handle additional unused 'mdat' properly 2017-12-01 00:28:30 +00:00
mp4_muxer.cc Refactor and Cleanup Descriptor classes 2019-02-27 22:26:10 +00:00
mp4_muxer.h Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
multi_segment_segmenter.cc Fix incorrrect segment name with $Time$ in segment_template 2018-09-13 00:56:28 +00:00
multi_segment_segmenter.h Drepcate --num_subsegments_per_sidx 2018-07-02 21:59:14 +00:00
segmenter.cc Remove FairPlayPsshGenerator 2018-09-21 00:49:35 +00:00
segmenter.h Support KeyFrame events in TS and MP4 2018-02-02 14:05:50 -08:00
single_segment_segmenter.cc Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
single_segment_segmenter.h Drepcate --num_subsegments_per_sidx 2018-07-02 21:59:14 +00:00
sync_sample_iterator.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
sync_sample_iterator.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
sync_sample_iterator_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
track_run_iterator.cc Adjust timestamps in fMP4 if there is an initial composition offset 2018-08-09 22:03:23 +00:00
track_run_iterator.h Adjust timestamps in mp4 if there is an initial composition offset 2018-07-26 23:20:21 +00:00
track_run_iterator_unittest.cc Adjust timestamps in mp4 if there is an initial composition offset 2018-07-26 23:20:21 +00:00