Simple MJPEG decoding (800x480 @ 25fps)
This example also contains module for working with SD memory card and FATFS library.
The vid directory and its contents must be copied to the root directory of the memory card.
Sources: mjpgdec.7z
离线
Do you have the document about this feature? For example: Allwinner user manual...?
This project is based on CEDRUS sources.
JPEG decoding is fast. YUV2RGB converting in the first sources is slow (~60mS), so in the mjpeg demo I did a table conversion (~24mS).
离线
非常抱歉,我理解错误。
mjpgdec.bin 在flash中的地址是多少? 32768?
Yes. See makefile:
run: all
$(FEL) -p spl $(BOOT).bin
$(FEL) -p write 0x80000000 $(NAME).bin
$(FEL) exec 0x80000000
flash: all
$(FEL) -p spiflash-write 0 $(BOOT).bin
$(FEL) -p spiflash-write 32768 $(NAME).bin
离线
Small modification of the previous demo.
Converting tile-based data is done by the mb32dec function. Color conversion - hardware by debe-module.
Decoding time 3-4ms. MB32 transformation 8-9mS. As a result: fps = 1 / (0.004 + 0.009) = 76
Sources: mjpgdec_60fps.7z
60fps video playback example:
最近编辑记录 Ozelot (2022-08-20 04:37:01)
离线
You will not win, Ukraine and Russia are the same country. Just Ukrainians are poor and brainwashed by the West. It would be better if Ukraine surrenders.
I am in Ukraine and I tell you - we are fighting for our freedom! Russians are fascists. They are killing our people, so in this war we will accept any help.
离线
what about the H264 decoder?
Now I have too little time. Because of the war, I had to leave my city and now I settle down with my family in a new place. At the moment I have an MPEG1/2 decoder implementation. I'll try to put it out as soon as possible in my repository: https://github.com/minilogic/f1c_nonos
最近编辑记录 Ozelot (2023-02-17 19:48:00)
离线
@sh200436
See an example of an interrupt handler: https://github.com/minilogic/f1c_nonos/tree/main/src/irq
离线