webm/webmlive.git
2 days agoAdd libcurl updater script. 83/73883/3 master
Tom Finegan [Fri, 27 Feb 2015 19:22:17 +0000 (11:22 -0800)]
Add libcurl updater script.

Change-Id: I74265bf35006d21788118a80bc6125635595cdea

3 days agoUpdate libcurl. 82/73882/1
Tom Finegan [Thu, 26 Feb 2015 23:47:11 +0000 (15:47 -0800)]
Update libcurl.

Change-Id: I652080f540fc33be824f5175d9fc5a8836655aad

3 days agoRemove old version of libcurl. 81/73881/1
Tom Finegan [Thu, 26 Feb 2015 23:12:21 +0000 (15:12 -0800)]
Remove old version of libcurl.

Change-Id: I1f2160fe9435a80fe8a51fee99deca4bc9fcc696

4 days agoMerge "Add info about DLL export local patch to glog README.webmlive."
Tom Finegan [Wed, 25 Feb 2015 19:12:44 +0000 (11:12 -0800)]
Merge "Add info about DLL export local patch to glog README.webmlive."

4 days agoAdd HRESULT logging code from webmdshow. 44/73844/4
Tom Finegan [Mon, 23 Feb 2015 23:48:41 +0000 (15:48 -0800)]
Add HRESULT logging code from webmdshow.

Change-Id: I57735d0eef81ba85802aff8fe2cc3cabcf3cd2fb

5 days agoMerge "Add missing DLL export decoration to LogStreamBuf in glog/logging.h."
Tom Finegan [Wed, 25 Feb 2015 04:34:02 +0000 (20:34 -0800)]
Merge "Add missing DLL export decoration to LogStreamBuf in glog/logging.h."

5 days agoUpdate dshow_util.h with current webmdshow include file names. 47/73847/3
Tom Finegan [Mon, 23 Feb 2015 23:52:06 +0000 (15:52 -0800)]
Update dshow_util.h with current webmdshow include file names.

Change-Id: I020e926a90dcf200dbe69af5f864956095f67357

5 days agoAdd info about DLL export local patch to glog README.webmlive. 46/73846/3
Tom Finegan [Mon, 23 Feb 2015 23:51:14 +0000 (15:51 -0800)]
Add info about DLL export local patch to glog README.webmlive.

Change-Id: I662581376cefb6a7aed5d6c39678af7e79125c3f

5 days agoAdd missing DLL export decoration to LogStreamBuf in glog/logging.h. 45/73845/3
Tom Finegan [Mon, 23 Feb 2015 23:50:12 +0000 (15:50 -0800)]
Add missing DLL export decoration to LogStreamBuf in glog/logging.h.

Change-Id: Id28d4acf2058f795f7525e5b86e8bb665c8e537a

5 days agoRemove boost. 43/73843/3
Tom Finegan [Mon, 23 Feb 2015 23:47:56 +0000 (15:47 -0800)]
Remove boost.

Change-Id: I04ec3c3664227820372cf9dfdaf5419ebfc4552d

5 days agoRemove boost usage. 42/73842/3
Tom Finegan [Tue, 24 Feb 2015 01:54:26 +0000 (17:54 -0800)]
Remove boost usage.

C++ 11 provides everything necessary.

Change-Id: I149d529a83c951fcae072352cd503d49bb6b5b61

5 days agoMerge "Add CMakeLists.txt for third_party/directshow/baseclasses."
Tom Finegan [Tue, 24 Feb 2015 19:21:57 +0000 (11:21 -0800)]
Merge "Add CMakeLists.txt for third_party/directshow/baseclasses."

6 days agoMerge "Add Windows v7.1 SDK release of dshow baseclasses."
Tom Finegan [Tue, 24 Feb 2015 03:36:40 +0000 (19:36 -0800)]
Merge "Add Windows v7.1 SDK release of dshow baseclasses."

6 days agoRemove encoder/environment.vsprops 41/73841/1
Tom Finegan [Mon, 23 Feb 2015 16:55:36 +0000 (08:55 -0800)]
Remove encoder/environment.vsprops

Change-Id: Ida1e55ee988c64dd20d3008537119f1e0e409d11

9 days agoAdd CMakeLists.txt for third_party/directshow/baseclasses. 18/73818/1
Tom Finegan [Fri, 20 Feb 2015 19:46:58 +0000 (11:46 -0800)]
Add CMakeLists.txt for third_party/directshow/baseclasses.

Change-Id: Iba26c3d171e150446987c9153dca3900bfe9877b

