您尚未登录。

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

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 37
积分: 66

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

离线

#1 2022-04-20 16:27:08

LinjieGuo
Moderator
注册时间: 2019-07-24
已发帖子: 537
积分: 540
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

仰望大佬↑↑↑↑↑↑↑↑↑↑↑

离线

#2 2022-04-20 19:29:26

zzm24
会员
注册时间: 2018-05-07
已发帖子: 91
积分: 28

Re: Baremetal hardware JPEG-decoder example (F1C100S)

大佬什么都极简,还喜欢rt-thread

离线

#3 2022-04-20 20:40:23

libc0607
会员
注册时间: 2018-12-13
已发帖子: 21
积分: 14.5

Re: Baremetal hardware JPEG-decoder example (F1C100S)

牛啊

离线

#4 2022-04-21 09:34:33

村民
会员
注册时间: 2019-03-06
已发帖子: 37
积分: 16

Re: Baremetal hardware JPEG-decoder example (F1C100S)

仰望大佬↑↑↑↑↑↑↑↑↑↑↑

离线

#5 2022-04-21 10:27:48

xfdr0805
会员
注册时间: 2020-07-23
已发帖子: 245
积分: 313

Re: Baremetal hardware JPEG-decoder example (F1C100S)

Niubility!!!

离线

#6 2022-04-23 23:14:52

varzhou
会员
注册时间: 2020-07-14
已发帖子: 102
积分: 16

Re: Baremetal hardware JPEG-decoder example (F1C100S)

Niubility!!!

离线

#7 2022-04-23 23:46:59

myxiaonia
会员
注册时间: 2019-06-18
已发帖子: 76
积分: 49.5

Re: Baremetal hardware JPEG-decoder example (F1C100S)

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

离线

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

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 37
积分: 66

Re: Baremetal hardware JPEG-decoder example (F1C100S)

myxiaonia 说:

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

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

离线

#9 2022-04-24 11:25:10

kin
会员
注册时间: 2020-04-06
已发帖子: 16
积分: 30.5

Re: Baremetal hardware JPEG-decoder example (F1C100S)

感谢分享!

离线

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

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 37
积分: 66

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

离线

#11 2022-05-04 03:23:04

polestar
会员
注册时间: 2019-12-24
已发帖子: 10
积分: 0

Re: Baremetal hardware JPEG-decoder example (F1C100S)

Thanks for sharing!

very very goooooooooooood

最近编辑记录 polestar (2022-05-04 03:24:15)

离线

#12 2022-05-04 09:57:43

thindcna
会员
注册时间: 2020-04-25
已发帖子: 32
积分: 6.5

Re: Baremetal hardware JPEG-decoder example (F1C100S)

人们可以获得哪些文件来构建此功能?

离线

#13 2022-05-04 11:10:57

thindcna
会员
注册时间: 2020-04-25
已发帖子: 32
积分: 6.5

Re: Baremetal hardware JPEG-decoder example (F1C100S)

Ozelot 说:

Simple example of hardware decoding JPEG image.
Resolution 800x480. Decoding time 3-4ms.
Sources: jpgdec.7z
https://whycan.com/files/members/4572/girl.jpg
https://whycan.com/files/members/4572/flower.jpg

Thank Ozelot. Do you have the document about this feature? For example: Allwinner user manual...?

离线

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

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 37
积分: 66

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

离线

#15 2022-05-04 21:01:59

polestar
会员
注册时间: 2019-12-24
已发帖子: 10
积分: 0

Re: Baremetal hardware JPEG-decoder example (F1C100S)

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

离线

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

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 37
积分: 66

Re: Baremetal hardware JPEG-decoder example (F1C100S)

polestar 说:

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

All in good time smile

离线

#17 2022-05-05 17:53:30

polestar
会员
注册时间: 2019-12-24
已发帖子: 10
积分: 0

Re: Baremetal hardware JPEG-decoder example (F1C100S)

Ozelot 说:
polestar 说:

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

All in good time smile

In the hope of victory and a world without war and bloodshed

离线

#18 2022-05-06 20:20:35

vuthai
会员
注册时间: 2021-06-04
已发帖子: 1
积分: 1

