您尚未登录。

楼主 # 2022-04-20 15:08:25

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Baremetal hardware JPEG-decoder example (F1C100S)

Simple example of hardware decoding JPEG image.
Resolution 800x480. Decoding time 3-4ms.
Sources: jpgdec.7z
girl.jpg
flower.jpg

离线

楼主 #8 2022-04-24 00:34:19

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

myxiaonia 说:

在乌克兰的坛友,你的国家正遭受战争,为你祈祷

Thank you!
There are fights near my city.
We will win!

离线

楼主 #10 2022-04-26 19:25:26

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

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

离线

楼主 #14 2022-05-04 13:35:45

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

thindcna 说:

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

离线

楼主 #16 2022-05-04 21:39:13

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

polestar 说:

Was it not possible to launch the H264 decoder ???

All in good time smile

离线

楼主 #23 2022-05-31 16:20:00

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

视觉℡ 说:

这个是软件解码,并不是硬件解码

Why?

离线

楼主 #25 2022-05-31 20:39:22

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

hameyou 说:

这个解码是裸机下的还是linux下的

NonOs Baremetal

离线

楼主 #27 2022-05-31 21:58:03

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

视觉℡ 说:

非常抱歉,我理解错误。
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

离线

楼主 #29 2022-08-19 19:55:55

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

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)

离线

楼主 #36 2022-12-15 04:51:12

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

Mitko 说:

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.

离线

楼主 #40 2023-02-17 19:47:18

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

hoel 说:

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)

离线

楼主 #44 2023-06-27 21:11:06

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 52
积分: 36
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

@sh200436
See an example of an interrupt handler: https://github.com/minilogic/f1c_nonos/tree/main/src/irq

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn