webrtc/tools
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
..
barcode_tools Created a barcode encoder and decoder Python tools. 2012-08-15 10:25:12 +00:00
coverity Making Coverity Static Analyzer run properly on Windows 2012-05-14 14:18:53 +00:00
e2e_quality Reorganize voice_engine/. 2012-07-27 21:49:28 +00:00
matlab Swap colheaders for textdata in parseLog.m. 2011-12-08 20:56:53 +00:00
network_emulator Renamed to Network Emulator and improved error handling. 2012-06-01 08:42:17 +00:00
python_charts Initial version of code coverage tracker / dashboard for WebRTC. 2012-01-17 12:21:15 +00:00
quality_tracking Split bot status list in two rows so it fits better on the screen. 2012-08-10 08:57:39 +00:00
refactoring 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. 2012-02-14 23:54:07 +00:00
resources Reverted download code and output that was done in https://webrtc-codereview.appspot.com/431003 (r1826) since it was reported to spam the output on some configurations. 2012-03-09 11:15:07 +00:00
valgrind-webrtc Added suppression for issue 716. 2012-08-02 12:25:13 +00:00
.gitignore Moving buildbot to internal repository. 2012-06-20 07:55:41 +00:00
codereview.settings Try server and buildbot scripts now using Chromium scripts. 2012-03-27 15:57:30 +00:00
create_supplement_gypi.py Roll Chromium 122775:132375 (current Canary). 2012-04-17 01:19:27 +00:00
DEPS Moving buildbot to internal repository. 2012-06-20 07:55:41 +00:00
OWNERS Try server and buildbot scripts now using Chromium scripts. 2012-03-27 15:57:30 +00:00
PRESUBMIT.py Try server and buildbot scripts now using Chromium scripts. 2012-03-27 15:57:30 +00:00