大佬什么都极简,还喜欢rt-thread
离线
牛啊
离线
仰望大佬↑↑↑↑↑↑↑↑↑↑↑
离线
Niubility!!!
离线
Niubility!!!
离线
在乌克兰的坛友,你的国家正遭受战争,为你祈祷
离线
感谢分享!
离线
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
离线
Thanks for sharing!
very very goooooooooooood
最近编辑记录 polestar (2022-05-04 03:24:15)
离线
人们可以获得哪些文件来构建此功能?
离线
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...?
离线
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).
离线
Was it not possible to launch the H264 decoder ???
离线
polestar 说:Was it not possible to launch the H264 decoder ???
All in good time
In the hope of victory and a world without war and bloodshed
离线
你可以上传github
离线
@Ozelot
very helpful. thank you
离线
离线
好厉害啊,不知v3s 能否用上。
离线
离线
这个解码是裸机下的还是linux下的
离线
视觉℡ 说:这个是软件解码,并不是硬件解码
Why?
非常抱歉,我理解错误。
mjpgdec.bin 在flash中的地址是多少? 32768?
离线
非常抱歉,我理解错误。
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
离线
could you please share this project on github or gitee?i can't download it on this website.
离线
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)
离线
wow, thats looks cool. keep up, very good work bro
离线
wowo,so good,thank you for your share
离线
nice work.
离线
thats looks cool.
离线
wowo,so good,thank you for your share
离线
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.
离线
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.
离线
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.
离线
what about the H264 decoder?
最近编辑记录 hoel (2023-02-17 17:11:08)
离线
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)
离线
@Ozelot
wow, that is a reality check, hard to realize what you are going through. With my best wishes for a fast resolution of this terrible situation and a fast recovery of the country.
I'll update here too if i have some news about the H264, i already started to port it months ago but there was just too many third party linux dependencies. I still have the Keil project though.
最近编辑记录 hoel (2023-02-17 22:59:07)
离线
离线
@Ozelot
hi, dear friend, i downloaded baremetal project from your repository.
I set timer0 interrupt enable, but it didn't work.
how to add irq_handler( such as timer, uart, gpio ...) to f1c_nonos-main\src\lvgl\main.c?
------------------------------------------
void timer_irq_handler(void) {
lv_tick_inc(1);
tim_clear_irq(TIM0);
timer_count ++;
if(timer_count == 1000)//1S
{
timer_count = 0;
uart_sendbyte(UART1, 0x55);//send 1byte every 1s
}
}
void timer_init(void) {
// Configure timer to generate update event every 1ms
tim_init(TIM0, TIM_MODE_CONT, TIM_SRC_HOSC, TIM_PSC_1);
tim_set_period(TIM0, 24000000UL / 1000UL);//1ms
tim_int_enable(TIM0);
// IRQ configuration
intc_set_irq_handler(IRQ_TIMER0, timer_irq_handler);
intc_enable_irq(IRQ_TIMER0);
tim_start(TIM0);
}
------------------------------------------
thank you.
最近编辑记录 sh200436 (2023-06-23 21:35:26)
离线
@sh200436
See an example of an interrupt handler: https://github.com/minilogic/f1c_nonos/tree/main/src/irq
离线
@sh200436
See an example of an interrupt handler: https://github.com/minilogic/f1c_nonos/tree/main/src/irq
Wonderful!
I found 'IRQ' in /drv/sys.c, but i didn’t know how to deal with it, so new irq example is very wonderful.
Thank you so much!
离线
hameyou 说:这个解码是裸机下的还是linux下的
NonOs Baremetal
最近在找F1C100硬解资料。
是在unbuntu哪个版本上编译的呢?
离线
请问和ST的硬件解码器相比如何呢?
离线
3~4ms?这个速度真是够快的
离线
你说的是和ST有JPEG硬解的单片机比?貌似应该是这个更强,STM32H7硬解800x480的JPEG耗时大概10ms
请问和ST的硬件解码器相比如何呢?
离线
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
大佬你好,我移植了你的代码,测试了花,结果如下图,请问可能是什么原因?
花原图如下:
离线
看起来是RGB反了,或是大小端反了。
搞个RGB纯色图片来测试下看看。
确实是大小端反了
离线
Ozelot, 谢谢你,软件很好用。Make file 改了点,文件架没自动做。
Great software and I was able to run all of them. Just made a quick change to the makefiles to create the directory structure.
Note the mksuxi line is commented out, just uncomment or run separately. I compile on Linux and mksunxi provided is windows.
copy bin to windows and run mksunxi boot.bin
最近编辑记录 metri (2024-08-07 09:33:39)
离线
我今天测试一下. 可以成功显示了. 涉及到yuv 软件转码. 我觉得可以通过defe硬件功能转化
离线
If anyone tries the 60fps example, there is a caveat. Your screen resolution must be divisible by 32 as the m32dec function relies on this. I'm not sure the best way to solve this. I use 720 resolution so I found this problem. I solved by padding video to 736 with ffmpeg. There may be a better way to fix, but this made it work for me.
离线