Code Monkey home page Code Monkey logo

Comments (9)

pvasa avatar pvasa commented on May 27, 2024 1

No @rid-hrant it is not related to reprocessing.

from cameraview-ex.

pvasa avatar pvasa commented on May 27, 2024

Hi @rid-hrant that information is not exposed. This library is meant to be a wrapper around camera implementation hiding all android apis behind a simple to use api. Internally the library checks for hardware level and if it is LEGACY it automatically fallsback to using Android camera1 api.

from cameraview-ex.

rid-x avatar rid-x commented on May 27, 2024

@pvasa thank you for fast feedback. How I can check is YUV output format supported or not?

from cameraview-ex.

pvasa avatar pvasa commented on May 27, 2024

@rid-hrant AFAIK YUV image output should be available on all devices. Although I haven't seen it mentioned anywhere in the docs but never have I either faced this issue where a device is not able to produce YUV images.

from cameraview-ex.

pvasa avatar pvasa commented on May 27, 2024

Also on devices with legacy hardware level, it will fallback to camera1 implementation which always produces NV21 format images and it will be reflected in output Image.format.

from cameraview-ex.

rid-x avatar rid-x commented on May 27, 2024

In this post there is mentioned about Level 3 implementation, Level 3: Additionally support YUV reprocessing and RAW image capture. There can be device which does not have Level 3 implementation, what about this case?

from cameraview-ex.

pvasa avatar pvasa commented on May 27, 2024

@rid-hrant YUV reprocessing is different than producing YUV output. Hardware level 3 check is required for YUV reprocessing but YUV image output (YUV_420_888 or NV21) can simply be produced using ImageReader without any extra check.

from cameraview-ex.

rid-x avatar rid-x commented on May 27, 2024

@pvasa Is implementation of this method camera.setPreviewFrameListener related to YUV reprocessing? If YUV reprocessing not supported, will it work?

from cameraview-ex.

rid-x avatar rid-x commented on May 27, 2024

@pvasa thank you! Now it's clear. 🙂

from cameraview-ex.

Related Issues (20)

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.