Commit Graph

1606 Commits

Author SHA1 Message Date
henrike@webrtc.org
f5da4da409 Removes a global non POD instance from the RTP_RTCP module that was introduced in https://code.google.com/p/webrtc/source/detail?r=1076.
Review URL: https://webrtc-codereview.appspot.com/314001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1698 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-15 23:54:59 +00:00
leozwang@webrtc.org
0a272eb44b Disable SetAffinity on android
CPU_ macros are only available in android source tree, not in NDK. Disable it for now. 
Review URL: https://webrtc-codereview.appspot.com/392008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1697 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-15 22:35:29 +00:00
henrike@webrtc.org
05e0601160 Fixes coverity warnings in the udp_transport module.
BUG=Coverity warnings.
TEST=N/A.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1696 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-15 19:43:51 +00:00
henrike@webrtc.org
6b9253eb4f Fixe issues reported by Coverity for modules/utility.
BUG=From Coverity
TEST=N/A

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1695 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-15 18:48:16 +00:00
phoglund@webrtc.org
735478a397 Fixed bad parameter to android.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1694 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-15 15:22:51 +00:00
phoglund@webrtc.org
f148b9e312 - Moved methods where they should be.
- Removed unnecessary arguments.
- Added comments.

BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1693 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-15 14:39:51 +00:00
kjellander@webrtc.org
cd46385142 Fixing Android.mk for jpeg library
TBR=leozwang
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1692 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-15 10:12:52 +00:00
kjellander@webrtc.org
0a57aae75b Converted old jpeg_test tool to gtest unit test.
Restructured paths to new directory layout.