9 days agoAdd Windows v7.1 SDK release of dshow baseclasses. 17/73817/1
Tom Finegan [Fri, 20 Feb 2015 19:46:19 +0000 (11:46 -0800)]
Add Windows v7.1 SDK release of dshow baseclasses.

Change-Id: Iee2365b50f09a88eb35782cb25c82f9ccdaad5ba

9 days agoRemove GYP file for dshow baseclasses. 16/73816/1
Tom Finegan [Fri, 20 Feb 2015 19:45:18 +0000 (11:45 -0800)]
Remove GYP file for dshow baseclasses.

Change-Id: I404cc878fae102584a407f914b300852c354a8a0

9 days agoAdd libwebm updater script. 95/73795/2
Tom Finegan [Tue, 17 Feb 2015 19:42:26 +0000 (11:42 -0800)]
Add libwebm updater script.

Change-Id: I9e0aafe4fd22c62b5c4d8d7bd97268b518330950

12 days agoAdd libwebm. 94/73794/1
Tom Finegan [Tue, 17 Feb 2015 19:40:31 +0000 (11:40 -0800)]
Add libwebm.

Change-Id: Iedfdd0215a50b452c0684c335b4dabd6d8808d48

12 days agoRemove old version of libwebm. 93/73793/1
Tom Finegan [Thu, 12 Feb 2015 23:00:01 +0000 (15:00 -0800)]
Remove old version of libwebm.

Change-Id: I5d580949b8a1ad5794c946064c349c2f261b61c9

2 weeks agomsvc_runtime.cmake: Do nothing when not running on windows. 74/73774/1
Tom Finegan [Thu, 12 Feb 2015 22:44:08 +0000 (14:44 -0800)]
msvc_runtime.cmake: Do nothing when not running on windows.

Change-Id: I3b6b1068980ef6c0969f04cfed04fe667800386c

2 weeks agoMerge "Add libyuv updater script."
Tom Finegan [Thu, 12 Feb 2015 21:46:31 +0000 (13:46 -0800)]
Merge "Add libyuv updater script."

2 weeks agoAdd libyuv updater script. 68/73768/2
Tom Finegan [Thu, 12 Feb 2015 04:43:34 +0000 (20:43 -0800)]
Add libyuv updater script.

Change-Id: Ibebb84677d761a1d1d723e210f3eca419fdce93f

2 weeks agoAdd libyuv. 67/73767/2
Tom Finegan [Thu, 12 Feb 2015 04:42:31 +0000 (20:42 -0800)]
Add libyuv.

Change-Id: I0638ea1b0441f924a025ca13e1c3db8e7104f001

2 weeks agoAdd libvpx updater script. 61/73761/3
Tom Finegan [Wed, 11 Feb 2015 23:10:50 +0000 (15:10 -0800)]
Add libvpx updater script.

Change-Id: If8335394dbc95f62e9b1a8d2a4829ac07e9d96c9

2 weeks agoMerge changes Icb1231b0,Ib625d284,I294e6bcf,Ic51c0361
Tom Finegan [Thu, 12 Feb 2015 07:18:39 +0000 (23:18 -0800)]
Merge changes Icb1231b0,Ib625d284,I294e6bcf,Ic51c0361

* changes:
  Update libvpx to v1.3.0-5489-gc972581.
  Remove old libyuv.
  Add Xiph library updater script.
  Update libogg and libvorbis.

2 weeks agoCorrect include guards in encoder sources. 65/73765/1
Tom Finegan [Wed, 11 Feb 2015 23:40:03 +0000 (15:40 -0800)]
Correct include guards in encoder sources.

Change-Id: I5589e63909c4e4f7ca57bf785e1cf63c8809e301

2 weeks agoUpdate includes and include guards for encoder directory rename. 64/73764/1
Tom Finegan [Wed, 11 Feb 2015 23:38:59 +0000 (15:38 -0800)]
Update includes and include guards for encoder directory rename.

Handles breakages caused by renaming client_encoder to encoder.

Change-Id: I15e418f1a5d0ca36da5a8d0f653ddbdff218bb86

2 weeks agoUpdate libvpx to v1.3.0-5489-gc972581. 60/73760/2
Tom Finegan [Wed, 11 Feb 2015 23:10:27 +0000 (15:10 -0800)]
Update libvpx to v1.3.0-5489-gc972581.

Change-Id: Icb1231b0dae92a5fe305a0322788b2d9d2308463

2 weeks agoRemove old libyuv. 59/73759/2
Tom Finegan [Wed, 11 Feb 2015 23:08:35 +0000 (15:08 -0800)]
Remove old libyuv.

