Hi, to resume:
...
Lastly, mplayer and ffmpeg itself appears to work under AOS4. The only problem is the video output. The video output in mplayer itself is on X11.
For testing, a simple output was made to simulate operation under AOS4. What is missing is for this output to be rewritten/re-written in order to lastdznie confirm the operation.
Here is my request, is there any person who could help with this ?
I'm trying to use a color font but I can't get the font colors right. I've set my window's rastport property RPTAG_RemapColorFonts to TRUE with SetRPAttrs() but it doesn't seem to do the trick. (The window is on Workbench screen.)
I open the font with OpenDiskFont() and assign it to the window's rastport with SetFont().
Single color fonts print fine, as you can see from the screenshot. I've used rastport property RPTAG_APenColor to set the single color font color.
These days I am working on a project which uses the Anti-Gravity Geometry library. There is an old version available on os4depot and I wanted to make an updated one with the latest source code from https://sourceforge.net/projects/agg.
There is a makefile for AmigaOS 4, created by Steven Solie, who did the original port. This makefile uses clib2, but I managed to compile the library with newlib without any issues.
I need to check if an image is supported by the installed datatypes, before I use it in GUI. So I thought to use the NewDTObject, and I wrote the checkImageDatatype() method to test it. Below you can see the code.
Although that this works great on AmigaOS 3 68k code, the AmigaOS 4 PPC version crashes the system at the NewDTObject() line.
Does anyone have a (good) reference for the mskHasAlpha masking value for ILBM? I'm struggling to find out what it means with regard to how the bitmap is stored and information seems to be somewhat scarce.
This is a happy camper! I finally succeeded in copying a bitmap to another bitmap on a 24-bit screen while protecting parts of the destination bitmap with a mask. This is something I needed for my game Blackfang, which I am currently working on. It had brought progress on the game to a halt. I couldn't find a way to write to a single non-interleaved bitplane. I didn't ask because I didn't think anybody had tried it for a few decades. I finally found a way to create the mask by "brute force". Then I used BltMaskBitMapRastPort to do the copy.
Hi Amiga coders!
I'm further cleaning all pre os4 functions from FlashMandelOS4 program and I'd like to subst the WritePixel, ReadPixel, RectFill with new OS4 specific ones like WritePixelColor, ReadPixelColor, RectFillColor.
In this way I should gain some overhead due the SetAPen calls discard.
I noticed, at least on 8bit screens, every time I use these new functions I got a system crash.
So maybe these new functions aren't compatible with 8bit screens (!?) ..In autodocs there aren't warnings about this..