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
Tom Finegan
3dfba9576a
iwyu/hdr_util: Update includes.
...
Include what you use analysis based include update.
Change-Id: Iaa744570fe3e8f9eddc0fdbd1528c0689a3c40cb
2016-03-10 09:21:46 -08:00
Tom Finegan
baba8b128d
iwyu/vttdemux: Update includes.
...
Include what you use analysis based include update.
Change-Id: Id7b8b9113da70c378a9db904cac1701fc8ebd6d2
2016-03-10 09:21:19 -08:00
Tom Finegan
3212ec1223
iwyu/webvttparser: Update includes.
...
Include what you use analysis based include update.
Change-Id: Ia02c7d2af742cb1643d28d0acfa94e3324c8fa46
2016-03-10 09:21:19 -08:00
Tom Finegan
b6d8d9241a
iwyu/sample_muxer_metadata: Update includes.
...
Include what you use analysis based include update.
Change-Id: Ib3fa6a5a3b6afadf56d52f7feb9264e18b454cd3
2016-03-10 09:21:18 -08:00
Tom Finegan
a9a1a01551
iwyu/sample_muxer: Update includes.
...
Include what you use analysis based include update.
Change-Id: I289bef3b5237940ef4f9b92168afca0765468e89
2016-03-09 15:11:23 -08:00
Tom Finegan
e020ffd183
iwyu/sample: Update includes.
...
Include what you use analysis based include update.
Change-Id: I51b3762ec3ffb003d19a5e26c939a71f8edf18ae
2016-03-09 15:11:18 -08:00
Tom Finegan
18834bcad0
iwyu/parser_tests: Update includes.
...
Include what you use analysis based include update.
Change-Id: I6bfb2c126cb8ade813e820d56bc0f965c8880c3b
2016-03-09 13:54:09 -08:00
Tom Finegan
9c00ae32e3
iwyu/muxer_tests: Update includes.
...
Include what you use analysis based include update.
Change-Id: I2f0c2626fe9f365a0dd9bcf47e873c1105e2e4d9
2016-03-09 13:51:34 -08:00
Tom Finegan
41a17eb108
iwyu/test_util: Update includes
...
Include what you use analysis based include update.
Change-Id: I92a2cb481f5475be51ffc8651782df7babe852ef
2016-03-09 13:50:56 -08:00
Tom Finegan
b6174be19d
muxer_tests: Fix windows brokenness.
...
- Wrap MkvWriter in std::unique_ptr to allow use of the
MkvWriter(FILE*) ctor (because MuxerTest owns the FILE*).
- Test temporary FILE* in Init(); don't assume it's valid.
- Close output FILE* before attempting to read it in
CuesBeforeClusters().
Change-Id: I4848adec7a24c8987fdd0924e7474b264837e8a9
2016-03-08 11:25:50 -08:00
Tom Finegan
e09251510f
file_util: Remove tmpnam() usage in MSVC.
...
Replace with windows/MSVC specific tmpnam_s().
Change-Id: I8c49e37c72630ebb14ea3c7734b96d0f79968772
2016-03-08 11:22:33 -08:00
Tom Finegan
b9dc4ac09c
test_util: Don't pass NULL to std::string() in GetTestDataDir().
...
Change-Id: Iaafa78a17580d962e260d9553b11d2cd3cb4726f
Also: quiet MSVC warnings that suggest making code non-portable.
2016-03-08 11:15:43 -08:00
Tom Finegan
1f74651b5b
webmts: Move PES/TS sources to m2ts sub directory.
...
Change-Id: I5c02b62460a6bf8dd73fb9274d1668a5a13af373
2016-03-07 14:32:08 -08:00
Tom Finegan
1b895e97d0
Rename libwebm_utils to libwebm_util.
...
Use a single naming convention.
Change-Id: Ia48089b05e5a453a402d4b4e7f258a56bee8a001
2016-03-07 14:27:07 -08:00
Tom Finegan
2fabcd344e
sample_muxer: Replace std::tmpnam() with libwebm::GetTempFileName().
...
Change-Id: I3f26cb1ff286613de02c6017fa1246ca5c32d1e9
2016-03-07 14:27:07 -08:00
Tom Finegan
e6a0033a8c
Add file_util.
...
Move file utility classes and functions from testing/test_util to
common/file_util, and make them part of libwebm.
Change-Id: If5b25a63b20efacc16b0fecaa8876ade4ecc4b26
2016-03-07 14:27:03 -08:00
Tom Finegan
87f9beae01
Move hdr_util to common.
...
Change-Id: I383680b79d798fd77bb385e1b8087967962eb230
2016-03-07 11:32:02 -08:00
Tom Finegan
1f64aaf180
cmake: Expand C++11 tests.
...
Change-Id: I80e0372ebe0374c3931f65c8de6410b95fb112d1
2016-03-02 13:40:32 -08:00
Tom Finegan
6dc81c1648
muxer_tests: Die immediately when unable to prep for file writing.
...
Change-Id: I42c4294b3089cf1a785eac3ce5ec7e47d534ea36
2016-02-29 13:44:27 -08:00
Tom Finegan
521ce4d819
webm2pes: Fix type limit warning.
...
Change-Id: Ic4c554209b2833e26f3e0e415693255ab2219db2
2016-02-29 13:39:26 -08:00
Tom Finegan
64c4163a15
vpxpes2ts: Fix sign-compare and type-limits warnings.
...
Change-Id: I18419ee5040fb2c22853d566e082369f487726e4
2016-02-29 13:38:07 -08:00
Tom Finegan
741ba686b9
muxer_tests: Replace std::tmpnam() with GetTempFileName().
...
Change-Id: I58d66666ba0a1ef27608265b53613dd046e7c1a3
2016-02-29 15:24:21 -05:00
Tom Finegan
6159e837e9
Merge "test_util: add missing include for close()"
2016-02-29 19:51:24 +00:00
Tom Finegan
ff81c74c97
parser_tests: Fix sign compare warnings.
...
Change-Id: I656f05407b88a3878920c779d49ebf89231f09f1
2016-02-29 11:33:43 -08:00
James Zern
163f57d232
test_util: add missing include for close()
...
Change-Id: I3825d3613e35dfdb0a5a2460a207f2d0662328f6
2016-02-27 11:11:39 -08:00
Tom Finegan
7c89eb576e
Merge "test_util: Remove tmpnam() usage on non-MSVC targets."
2016-02-27 01:11:29 +00:00
Tom Finegan
c4b8686542
Merge "webm2pes_tests: Fix sign compare warnings."
2016-02-27 00:34:42 +00:00
Tom Finegan
9c9f546b25
Merge "muxer_tests: Fix sign compare warnings."
2016-02-27 00:34:07 +00:00
Tom Finegan
0fbefefb36
webm2pes: Silence sign compare warnings.
...
Change-Id: Ie6ce68507c35b8ec4888fe87c042e3b8371d534a
2016-02-26 16:30:24 -08:00
Tom Finegan
599e4e8bd2
cmake: Silence clang/gcc deprecation warnings.
...
Parts of libwebm continue to use std::auto_ptr for support of older
compilers and target systems. Silence the warnings its use causes.
Change-Id: Iac8f35c9fdaaeb1cbb637d0777b46cdad54843ed
2016-02-26 16:21:54 -08:00
Tom Finegan
82f376f356
test_util: Remove tmpnam() usage on non-MSVC targets.
...
Change-Id: Icd3a68fa4e52401a41f4afe52a6206d6092bc8fb
2016-02-26 11:45:35 -08:00
Tom Finegan
4d31d6bc16
webm2pes_tests: Fix sign compare warnings.
...
Change-Id: I92f4c18c51f26beea45246a9fa2f56a6369b9ecf
2016-02-26 11:44:06 -08:00
Tom Finegan
07ed7e01d1
muxer_tests: Fix sign compare warnings.
...
Change-Id: Icb549aeeb146b6dca4a89bf2b70f6fa50a893d38
2016-02-26 12:14:48 -05:00
Tom Finegan
ae2fbfe0cf
parser_tests: Silence sign compare warning.
...
Change-Id: I5286cf99129cc8fd5336e792990886f43332b720
2016-02-26 08:57:43 -08:00
Tom Finegan
f4885281b0
libwebm_utils: Silence sign compare warning.
...
Change-Id: I5b8cab857f7a8a48979ee8be6bd156b854952c61
2016-02-26 08:57:43 -08:00
Tom Finegan
777247b505
Add C++11 detection to cmake file.
...
Disable test and webmts targets when not C++11 and/or
std::unique_ptr are unavailable.
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1136
Change-Id: I717631bc6adea90c91e59862378328089e9aeec6
2016-02-25 09:09:24 -08:00
Tom Finegan
9b89187db0
Add missing include to libwebm_utils.h.
...
Was missing cstdint and breaking builds on less forgiving
target systems. Also, make std namespace usage consistent.
Change-Id: I961b3ad66f8650fdebbb76a957c914c1b06e2de5
2016-02-24 14:48:41 -08:00
Tom Finegan
421874a4b5
Merge "mkvmuxer: Fix GCC build."
2016-02-22 23:50:39 +00:00
Neil Birkbeck
dd6ab35d85
Set the mastering metadata on the muxers colour
...
Change-Id: I456ce8409303e06a4e832cbf80cb290ad9539abc
2016-02-22 10:54:58 -08:00
Tom Finegan
8b61ef5727
mkvmuxer: Fix GCC build.
...
Define __STDC_LIMIT_MACROS before <climits> include.
Change-Id: I4c9c9560db1c57d177c8a7aa023c313aba5fe847
2016-02-22 09:25:19 -08:00
Tom Finegan
353b050071
Add hdr_util.
...
Move the Colour element utility functions out of sample_muxer and
into a place where they can be utilized by libwebm users.
Change-Id: I7e2bfd02d6f4aa4f26fb0d0a697cb68e20698655
2016-02-18 13:13:54 -08:00
Tom Finegan
c92e080f3a
mkvmuxer: Use kValueNotPresent in Colour/MasteringMetadata.
...
Consistent with parser/no reason for unique names.
Change-Id: Ic38bc8c14413dc85fbdc28d69aa89fa0bfa7382f
2016-02-18 12:11:53 -08:00
Tom Finegan
2d0912837c
Colour element: TransferFunction renamed to TransferCharacteristics.
...
Change-Id: I02e8d9b375d3aeba26d99866df90e25e1605143f
2016-02-18 12:03:41 -08:00
Tom Finegan
f2fc28e044
Colour element: Matrix renamed to MatrixCoefficients.
...
Change-Id: I148e81be6c23f0d0e61dc5820a1ae80f685af57f
2016-02-18 12:03:36 -08:00
Tom Finegan
e0b11351fb
cmake: Minor CMakeLists.txt refactor.
...
Reduce repetition/verbosity.
Change-Id: Id2e7e0c7a6c01ee1fb118d83aa0334f71088a2af
2016-02-17 11:25:15 -08:00
Tom Finegan
1e1872bc7b
Revert change from auto_ptr to unique_ptr in sample code.
...
This allows users of the legacy makefile on older systems without
C++11 compiler support to continue using libwebm sample code.
Change-Id: I1dd9487e0d87e355d2394fedb12ec8628a955413
2016-02-17 11:22:40 -08:00