Stock OS vs Custom, Proprietary Camera


Question

So i no stock manufacturers, roms have the blobs drivers for full potential of the camera.



Does this only apply for the stock camera app say from Samsung? if i download third party apps while on stock rom do they also make use of the proprietary drivers? if they don't then is the quality the same as it would be while using lineage os for example?



Appreciate all answers.


Answer

The short answer is that like custom ROMs, it depends on which phone model.



The camera driver in the ROM implements Android's standard Camera2 API, which is common to all phones. Any app can use this API to access the camera. As you've pointed out, on some phones this requires having a binary-only camera driver in the ROM: without the binary part, only some modes may be available (e.g. lower resolutions), or the camera might not function at all. But if you have the binary driver, any app gets the full functionality of the Camera2 API, which is usually the full functionality of the camera.



The answer's not quite a flat "yes" because some phones have extra features. Phone manufacturers like to add extra camera features that aren't present in Android's API (yet). This mainly applies to the flagship phones from the big names like Samsung and LG, who compete on extra features not in stock Android. These extra features are only present in the manufacturer's own camera app, and they might use a special API to communicate with the camera driver, as well as Android's API.



These extra features will only be available from the manufacturer's camera app, and usually only on the stock ROM. Third-party camera apps will still be able to use the full functionality of the Camera2 interface: they just won't have access to these added features.



Note that image quality isn't just a property of the drivers. Many camera apps (both stock and third-party) do some amount of post-processing to make the image look better. You might find that a third-party camera app produces worse images just because its image processing isn't as good as in the stock camera app. Or you might find that a third-party camera app produces better images, if it uses an algorithm or technique that the stock app doesn't use.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes