Commit Graph

77 Commits

Author SHA1 Message Date
mikhal@google.com
b5427cbd35 Changing JPEG API to to accept rawImage and encodedImage; moved video_image.h from modules/video_coding/codecs to common_video/interface, and some general re-write to JPEG, especially with regard to memory handling. Required VCM/ViE changes are also included.
Review URL: http://webrtc-codereview.appspot.com/55002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@139 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-01 01:17:49 +00:00
marpan@google.com
67d7282900 Allow the FEC to protect up to maximum #packets (48) if the
media packet list is above this max.
Review URL: http://webrtc-codereview.appspot.com/45005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@138 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-30 20:14:15 +00:00
cduvivier@google.com
9d94116697 Optimization of 'rftbsub':
* scalar optimization, vectorization.
* 0.5% AEC overall speedup for the straight C path.
* 2.8% AEC overall speedup for the SSE2 path.
Review URL: http://webrtc-codereview.appspot.com/48008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@137 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-30 19:19:37 +00:00
leozwang@google.com
8ec2231979 Add aec_rdft.c to android build
Review URL: http://webrtc-codereview.appspot.com/58001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@136 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-30 18:34:09 +00:00
cduvivier@google.com
20cb6b684b Optimization of 'rftfsub':
* scalar optimization, vectorization (including new file for SSE2 code
  and path selection mechanism).
* 0.5% AEC overall speedup for the straight C path.
* 3.0% AEC overall speedup for the SSE2 path.
Review URL: http://webrtc-codereview.appspot.com/46005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@134 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-30 01:22:19 +00:00
leozwang@google.com
190d0873b0 Remove included header files on that unit_test is not dependent, correct error in last CL
Review URL: http://webrtc-codereview.appspot.com/57001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@133 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-29 22:45:59 +00:00
leozwang@google.com
6fb5d19289 Add Android.mk for apm unit test and make it compile on android
Review URL: http://webrtc-codereview.appspot.com/54001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@132 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-29 22:01:00 +00:00
mikhal@google.com
21a4405d01 VPLIB/Interpolation - Delete decode buffer only if too small, this required an API change. In addition, done some clean up and updated test and related code in VCM.
Review URL: http://webrtc-codereview.appspot.com/46003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@131 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-29 17:00:03 +00:00
marpan@google.com
1eccf7dfb3 Some code cleanup for rtp_sender_video.cc.
Review URL: http://webrtc-codereview.appspot.com/44003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@130 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-28 23:10:33 +00:00
marpan@google.com
e02b57e397 Updates to qm_select: Function to update content state, and function for FEC rate adjustment.
Added packetLoss parameter to qm_select, and some code clean-up.
Review URL: http://webrtc-codereview.appspot.com/44009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@128 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-28 00:02:51 +00:00
leozwang@google.com
6cc3f000fc Include forward_error_correction_internal.cc which was added in #93 to android build
Review URL: http://webrtc-codereview.appspot.com/53001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@127 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-27 16:27:18 +00:00
cduvivier@google.com
181f543de4 AEC specific version of " Real Discrete Fourier Transform".
Lots of AEC CPU usage is coming from calls to 'rdft'. To optimize this,
deep changes (modification of memory layout, ...) have to be done and it
is not practical to do them in an utility library. Most of these changes
will occur in subsequent CLs.

