Commit Graph

2567 Commits

Author SHA1 Message Date
henrika@webrtc.org
8a2fc88459 Adds new GetRemoteRTCPSenderInfo() and GetRemoteRTCPReportBlocks APIs to VoE.
BUG=559
TEST=manual tests using Windows UI client.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2655 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-22 08:53:55 +00:00
vspasova@webrtc.org
f61dc9be41 Moving frame_analyzer and rgba_to_i420_converter to src/tools.
It might be useful to have these under src/tools as this way they will automatically sync in Chrome.

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2653 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-22 08:12:00 +00:00
stefan@webrtc.org
2143c60315 Roll libvpx to 8bec177d.
Also removing update_libvpx.sh as it is not needed when rolling libvpx
in WebRTC.

Verified on try bots.

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2652 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-22 07:53:21 +00:00
kma@webrtc.org
d81d906adf Fixed a bug in the C code in a filterbank function in iSAC-fix, and further optimized ARM code.
The bug was introduced in the last CL during optimization.

With the new inine ARM assembly, the resulted assembly code of the loop is 28 instructions, compared to 47 lines by the original.

The optimized (with WEBRTC_ARCH_ARM_V7A defined in This file) and un-optimized code (with WEBRTC_ARCH_ARM_V7A not defined in This file) are bit-exact.
Review URL: https://webrtc-codereview.appspot.com/748004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2651 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-22 05:13:09 +00:00
leozwang@webrtc.org
d6fcf7f0da Add debug options to test app
Description:
1. add apm debug option
2. add voice/video rtp dump option
3. front facing camera as the default, minor change

BUG=None
TEST=local
Review URL: https://webrtc-codereview.appspot.com/728012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2650 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-21 18:07:14 +00:00
vikasmarwaha@webrtc.org
bdb03d48ae Fix for issue 420 in TransmitMixer::SetTypingDetectionParameters.
Review URL: https://webrtc-codereview.appspot.com/747004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2649 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-21 17:46:09 +00:00
leozwang@webrtc.org
510c1e36fe Read ptypes.txt from /sdcard on android
BUG=
TEST=local
Review URL: https://webrtc-codereview.appspot.com/733011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2648 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-21 15:17:12 +00:00
stefan@webrtc.org
969d5f387b Reduce the PSNR threshold so that always having MFQE enabled doesn't trigger.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2647 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-21 11:33:29 +00:00
leozwang@webrtc.org
4ff8a9ad2f Print out more audio codec information in vie_auto_test
It would be good to print more audio codec information to avoid
confusion

BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/744004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2646 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-21 03:50:24 +00:00
stefan@webrtc.org
4e8eabaab1 Properly handle switching between simulcast and unicast streams.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2644 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-20 14:29:52 +00:00
henrika@webrtc.org
3994e0324d ADM no longer reads PCM files from data/audio_device. Now uses the resource folder instead.
BUG=737

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2643 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-20 09:44:59 +00:00
tina.legrand@webrtc.org
6f909835f1 Remove data files from data/audio_coding
The files are already part of the resource package.

TBR=andrew@webrtc.org
BUG=issue737

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2642 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-20 07:39:52 +00:00
braveyao@webrtc.org
617e23cee6 In AVI file header, 'cbSize' might be omitted for PCM audio types.
BUG = issue 671
TEST = Manual test
Review URL: https://webrtc-codereview.appspot.com/705012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2641 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-20 03:58:41 +00:00
henrike@webrtc.org
f7a58f868e Fixes VP8 issue with sending simulcast->non simulcast->simulcast.
Review URL: https://webrtc-codereview.appspot.com/722013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2634 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-17 19:10:27 +00:00
mflodman@webrtc.org
6620c68b1a Changed test case for r2629.
TBR=elham@webrtc.org

