Write Raspberry PI 3 (BCM2837) hardware H264 decoder
$30-250 AUD
취소됨
게시됨 거의 6년 전
$30-250 AUD
제출할때 지불됩니다
I need H264 decoder for Raspberry PI 3 which uses its on-board Broadcomm chipset.
The decoder must be implemented using MMAL/OpenMAX (Multi-Media Abstraction Layer) in C++ as the following abstract class implementation and must sit in single source CPP file.
Implementer must override "decodeFrame" method.
Attached test MP4 video you should be able to decode. Use libav to do demuxing.
The following requirements must be met (taken in account):
1. The H264 frames are coming in decode order (DTS is increasing) as if they would be stored in file;
2. Decoded frames must be outputted in presentation order (PTS in increasing). Implementation must take care of frame reordering;
3. Do as little memory reallocations as possible;
4. The resize must be done in hardware. Connect "video_decode" component output to resize "component" input;
5. No software image manipulations! Implementation must exploit hardware-only functionality;
6. Do as little memory copy as possible. Frame data must be copied once from hardware buffer;
7. No memory leaks are allowed. I won't accept job if any;
8. Used compiler is g++ 6.x;
9. No warnings must be generated during compilation;
10. Your job output must be two files: BroadcommDecoder.h and [login to view URL] with decoder implementation;
11. No dependencies other than Standard C++ libraries, /opt/vc/* libraries and libAV are allowed;
12. You must use latest Raspberry PI 3 image for development;
(The MMAL can be found at /opt/vc/include/interface/mmal/ of Raspberry PI 3 image)
The interface to abstract C++ decoder class is attached