306 Commits

Author SHA1 Message Date
thakis@chromium.org
65bc254309 Fix integer division truncation bug.
Review URL: https://webrtc-codereview.appspot.com/721005/

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2606 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-13 19:26:12 +00:00
henrike@webrtc.org
7742479428 Fixes build bot breakage. Resizing was enabled which some tests assumed wouldn't be the case. Changed the default so that it is now disabled.
Review URL: https://webrtc-codereview.appspot.com/731006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2595 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-10 19:31:24 +00:00
marpan@webrtc.org
b18261ce5f Set error concealment off for a test in videoprocessor_integrationtest.
Review URL: https://webrtc-codereview.appspot.com/714008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2594 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-10 17:42:16 +00:00
henrike@webrtc.org
3c286747ce Makes it possible to disable automatic resizing.
Review URL: https://webrtc-codereview.appspot.com/710010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2589 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-10 02:44:30 +00:00
stefan@webrtc.org
d7b17e436a Enable denoising by default.
BUG=

Review URL: https://webrtc-codereview.appspot.com/716005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2573 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-08 10:02:51 +00:00
andrew@webrtc.org
d7a71d0719 Prepare to roll Chromium to 149181.
- This roll brings in VS2010 by default. The buildbots
  need updating (issue710).
- We'll roll to 149181 later (past current Canary) to fix
  a Mac gyp issue:
  https://chromiumcodereview.appspot.com/10824105
- Chromium is now using a later libvpx than us. We should
  investigate rolling our standalone build.
- Fix set-but-unused-warning
- Fix -Wunused-private-field warnings on Mac.

TBR=kjellander@webrtc.org
BUG=issue709,issue710
TEST=trybots

Review URL: https://webrtc-codereview.appspot.com/709007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2544 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-01 01:40:02 +00:00
mikhal@webrtc.org
bf853918eb Fix issue introduced in r2540
Setting render time of decoded frame

BUG=

Review URL: https://webrtc-codereview.appspot.com/719004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2543 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-31 22:15:11 +00:00
mikhal@webrtc.org
4147562088 Fixing error introduced in r2540.
The error was in the test framework - did not copy the frame appropriately.
TESTED = test_framework unittest

Memory free

BUG=

Review URL: https://webrtc-codereview.appspot.com/713005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2541 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-31 18:10:14 +00:00
mikhal@webrtc.org
a2031d58f6 Replacing RawImage with VideoFrame in video_coding and related engine code.
This is the first step of replacing RawImage with VideoFrame in all WebRtc modules.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/672010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2540 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-31 15:53:44 +00:00
andrew@webrtc.org
d1f3b1a113 Reorganize the vp8 directory.
The usual changes:
vp8/main/source -> vp8/
vp8/main/test -> vp8/test
vp8/main/interface -> vp8/include

All include paths etc. updated as needed.

BUG=none
TEST=trybots

Review URL: https://webrtc-codereview.appspot.com/704004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2536 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-27 22:19:16 +00:00
andrew@webrtc.org
c1354bd768 Make handling of libyuv more flexible.
- Use gyp variable for libyuv path.
- Rename internal libyuv.h to webrtc_libyuv.h to avoid conflicts.
- Update affected includes.

BUG=none
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/711004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2534 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-27 18:21:16 +00:00
andrew@webrtc.org
f5a91fdfab Make some build settings more flexible.
BUG=issue676
TEST=trybots

Review URL: https://webrtc-codereview.appspot.com/700006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2524 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-23 16:28:02 +00:00
tommi@webrtc.org
a9da4c55ef Landing for thakis. Original review here:
https://webrtc-codereview.appspot.com/667013/
Review URL: https://webrtc-codereview.appspot.com/701004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2522 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-20 11:17:23 +00:00
andrew@webrtc.org
d41f59a23f Fix Mac-gcc warnings.
Resolves:
- warning: allocating zero-element array
- warning: suggest a space before ‘;’ or explicit braces around empty
  body in ‘for’ statement

BUG=none
TEST=build on Mac-gcc, trybots

