Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TAMA][AKARI][9.0][4.9] Backcamera lacks full camera 2 api support (Level_3 missing) #321

Closed
MartinX3 opened this issue Feb 1, 2019 · 13 comments

Comments

@MartinX3
Copy link

MartinX3 commented Feb 1, 2019

Platform: tama
Device: akari
Kernel version: 4.9.152
Android version: 9.0

I checked the camera 2 api with the app "Camera2 probe" from Google Play Store.
Missing features:

  • LEVEL_3
  • Auto focus EDOF

Will this get added?

According to Google Android Docs

LEVEL_3: These devices support YUV reprocessing and RAW image capture, along with additional output stream configurations.

Level_3 is supported since HALv3.2.
The new snapdragon 845 should be able to support it in hardware.

@jerpelea
Copy link
Collaborator

@MartinX3
v8 is released !
please rebuild and test

@oshmoun
Copy link

oshmoun commented Apr 18, 2019

tested, both "Level_3" and "Auto focus EDOF" are still reported missing

@MartinX3
Copy link
Author

I can confirm it on my tama akari xz2.

@MartinX3 MartinX3 changed the title [TAMA][AKARI][9.0][4.9] Camera lacks full camera 2 api support (Level_3 missing) [TAMA][AKARI][9.0][4.9] Backcamera lacks full camera 2 api support (Level_3 missing) Apr 29, 2019
@sraase
Copy link

sraase commented Apr 29, 2019

I can confirm as well, and it will need some looking into. Same for the front camera.

@sraase
Copy link

sraase commented Jun 18, 2019

The Tama back camera uses a regular auto-focus system, so EDOF should not be reported at all. Please correct me if I am mistaken here.

The LEVEL_3 issue runs deeper than I expected. As far as I can tell, the camera platform always reports FULL in the version we use, independent of the sensor driver. Obviously, this also affects the front camera.

@MartinX3
Copy link
Author

MartinX3 commented Jun 18, 2019

Is this supported or possible @sraase ?
https://developer.android.com/reference/android/hardware/camera2/CameraMetadata.html#REQUEST_AVAILABLE_CAPABILITIES_YUV_REPROCESSING
According to
https://source.android.com/devices/camera/versioning
YUV and RAW are the main things in LEVEL_3.
I don't have enough experience, so maybe I am wrong here.

@sraase
Copy link

sraase commented Jun 18, 2019

My Apollo reports RAW, YUV_REPROCESSING and PRIVATE_REPROCESSING.
To my knowledge, that support has been there from the beginning.
I just tested PRIVATE_REPROCESSING - works fine.

@MartinX3
Copy link
Author

MartinX3 commented Jun 18, 2019

Oh, then it's weird why it still reports a missing LEVEL_3.
maybe because of the not good declared along with additional output stream configurations in the documentation.
Which diagnostic tool to you use to gather the reports about camera features?
I use the app "camera2 probe" and miss the YUV and PRIVATE part.

@sraase
Copy link

sraase commented Jun 18, 2019

I use "adb shell -n dumpsys media.camera | less".
The decision on whether a camera is LEVEL_3 is not done by Android.
On my phone, "Camera2 Probe" correctly reports both types of REPROCESSING.

@MartinX3
Copy link
Author

Thank you adb shell -n dumpsys media.camera | less is just perfect.

Sadly "Camera2 Probe" doesn't show me a REPROCESSING section on my akari or YUV/PRIVATE.

Luckily "https://play.google.com/store/apps/details?id=com.camera2.test" shows me more useful informations, similar to the shell command you gave me. :)

@MartinX3
Copy link
Author

Now I am very unsure if we can close this ticket or not.

@sraase
Copy link

sraase commented Jun 19, 2019

Maybe I am using a different version of the Camera2 Probe app. It doesn't matter though, if it is shown in dumpsys, then it is there.

I think this ticket should stay open for now, since the issue is real - just that I can't easily cook up a solution.

@jerpelea
Copy link
Collaborator

please retest on Android 10 and vendor v3 release then open a ticket for Android 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants