GithubHelp home page GithubHelp logo

fxslava / tiny_mp2v_dec Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 313 KB

Super light mpeg2 decoder

License: MIT License

CMake 1.49% C++ 97.79% C 0.72%
mpeg2dec cmake cpp aarch64 mpeg2 x64 cross-platform rpi4 video-codec raspbian

tiny_mp2v_dec's Introduction

fxslava

Draft: tiny_mp2v_dec

The idea of the project is to create a super light mpeg2 cross-platform decoder for the possibility of its use in ARM microcontrollers with a rather low performance and a small amount of memory. The goal of the project is to achieve the highest performance from a software decoder on the Raspberry Pi 4 platform, ultra low latency, support for spatial and temporal scalability features.

How to build

  1. Clone repository:
git clone https://github.com/fxslava/tiny_mp2v_dec.git | cd ./tiny_mp2v_dec
  1. Generate project with cmake:
cmake -S ./ -B ./build-x64 | cd ./build-x64
  1. Make it:
make .

Supported platforms

  • Linux x64/aarch64
  • Windows x64/aarch64

Done features

  • Support SSE for x64 and NEON for aarch64
  • Multithreading:
    • by pictures
    • by slices
  • Supported chroma formats: 4:2:0, 4:2:2, 4:4:4

TODO

  • Interlaced streams support
  • Field frames support
  • Spatial scalability support
  • Temporal scalability support
  • Enhanced data support
  • Dual prime motion compensation

Status

Product is not ready for release yet, external API is incomplete. Also, the decoder is poorly tested on streams with support for current features. Nevertheless, you can test the decoder on your platform, for this you can use the sample: tiny_mp2v_dec/tiny_decoder/tiny_mp2v_dec.cpp. Run with cmd:

./tiny_mp2v_dec_sample -v 1080p_422.m2v -o output_yuv.yuv

NOTE: For performance testing, you should turn off file output.

tiny_mp2v_dec's People

Contributors

fxslava avatar

Watchers

 avatar  avatar  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.