Change-Id: Ib625d284be6e672dbcecb516b5d78175e5535ba1

2 weeks agoAdd Xiph library updater script. 58/73758/3
Tom Finegan [Wed, 11 Feb 2015 22:42:21 +0000 (14:42 -0800)]
Add Xiph library updater script.

Change-Id: I294e6bcfe5316f1b218d75af9a76d454954412fe

2 weeks agoUpdate libogg and libvorbis. 57/73757/2
Tom Finegan [Wed, 11 Feb 2015 22:40:52 +0000 (14:40 -0800)]
Update libogg and libvorbis.

Change-Id: Ic51c03610aeb1e8fa76af3e68e4e3a5e72306b1d
Ogg: v1.3.2
Vorbis: v1.3.4

2 weeks agoRename client_encoder to encoder. 63/73763/1
Tom Finegan [Wed, 11 Feb 2015 23:20:29 +0000 (15:20 -0800)]
Rename client_encoder to encoder.

Change-Id: I3ed1fe4b857a29c164376a33ea2ca06cdf9549af

2 weeks agoMerge "Add msvc_runtime.cmake and CMakeLists.txt for google-glog."
Tom Finegan [Wed, 11 Feb 2015 22:43:12 +0000 (14:43 -0800)]
Merge "Add msvc_runtime.cmake and CMakeLists.txt for google-glog."

2 weeks agoAdd msvc_runtime.cmake and CMakeLists.txt for google-glog. 45/73745/4
Tom Finegan [Wed, 11 Feb 2015 22:06:50 +0000 (14:06 -0800)]
Add msvc_runtime.cmake and CMakeLists.txt for google-glog.

msvc_runtime.cmake handles setting code generation to the MSVC
static runtime.
CMakeLists.txt produces static library projects and solutions
for building google-glog.

Change-Id: I4efc223f0ff8bc8d464b34e9af0d76cebdd05745

2 weeks agoRemove unused code and libs from v1. 55/73755/2
Tom Finegan [Wed, 11 Feb 2015 20:31:04 +0000 (12:31 -0800)]
Remove unused code and libs from v1.

Change-Id: Ic527952ac3ce8b1d707095a67509485c81c8c559

2 weeks agoAdd README for google-glog. 44/73744/2
Tom Finegan [Tue, 10 Feb 2015 23:31:47 +0000 (15:31 -0800)]
Add README for google-glog.

Change-Id: I3ef52da322eda8e0dc6c8d361ad1bce4faab29e5

2 weeks agoglog: Fix vs2013 compile errors and warnings. 43/73743/1
Tom Finegan [Tue, 10 Feb 2015 23:30:15 +0000 (15:30 -0800)]
glog: Fix vs2013 compile errors and warnings.

Change-Id: I1ca7fbe7c2503d4dbe794164e9bb8ebc801b2ea3

2 weeks agoAdd v0.33 glog sources and remove previous release. 19/73719/1
Tom Finegan [Mon, 9 Feb 2015 21:48:24 +0000 (13:48 -0800)]
Add v0.33 glog sources and remove previous release.

Change-Id: Ibf37f115f54c2a10ce4ab18cc9009f644d9dba3f

2 weeks agoMerge branch 'v2'
Tom Finegan [Mon, 9 Feb 2015 20:02:08 +0000 (12:02 -0800)]
Merge branch 'v2'

18 months agoMerge "webm_encoder: Add audio support to WebmEncoder." into v2 v2
Tom Finegan [Thu, 29 Aug 2013 16:30:49 +0000 (09:30 -0700)]
Merge "webm_encoder: Add audio support to WebmEncoder." into v2

18 months agoMerge "Add project generation script." into v2
Tom Finegan [Wed, 28 Aug 2013 19:38:16 +0000 (12:38 -0700)]
Merge "Add project generation script." into v2

18 months agoAdd GYP files. 22/24222/6
Tom Finegan [Fri, 30 Sep 2011 17:01:36 +0000 (13:01 -0400)]
Add GYP files.

Wrote basic GYP files for client encoder and the
DShow baseclasses.

Change-Id: I6b9a891786e48a05aee5b20e2d30e333265d53be

18 months agoAdd project generation script. 83/25883/5
Tom Finegan [Thu, 21 Jun 2012 22:48:54 +0000 (18:48 -0400)]
Add project generation script.

Change-Id: I9f02d3d22150a0db67c13a77444f4e459791771a