BUG=756

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2632 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-17 17:03:28 +00:00
wu@webrtc.org
21c822ce8d Use the Linear Texture Filtering as the magnification, minification, or mipmapping filter to reduce the blurriness when the texture needs to be magnified or minified.
BUG=689
Review URL: https://webrtc-codereview.appspot.com/731010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2631 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-17 16:59:18 +00:00
andrew@webrtc.org
9ea1be81d8 Remove unnecessary failure on changing CN payload type while sending.
BUG=issue625

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2630 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-17 15:49:07 +00:00
mflodman@webrtc.org
42a4891699 Fixed issue for rtp extension.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2629 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-17 14:44:21 +00:00
stefan@webrtc.org
154dbbefa2 Make VP8 timestamp int64_t to be represented with the same type as in libvpx.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2628 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-17 14:07:49 +00:00
xians@webrtc.org
a51e766253 land 728008
Review URL: https://webrtc-codereview.appspot.com/708014

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2627 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-17 13:16:09 +00:00
stefan@webrtc.org
1c80d794e3 Fix libvpx ARM builds.
TBR=ajm, leozwang
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2626 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-17 11:44:49 +00:00
tina.legrand@webrtc.org
ba46804417 Moving to use data files in resources, for ACM.
The files are removed in a separate CL.

BUG=issue737

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2625 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-17 10:38:28 +00:00
stefan@webrtc.org
c3115837ed Changes to upgrade libvpx to head of master.
Also aligns libvpx build system in WebRTC with Chromium's.

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2623 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-17 06:57:58 +00:00
kma@webrtc.org
ee508e5fb6 Enabled ARMv7 code in Android NDK build.
Review URL: https://webrtc-codereview.appspot.com/725005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2622 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-16 19:19:51 +00:00
kma@webrtc.org
a15ea4965e Added isac WebRtcIsacfix_CalculateResidualEnergy() into dynamic Neon detection for
Android NDK platform.
Review URL: https://webrtc-codereview.appspot.com/722009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2621 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-16 15:43:57 +00:00
vspasova@webrtc.org
fd80070aa7 A tool to do PSNR and SSIM analysis over frames.
This is a very simple tool which takes a test and reference YUV files and compares the frames in them.
The interesting part is that the test video is the video formed by the frames captured from the browser
(WebRTC output). The test video frames has been decoded and the correspondence between evrey frame in the
test video and the decoded barcode, i.e. the frame number in the refrence video has been written to a stats
file in the form frame_xxxx yyyy, where xxxx is the number of the frame in the test video and yyyy is the
number of the frame in the reference video.

We can have jumping over frames or duplicate frames in the test video, as well as incorrectly decoded barcodes.
The tool takes care of these cases.

I haven't used the video_metrics.h because the functions in there seem to do much more than we need and not to
do things that I needed.

The tool may need to be changed so that it could produce output which in turn will be used by PythonCharts or
other chart-drawing tool or library that we decide to use.

BUG=
TEST=
./out/Debug/frame_analyzer --reference_file=reference.yuv --test_file=test.yuv --stats_file=stats.txt --width=352 --height=288

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2620 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-16 14:07:02 +00:00
tina.legrand@webrtc.org
6b01bfdc92 Remove version function from ACM codec database.
BUG=461
TEST=audio_coding_module_test

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2619 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-16 08:17:32 +00:00
andrew@webrtc.org
5dffebc4d1 Remove disabling of warning 4351 from non-interface files.
This is handled in Chromium's build/common.gypi.

BUG=none
TEST=trybots

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2617 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-16 04:24:05 +00:00
kma@webrtc.org
620a2563d0 Fixed a bug in Coverity (fileInstanceId=1323160).
Review URL: https://webrtc-codereview.appspot.com/724007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2616 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-15 16:49:16 +00:00
vspasova@webrtc.org
28655423fd Removed barcode_tools.gyp and added build_zxing.py
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2615 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-15 14:35:40 +00:00
vspasova@webrtc.org
8327c85bf5 Fixing a syntax error in barcode_tools DEPS.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2614 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-15 11:52:46 +00:00
kjellander@webrtc.org
8ee2750962 Fixes after TBR comments in http://review.webrtc.org/675005
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2613 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-15 11:03:29 +00:00
vspasova@webrtc.org
400e7da51b Created a barcode encoder and decoder Python tools.
The barcode encoder generates barcodes as PNG files, than converts them to YUV files,
then stitches these into one YUV video file and finaly overlays this video over the
base video to produce a YUV video of the base with encoded barcodes in the upper part
of the video.

The decoder gets a YUV video with overlaid barcodes and first splits it into PNG files,
than decodes every file, and finally generates a stats file.

The encoder and decoder use Zxing and its Java command-line tools for the encoding and
decoding. They also use ffmpeg for the conversion between PNG and YUV and vice versa.

