shaka-packager/packager/media/formats/mp4
Kongqun Yang 3a5fdd2d9c Fix incorrect width/height in VisualSampleEntry for mp2t stream with cropping
Cropping is necessary if width/height are not exactly disivible by 16 due
to 16x16 macroblock size.

The width and height fields in VisualSampleEntry must correctly document
the cropped frame dimentions (visual presentation size) of the AVC stream
that is described by that entry.

Also fixes width/height in input mp4 and wvm streams if the values in
VisualSampleEntry / metadata do not match with the values in
AVCDecoderConfigurationRecord (SPS).

Issue: 39

Change-Id: Id55c5acf245bee3f4e66302b2042eb7d9c488c19
2015-09-18 17:42:52 +00:00
..
aac_audio_specific_config.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
aac_audio_specific_config.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
aac_audio_specific_config_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box_buffer.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box_definitions.cc Generate tkhd and pasp boxes properly with non-square pixels 2015-08-07 21:46:08 +00:00
box_definitions.h Generate tkhd and pasp boxes properly with non-square pixels 2015-08-07 21:46:08 +00:00
box_definitions_comparison.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box_definitions_unittest.cc Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
box_reader.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box_reader.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box_reader_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
cenc.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
cenc.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
chunk_info_iterator.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
chunk_info_iterator.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
chunk_info_iterator_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
composition_offset_iterator.cc Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
composition_offset_iterator.h Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
composition_offset_iterator_unittest.cc Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
decoding_time_iterator.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
decoding_time_iterator.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
decoding_time_iterator_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
encrypting_fragmenter.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
encrypting_fragmenter.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
es_descriptor.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
es_descriptor.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
es_descriptor_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
fourccs.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
fragmenter.cc Added sample_description_index to 'tfhd' box for DASH-IF IOP compatiblity. 2015-06-02 14:56:58 -07:00
fragmenter.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
key_rotation_fragmenter.cc Live profile MPD did not have ContentProtection 2015-09-16 15:50:00 -07:00
key_rotation_fragmenter.h Live profile MPD did not have ContentProtection 2015-09-16 15:50:00 -07:00
mp4.gyp Live profile MPD did not have ContentProtection 2015-09-16 15:50:00 -07:00
mp4_media_parser.cc Fix incorrect width/height in VisualSampleEntry for mp2t stream with cropping 2015-09-18 17:42:52 +00:00
mp4_media_parser.h Added support for ISO-BMFF files with trailing 'moov' boxes. 2015-05-22 14:11:46 -07:00
mp4_media_parser_unittest.cc Generate tkhd and pasp boxes properly with non-square pixels 2015-08-07 21:46:08 +00:00
mp4_muxer.cc Move SAR extraction out of video_stream_info.cc 2015-08-24 23:16:49 +00:00
mp4_muxer.h Make {Video,Audio,Text}Info optional 2015-06-25 17:41:00 -07:00
multi_segment_segmenter.cc Pass sample duration to MPD 2015-06-23 13:12:17 -07:00
multi_segment_segmenter.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
rcheck.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
segmenter.cc Live profile MPD did not have ContentProtection 2015-09-16 15:50:00 -07:00
segmenter.h Address one sample fragment issue #33 2015-08-04 14:19:00 -07:00
single_segment_segmenter.cc Address one sample fragment issue #33 2015-08-04 14:19:00 -07:00
single_segment_segmenter.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
sync_sample_iterator.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
sync_sample_iterator.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
sync_sample_iterator_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
track_run_iterator.cc Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
track_run_iterator.h Handle non-MSE compliant fmp4 properly 2015-02-03 13:19:19 -08:00
track_run_iterator_unittest.cc Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00