18 months agowebm_encoder: Add audio support to WebmEncoder. 71/22771/16
Tom Finegan [Wed, 16 May 2012 00:00:55 +0000 (20:00 -0400)]
webm_encoder: Add audio support to WebmEncoder.

Change-Id: I7cae62f8dcac0447f2fb59017cdf7f03d5c0e20e

2 years agoRemove the unused boost program options libraries. 21/24221/4
Tom Finegan [Thu, 31 May 2012 19:16:16 +0000 (15:16 -0400)]
Remove the unused boost program options libraries.

Change-Id: I432a6efe6b66f680af2084796ab92e1fa5991cd8

2 years agoAdd vs2010 boost libs. 20/24220/4
Tom Finegan [Thu, 31 May 2012 19:15:39 +0000 (15:15 -0400)]
Add vs2010 boost libs.

Date time and thread require libraries at link time.

Change-Id: Ie8d5bc7c40a1a51d51d0b52bb754804da3b96470

2 years agoPreliminary changes for support of vs2010. 79/23679/4
Tom Finegan [Fri, 25 May 2012 19:14:58 +0000 (15:14 -0400)]
Preliminary changes for support of vs2010.

- Turn on auto crlf for vcxproj files.
- Ignore ipch folders and sdf files.

Change-Id: I582d46ec6da4f25c748d490d3c63e476c240b43d

2 years agoAdd some additional logging. 78/23678/4
Tom Finegan [Fri, 25 May 2012 19:15:45 +0000 (15:15 -0400)]
Add some additional logging.

Log chunk positions and keyframe timestamps.

Change-Id: Id0b69f964170f7ec95597042115e002bba694c4e

2 years agoEnable use of the libvpx encoder temporal denoiser. 28/23228/2
Tom Finegan [Tue, 22 May 2012 16:01:20 +0000 (12:01 -0400)]
Enable use of the libvpx encoder temporal denoiser.

Change-Id: I3783e747eba9e29a3357504d9fea87b747f08fce

2 years agoclient_encoder: disable incremental linking. 87/22887/1
Tom Finegan [Thu, 17 May 2012 01:41:22 +0000 (21:41 -0400)]
client_encoder: disable incremental linking.

Change-Id: Ifba2f466fb8830fc4c69ed2c4fd4f9952126f81e

2 years agoUpdate libvpx to v1.1.0 (eider). 86/22886/1
Tom Finegan [Thu, 17 May 2012 01:40:39 +0000 (21:40 -0400)]
Update libvpx to v1.1.0 (eider).

libvpx hash: 297dc90255cf9511bea26c1056aa5e118dae9028

Change-Id: Idff967e3db0cfdb5f69b5e17b74bdb9c9064eaa0

2 years agoUpdate libogg to 1.3.0 and libvorbis to 1.3.3. 85/22885/1
Tom Finegan [Thu, 17 May 2012 01:40:02 +0000 (21:40 -0400)]
Update libogg to 1.3.0 and libvorbis to 1.3.3.

Change-Id: I906bc3477d0a7514b6bd4b5e719b63aa87e03b0a

2 years agoUpdate to latest libwebm. 48/22848/1
Tom Finegan [Wed, 16 May 2012 19:41:11 +0000 (15:41 -0400)]
Update to latest libwebm.

libwebm git hash: 9a561ab4dddebc3e66b604cfb59903699175ec8c

Change-Id: Idad4755beccb8c47ac6aab50c2247ebb51c32eaa

2 years agoUpdate to libcurl v7.25.0 41/22841/2
Tom Finegan [Wed, 16 May 2012 18:52:53 +0000 (14:52 -0400)]
Update to libcurl v7.25.0

- Use the static library with HTTP_ONLY defined to remove external
  dependencies.
- Delete the dependencies of the last release.
- Add libcurl PDB files.

Change-Id: Ic25e9d989b5ca0298d0b30cb6d110603c05642b4

2 years agoRemove third_party/curl_ssl. 40/22840/2
Tom Finegan [Wed, 16 May 2012 18:35:36 +0000 (14:35 -0400)]
Remove third_party/curl_ssl.

Change-Id: I1b93ee5d9775aff5aefc82744e1e43d4d021184c

2 years agowebm_mux: Add audio support to LiveWebmMuxer. 61/22761/4
Tom Finegan [Tue, 15 May 2012 23:47:31 +0000 (19:47 -0400)]
webm_mux: Add audio support to LiveWebmMuxer.

Essentially a duplication of the video muxing code, but
with a little added complexity thanks to the Vorbis
CodecPrivate data.

Change-Id: I9cafc2e64f0da5696f144fc7a5ed1996cff0d583

