Giter Site home page Giter Site logo

ultram8s_gcxtension's Introduction

UltraM8's Gcam Extension Module

What is this module for? In short - to see if using pixel blobs can boost EGL-based operations in Google Camera ports. On pixels google camera has lots of support blobs that are taking their part in processing. One of the main blobs that gcam actually asks for - is the hardware buffer lib - lib_aion_buffer.so According to android.googlesource commit, aion is used "for vendor-specific buffer management functionality to enable zero-copy camera RAW->GPU buffer handling". Zero-copy is used for performance reasons during shader compilation, for example when sabre merge is forced, in portrait mode processing, HDRnetshader and likely new features like face deblur on recent pixels. This also could be handy for halide operations, but the question if those can actually run on gpu instead of cpu in gcam is still open. Unfortunately it's unlikely to solve the issue of not having non-zerocopy texture processing on qualcomm. Software texture gather is used instead. Maybe thats why on pixel it targets mali which has extention for native 16bit texture gather. Or maybe it helps booting sw gather, since as I mentioned above - aion lib existed long before moving to mali gpu.

After installing the module check for aion in logs - it should come up right after booting up & after taking a shot in gcam. Any speed ups in processing time are subjective though - since we don't have hexagon working - simultaneous merge & render is absent on non-pixels, and aion is unlikely to boost. Though, I still encourage you to test and check for yourself.

If any ROM/Kernel dev sees this and has any thoughts/ideas on camera heap, or is familiar with pixel source - pls contact me, I'm eager to keep up digging pixel blobs.

Requirements

  • I'd bet permissive selinux is needed
  • Your rom should likely have CONFIG_ION_SYSTEM_HEAP enabled & something like ion camera heap, but since I'm not rom dev, so not sure about this.

Support

ultram8s_gcxtension's People

Contributors

obyeboss avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.