The new file 'aec_core_rdft.c' is a copy of 'modules/audio_processing/
utility/fft4g.c' whose size has been significantly reduced by removing
all code non-necessary to compute rdft. The main entry point and utility
functions have also been modified to take into account the fact that all
'rdft' calls performed by AEC have a length of 128. This yields:
* 1.8% AEC overall speedup for the straight C path.
* 2.3% AEC overall speedup for the SSE2 path.
Review URL: http://webrtc-codereview.appspot.com/44008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@126 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-24 18:22:47 +00:00
marpan@google.com
3ad9c18843 Update on content metrics:
Added metrics averaged over intervals of the loss/bandwidth reports, to be used for adjustment of robustness settings. Separated this set
from the (global) metrics used for resolution adaptation.
Some code cleanup in content_metrics.cc/.h.
Review URL: http://webrtc-codereview.appspot.com/52002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@125 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-24 18:08:33 +00:00
marpan@google.com
0d7e5bc712 Fix bug on key frame boost allocation, and some update/cleanup to same function.
Review URL: http://webrtc-codereview.appspot.com/50001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@123 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-23 16:36:33 +00:00
hellner@google.com
3c45dfd178 Fixes valgrind warnings in the rtp_rtcp module.
Review URL: http://webrtc-codereview.appspot.com/47005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@122 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-23 16:24:03 +00:00
ajm@google.com
95fa29ec96 Creating a new directory for test data files, and moving audio_processing files there.
Review URL: http://webrtc-codereview.appspot.com/48004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@121 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-23 11:45:12 +00:00
henrika@google.com
4bf9c0b123 Adds sanity checks related to IAudioCaptureClient::GetBuffer.
Review URL: http://webrtc-codereview.appspot.com/45006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@120 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-23 09:44:59 +00:00
ronghuawu@google.com
36d93504b8 Remove the full header file path to:
1) align with all the other webrtc header files.
2) and for the case(libjingle) when we want to deliver webrtc as lib and headers - all the headers will be in one folder.
Review URL: http://webrtc-codereview.appspot.com/44007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@118 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-22 21:17:43 +00:00
mikhal@google.com
2b83acef3e VCM/JB: Setting only non-empty frames for decoding (when not waiting for NACK).
Review URL: http://webrtc-codereview.appspot.com/49001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@117 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-22 17:25:06 +00:00
tlegrand@google.com
5b95bcd22c Critical section in constructor, audio coding module
Two changes in this CL:
-Removal of a critical section lock in the constructor of audio coding module
-Removal of one unused variable
Review URL: http://webrtc-codereview.appspot.com/43001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@116 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-22 09:21:51 +00:00
holmer@google.com
868b857395 Remove a test case that only causes problems due to badly
synchronized test. The test is as useful without this test case.
Review URL: http://webrtc-codereview.appspot.com/47003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@115 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-22 08:37:54 +00:00
hlundin@google.com
2f887323a0 Bugfix in VP8 wrapper Decode method
Failed to preserve the size parameter in the keyframe storage.
Review URL: http://webrtc-codereview.appspot.com/48003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@113 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-21 14:33:28 +00:00
ajm@google.com
909118894b Adding all necessary MapSetting and MapError functions. This doesn't alter the existing functionality but just "formalizes" the mapping layer for the underlying components.
Review URL: http://webrtc-codereview.appspot.com/44002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@111 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-21 12:58:27 +00:00
hellner@google.com
305651ca78 Fixed valgrind warning in the udp_module.
Review URL: http://webrtc-codereview.appspot.com/45004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@109 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 23:06:04 +00:00
ronghuawu@google.com
ba28d7fd4e Include assert.h for the compile error we got from try bot linux_clang.
Review URL: http://webrtc-codereview.appspot.com/44005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@108 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 18:19:13 +00:00
mikhal@google.com
717c869579 Review URL: http://webrtc-codereview.appspot.com/48001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@107 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 18:08:43 +00:00
holmer@google.com
b7a41937ba Fixes missing initializations in video_coding.
Review URL: http://webrtc-codereview.appspot.com/43004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@104 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 14:43:51 +00:00
holmer@google.com
2f2971c6f3 Fixed a bug in the BitRateStats class and at the same time
rewrote it a bit.
Review URL: http://webrtc-codereview.appspot.com/41001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@103 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 14:07:42 +00:00
hlundin@google.com
40eac91f40 Update test tool RTPchange
Update file format to match recent changes in RTPanalyze.
Review URL: http://webrtc-codereview.appspot.com/45003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@102 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 13:20:38 +00:00
henrika@google.com
54bc6a61f5 Improves quality of AudioDeviceWindowsCore::_GetDeviceName.
The current version can crash if the output string is invalid.
Review URL: http://webrtc-codereview.appspot.com/45002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@100 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 09:41:22 +00:00
mikhal@google.com
ab0cfe66a9 VP8 wrapper: Adding an IFDEF prior to new interface. This will allow the wrapper to build with the Bali release.
Review URL: http://webrtc-codereview.appspot.com/47001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@99 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 05:28:08 +00:00
ronghuawu@google.com
f5ca23dfff Disable ChangeWindow function for chromium build.
Review URL: http://webrtc-codereview.appspot.com/44004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@98 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-17 22:18:43 +00:00
mikhal@google.com
3a321fca39 Updating VP8 wrapper with RC parameters
Review URL: http://webrtc-codereview.appspot.com/44001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@97 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-17 19:17:40 +00:00
marpan@google.com
023abafa4e Modified the FEC to allow for option of unequal protection (UEP) across packets.
Added two files under testFec, removed old testFec.cpp, and added two
new files for generating packet masks: _internal.cc/h.
Review URL: http://webrtc-codereview.appspot.com/26003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@94 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-16 23:00:40 +00:00
marpan@google.com
ae0ad911a1 Modified the FEC to allow for option of unequal protection (UEP) across packets.
Added two files under testFec, removed old testFec.cpp, and added two
new files for generating packet masks: _internal.cc/h.
Review URL: http://webrtc-codereview.appspot.com/26003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@93 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-16 21:44:38 +00:00
mikhal@google.com
e25b0148c9 Clean up of media_opt_util.cc
Review URL: http://webrtc-codereview.appspot.com/33007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@92 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-16 16:11:33 +00:00
hlundin@google.com
0f15aea0ea Fix build error in NetEQ when disabling NETEQ_CNG_CODEC
An #ifdef guard was missing, which caused NetEQ not to compile
when NETEQ_CNG_CODEC was not defined. This is Issue 10 
(http://code.google.com/p/webrtc/issues/detail?id=10).
Review URL: http://webrtc-codereview.appspot.com/43002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@91 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-16 11:44:52 +00:00
ajm@google.com
a6f54fd726 Removing some warnings from the APM build with -Wall -Wextra. Also cleaning up the unit test a bit.
Review URL: http://webrtc-codereview.appspot.com/38002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@90 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-16 00:04:40 +00:00
niklase@google.com
ff72b0d8f3 Review URL: http://webrtc-codereview.appspot.com/40002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@89 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 23:43:03 +00:00
niklase@google.com
89714f2880 Review URL: http://webrtc-codereview.appspot.com/33009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@88 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 23:07:17 +00:00
hellner@google.com
2825861105 udp_transport had references to Windows CE in gyp file. Removed that.
Review URL: http://webrtc-codereview.appspot.com/33008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@87 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 20:18:29 +00:00
hlundin@google.com
b7686af27c Remove warnings on Windows
Make member variable payload_size_ int instead of unsigned
to avoid warnings when comparing (> and >=).
Review URL: http://webrtc-codereview.appspot.com/40001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@86 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 11:35:59 +00:00
hlundin@google.com
7c53a0c67e Make r80 build on Windows
Re-submitting revision r80, but with bugfix to make it
build on Windows.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@85 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 09:38:28 +00:00
henrika@google.com
2020656fb6 Removed invalid documents.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@84 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 09:34:42 +00:00
henrika@google.com
f561f488fc Temporary rollback to be able to build on Windows. Will be fixed soon.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@82 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 08:37:18 +00:00
hlundin@google.com
0c32a8d65e VP8 RTP packetizer rewrite
Rewriting the RTP packetizer for VP8 to accommodate more functionality.
This CL does not change the formatting other than that the kStrict
mode now produces equal-sized fragments.
Review URL: http://webrtc-codereview.appspot.com/33006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@80 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 07:43:28 +00:00
holmer@google.com
7925dd575f Added comments and an assert explaining that NACK hasn't been fully
implemented in the mt_rx_tx_test.
Review URL: http://webrtc-codereview.appspot.com/25018

git-svn-id: http://webrtc.googlecode.com/svn/trunk@79 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 07:37:23 +00:00
holmer@google.com
51f2453d98 Fixed a Flush/Start initialization bug in the jitter buffer. Also cleaned
up "Nack estimate".
Review URL: http://webrtc-codereview.appspot.com/32009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@78 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 07:37:08 +00:00
bjornv@google.com
2204835d4d Ported NS initialization to NSx
git-svn-id: http://webrtc.googlecode.com/svn/trunk@77 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 07:25:10 +00:00
bjornv@google.com
0c6284275f Updated the floating point version with bugs found when porting to fixed-point.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@76 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 07:24:40 +00:00