shaka-packager/packager/media/base
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
..
test Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
aes_encryptor.cc Allow query stream info without decryption 2014-10-15 01:32:40 +00:00
aes_encryptor.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
aes_encryptor_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
audio_stream_info.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
audio_stream_info.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
audio_timestamp_helper.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
audio_timestamp_helper.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
audio_timestamp_helper_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
bit_reader.cc Fix various misc build issues in Windows 2015-03-24 13:52:18 -07:00
bit_reader.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
bit_reader_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
buffer_reader.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
buffer_reader.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
buffer_writer.cc move mpd_options to its own file 2014-12-15 19:04:40 +00:00
buffer_writer.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
buffer_writer_unittest.cc Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
byte_queue.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
byte_queue.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
closure_thread.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
closure_thread.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
closure_thread_unittest.cc Fix various errors discovered during integration 2014-10-06 12:44:54 -07:00
container_names.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
container_names.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
container_names_unittest.cc Fix various errors discovered during integration 2014-10-06 12:44:54 -07:00
decrypt_config.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
decrypt_config.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
decryptor_source.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
demuxer.cc Added trick_play_rate to VideoStreamInfo. 2015-06-02 22:54:13 +00:00
demuxer.h Added trick_play_rate to VideoStreamInfo. 2015-06-02 22:54:13 +00:00
http_key_fetcher.cc Changes for source code portability. 2015-03-24 22:35:53 +00:00
http_key_fetcher.h Added static initialization and cleanup of libxml and libcurl. 2015-03-24 11:01:10 -07:00
http_key_fetcher_unittest.cc Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
key_fetcher.cc KeyFetcher interface and HTTP impl to retrieve keys from the Widevine 2014-10-09 18:19:22 -07:00
key_fetcher.h KeyFetcher interface and HTTP impl to retrieve keys from the Widevine 2014-10-09 18:19:22 -07:00
key_source.cc Pass content protection information to MuxerListener 2015-07-13 19:03:44 -07:00
key_source.h Pass content protection information to MuxerListener 2015-07-13 19:03:44 -07:00
limits.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
media_base.gyp Move SAR extraction out of video_stream_info.cc 2015-08-24 23:16:49 +00:00
media_parser.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
media_sample.cc Modify WVM media parser to support encrypted media sample. 2015-01-14 00:30:14 +00:00
media_sample.h Modify WVM media parser to support encrypted media sample. 2015-01-14 00:30:14 +00:00
media_stream.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
media_stream.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
muxer.cc Add ProgressListener for progress updates 2015-05-14 19:09:02 -07:00
muxer.h Add ProgressListener for progress updates 2015-05-14 19:09:02 -07:00
muxer_options.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
muxer_options.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
muxer_util.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
muxer_util.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
muxer_util_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
network_util.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
network_util.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
offset_byte_queue.cc Fix packager crash with corrupted media file 2014-12-23 14:29:59 -08:00
offset_byte_queue.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
offset_byte_queue_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
producer_consumer_queue.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
producer_consumer_queue_unittest.cc Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
request_signer.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
request_signer.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
rsa_key.cc Use variants of the PKCS#1 PSS functions that specify the MGF1 hash 2015-06-09 18:34:32 -07:00
rsa_key.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
rsa_key_unittest.cc Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
status.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
status.h Remove (D)CHECK_OK and usage of MemoryMappedFile 2014-10-08 16:19:31 -07:00
status_test_util_unittest.cc Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
status_unittest.cc Remove (D)CHECK_OK and usage of MemoryMappedFile 2014-10-08 16:19:31 -07:00
stream_info.cc Add pixel_{width,height} to VideoStreamInfo 2015-06-29 11:17:28 -07:00
stream_info.h Add a stream descriptor field for language. 2015-02-04 13:36:04 -08:00
text_track.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
timestamp.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
video_stream_info.cc Move SAR extraction out of video_stream_info.cc 2015-08-24 23:16:49 +00:00
video_stream_info.h Fix incorrect width/height in VisualSampleEntry for mp2t stream with cropping 2015-09-18 17:42:52 +00:00
widevine_key_source.cc Pass content protection information to MuxerListener 2015-07-13 19:03:44 -07:00
widevine_key_source.h Pass content protection information to MuxerListener 2015-07-13 19:03:44 -07:00
widevine_key_source_unittest.cc Refactor WidevineKeySource to pass signer in setter instead 2014-10-14 19:50:14 -07:00