Review URL: https://webrtc-codereview.appspot.com/675006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2519 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-16 17:05:47 +00:00
marpan@webrtc.org
71707aaae8 Add the FEC mask type to FecProtectionParams and set the mask type in the VCM.
Review URL: https://webrtc-codereview.appspot.com/682004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2514 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-13 16:27:51 +00:00
mikhal@webrtc.org
6182db10c8 vp8: Updating wrapper to use CalcBufferSize (includes odd size support).
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/685004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2510 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-11 18:43:36 +00:00
mikhal@webrtc.org
538f0ab96f I420: Updating computation of buffer size to use calcBufferSize (odd size support).
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/687004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2509 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-11 18:20:39 +00:00
mikhal@webrtc.org
b95e9ca865 video_coding: Refatoring I420 wrapper. No functional updates.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/673009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2504 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-10 20:58:08 +00:00
stefan@webrtc.org
ddfdfed3b5 Pass capture time (wallclock) to the RTP sender to compute transmission offset
- Change how the transmission offset is calculated, to
  incorporate the time since the frame was captured.
- Break out RtpRtcpClock and move it to system_wrappers.
- Use RtpRtcpClock to set the capture time in ms in the capture module.
  We must use the same clock as in the RTP module to be able to measure
  the time from capture until transmission.
- Enables the RTP header extension for packet transmission time offsets.

BUG=
TEST=trybots

Review URL: https://webrtc-codereview.appspot.com/666006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2489 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-03 13:21:22 +00:00
marpan@webrtc.org
c5b392e9d6 Updates t resolution adaptation (cama):
-set image type when QM is reset.
  -fix for undoing two stages of spatial downsampling.
  -some adjustments and code clean-up.
  -updates to control parameters and unittest.
Review URL: https://webrtc-codereview.appspot.com/641010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2473 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-29 21:44:55 +00:00
henrike@webrtc.org
a5fcf7ab41 Fixes broken Chromium build.
BUG=brakes chrome build
TEST=Manually on Linux

Review URL: https://webrtc-codereview.appspot.com/679006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2462 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-28 12:49:35 +00:00
andrew@webrtc.org
81cf5e4752 Move test to src/test.
- Refer to top-level directories by <(DEPTH), e.g. <(DEPTH)/testing.
- Remove now unneeded third_party_root.

TBR=henrike@webrtc.org
BUG=none
TEST=trybots

Review URL: https://webrtc-codereview.appspot.com/669007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2446 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-27 01:41:54 +00:00
leozwang@webrtc.org
253912c188 Disable a few features to save CPU cycles on android
BUG=
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/677004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2445 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-26 17:08:41 +00:00
henrike@webrtc.org
643be71700 Adds variable for third party directory.
BUG=348
TEST=Manual testing in Chrome and WebRTC workspace.

Review URL: https://webrtc-codereview.appspot.com/674005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2439 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-25 10:48:58 +00:00
wu@webrtc.org
2259f855ea Remove unused member variables found by clang's -Wunused-private-field.
No intended behavior change.

On behavior of thakis@chromium.org.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/641011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2425 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-19 14:56:50 +00:00
wu@webrtc.org
67f256fab4 Use 32 as the alignment if possible in VP8 wrapper.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/663004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2420 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-18 21:15:32 +00:00
marpan@webrtc.org
352d09ab28 Updates to videoprocessor_integration test:
-added metric for expected key frame size mismatch
   -fix to start bitrate
   -updates to some expected values in tests
Review URL: https://webrtc-codereview.appspot.com/641007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2404 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-14 18:35:00 +00:00
wu@webrtc.org
cac603f390 Fix for the alignment problems/mismatch in ViECapture and VP8Encoder.
BUG=576
TEST=unittest

Review URL: https://webrtc-codereview.appspot.com/637010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2371 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-05 23:52:59 +00:00
marpan@webrtc.org
f4c2de9e2f Added some tests to videoprocessor_integrationtest, for testing:
-encooder response to changing bit rate and frame rate
   -frame dropper and spatial resize
   -temporal layers
Review URL: https://webrtc-codereview.appspot.com/613006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2370 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-05 21:07:28 +00:00
stefan@webrtc.org
f5d934dfd8 Upgrade libvpx to cab6ac16 (v. 1.1.1 pre-point-release).
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/619004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2337 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-01 07:43:02 +00:00
stefan@webrtc.org
dc257b5781 Add option to configure error concealment and disable by default.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/597005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2324 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-30 11:25:00 +00:00
leozwang@webrtc.org
b5ea03adbb Add print out stats summary to integrationtest.cc
Stats summary prints out cpu usage.

