Code Monkey home page Code Monkey logo

bzyuvlib's Introduction

I previously wrote a YUV to RGBA project based on RenderScript, address: https://www.raoyunsoft.com/wordpress/index.php/2020/01/19/yuvrenderscript/ If you like it, you can go here to find it, than Android native ScriptIntrinsicYuvToRGB is much more powerful, but recently found that RenderScript is much slower than Google ’s libyuv, so I wrote a YUV conversion project based on libyuv, and also supported the YUV conversion of Camera1 and Camera2 output, and the YUV mirror , Rotation, supported functions are as follows:

  1. yuv420pToRGBA/yuv420pToBGRA
  2. preHandleYUV
  3. yv12ToRGBA/yv12ToBGRA
  4. nv21ToRGBA/nv21ToBGRA
  5. cropNV21/cropYUV420
  6. zoomYUV420
  7. bitmapToYUV420
  8. yuvToGrey
  9. greyToRGBA
  10. translationSingleChannel
  11. Support RGBA rotation and mirroring
  12. yuvI420ToNV21
  13. yuvI420ToNV12

How to use:

1.First add mavenCentral() as shown below
allprojects {
    repositories {
        maven { url "https://www.raoyunsoft.com/nexus/repository/maven-releases/" }
    }
}
2. implementation 'com.guaishou.bzlib:bzyuv:1.1.19@aar'

If it helps you, please give me a star

中文文档(Chinese DOC)

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.