Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Issue 2983473002: Android Tango depth camera capture support.

Created:
3 years, 5 months ago by aleksandar.stojiljkovic
Modified:
3 years, 4 months ago
Reviewers:
mcasas
CC:
chromium-reviews, posciak+watch_chromium.org, chfremer+watch_chromium.org, feature-media-reviews_chromium.org, agrieve+watch_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Android Tango depth camera capture support. 3D pointcloud that is synchronized to color 3D space is projected to 2D depth frame with the color 2D frame aspect ratio. BUG=674440

Patch Set 1 #

Total comments: 8

Patch Set 2 : third party replaced by dlsym #

Total comments: 1

Patch Set 3 : rename tango_api files to tango_client_api_glue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1131 lines, -68 lines) Patch
M media/capture/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M media/capture/video/android/BUILD.gn View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M media/capture/video/android/capture_jni_registrar.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
A media/capture/video/android/java/src/org/chromium/media/VideoCaptureTango.java View 1 1 chunk +77 lines, -0 lines 0 comments Download
A media/capture/video/android/tango_client_api_glue.h View 1 2 1 chunk +95 lines, -0 lines 0 comments Download
A media/capture/video/android/tango_client_api_glue.cc View 1 2 1 chunk +117 lines, -0 lines 0 comments Download
M media/capture/video/android/video_capture_device_android.h View 1 2 chunks +30 lines, -13 lines 0 comments Download
M media/capture/video/android/video_capture_device_android.cc View 1 7 chunks +51 lines, -54 lines 0 comments Download
M media/capture/video/android/video_capture_device_factory_android.cc View 1 4 chunks +9 lines, -0 lines 0 comments Download
A media/capture/video/android/video_capture_device_tango_android.h View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
A media/capture/video/android/video_capture_device_tango_android.cc View 1 2 1 chunk +365 lines, -0 lines 0 comments Download
A media/capture/video/android/video_capture_device_tango_android_unittest.cc View 1 2 1 chunk +313 lines, -0 lines 0 comments Download
M media/capture/video/video_capture_device_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
aleksandar.stojiljkovic
mcasas@ PTAL. Thanks.
3 years, 5 months ago (2017-07-14 13:19:25 UTC) #5
mcasas
This CL is pointing in the right direction but is large-ish, I'd say keep this ...
3 years, 5 months ago (2017-07-15 00:12:37 UTC) #6
aleksandar.stojiljkovic
On 2017/07/15 00:12:37, mcasas wrote: > This CL is pointing in the right direction but ...
3 years, 5 months ago (2017-07-15 17:48:15 UTC) #7
aleksandar.stojiljkovic
On 2017/07/15 17:48:15, aleksandar.stojiljkovic wrote: > On 2017/07/15 00:12:37, mcasas wrote: > > This CL ...
3 years, 4 months ago (2017-07-24 08:16:59 UTC) #8
mcasas
On 2017/07/24 08:16:59, aleksandar.stojiljkovic wrote: > On 2017/07/15 17:48:15, aleksandar.stojiljkovic wrote: > > On 2017/07/15 ...
3 years, 4 months ago (2017-07-26 01:48:07 UTC) #9
aleksandar.stojiljkovic
3 years, 4 months ago (2017-08-07 15:29:28 UTC) #10
On 2017/07/26 01:48:07, mcasas wrote:
> On 2017/07/24 08:16:59, aleksandar.stojiljkovic wrote:
> > On 2017/07/15 17:48:15, aleksandar.stojiljkovic wrote:
> > > On 2017/07/15 00:12:37, mcasas wrote:
> > > > This CL is pointing in the right direction but is large-ish,
> > > > I'd say keep this CL as reference and start getting it 
> > > > reviewed in chunks? In particular the //third_party needs
> > > > to be splintered off, and you can get reviewed and landed
> > > > the refactoring in video_capture_device_android already.
> > > > 
> > > > Also, use Gerrit? :-)
> > > > 
> > > 
> > > Thanks for review.
> > > Nice, and the plan is good.
> > > 
> > > Split patches:
> > > 
> > > https://chromium-review.googlesource.com/c/573040/
> VideoCaptureDeviceAndroid:
> > > extract common code to methods.
> > > https://chromium-review.googlesource.com/c/573060/ VideoCaptureDeviceTest:
> > skip
> > > the test for Tango devices
> > > 
> > > I'll try to get rid of 3rd party jar file now - it is small as it doesn't
do
> > > much but connects to service and load native library. It is also closed
> > source.
> > > Might make more sense to do the same thing (connecting to service and
dlsym
> to
> > > native library) in C++ and drop the third party jar file.
> > 
> > mailto:mcasas@chromium.org,
> > The patch #2 removes third party requirement of Tango Java  API. Instead, it
> > dlsym-s to needed C++ API symbols in libtango_client_api that is already on
> the
> > Tango device (Tango Core).
> > Using C API is forward looking as Java API doesn't allow access to
RGB&Fisheye
> > frames pixel data - only Tango C API does [1].
> > Also, less code that is not unit tested.
> 
> Chromium calls these classes _glue.{cc,h} (see e.g. the late avfoundation_glue
> in https://codereview.chromium.org/24615005/).  Make sure only used symbols
> are extracted and that they are cached, so dlsym() is called only once, and
that
> where possibly, (contained) static handles are used.
> 

mcasas@,
Done - Patch Set 3 : rename tango_api files to tango_client_api_glue.

Replaced lib and api member variable with static methods in API glue class (like
in the referred patch) makes it cleaner.
Thanks.

Powered by Google App Engine
This is Rietveld 408576698