Revert "Remove deprecated barcode scanning functionality"
This reverts commit ff292f30d9a4b7a56aea872fe488d342f47202a3. Reason for revert: issues with downstream projects Original change's description: > Remove deprecated barcode scanning functionality > > This code is not used anymore, but it's not possible to land this CL > until issue webrtc:9665 is fixed. > > Bug: webrtc:9642,webrtc:9665 > Change-Id: Idb68e9bdf51b4239788cd6869dcb44dae87d7c56 > Reviewed-on: https://webrtc-review.googlesource.com/c/95951 > Reviewed-by: Paulina Hensman <phensman@webrtc.org> > Reviewed-by: Patrik Höglund <phoglund@webrtc.org> > Commit-Queue: Magnus Jedvert <magjed@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#25289} TBR=phoglund@webrtc.org,mbonadei@webrtc.org,magjed@webrtc.org,phensman@webrtc.org Change-Id: I440025777a17d8580526289d4198da1fc3f7d62e No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:9642, webrtc:9665 Reviewed-on: https://webrtc-review.googlesource.com/c/107348 Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25291}
This commit is contained in:

committed by
Commit Bot

parent
67b011d22c
commit
38a34198a3
@ -190,13 +190,20 @@ def RunTest(android_device, adb_path, build_dir, temp_dir, num_retries,
|
||||
# Run comparison script.
|
||||
compare_script = os.path.join(SRC_DIR, 'rtc_tools', 'compare_videos.py')
|
||||
frame_analyzer = os.path.join(build_dir, 'frame_analyzer_host')
|
||||
zxing_path = os.path.join(TOOLCHAIN_DIR, 'zxing')
|
||||
stats_file_ref = os.path.join(temp_dir, 'stats_ref.txt')
|
||||
stats_file_test = os.path.join(temp_dir, 'stats_test.txt')
|
||||
|
||||
args = [
|
||||
'--ref_video', reference_video_yuv,
|
||||
'--test_video', test_video_yuv,
|
||||
'--yuv_frame_width', '640',
|
||||
'--yuv_frame_height', '360',
|
||||
'--stats_file_ref', stats_file_ref,
|
||||
'--stats_file_test', stats_file_test,
|
||||
'--frame_analyzer', frame_analyzer,
|
||||
'--ffmpeg_path', ffmpeg_path,
|
||||
'--zxing_path', zxing_path,
|
||||
]
|
||||
if chartjson_result_file:
|
||||
args.extend(['--chartjson_result_file', chartjson_result_file])
|
||||
|
Reference in New Issue
Block a user