cancel
Showing results for 
Search instead for 
Did you mean: 

Why does animating an L8 image take significantly longer than a standard image?

scottSD
Lead

I have been experimenting with animating an image onto the screen. Because I want to reduce the amount of FLASH space required, I would like to use an L8 image (I do appreciate adding this format to the TouchGFX framework, by the way).

I am placing the image in a container and I have selected the MoveAnimator Mixin for that container.

However, I notice that the amount of time it takes to animate this container from off the screen to on the screen takes significantly longer when the image is formatted as an L8 (either L8_RGB565 or L8_ARGB888). When I say significant, I am saying it takes up to 50mS as compared to 12mS.

Am I doing something wrong? Is it possible that the DMA2D (ChromART) not working correctly for L8's?

I am using TouchGFX 4.13.0 and my processor is an Stm32H743.

67 REPLIES 67

Hi @Martin KJELDSEN​ 

Is this feature now included in the new 4.15.0 release? I couldn't find it in the release notes?

Cheers

Yeah, it didn't make it, unfortunately, because of extended design discussions for that and a few other new features - but we're merging the feature in now, actually. There'll be a new release around christmas. I'll try to keep you updated.

That being said, are you having issues with the non-official solution or are you just interested in using something more official?

@Martin KJELDSEN​  Yes, I'm having issues. See above (Quote: I gave it a try: When working with 16bit RGB565 and ARGB8888 (non opaque) the chromartdma is working fine.

But when using it with L8_RGB565 and L8_ARGB8888 something is going wrong. (See attached pictures)

Any ideas, hints?)

Something is wrong...

Bear with me as i catch up - Are you using ChromARTDMA.cpp (i think it was called) that i shared a while back? It has L8 support.

/Martin

Yes, that's the one I'm using.

Okay, i'll try to see if i have any updates that i could share here.

/Martin

@Roman Schläpfer​ 

I am using ChromARTDMA and have not seen any issues like you are seeing (in your example above) Are you using an actual L8 image downloaded to the Designer, or converting a standard image to L8?

I typically use a standard image converted to L8 selected in the right margin in the Designer.

@scottSD​ Thanks, I'm using standard images and I select the Image Format in the Config->Default Image Configuration in the Designer.

I think that's a correct way to do it?!

Do the images have to be in a specific format?

@Martin KJELDSEN​  Thanks. It looks like only the generated images are affected. Written Text and background (Box with color) are displayed correctly.