2 years agobuffer_pool: add num_buffers argument to Init. 59/22759/2
Tom Finegan [Tue, 15 May 2012 22:09:05 +0000 (18:09 -0400)]
buffer_pool: add num_buffers argument to Init.

Change-Id: I28b7b1b89fe17dc034e7cf843c67f9fc62117a3e

2 years agobuffer_pool: make all non-error status enum values >= 0. 58/22758/2
Tom Finegan [Tue, 15 May 2012 22:08:13 +0000 (18:08 -0400)]
buffer_pool: make all non-error status enum values >= 0.

Change-Id: Id3af65cbb7889e437376a4be6644beed3eebfa25

2 years agobuffer_pool: add IsEmpty method. 57/22757/2
Tom Finegan [Tue, 15 May 2012 22:07:08 +0000 (18:07 -0400)]
buffer_pool: add IsEmpty method.

Change-Id: I008b5859c30151b9404a36e55ad87da5217af381

2 years agomedia_source_dshow: add audio sink filter setup and connection. 93/21393/27
Tom Finegan [Fri, 27 Apr 2012 21:24:48 +0000 (17:24 -0400)]
media_source_dshow: add audio sink filter setup and connection.

Change-Id: I431a5f3921c5ae5be6b9b35f5e73b37a8665b4ce

2 years agoAllow modification of AudioBuffer/VideoFrame timestamps. 15/22715/1
Tom Finegan [Tue, 15 May 2012 18:08:32 +0000 (14:08 -0400)]
Allow modification of AudioBuffer/VideoFrame timestamps.

Change-Id: I12e8470f7c4f19e1c674d8dbfb1afbe04105042a

2 years agoAllow storage of audio buffers with negative timestamps. 14/22714/1
Tom Finegan [Tue, 15 May 2012 18:08:03 +0000 (14:08 -0400)]
Allow storage of audio buffers with negative timestamps.

Change-Id: Ic265eb3b3431350b3dd8477ea00eff92cb1d014b

2 years agoAdd vorbis audio encoder. 58/20758/32
Tom Finegan [Thu, 26 Apr 2012 21:41:58 +0000 (17:41 -0400)]
Add vorbis audio encoder.

Change-Id: Ia1d115cdb77853cd429c4795616fc923bd66555b

2 years agoAdd ActiveBufferTimestamp and DropActiveBuffer methods to BufferPool. 67/22167/7
Tom Finegan [Tue, 8 May 2012 21:38:40 +0000 (17:38 -0400)]
Add ActiveBufferTimestamp and DropActiveBuffer methods to BufferPool.

Change-Id: Ie54dc4576ac6d0a1d14c77cc83dbd5278e6f74bd

2 years agoRemove libvorbis coupling configuration and command line flags. 66/22166/4
Tom Finegan [Tue, 8 May 2012 21:35:08 +0000 (17:35 -0400)]
Remove libvorbis coupling configuration and command line flags.

Change-Id: Ia0f31d15018991dd8879b3da4d910531de9bbead

2 years agoStore timestamp of last encoded frame in VpxEncoder. 65/22165/4
Tom Finegan [Tue, 8 May 2012 21:41:06 +0000 (17:41 -0400)]
Store timestamp of last encoded frame in VpxEncoder.

Add last timestamp accessor to Video/VpxEncoder.
Add missing accessors to VideoEncoder to allow access to all
accessors defined by VpxEncoder.

Change-Id: I08ef8874d544bb36f749f40b2a1cf6092f3ca100

2 years agoaudio_sink_filter: read WAVE_FORMAT_EXTENSIBLE fields only when available. 85/21985/1
Tom Finegan [Mon, 7 May 2012 18:07:16 +0000 (14:07 -0400)]
audio_sink_filter: read WAVE_FORMAT_EXTENSIBLE fields only when available.

Change-Id: I7300092bb50ebd6097458fe83bc4cc2719d89904

2 years agoAllow pdb files in third_party, and add the libogg and libvorbis pdb files. 84/21984/1
Tom Finegan [Mon, 7 May 2012 17:34:59 +0000 (13:34 -0400)]
Allow pdb files in third_party, and add the libogg and libvorbis pdb files.

Change-Id: I81b6cd8eaa4f0ee65f028df85e4f5a4c4024db24

2 years agoFix release mode compile error. 83/21983/1
Tom Finegan [Mon, 7 May 2012 18:06:13 +0000 (14:06 -0400)]
Fix release mode compile error.

odbgstream must always be included before hrtext.

Change-Id: I184e8e9ec61c51b8f7e3f5d38135dfa85405d69e