BUG=
TEST=
The tools could be used from trunk as:
./tools/barcode_tools/barcode_encoder.py --barcode_height=32 --base_frame_width=352
--base_frame_height=288 --base_yuv=<path_nad_name_to_base_file>
--output_yuv=<path_nad_name_to_output_file>

./tools/barcode_tools/barcode_decoder.py --yuv_file=<path_and_name_to_yuv_file>
--yuv_frame_width=352 --yuv=frame_height=288 --barcode_height=32
--stats_file=<path_and_name_of_stats_file>

By default the width of the barcodes is the same as the width of the base YUV frames.
This could be changes with the command-line option --barcode_width

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2612 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-15 10:25:12 +00:00
vspasova@webrtc.org
8e221ee102 Making the RGBA to I420 tool more useful. Did the following changes:
- Made the output file to open in write mode instead of append mode.
- Now the tool deletes the RGBA frames after conversion.
- Other minor cleanup work.

BUG=

TEST=
rgba_to_i420_converter --frames_dir=<directory_to_rgba_frames> --output_file=<output_yuv_file> --width=<width_of_input_frames> --height=<height_of_input_frames>

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2611 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-15 07:42:00 +00:00
leozwang@webrtc.org
425e680808 Enable PLI as the default.
Description:
Enable PLI as the default option.

BUG=webrtc issue 744
TEST=local
Review URL: https://webrtc-codereview.appspot.com/735008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2610 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-14 17:03:33 +00:00
andrew@webrtc.org
88b8b0da4b Disable "new behavior: elements of array will be default initialized" warning.
TBR=astor@webrtc.org
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/710012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2609 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-14 00:05:56 +00:00
kma@webrtc.org
8e75e6092d Separated WebRtcIsacfix_PitchFilterCore() out from isac-fix pitch_filter.c into its
own files for generic C and ARMv6.
Also renamed file pitchfilter_armv6.S to pitch_filter_armv6.S, to be consistent with
others.
Review URL: https://webrtc-codereview.appspot.com/722008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2608 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-13 23:24:10 +00:00
kma@webrtc.org
c839f08dd6 In SPL, replacing the C version of sqrt_floor with assembly version for Android platform
Review URL: https://webrtc-codereview.appspot.com/735004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2607 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-13 21:49:23 +00:00
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
leozwang@webrtc.org
81d110bcc7 Remove iSAC and resampler from platform build
BUG=
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/720007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2605 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-13 17:55:15 +00:00
mflodman@webrtc.org
90071dd647 Added API to set RTP timestamp offset extension.
BUG=745

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2604 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-13 17:13:27 +00:00
mflodman@webrtc.org
1fb39ba422 REMB changes, cloned from issue 722011.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2603 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-13 17:05:14 +00:00
stefan@webrtc.org
1281dc0313 Fixes issue 555 by replacing the bitrate/observer map with a list.
The issue was caused by the fact that the key of the map was an address and
therefore the order of the map wasn't deterministic, which the tests assumed.

BUG=555

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2602 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-13 16:13:09 +00:00
braveyao@webrtc.org
52ce651283 Fix the auido noise issue with FEC enabled
BUG = issue 652
TEST=manual test
Review URL: https://webrtc-codereview.appspot.com/720006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2601 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-13 07:30:08 +00:00
braveyao@webrtc.org
1d9521eeed Fix AudioDeviceWindowsCore::DoCaptureThread() crash under some rare circumstance.
BUG  = 
TEST = 
Review URL: https://webrtc-codereview.appspot.com/728006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2600 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-13 07:29:24 +00:00
leozwang@webrtc.org
a11299648c Retrieve data from input
Espeically on tablet, we have to read data dirtectly from input text edit rather than
track key input to let text edit get updated automatically

BUT=None
TEST=local test
Review URL: https://webrtc-codereview.appspot.com/705010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2599 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-11 04:33:02 +00:00
andrew@webrtc.org
030d752dce Removing unneeded baseclass headers.
TBR=wu@webrtc.org
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/714009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2598 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-11 03:36:24 +00:00
kma@webrtc.org
de91bf7cdc Changed compiler assert code so that it can be used by both C and C++ source files.
Review URL: https://webrtc-codereview.appspot.com/733005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2597 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-11 00:13:25 +00:00
andrew@webrtc.org
cdfa63f94f Fix mismatched signature (due to const) error.
TBR=mikhal@webrtc.org
TEST=trybots

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2596 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-10 22:56:17 +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