Tom Finegan
596f5e0544
Add webm_info.
...
Migrated from the webm-tools repository with minor tweaks to
fix its build in the new location.
Last location/revision:
https://chromium.googlesource.com/webm/webm-tools
a7e97e8f0a913ddd97444392bb8816f44a4821a1
Change-Id: Icfad43d9fdd37fc413a6a28b57b370c97c7c28df
2016-04-01 12:07:38 -04:00
Tom Finegan
ccf75f67a0
msvc/muxer_tests: Silence integer conversion warnings.
...
Change-Id: Ic11a83968aa5a70ca364ebce97d465f74cda5eee
2016-03-31 10:43:10 -07:00
Tom Finegan
2ff2954fa9
msvc/webm2pes: Silence integer and floating point conversion warnings.
...
Change-Id: I5379b5a3896b316327f35ebfaa3b2fc8545f002b
2016-03-31 10:43:10 -07:00
Tom Finegan
1f2432397f
msvc/hdr_util: Silence double to float conversion warnings.
...
- Use float instead of double for Colour children in mkvparser.
- Add casts where appropriate.
Change-Id: Ia0f7e4dc25536cd43bc5e9439c58770dc3d79bc5
2016-03-31 10:43:05 -07:00
Tom Finegan
074456386e
msvc/vpxpes_parser: Silence integer conversion warning.
...
Change-Id: I968693578f5596ebef6f576765a19f8210db5f4a
2016-03-31 10:32:37 -07:00
Tom Finegan
59614b8fae
msvc/libwebm_util: Fix floating point to int conversion warning.
...
Change-Id: I3f813df344989b0200a49215ab0562d896577425
2016-03-31 10:32:35 -07:00
Tom Finegan
6481c24a19
webvtt: Fix include in vttreader.
...
Change-Id: I270acebca3e38114362af4d682d5034fda942c84
2016-03-30 12:32:23 -07:00
Tom Finegan
e6ed0f4817
msvc/vpxpes2ts: Fix MSVC integer conversion warning.
...
Change-Id: Ia2613f160b76f664cbdfeb314026f056f4be2fcc
2016-03-30 12:32:22 -07:00
Tom Finegan
da6439685d
cmake/msvc: Disable C4996 project wide.
...
MSVC C4996 triggers upon use of functions like fopen, and suggests
use of non-portable Microsoft replacements. Disable it project wide,
and remove the pragmas littered throughout the tree.
Change-Id: I8b890bbfd3cd7224c25350bd28f334facd8b7783
2016-03-30 12:32:22 -07:00
James Zern
6ef8264fcc
Merge "mkvparser::BlockEntry: inline EOS()"
2016-03-30 00:30:11 +00:00
James Zern
3fa6aecb7f
mkvparser::BlockEntry: inline EOS()
...
Change-Id: I1cd5ef4e438a285c733c9246411513f670c2c9c4
2016-03-29 16:55:42 -07:00
Tom Finegan
26306f9214
mkvmuxer: Remove unused Cluster ctor overload.
...
Remove Cluster ctor overload unintentionally added during a merge
because the default ctor is causing an uninit'd memory error in
valgrind.
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1161
Change-Id: I21b8110488bc6def0a3b5d07cbede37170087e6d
2016-03-29 14:32:43 -07:00
Tom Finegan
0d765974cd
mkvmuxer: Fix build with GCC 5.3.
...
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1160
Change-Id: I7d8a0a7fa1aef2e459e54effd448186c850453be
2016-03-29 12:21:10 -07:00
Tom Finegan
0ba80bcbf4
mkvparser/sample: Minor clean up.
...
- Return EXIT_FAILURE/EXIT_SUCCESS from main().
- Fix usage.
Change-Id: Id22d9c5cff9c8e220b4d19c519bf35f8b69ed2df
2016-03-29 09:02:52 -07:00
Tom Finegan
2e0e906eac
iosbuild.sh: Fix build.
...
Update the framework build script to support the new
layout of the libwebm repo.
Change-Id: I4852eb116b7a4b891e570cad3be830fc961ba2f8
2016-03-23 10:09:59 -07:00
James Zern
918440adaf
Makefile.unix: allow CXXFLAGS to be easily overridden
...
separate out required flags allowing CXXFLAGS to append them
Change-Id: I2ecd68c7c153da5f17e3b53e1c8ae4e739c65f4c
2016-03-22 20:55:33 -07:00
Tom Finegan
4ff5785938
cmake: Add C++11 move ctor and member initializer tests.
...
Change-Id: I747a206db03fcb8f13265e0c56c86dd5a9f6eff8
2016-03-21 14:41:49 -07:00
Tom Finegan
402ef4dd4d
cmake: remove argc and argv from C++11 test main fns.
...
Avoid failing feature tests because of potential unused variable
warnings.
Change-Id: Iaae3a86581ce7beefeaf6c2300c87064fc8d6d56
2016-03-21 14:41:49 -07:00
Tom Finegan
cbe5c40d12
Restore original namespaces for mkvmuxer and mkvparser.
...
Wrapping mkvmuxer and mkvparser in the libwebm namespace is no
longer necessary now that the tree reorganization is complete.
Put mkvmuxer and mkvparser namespaces back in the global
namespace to avoid unnecessary churn in downstream code.
Change-Id: I13a4fe0143d20bb2bb6038078c68636ff2af0c29
2016-03-21 14:41:49 -07:00
Tom Finegan
504e0f2d5b
Mass file extension update.
...
- Use .cc and .h everywhere.
- Update includes/include guards.
- Remove extra makefile targets necessitated by previous mix
of cpp/cc.
Change-Id: I7aad29152d4177937f8f42927c16c6572228c104
2016-03-21 14:41:47 -07:00
Tom Finegan
79cb9805c1
Android.mk: Update source file locations.
...
Change-Id: I92cdf3c5616edf0450bce85963f415e10c5cb21d
2016-03-21 14:41:24 -07:00
Tom Finegan
01db4c2d83
webmids: Move to common/ sub dir.
...
Change-Id: I87d0cbd78203a6680108e9e36588ff35e7ae8a4e
2016-03-21 14:41:24 -07:00
Tom Finegan
235ce59396
mkvparser: Explicitly reference internal sources in includes.
...
Change-Id: I09f2ab1e6fd4a41b242931e12cb4f147f8019247
2016-03-21 14:41:24 -07:00
Tom Finegan
f578419a01
mkvmuxer: Move sources to mkvmuxer/ sub dir.
...
Change-Id: I22dff1e2ece102c294081ab2ec8600fdb872922e
2016-03-21 14:41:19 -07:00
Tom Finegan
5f1065e4e2
webvtt: Organize and clean up webvtt support.
...
Move webvtt support code into webvtt sub dir, and update build/includes
as necessary.
Change-Id: I1c0891afd413e92d43ba54b61cc8dc694c0bff36
2016-03-21 12:41:47 -07:00
Tom Finegan
7abe8ace91
cmake: Add missing dumpvtt target.
...
Change-Id: Ie751a8bcf10d554dd2dad7171b27df22bf442d40
2016-03-21 12:41:47 -07:00
Tom Finegan
f2f87e20ed
Makefile.unix: Tidy things up.
...
- Stop the abuse of OBJECTS$N (where N is just a magic number that's been
incremented each time the line length crossed 80 cols).
- Put WebVTT objects in VTTOBJS
- Put executable objects in EXEOBJS
- Move symbol defs to $(DFLAGS)
- Add $(INCLUDES) to $(CXXFLAGS); stop using it in rules.
Change-Id: I140c8a779f9f42586b7179262690c86801163f89
2016-03-21 12:41:47 -07:00
Tom Finegan
12f6dc34b4
Use <stdint.h> types instead of custom typedefs.
...
Change-Id: Ia43b81649a14d0509aef2119be7a0ea9be955201
2016-03-21 12:41:45 -07:00
Vignesh Venkatasubramanian
0407360dcf
mkvmuxer: Write last block in each Cluster with Duration
...
This helps browsers implementing Media Source Extensions (MSE) to
know the exact duration of a Cluster without relying on the next
Cluster.
Change-Id: Idd0422e432430c5702a4864740f89fc6d3c85189
2016-03-18 12:24:42 -07:00
Tom Finegan
008aa63d6a
mkvparser: move to mkvparser sub dir.
...
Move mkvparser and mkvreader to mkvparser/.
Change-Id: I18c4575483f628344034d81b7d90d3aa86c163ff
2016-03-18 10:22:22 -07:00
Tom Finegan
e64bf75688
Namespace reorg: Make everything a child of libwebm.
...
(that is not already)
Some details:
- mkvmuxer and mkvparser wrapped by libwebm
- Matroska element constants moved from mkvmuxer to libwebm
- integer types moved from mkvmuxer to libwebm
Change-Id: Ic91e887e50adbc2d735bf6264534a5d01135df31
2016-03-18 10:22:16 -07:00
Tom Finegan
5fdb386183
cmake: move c++11 checks into build/cxx11_tests.cmake.
...
Change-Id: I300552a14412dc664e7e5f1a4d1a90466e82593d
2016-03-16 20:14:26 -07:00
Vignesh Venkatasubramanian
367248817e
Copy reference block values in Frame::CopyFrom()
...
Change-Id: I6cde588e98326664227ea9db1dcd643845a60ca6
2016-03-16 15:03:33 -07:00
clang-format
91ca780522
reapply clang-format
...
Change-Id: Ic04e8429b07fe9b7dc15dc836d16ba9f30317ee2
2016-03-16 12:18:08 -07:00
Vignesh Venkatasubramanian
8d3421503f
Merge "Clean up AddAudioTrack in muxer_tests"
2016-03-16 00:25:30 +00:00
Vignesh Venkatasubramanian
90861d4fb6
Clean up AddAudioTrack in muxer_tests
...
Moving AddAudioTrack into a separate function and keeping it
simple so that it can be re-used from other tests that might
require adding an audio track.
Change-Id: Ia60ed63ddbe617764596eb9c5a2bf96108c47cdd
2016-03-15 17:23:13 -07:00
Vignesh Venkatasubramanian
a9dfb3d3a3
Un-ignore webm files in testdata
...
Only ignore .webm files in the root directory of the repository.
Change-Id: Ic95e7013781f760b4947e4483f33472052724460
2016-03-15 16:19:44 -07:00
Tom Finegan
c5b76d8d11
Extract PES parser from WebM2Pes tests.
...
Change-Id: I6c81255635a65337bdb701119a3814801864469d
2016-03-11 14:12:57 -08:00
Tom Finegan
16524e8e3b
cmake: Add include-what-you-use integration.
...
Change-Id: Ifcfd15e0b7b81c013116ad770985a3fe4911391a
2016-03-10 14:47:43 -08:00
Tom Finegan
7015af5b08
iwyu/vpxpes2ts: Update includes.
...
Include what you use analysis based include update.
Change-Id: I6e7b296886c477107f8d50a7ed02187d01df125c
2016-03-10 09:21:48 -08:00
Tom Finegan
c1d6a70204
iwyu/webm2pes: Update includes.
...
Include what you use analysis based include update.
Change-Id: Ib390c6a669d31ec298a4db407a50904576b99d91
2016-03-10 09:21:48 -08:00
Tom Finegan
110e79790b
iwyu/libwebm_util: Update includes.
...
Include what you use analysis based include update.
Change-Id: I272351418ac19e66989ea7ba23b01561ff7a8ed4
2016-03-10 09:21:48 -08:00
Tom Finegan
44e31fb4d9
iwyu/webm2pes_tests: Update includes.
...
Include what you use analysis based include update.
Change-Id: Iaef395051e24654933c278f63965491091775773
2016-03-10 09:21:48 -08:00
Tom Finegan
d919f96171
iwyu/mkvwriter: Update includes.
...
Include what you use analysis based include update.
Change-Id: Ic3c0f943c3d9fc633d4b5b1f649f10ddf54692c7
2016-03-10 09:21:48 -08:00
Tom Finegan
75790e1e63
iwyu/mkvparser: Update includes.
...
Include what you use analysis based include update.
Change-Id: If117dad749c6854dd2023a64abef9ab3b163196b
2016-03-10 09:21:48 -08:00
Tom Finegan
5f673caf7a
iwyu/webm2pes_main: Update includes.
...
Include what you use analysis based include update.
Change-Id: I7fc997acd0839d9543438fca01000ebb37a45dbb
2016-03-10 09:21:48 -08:00
Tom Finegan
747244af1d
iwyu/vpxpes2ts_main: Update includes.
...
Include what you use analysis based include update.
Change-Id: Ifa09162b0a6783e353e9cd494143c5118e22200d
2016-03-10 09:21:48 -08:00
Tom Finegan
94c985f5ff
iwyu/mkvmuxerutil: Update includes.
...
Include what you use analysis based include update.
Change-Id: I6cd977b2bbeee4a8ef960a074aed52db35db4d89
2016-03-10 09:21:48 -08:00
Tom Finegan
c365630718
iwyu/mkvmuxer: Update includes.
...
Include what you use analysis based include update.
Change-Id: I6edfaadf88ecbf52bfcb2de6e12716935e46bcd2
2016-03-10 09:21:48 -08:00
Tom Finegan
b15b8ef1a0
iwyu/file_util: Update includes.
...
Include what you use analysis based include update.
Change-Id: I1aafbf5d9781a04e4b05f8e63ee72c6070df7b2b
2016-03-10 09:21:48 -08:00