shaka-packager/packager/media/formats/mp2t
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
..
adts_header.cc Fix various misc build issues in Windows 2015-03-24 13:52:18 -07:00
adts_header.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
adts_header_unittest.cc Fix various errors discovered during integration 2014-10-06 12:44:54 -07:00
es_parser.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
es_parser_adts.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
es_parser_adts.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
es_parser_h264.cc Fix incorrect width/height in VisualSampleEntry for mp2t stream with cropping 2015-09-18 17:42:52 +00:00
es_parser_h264.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
es_parser_h264_unittest.cc Add pixel_{width,height} to VideoStreamInfo 2015-06-29 11:17:28 -07:00
mp2t.gyp Move source code into packager directory 2014-10-02 12:32:14 -07:00
mp2t_common.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
mp2t_media_parser.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
mp2t_media_parser.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
mp2t_media_parser_unittest.cc Fix various misc build issues in Windows 2015-03-24 13:52:18 -07:00
ts_packet.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_packet.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
ts_section_pat.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section_pat.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section_pes.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section_pes.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section_pmt.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section_pmt.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section_psi.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section_psi.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00