Stefan: common_video/*
Magnus: video_engine/*
Niklas: Android.mk

BUG=
TEST=jpeg_unittests on Debug+Release on Linux, Mac, Windows. Valgrind on Linux passes without warnings.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1691 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-15 09:47:55 +00:00
kjellander@webrtc.org
38a0d28d35 Enabling jpeg_unittests in buildbots.
The test has been executed successfully on all platforms.

BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1690 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-15 09:45:51 +00:00
andrew@webrtc.org
8bd6f19abe Disable flaky CpuTest.Usage on Windows.
TBR=turaj@webrtc.org
BUG=290
TEST=system_wrapper_unittests

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1689 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-15 01:47:51 +00:00
henrike@webrtc.org
b38a66aaac Fixes a coverity warning in the mixer module.
Review URL: https://webrtc-codereview.appspot.com/388009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1688 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-15 00:04:27 +00:00
henrike@webrtc.org
132261446b Added a hack, python script for removing the logging of a trace depending on a keyword. Current implementation requires the keyword to be typed in the file; just change the 'trace_remove_key_word' from kTraceModuleCall to whatever. Hack should be fine since it works and it's a tool that has only limited utility.
Adding to repository to make it easy to access and for reference if someone wants to make a similar hack or write a better one.
Review URL: https://webrtc-codereview.appspot.com/395002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1687 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-14 23:54:07 +00:00
marpan@webrtc.org
79a99de8e4 Reverting 1680: valgrind memory leak reported.
TBR=marpan
Review URL: https://webrtc-codereview.appspot.com/392011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1686 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-14 22:37:10 +00:00
marpan@webrtc.org
738bcdc4ee Fix to coverity issue 10339.
Review URL: https://webrtc-codereview.appspot.com/391010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1685 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-14 20:54:57 +00:00
andrew@webrtc.org
737c023e42 Properly disable sse2 source on non-x86.
BUG=
TEST=build on Linux.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1684 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-14 19:57:50 +00:00
braveyao@webrtc.org
59d6cec291 Fix the crash at playing 48kHz stereo wav file.
http://code.google.com/p/webrtc/issues/detail?id=208
Review URL: https://webrtc-codereview.appspot.com/396001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1681 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-14 18:17:16 +00:00
marpan@webrtc.org
4e34dcbd62 Allow for spatial-downsampling without reinitializaing encoder. Change of frame size will automatically trigger new key frame in codec. This feature is set off in vie_encoder until we upgrade to the new libvpx.
Also reset frame rate estimate in mediaOpt when frame rate reduction is decided.
Review URL: https://webrtc-codereview.appspot.com/390006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1680 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-14 17:26:24 +00:00
kjellander@webrtc.org
124e56306b Adding video_render_module_test to LinuxVideo slave.
Tested successfully on local machine and local slave, by impersonating the LinuxVideo slave.

BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1679 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-14 14:00:12 +00:00
mflodman@webrtc.org
d7d46887a6 Update receive only channels with RTT.
vie_autotest_loopback.cc will not be part of the commit, it's only to show the test.

TEST=temporary with attached loopback test.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1678 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-14 12:49:59 +00:00
phoglund@webrtc.org
e8b1a0f188 Fixed incorrect default argument.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1677 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-14 08:51:11 +00:00
phoglund@webrtc.org
6adfad1768 Optimized coverage computations and fixed coverage on the integration bot.
The coverage report will no longer get written to NFS but rather to the bot's own web server. This speeds up the  computation from 25 minutes to 8 seconds.

BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1676 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-13 12:16:50 +00:00
pwestin@webrtc.org
c76c096c19 Bugfix issue 273, workaround for compiler issue.
Review URL: https://webrtc-codereview.appspot.com/392005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1675 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-13 09:56:57 +00:00
pwestin@webrtc.org
52fd98d876 Removing encoder reset. Function did not make sence.
Review URL: https://webrtc-codereview.appspot.com/391005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1674 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-13 09:03:53 +00:00
marpan@webrtc.org
567d507707 Fixes a bug when number of media packets in a frame is larger than maximum allowed for the generateFEC.
Review URL: https://webrtc-codereview.appspot.com/391003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1673 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-10 18:56:14 +00:00
phoglund@webrtc.org
292da24166 New attempt.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1672 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-10 15:21:33 +00:00
phoglund@webrtc.org
dbe1e13b53 Fixed compilation error on Windows.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1670 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-10 14:03:44 +00:00
mflodman@webrtc.org
8224e19dd9 Fixed incorrect packet loss reported to encoder.
BUG=275

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1669 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-10 12:41:57 +00:00
phoglund@webrtc.org
6b3bb89f12 Rewrote file test.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1668 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-10 12:14:54 +00:00
pwestin@webrtc.org
5e954814a8 Clanup handling of key frame requests and FIR.
Review URL: https://webrtc-codereview.appspot.com/387004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1667 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-10 12:13:12 +00:00
kjellander@webrtc.org
486a3baabd Enabling video_codecs_test_framework_integrationtests.
Since Issue 262 is now fixed.

BUG=
TEST=None.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1662 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-10 11:00:28 +00:00
kjellander@webrtc.org
a1e9e3f0d8 Enabling rtp_rtcp_unittests since issue 268 is now fixed and commited.
BUG=
TEST=None.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1660 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-10 10:59:18 +00:00
wu@webrtc.org
caef50310a Removing PeerConnection sample client and libjingle from webrtc.
The new PeerConnection and sample client can be found in libjingle.
http://code.google.com/p/libjingle/

BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1658 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-09 19:23:17 +00:00
andrew@webrtc.org
75f1948b0e Restore AECM Coverity fix.
Add a test which would have caught the crash introduced by r1628.

BUG=274
TEST=audioproc_unittest

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1657 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-09 17:16:18 +00:00
phoglund@webrtc.org
aaa76f3ba8 Rewrote network test.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1656 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-09 16:41:30 +00:00
kjellander@webrtc.org
bf0333801c Enable lcov on LinuxVideo and disable on others except Linux32DBG.
BUG=
TEST=Tested on local master.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1655 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-09 14:56:24 +00:00
stefan@webrtc.org
4b377414f1 Fix release build errors.
TBR=mflodman
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1654 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-09 13:50:57 +00:00
xians@webrtc.org
3dbed8597e This CL makes the playout delay value thread safe.
With the patch, _sndCardPlayDelay is calculated in the DoRenderThread instead of capture thread, an capture thread only gets the _sndCardPlayDelay value.
And _sndCardPlayDelay and _sndCardRecDelay are only changed to be Atomic32 to make them to be accessed by multiple threads.


Test=None
Bug=256
Review URL: https://webrtc-codereview.appspot.com/394001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1653 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-09 13:50:48 +00:00
stefan@webrtc.org
9c84b0dc9f Fix build errors with GCC.
TBR=mflodman
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1652 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-09 13:14:04 +00:00
stefan@webrtc.org
7adab0922d This removes the knowledge of frame completeness from the FEC decoder.
Therefore, with this change a recovered packet is only considered old,
and will be removed, if more than 48 recovered packets are stored.

Packets are immediately reconstructed and sent to the jitter
buffer. Before this CL packets were processed on a frame-by-frame
basis, and all packets belonging to a frame was sent to the
jitter buffer at the same time.

The number of FEC packets is also limited to 48. An FEC packet is
removed if all protected packets have been recovered or if the
FEC packet is considered old.

Lot's of tests added.

Patch-set 2:
- Fixed rtp_fec_unittest.cc to work with the new reconstruction.
- Added reference counting of Packet to be able to keep references to them from FecPacket between different reconstruction runs.
- Rewrote the packet search to use std::set_intersection.

BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1651 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-09 12:34:52 +00:00
phoglund@webrtc.org
cde1c0b519 Fixed bad gtest filter.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1650 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-09 11:13:12 +00:00
kjellander@webrtc.org
cf6a295b13 Making video codecs test framework integration test execute in a reproducable fashion.
Fixed reproducable random behavior in packet_manipulator.h.
Test is now fully reproducable (runs on only one core) so much tighter limits are now set for the SSIM/PSNR values for the encoding/decoding (verified on all platforms)

BUG=
TEST=out/Debug/video_codecs_test_framework_integrationtests in Debug+Release on Linux, Mac, Windows and in Linux Valgrind.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1649 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-09 09:01:51 +00:00
henrike@webrtc.org
d5657c2f69 Refactored files according to google style since http://review.webrtc.org/314001/ is blocked on this and formatting changes should not be done with code changes.
Review URL: https://webrtc-codereview.appspot.com/387005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1648 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-08 23:41:49 +00:00
andrew@webrtc.org
68da6adafe Remove WebRtc_ types.
Allows us to avoid the "cast to UWord32" Coverity coverup.

BUG=
TEST=test_fec

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1647 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-08 22:24:14 +00:00
wu@webrtc.org
454a27c13d The pthread_t is non-pointer type.
TBR=henrike
Review URL: https://webrtc-codereview.appspot.com/392004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1646 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-08 20:36:23 +00:00
henrike@webrtc.org
143abd95a3 Fixes coverity warnings in system_wrappers.
Review URL: https://webrtc-codereview.appspot.com/389003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1645 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-08 19:39:38 +00:00
henrike@webrtc.org
0e7c060256 Linux logs were not displaying time at ms resolution.
Review URL: https://webrtc-codereview.appspot.com/267012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1644 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-08 18:53:50 +00:00
wu@webrtc.org
a8084b07e3 Revert r1628 which causes the crash of voe_auto_test.
With r1628, it's possible the second memcpy got a NULL nearendClean.

TBR=bjornv
Review URL: https://webrtc-codereview.appspot.com/390005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1643 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-08 17:56:39 +00:00
phoglund@webrtc.org
0da6c85cfa Introduced the new Mac Release bot.
NOTE: Possibly rename slave folder on master to mac-slave-3 from mac-slave-1 to keep history. Not sure if it is a good idea.

BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1642 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-08 14:36:22 +00:00
tina.legrand@webrtc.org
13ac430bef Adding missing timestamp calculation to RTPencode.
Review URL: https://webrtc-codereview.appspot.com/392002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1641 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-08 13:20:36 +00:00
kjellander@webrtc.org
eaaccb7626 Enabling fixed tests and correcting error.
- video_coding_unittests on Windows
- signal_processing_unittests on Window
- audioproc_unittest for Valgrind Linux
- corrected error in LinuxVideo configuration

BUG=
TEST=Tested on local master.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1640 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-08 13:18:00 +00:00