Commit Graph

2393 Commits

Author SHA1 Message Date
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
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
268a24fa56 Reverts changes to auto test.
Review URL: https://webrtc-codereview.appspot.com/724006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2593 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-10 15:15:51 +00:00
mflodman@webrtc.org
ba853c9970 Fixes for RTP extension time offset.
Review URL: https://webrtc-codereview.appspot.com/720008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2592 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-10 14:30:53 +00:00
astor@webrtc.org
c0496e66f6 Expose a function for setting bandwidth estimation parameters in ViERTP_RTCP.
Review URL: https://webrtc-codereview.appspot.com/678007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2591 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-10 10:14:43 +00:00
phoglund@webrtc.org
b64dd31c3c Split bot status list in two rows so it fits better on the screen.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2590 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-10 08:57:39 +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
andrew@webrtc.org
340f0cd5b7 Add *.host.mk to .gitignore.
TBR=kjellander@webrtc.org
BUG=none

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2588 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-10 02:17:41 +00:00
andrew@webrtc.org
54da26d2d2 Move include_tests to a higher variable nesting.
TBR=wu@webrtc.org
BUG=none
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/734004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2587 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-10 00:41:18 +00:00
leozwang@webrtc.org
b20916e336 Change libaries path because of recent file structure changes
Description:
1. Changed file path.
2. Because of optimization code changes, a new neon library is created, add it to finial build.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2586 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-09 22:17:26 +00:00
andrew@webrtc.org
490fdc5ffc Fix Android after iSAC -> isac move.
TBR=leozwang@webrtc.org
BUG=none
TEST=android trybot

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2585 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-09 18:53:20 +00:00
andrew@webrtc.org
6a16e74f9f Move iSAC -> isac.
BUG=none
TEST=trybots

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2584 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-09 18:35:39 +00:00
andrew@webrtc.org
cb53410877 Make some dependencies more flexible.
BUG=none
TEST=trybot

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2583 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-09 18:28:40 +00:00
andrew@webrtc.org
ea5d0e5162 Don't target top-level test gyps if include_tests==0
Also add the possibility to pass a flag to the gyp run during gclient hooks.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2582 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-09 17:37:03 +00:00
phoglund@webrtc.org
48cf686933 Removed v4l2_file_player code, which is checked into the signal repo.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2581 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-09 14:57:58 +00:00
andrew@webrtc.org
7f3d4c6781 Normalize x64 and ia32 sse2 behavior in libvpx.
BUG=6947196
TEST=trybots

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2576 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-08 21:55:20 +00:00
kma@webrtc.org
ccb7cc6175 Added unittest for iSAC-Fix.
Only one function in this version.
Review URL: https://webrtc-codereview.appspot.com/713006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2575 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-08 18:26:19 +00:00
perkj@webrtc.org
c2fde804fa Fix VideoCaptureModule and unit test valgrind errors on linux.
BUG= 302

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2574 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-08 14:01:09 +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
phoglund@webrtc.org
54e22eb977 Made it possible to run video_capture tests on mac.
Abstracted out a suitable main from vie_auto_test and put it into testsupport.
Cleaned up unused vie_auto_test mac code.

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2572 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-08 08:27:46 +00:00
braveyao@webrtc.org
743e5cf6b7 remove flaky test case in FileBeforeStreamingTest
BUG = Issue 719
TEST = VoE standard test
Review URL: https://webrtc-codereview.appspot.com/718006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2571 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-08 06:07:39 +00:00
kma@webrtc.org
da236dfde5 Added more unit tests for min-max operations in signal processing module.
Review URL: https://webrtc-codereview.appspot.com/668009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2570 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-07 19:35:00 +00:00
perkj@webrtc.org
5d6be542be Make sure the video capture delay is set to an initial value on Mac.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2569 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-07 09:03:07 +00:00
andrew@webrtc.org
9a3f83f2e3 Use relative paths in DEPS.
This allows the root directory to be named anything, rather than
limiting it to "trunk".

An example .gclient:
{ "name": "3.8",  # Not trunk!
  "url": "https://webrtc.googlecode.com/svn/branches/3.8",
  "custom_vars": {
    "root_dir": "3.8",
  },
},

BUG=none
TEST=trybots

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2568 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-07 06:03:22 +00:00
kma@webrtc.org
f388fcc67e Added dynamic Neon detect in isac-fix for Android NDK build, and thus fixed a build error in the last version.
Review URL: https://webrtc-codereview.appspot.com/726004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2567 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-07 01:20:51 +00:00