JPG is taken from JPEG stream or manually from RAW?
I wonder how JPG is taken using phone JPEG stream or converted from RAW data internally by FreeDCam?
its using the jpeg stream. freedcam itself dont have a demosaic algo. what you get in the viewer is from libraw. greets
its using the jpeg stream. freedcam itself dont have a demosaic algo. what you get in the viewer is from libraw.
Then how FreeDcam has different options for sharpening from standard off/fast/high/zsl that offered in Camera2API?
well there ist the default camera2 api from android, and there are hidden keys offered by the manufacturs that are device/brand specific. the hidden keys can get read with reflections. https://github.com/KillerInk/FreeDcam/blob/60682b2a086988f291725f8c9866a41350abda91/app/src/main/java/camera2_hidden_keys/VendorKeyParser.java#L30-L50
but if a key is present, it does not mean it works. so there is alot try and error involved. sometimes its also needed, to bring the camera into a different operation mode(opcode) to get a key working.
I have phone OnePlus 8 Pro if i take photo in OpenCamera with sharpening off it shows good on preview, but when i take photo it somehow switches sharpening to max there is no difference between sharpening off and high settings for JPG.
In freeDcam if i set sharpening to zero it really is zero, i wonder what's the difference and if understanding this difference can help me locate the way OnePlus alters JPG so i can disable it (i have root).
Don't know how good you coding skills are. But you have two possibilities First mod the camera apk you need. Second if it's a qcom socs, mod libchromatix.lib that the jpeg stream don't use sharpening. When I played with it there was only one. But these days I think, is one for every mode.
its using the jpeg stream. freedcam itself dont have a demosaic algo. what you get in the viewer is from libraw. greets
By the way FreeDcam has re-mosaic algo? i know someone who is used it for forcing re-mosaic for camera sensor that had no HW-remosaic in full resolution mode, but when i tried that did not work.
it have. QUADBAYER_16BIT 7. set that inside the dng profile and set the correct rawsize and it should work.
it have. QUADBAYER_16BIT 7. set that inside the dng profile and set the correct rawsize and it should work.
Do you have detail walk trough how to set up?
- give freedcam sd permission.
- open freedcam and set sdcard to external and choose a folder where the "raw" binary data should get stored.
- select "raw" as picture format inside freedcam.
- select the full resolution and capture a image.
- close freedcam and open freedviewer and go to the folder where the "raw" file is.
- on the bottom right press the "..." and choose raw to dng, select the "raw"file
- enter there all the needed information and save the dng profile. there you can also choose QUADBAYER_16BIT
- now you should be able to capture fullsizedngs dequaded