Commit Graph

2433 Commits

Author SHA1 Message Date
stefan@webrtc.org
715faaf5ce Change so that capture_time_ms == 0 is considered invalid.
No transmission offset computed if capture_time_ms is less than or equal to zero.

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2675 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-28 15:20:39 +00:00
kma@webrtc.org
94771cb6a0 Change preprocessor define WEBRTC_ANDROID into WEBRTC_ARCH_ARM, for ARM platform depended code.
Review URL: https://webrtc-codereview.appspot.com/735010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2674 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-28 04:09:50 +00:00
kma@webrtc.org
7611791ade Added unit tests for several SPL macros/functions, and detailed all factors
contributing to bit-not-exact between ARM assembly and generic C versions
in iSAC and SPL, by code comments.
Review URL: https://webrtc-codereview.appspot.com/741004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2673 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-28 00:43:55 +00:00
andrew@webrtc.org
2bea04076c Fix ia32 sse2 error in libvpx.
denoising_sse2.c needs to be built with -msse2. We accidentally left it
in libvpx_src_x86.gypi in the last libvpx update.

TBR=stefan

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2671 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-28 00:05:34 +00:00
kma@webrtc.org
afdcc2c845 Added unit test for a filter bank function in iSAC-Fix, with some optimization
in the assembly code.
Review URL: https://webrtc-codereview.appspot.com/754004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2670 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-27 23:54:13 +00:00
mikhal@webrtc.org
36b95b4753 Adding a recording tool to vie autottest
Review URL: https://webrtc-codereview.appspot.com/746006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2669 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-27 21:39:50 +00:00
andrew@webrtc.org
36d0baf208 Fixes in preparation for next Chromium roll.
Review URL: https://webrtc-codereview.appspot.com/743004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2668 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-27 20:58:56 +00:00
phoglund@webrtc.org
6b84b613d5 Disabling flaky tests in preparation of launching test on bots.
BUG=777

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2666 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-27 15:16:20 +00:00
vspasova@webrtc.org
ac410e26a5 A small tool to run PSNR and SSIM between two I420 videos.
The tool runs the analysis between every two corresponding frames until either of the videos runs out of frames.

The results are written in a file (results_file provided from the command line) in the format:
Frame: <frame_number>, PSNR: <psnr_value>, SSIM: <ssim_value>

TEST=
psnr_ssim_analyzer --reference_file=<name_of_file>
--test_file=<name_of_file> --results_file=<name_of_file>
--width=<width_of_frames> --height=<height_of_frames>

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2665 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-27 14:57:19 +00:00
hta@webrtc.org
4368c26b1a Changing to use SleepMs throughout audio_device module.
Tested: Build audio_device_test_api and audio_device_test_func
Ran audio_device_test_api. Executed a random set of functions in
audio_device_test_func.

BUG=603

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2664 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-27 08:33:33 +00:00
henrike@webrtc.org
f7884f9900 Revert 2660 - updating cl
Adding debug options

BUG=

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

TBR=mikhal@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/752007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2663 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-25 02:00:19 +00:00
henrike@webrtc.org
3387b88595 Makes it possible to disable frame dropping in the VP8 codec.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2661 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-24 23:01:38 +00:00
mikhal@webrtc.org
6a6121c0b1 updating cl
Adding debug options

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2660 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-24 22:08:25 +00:00
elham@webrtc.org
2a74de1e78 Bump version number to 3.11
Review URL: https://webrtc-codereview.appspot.com/744005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2658 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-23 16:50:57 +00:00
stefan@webrtc.org
727a9f5648 Roll libvpx to c522217d.
Also changing generate_gypi.sh to sort the list of files before writing gypis.

TBR=andrew@webrtc.org

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2657 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-22 20:14:33 +00:00
stefan@webrtc.org
1ec2b38926 VP8 config tunings for improved quality.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2656 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-22 11:09:07 +00:00
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