BUG=
TEST=test on linux
Review URL: https://webrtc-codereview.appspot.com/602004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2320 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-30 00:34:50 +00:00
leozwang@webrtc.org
2fc6e388c0 Check return value of fwrite. [Video Module]
Description:
On ChromeOS/ARM, compiler enforces to check return result of a function.
Currently, we don't check return result of fwrite, it causes building errors.

The following files need to patch. The patch should be similar, before I patch all
of them, I will start with 3 files, once we agree upon the solution, we will expand
it to all of them.

The question is should we do 
1. if (error) { return -1;} 
or 
2. if (error) { /*ignor the error*/ }

I took "return -1" in this patch, but I'm OK with either. Please let me know your
thoughts and I will upload a new patch.
Review URL: https://webrtc-codereview.appspot.com/583010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2315 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-29 17:33:13 +00:00
stefan@webrtc.org
5abab0b1b5 Revert 2311 - Disable error concealment.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/609004

TBR=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/604006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2312 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-29 09:04:40 +00:00
stefan@webrtc.org
3348b2990b Disable error concealment.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/609004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2311 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-29 08:44:00 +00:00
stefan@webrtc.org
42e78ac087 Disable normal_async_test and rename tests to vp8_integrationtests.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/598004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2294 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-24 14:36:34 +00:00
mflodman@webrtc.org
6af9594d71 Added gyp variable to include/exclude all tests.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/597004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2292 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-24 13:23:35 +00:00
stefan@webrtc.org
78d8d99180 Fixes the vp8_test on Linux.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/579015

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2277 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-23 14:18:56 +00:00
stefan@webrtc.org
1bca6d2437 Fixes coverity warnings.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/566014

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2262 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-21 07:42:12 +00:00
kma@webrtc.org
f1ccdb9fb5 Aligned video buffer to 32 bytes boundary, when using vpx_img_alloc() in vp8.
Review URL: https://webrtc-codereview.appspot.com/570009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2242 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-15 18:16:46 +00:00
marpan@webrtc.org
cf2cd7e4c4 Enable VP8 deblocker.
Review URL: https://webrtc-codereview.appspot.com/569011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2237 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-14 16:50:36 +00:00
kma@webrtc.org
4e7840d943 Revert 2233 - Aligned video buffer to 32 bytes boundary, when using vpx_img_alloc() in vp8.
M    vp8.cc



TBR=kma@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/579013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2234 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-11 18:16:35 +00:00
kma@webrtc.org
6d47c08e14 Aligned video buffer to 32 bytes boundary, when using vpx_img_alloc() in vp8.
M    vp8.cc



git-svn-id: http://webrtc.googlecode.com/svn/trunk@2233 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-11 17:29:59 +00:00
pwestin@webrtc.org
2853dde520 Refactor the internal API to the rtp/rtcp module.
Combination of previous CLs in revisions 2211, 2212, 2214, 2215, 2216.
Review URL: https://webrtc-codereview.appspot.com/570008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2231 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-11 11:08:54 +00:00
turaj@webrtc.org
3c383abd27 Revert 2211 - Refactor the internal API to the rtp/rtcp module.
Review URL: https://webrtc-codereview.appspot.com/568004

A series of CL:s by Patrik W. is breaking the auto-test. It started with CL 2211, but the later CL:s seems dependent on another. So I decided to go in reverse order and revert all of them.

TBR=pwestin@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/563011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2226 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-10 23:01:04 +00:00
leozwang@webrtc.org
f29d3fa177 Fix vp8 complexity parameter on android
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/575007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2217 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-10 18:12:01 +00:00
pwestin@webrtc.org
0774838f3d Refactor the internal API to the rtp/rtcp module.
Review URL: https://webrtc-codereview.appspot.com/568004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2211 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-10 12:33:50 +00:00
pwestin@webrtc.org
7415f371ac Revert VP8 Deblocker.
Review URL: https://webrtc-codereview.appspot.com/563007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2191 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-08 09:06:31 +00:00
pwestin@webrtc.org
5019c9583c Enable VP8 deblocker.
Review URL: https://webrtc-codereview.appspot.com/578004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2190 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-08 08:40:28 +00:00
pwestin@webrtc.org
ddab60be56 Wire up pading.
Review URL: https://webrtc-codereview.appspot.com/509002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2094 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-04-23 14:52:15 +00:00