Re: Baremetal hardware JPEG-decoder example (F1C100S)

你可以上传github

离线

#19 2022-05-06 23:24:14

thindcna
会员
注册时间: 2020-04-25
已发帖子: 32
积分: 6.5

Re: Baremetal hardware JPEG-decoder example (F1C100S)

@Ozelot
very helpful. thank you

离线

#20 2022-05-30 17:40:08

视觉℡
会员
注册时间: 2019-01-29
已发帖子: 29
积分: 21
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

感谢大佬分享,最近正在找硬解的相关代码





离线

#21 2022-05-31 03:44:26

musich
会员
注册时间: 2018-04-17
已发帖子: 132
积分: 154

Re: Baremetal hardware JPEG-decoder example (F1C100S)

好厉害啊,不知v3s 能否用上。

离线

#22 2022-05-31 11:58:49

视觉℡
会员
注册时间: 2019-01-29
已发帖子: 29
积分: 21
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

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





离线

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

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 37
积分: 66

Re: Baremetal hardware JPEG-decoder example (F1C100S)

视觉℡ 说:

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

Why?

离线

#24 2022-05-31 19:55:06

hameyou
会员
注册时间: 2018-04-15
已发帖子: 134
积分: 6.5

Re: Baremetal hardware JPEG-decoder example (F1C100S)

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

离线

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

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 37
积分: 66

Re: Baremetal hardware JPEG-decoder example (F1C100S)

hameyou 说:

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

NonOs Baremetal

离线

#26 2022-05-31 21:41:50

视觉℡
会员
注册时间: 2019-01-29
已发帖子: 29
积分: 21
个人网站

Re: Baremetal hardware JPEG-decoder example (F1C100S)

Ozelot 说:
视觉℡ 说:

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

Why?

非常抱歉,我理解错误。
mjpgdec.bin 在flash中的地址是多少? 32768?





离线

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

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 37
积分: 66

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

离线

#28 2022-06-19 21:28:29

Ican
会员
注册时间: 2022-06-11
已发帖子: 30
积分: 0

Re: Baremetal hardware JPEG-decoder example (F1C100S)

could you please share this project on github or gitee?i can't download it on this website.

离线

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

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 37
积分: 66

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)

离线

#30 2022-08-22 19:03:14

neotendo
会员
注册时间: 2022-08-19
已发帖子: 180
积分: 203

Re: Baremetal hardware JPEG-decoder example (F1C100S)

wow, thats looks cool. keep up, very good work bro

离线

#31 2022-08-25 09:14:32

笔走天下
会员
注册时间: 2021-08-13
已发帖子: 123
积分: 2.5

Re: Baremetal hardware JPEG-decoder example (F1C100S)

wowo,so good,thank you for your share

离线

#32 2022-08-30 14:54:57

robiin
会员
注册时间: 2022-08-08
已发帖子: 2
积分: 2

Re: Baremetal hardware JPEG-decoder example (F1C100S)

nice work.

离线

#33 2022-08-31 22:52:01

stephone
会员
注册时间: 2019-10-09
已发帖子: 55
积分: 7

Re: Baremetal hardware JPEG-decoder example (F1C100S)

thats looks cool.

离线

#34 2022-12-14 22:08:36

at12
会员
注册时间: 2020-05-08
已发帖子: 2
积分: 2

Re: Baremetal hardware JPEG-decoder example (F1C100S)

wowo,so good,thank you for your share

离线

#35 2022-12-14 23:36:57

Mitko
会员
注册时间: 2018-03-13
已发帖子: 202
积分: 192

Re: Baremetal hardware JPEG-decoder example (F1C100S)

Ozelot 说:

We will win!

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.

离线

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

Ozelot
会员
所在地: Ukraine
注册时间: 2020-06-22
已发帖子: 37
积分: 66

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.

离线

#37 2022-12-15 08:09:05

Blueskull
会员
注册时间: 2020-02-20
已发帖子: 431
积分: 417.5

Re: Baremetal hardware JPEG-decoder example (F1C100S)

Dude, this is a TECH forum. May our Russian and Ukrainian friends here be at least peaceful to each other? If you want to go political, Reddit is a good place.

离线

页脚

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

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