droidmedia's People
Forkers
vakkov webos-ports lbt sledges jpetrell rss351 kimmoli mlehtima guhl abranson foolab wdehoog adenexter neochapay cancrosailors krnlyng fpb4 rinigus vknecht pashik54 sailfish-on-vince piggz cancrosailfishos alireza1219 ubports-santoni peat-psuwit fredldotme thaodan msgpo erfanoabdi isxinchen d-grigorev halium gemian sscottgvit andreysv edp17 andreevdmitry mrbam jhkyy xc-xfj tuqinggang dcmmc sailfishos-vayu elros34 mjun b100dian dcaliste simonschmeisser thiggdroidmedia's Issues
Camera2: android 8.1 findings
- move
ACaptureRequest
to the top (LineageOS/android_frameworks_av@ddf11b4) - Android 8.1 has no ACameraWindowType but only ANativeWindow
ACameraMetadata_isLogicalMultiCamera
is unknown- too new enums: ACAMERA_CONTROL_ZOOM_RATIO,
ACAMERA_CONTROL_ZOOM_RATIO_RANGE
,ACAMERA_CONTROL_AE_COMPENSATION_RANGE
, other zoom implementation for older devices required
Camera2: Torch not working
Using the torch from eg the top menu does no longer work with current camera2 branches
Latest changes do not compile in droidmediacodec.cpp
According to our CI your change at 4e40a44#diff-e1bdd5492dd0f95748bb1bdf8102ade83920a862c015d87338df05366935231bR782 broke compilation: See end of log at https://ci.ubports.com/job/UBportsCommunityPortsJenkinsCI/job/ubports%2Fcommunity-ports%2Fjenkins-ci%2Fmarlin-sailfish/job/main/149/console
Camera2: more locale issues
Using std::stof
will truncate floats if the decimal separator of the current locale is not .
droidmedia/droidmediacamera2.cpp
Line 1596 in f8426e7
std::to_string
will print a localized decimal separator ,
in my case
https://github.com/sailfishos/droidmedia/blob/camera2-test3/droidmediacamera2.cpp#L1881
I'm a bit confused why I'm not seeing this in logs:
DroidMediaCamera: get_parameters result: video-size=-1x-1;video-frame-format=android-opaque;antibanding-values=off,50hz,60hz,auto;preview-fps-range-values=(15000,30000);preview-frame-rate=30;min-exposure-compensation=-12;max-exposure-compensation=12;exposure-compensation-step=0.166667;focus-mode-values=infinity,auto,macro,continuous-video,continuous-picture;effect-values=none,mono,negative,solarize,sepia,posterize,aqua,blackboard,whiteboard;scene-mode-values=auto,auto,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,fireworks,sports,party,candlelight,hdr;whitebalance-values=auto,incandescent,fluorescent,warm-fluorescent,daylight,cloudy-daylight,twilight,shade,;max-num-focus-areas=0;max-num-metering-areas=1;auto-exposure-lock-supported=true;auto-exposure-lock=false;auto-whitebalance-lock-supported=true;auto-whitebalance-lock=false;flash-mode-values=off,auto,on,torch;picture-size-values=4000x3000,3840x2160,3264x2448,3200x2400,2976x2976,2688x1512,2592x1944,2048x1536,1920x1440,1920x1080,1600x1200,1440x1080
because I assume I'm compiling for android 11: ANDROID_VERSION_MAJOR="11"
Camera2: Inverted Colors in preview
Currently the colors in camera preview are inverted.
For Xperia 10 III camera2 reports the following supported formats:
10-13 20:23:08.170 4552 942 I DroidMediaCamera: format 32 20 AIMAGE_FORMAT_RAW16
10-13 20:23:08.170 4552 942 I DroidMediaCamera: format 34 22 AIMAGE_FORMAT_PRIVATE
10-13 20:23:08.170 4552 942 I DroidMediaCamera: format 35 23 AIMAGE_FORMAT_YUV_420_888
10-13 20:23:08.170 4552 942 I DroidMediaCamera: format 36 24 AIMAGE_FORMAT_RAW_PRIVATE
10-13 20:23:08.170 4552 942 I DroidMediaCamera: format 37 25 AIMAGE_FORMAT_RAW10
10-13 20:23:08.170 4552 942 I DroidMediaCamera: format 256 100 AIMAGE_FORMAT_JPEG
@mal dropped AIMAGE_FORMAT_YUV_420_888
in some places but commented it out, commenting it back in does not make it work unfortunately
Camera 2: Tele and wide angle cameras
The Sony Xperia 10 III has three cameras on the back but only one is announced currently. On Android the camera is switched automatically based on zoom level but ACameraMetadata_isLogicalMultiCamera
returns false
here:
droidmedia/droidmediacamera2.cpp
Line 421 in 7940c60
Do we need to enable this somehow? Is there another way to switch cameras?
Some links:
https://developer.android.com/media/camera/camera2/multi-camera
The docs also talk about fancy multi camera modes with stuff like bokeh effects by combining several cameras etc. Do we expect these to be implemented and unlockable here?
Camera2: Auto exposure correction has no effect on final image
But works in viewfinder mode
Camera2: Video recording
The current stub implementation returns nullpointers everywhere. This makes the camera app crash.
- Add nullpointer checks so the camera app no longer crashes (?)
- Implement video recording
- Add more substeps
- Add a project or milestone (maintainer needed)
where can I find the "droid-make" command?
Hello, I am building this package,I have resolved the dependeces,but I still can't find the command "droid-make". ๐
my OS info:
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
my SDK info:
SDK_RELEASE=3.5.7
SDK_RELEASE_CYCLE=Stable
SDK_CONFIG_DIR=SailfishSDK
SDK_VENDOR="Jolla"
Please tell me how can I get the droid-make command.
Thanks! ๐ป
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.