2 years agoFix some MSVC warnings. 82/21982/1
Tom Finegan [Mon, 7 May 2012 18:03:57 +0000 (14:03 -0400)]
Fix some MSVC warnings.

- Enable incremental linking in debug mode.
- Disable minimal rebuild.

Change-Id: I7ec7590a6242065c634ef24f3051b705acba02ce

2 years agoAllow audio or video capture to be disabled. 57/20757/9
Tom Finegan [Fri, 27 Apr 2012 21:54:00 +0000 (17:54 -0400)]
Allow audio or video capture to be disabled.

This is a little premature-- audio isn't implemented yet, but flag storage
is done, and disabling video is technically possible.

Change-Id: I0a2fc67d33389484bbf80c773bdd9368f1f4077b

2 years agoExpand vorbis audio configuration options. 56/20756/7
Tom Finegan [Tue, 24 Apr 2012 18:49:39 +0000 (14:49 -0400)]
Expand vorbis audio configuration options.

Treat existing bitrate setting as average bitrate.
Add min/max bitrate control.
Add vbr, aka bitrate based quality, control.
Add coupling, impulse block bias , and lowpass frequency
control.

Change-Id: I171b163342a5807bba8552e510527b38e5ec48aa

2 years agoDefine AudioSamplesCallbackInterface. 55/20755/5
Tom Finegan [Fri, 20 Apr 2012 20:58:20 +0000 (16:58 -0400)]
Define AudioSamplesCallbackInterface.

Also updates the VideoFrameCallbackInterface::OnFrameReceived
comment to keep the interface documentation symmetrical.

Change-Id: I2e606f147c4f80e95d023e220ec8992483560561

2 years agoAdd AudioBuffer. 54/20754/3
Tom Finegan [Fri, 20 Apr 2012 20:56:39 +0000 (16:56 -0400)]
Add AudioBuffer.

AudioBuffer is a simple storage class for compressed
and uncompressed audio samples.

Change-Id: Ib7a0a829459eba8e783f004ecc43e7ec253a30cd

2 years agoMove AudioConfig out of WebmEncoder. 53/20753/3
Tom Finegan [Fri, 20 Apr 2012 20:54:54 +0000 (16:54 -0400)]
Move AudioConfig out of WebmEncoder.

Move AudioConfig definition to audio_encoder.h, and
remove the WebmEncoderConfig::AudioConfig typedefs.

Change-Id: I687ee31f6f9950bd085446c0f6a43797a59b0d2a

2 years agoAdd audio encoding sources. 52/20752/3
Tom Finegan [Fri, 20 Apr 2012 20:49:25 +0000 (16:49 -0400)]
Add audio encoding sources.

Add audio/vorbis_encoder source files to vcproj.
Files include only copyright blobs.

Change-Id: I569d250a8b09e85d2d004cf124c8e6bf9f270c39

2 years agoRemove dead code from media_source_dshow. 51/20751/3
Tom Finegan [Fri, 20 Apr 2012 21:27:31 +0000 (17:27 -0400)]
Remove dead code from media_source_dshow.

Change-Id: I62d4caf5f48a316e431b91590fa0e4fd6b846876

2 years agoTreat missing sample times as an error in the sink filters. 50/20750/2
Tom Finegan [Fri, 20 Apr 2012 20:24:37 +0000 (16:24 -0400)]
Treat missing sample times as an error in the sink filters.

Change-Id: If86ef173aa9a2cd7121b838e2bf232f1bc405920

2 years agoAdd audio sink filter. 21/19121/24
Tom Finegan [Mon, 9 Apr 2012 22:41:07 +0000 (18:41 -0400)]
Add audio sink filter.

Basic audio sink filter that works the same way as the
video sink filter. IEEE floating point or PCM samples
are received by the input pin, and pushed into the
encoder thread using AudioSamplesCallbackInterface.

Change-Id: I2409d554c49090ba9ea077aa5230d46e447d5a0a

2 years agovideo_sink_filter: make config accessors const 23/19923/1
Tom Finegan [Tue, 10 Apr 2012 21:19:58 +0000 (17:19 -0400)]
video_sink_filter: make config accessors const

And, because it's now requireded, make VideoSinkFilter::filter_lock_
mutable.

Change-Id: I390c6613f3b88958ffa0a397136d60126f38f66b

2 years agovideo_sink_filter: correct virtual method declarations. 93/19893/1
Tom Finegan [Tue, 10 Apr 2012 17:05:42 +0000 (13:05 -0400)]
video_sink_filter: correct virtual method declarations.

