Giter VIP home page Giter VIP logo

Comments (7)

HermanChen avatar HermanChen commented on May 30, 2024

The camera source has been added.

The rockchip-linux mpp is temporally set to private for a while. It will be opened later.
This repo will release the mpp latest commits.

from mpp.

jpiat avatar jpiat commented on May 30, 2024

I looked at the mpp encoder test with camera input but from what i see its basically using the v4l2 driver for the camera so there is memory copy to user space. Some of the source code of the mpp refers to encoding from isp (with functions left empty), so is there any work in progress to encode straight from ISP ?

from mpp.

HermanChen avatar HermanChen commented on May 30, 2024

No, the buffer is using mmap mode and no copy is required.

from mpp.

jpiat avatar jpiat commented on May 30, 2024

how can i evaluate frame-rate using this test ?

from mpp.

jpiat avatar jpiat commented on May 30, 2024

i just did a test using time in inux and the result seems very promising since i encode 3000 frames in 100 seconds which is 30FPS. I'll give it some more test.

from mpp.

jpiat avatar jpiat commented on May 30, 2024

After looking at the code it seems that example maps the v4l2 buffers to dma so that there is no memcpy involved to get transfer the buffers to the mpp. This works very well but unfortunately it means that applications that needs to process the frame (like gstreamer) will not achieve the max frame rate.

from mpp.

HermanChen avatar HermanChen commented on May 30, 2024

Application can modify the pixel in dma-buf directly or copy to another dma-buf to do the image processing then give it to encoder.

from mpp.

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.