flat assembler
Message board for the users of flat assembler.
Index
> Windows > 8k image player, animation |
Author |
|
revolution 13 Jun 2022, 09:52
Step 1: Upload the data into the GPU memory.
Step 2: Select a new frame each 33ms Are you sure the files are only 32MB? 8k * 4k * RGB = 96MB or RGBA = 128MB |
|||
13 Jun 2022, 09:52 |
|
Fastestcodes 13 Jun 2022, 10:44
Yes. Grayscale pics.
|
|||
13 Jun 2022, 10:44 |
|
Fastestcodes 13 Jun 2022, 10:47
I have no 1+GB Gpu mem. Acdsee and Irfanwiev are slow, only 2-4 pic/s from Imdisk ramdrive.
|
|||
13 Jun 2022, 10:47 |
|
Overclick 13 Jun 2022, 15:56
Look at d2d interfaces, it's fast enough.
|
|||
13 Jun 2022, 15:56 |
|
bitRAKE 13 Jun 2022, 15:57
StretchBlit can convert the grayscale to your native screen format, from your WM_PAINT message handler. You can force an update by invalidating the window at interval. (this would probably not be fast enough though)
_________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
13 Jun 2022, 15:57 |
|
Fastestcodes 14 Jun 2022, 16:31
Around 2s. Bitblt 1,5s. I have no Fasm example prog for picture wiev, Masm32 only(jpg,png).
|
|||
14 Jun 2022, 16:31 |
|
macomics 14 Jun 2022, 18:17
So you would ask for help with translating them to fasm.
|
|||
14 Jun 2022, 18:17 |
|
bitRAKE 15 Jun 2022, 04:38
You could start with something similar, and adapt it to your needs? There are probably other examples on the board. Or, perhaps the directX example in the fasm distribution?
_________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
15 Jun 2022, 04:38 |
|
Overclick 15 Jun 2022, 06:10
Quote:
Do you mean DirectDraw? It's too old and doesn't support hardware acceleration. Direct2D is the best choice. You can start from here: https://board.flatassembler.net/topic.php?t=21951 |
|||
15 Jun 2022, 06:10 |
|
Fastestcodes 15 Jun 2022, 16:18
Acdsee 1-3 pic/s. 3 pics are very fast in slideshow, play from memory. 4+ pics are slow. Faster than Bitblt.
|
|||
15 Jun 2022, 16:18 |
|
Overclick 15 Jun 2022, 17:42
Just tried upscale my projects window up to 8K. It eats a lot of ram and quite heavy for my old PC. Animation about 4-6 frames per second. But I use a bunch of layers on it and ram is busy it have to swap.
|
||||||||||
15 Jun 2022, 17:42 |
|
I 17 Jun 2022, 00:10
Overclick wrote:
IINM the OP is using XP and XP doesn't support Direct2D AFAIK. |
|||
17 Jun 2022, 00:10 |
|
Overclick 17 Jun 2022, 09:49
XP for 8K? Strange decision. Does XP have any video drivers to support that size? Multiscreen only I guess.
|
|||
17 Jun 2022, 09:49 |
|
Furs 17 Jun 2022, 14:07
I guess he could use D3D9 then. But DirectDraw should be hardware accelerated on XP, no idea if it supports 8k though.
|
|||
17 Jun 2022, 14:07 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.