Over ridden methods were not marked virtual in the sink filter and
pin classes.
Add missing comments to uses of friend in the filter and pin classes.
Correct names of parent classes within sink pin class comments.

Change-Id: Ia02818d49f6b36cbaa10eb83a4ed31dc0505703c

2 years agoAdd stride accessor to VideoMediaType. 60/19860/1
Tom Finegan [Mon, 9 Apr 2012 22:55:07 +0000 (18:55 -0400)]
Add stride accessor to VideoMediaType.

Change-Id: I103f901e58d8a8fbe5d5251fb917b578f93b532e

2 years agoSilence a warning from baseclasses/streams.h. 59/19859/1
Tom Finegan [Mon, 9 Apr 2012 22:52:36 +0000 (18:52 -0400)]
Silence a warning from baseclasses/streams.h.

Use the streams.h include guard to avoid including the file twice
to avoid useless build log spam in debug mode.

Change-Id: Ibf713f23c4210a93d278ad969a4c9c087d75b652

2 years agoAdd BufferPool template class, and remove VideoFrameQueue. 04/19604/4
Tom Finegan [Wed, 4 Apr 2012 20:40:32 +0000 (16:40 -0400)]
Add BufferPool template class, and remove VideoFrameQueue.

BufferPool<Type> is a template class that does everything
VideoFrameQueue did, but BufferPool<Type> also supports
growth. The growth feature is not in use, but will be
employed by the audio capture/encode pipeline.

Change-Id: Icb24a32012deccf58a11cae98cb53037487212ed

2 years agoAdd client name and version constants. 84/19684/1
Tom Finegan [Thu, 5 Apr 2012 19:43:22 +0000 (15:43 -0400)]
Add client name and version constants.

Change-Id: Ic5aeafb91ebb9d04ca89679512d3088c612f84e1

2 years agovideo_encoder: cosmetics 34/19634/1
Tom Finegan [Thu, 5 Apr 2012 02:31:28 +0000 (22:31 -0400)]
video_encoder: cosmetics

Make pure VideoFrameCallbackInterface destructor inline.
Correct return type of VideoFrameCallbackInterface::OnFrameReceived.

Change-Id: I9a0c45166159fab2e89bfb328cd8f9b16e0291a7

2 years agoremove trailing whitespace in video_sink_filter.cc 33/19633/1
Tom Finegan [Thu, 5 Apr 2012 02:26:49 +0000 (22:26 -0400)]
remove trailing whitespace in video_sink_filter.cc

Change-Id: I5ebc4fcb98db28502aeafd871aac97612c84e776

2 years agoFix VpxEncoder and VideoEncoder method return types. 25/19325/2
Tom Finegan [Thu, 29 Mar 2012 21:54:51 +0000 (17:54 -0400)]
Fix VpxEncoder and VideoEncoder method return types.

Remove size specification from integer return types.

Change-Id: I936008e60da594762625b70f6d1a7f3a4850accc

2 years agoMove VideoConfig to video_encoder.h. 08/19208/4
Tom Finegan [Wed, 28 Mar 2012 04:16:02 +0000 (00:16 -0400)]
Move VideoConfig to video_encoder.h.

Add stride member to VideoConfig.
Remove VideoFormat and stride members from VideoFrame and
VideoSinkPin, and store everything in VideoConfig instead.
Remove obsoleted VideoConfig typedefs.
Remove width_/height_/stride_/format_ members from VideoFrame.
Remove width/height/stride/format arguments from video_encoder class
methods, and pass const VideoConfig& instead.

Change-Id: Iaf780cb9ffa74b1b91855375877388930cb711f8

2 years agoFix settings nits. 10/18710/3
Tom Finegan [Wed, 21 Mar 2012 21:39:45 +0000 (17:39 -0400)]
Fix settings nits.

- Add constructors to all settings structs, and remove
  WebmEncoder::DefaultConfig().
- Remove UI control settings from A/V config structs, and put
  them in WebmEncoderConfig::UserInterfaceOptions.
- Remove the kDefault* constants from webm_encoder, and define
  kUseDefault in VpxConfig. This is the only place where a
  special value is really needed to denote a default.
- Rename AudioCaptureConfig to AudioConfig.
- Rename VideoCaptureConfig to VideoConfig.
- Change AudioConfig types to match those used in
  WAVEFORMATEX and WAVEFORMATEXTENSIBLE structs.

Change-Id: I13309f3092e3c63aa77da64e0c46092ffc5322bf

2 years agoAdd dshow_util. 09/18709/3
Tom Finegan [Wed, 21 Mar 2012 21:21:06 +0000 (17:21 -0400)]
Add dshow_util.

Move some messy DirectShow stuff into a single source file.

Change-Id: I684a6850b797e12d062d87b2b712bd4457bcd275

2 years agovideo_sink_filter: remove undefined method. 08/18708/1
Tom Finegan [Wed, 21 Mar 2012 21:14:53 +0000 (17:14 -0400)]
video_sink_filter: remove undefined method.

Change-Id: Idd08dd943e7dceb51389f05c367c67f6d092be90

2 years agomedia_type_dshow: support IEEE_FLOAT/WAVEFORMATEXTENSIBLE. 38/18538/6
Tom Finegan [Tue, 20 Mar 2012 15:57:48 +0000 (11:57 -0400)]
media_type_dshow: support IEEE_FLOAT/WAVEFORMATEXTENSIBLE.

Extend AudioMediaType to support WAVE_FORMAT_IEEE_FLOAT and
AM_MEDIA_TYPE format blobs containing WAVEFORMATEXTENSIBLE
struct.

Correct types returned by accessors that reach into the
WAVEFORMATEX stored within the format blob, and add
accessors for missing fields.

Change-Id: I099b41ce5f9ccc072e2a600632e9713dd5568cf9

2 years agoRename http_client to client_encoder. 86/17886/1
Tom Finegan [Mon, 12 Mar 2012 20:16:07 +0000 (16:16 -0400)]
Rename http_client to client_encoder.

Rename the client encoder source code directory, and make it a little
bit easier for third parties to figure out what's going on in this
project from looking at a fresh clone.

Includes cosmetic fixes and a couple unrelated tweaks in addition to
the above.
- Fix include file names and paths where required.
- Fix EoLs where applicable (CRLF -> LF).
- Fix lint errors (mostly suppresions on std::nothrow).

Change-Id: Ide1b2b4bc3b5a8faf6e1296e4acd6a598920725d

3 years agowebm_mux: Replace WebmMuxWriter::ResetChunk with EraseChunk. 64/15064/4
Tom Finegan [Tue, 31 Jan 2012 00:47:49 +0000 (19:47 -0500)]
webm_mux: Replace WebmMuxWriter::ResetChunk with EraseChunk.

Move the chunk erasure, length reset, and buffered length update to
a single location, and fix a crash ultimately caused by buffered total
not being updated when chunks were erased.

Change-Id: I1436064b9dac5a7611af3b3052ca7bdfac20f746

3 years agovideo_sink_filter: Avoid using default dimension values. 63/15063/4
Tom Finegan [Tue, 31 Jan 2012 00:40:14 +0000 (19:40 -0500)]
video_sink_filter: Avoid using default dimension values.

The default values for width and height are both -200. Make sure
those values never escape to the graph manager from a call to
VideoSinkPin::GetMediaType.

Change-Id: Ib64ffd9a8118d4c7a9ea0447a65374b620203697

3 years agomedia_source_dshow: Use accepted media type with ConnectDirect. 32/15032/5
Tom Finegan [Tue, 31 Jan 2012 15:55:19 +0000 (10:55 -0500)]
media_source_dshow: Use accepted media type with ConnectDirect.

- Add partial media type configuration when user has not specified
  capture settings. This ensures that the video source is at least
  set to a YUV format before fallback to RGB, and that there is
  always a media type available for the call to
  IGraphBuilder::ConnectDirect.
- Instead of passing a NULL AM_MEDIA_TYPE pointer to
  IGraphBuilder::ConnectDirect, pass it a pointer to the
  AM_MEDIA_TYPE accepted by the video source pin.

Change-Id: I043547cd57e3eb1d9349a1939eef562a1790147f

3 years agomedia_type_dshow: Use VideoFormat/remove VideoSubType. 31/15031/4
Tom Finegan [Mon, 30 Jan 2012 19:44:03 +0000 (14:44 -0500)]
media_type_dshow: Use VideoFormat/remove VideoSubType.

- Remove the VideoSubType enumeration and use the VideoFormat
  enumeration.
- Extend VideoMediaType to support all types in VideoFormat.

Change-Id: Ieda117145c43f7711a8adf813c9023d6a3d553b7

3 years agomedia_type_dshow: Cosmetics. 30/15030/4
Tom Finegan [Mon, 30 Jan 2012 19:41:12 +0000 (14:41 -0500)]
media_type_dshow: Cosmetics.

Change-Id: Ifb8dcea84b00da1c68a1e31ae2a708986707476a