BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - _chris_

Pages: [1]
1
Discussion - EVE / Re: EAB problem with astcenc.exe
« on: April 17, 2024, 08:01:58 PM »
The needle is 600(W)x530(H) It is a red needle going vertically from about 300px down from top plus a filled circular centre area in grey. The remainder is transparent. The overall size allows the needle to display through about 270 degrees with a rotation matrix applied. (Rotated images appear to be cropped outside the original rectangular bitmap size if not rotated).

It appears that the whole area below the image comes out as pink which shows in the opposite top corner when the needle is pointing to the bottom left or bottom right. I will try making the image bigger to see if this solves this issue.

The settings for image conversion are BT81x (using at BT817) and exhaustive (tried all and get the same result).
For the flash utility Data alignment is ticked as is insert EDF block.
I've so far tried 4x4, 5x5 and 8x8 formats. Each one has differences in artifacts.

The binary file is copied to the flash as-is. The blob appears to work as the flash switches to fast ok.

On start up, each image is copied to RAM starting on a 4K boundary for each. Padding is ignored at this stage as the images all start on a 4K boundary.


2
Discussion - EVE / Re: EAB problem with astcenc.exe
« on: April 17, 2024, 08:57:23 AM »
Thanks for the replies.

I suspect the first post hit the nail on the head, I use a fairly old toughbook in the lab as it has a bigger screen than the newer ones which is easier on the eyes. I re-installed on a newer laptop and the supplied one works.

The bad news is that the supplied astcenc is doing exactly the same.

I'm suspecting the problem is that this application is for custom dials so solid lines and text with sharp edges and high contrast. Not ideal for compressed graphics but there are 2.2MB in ARGB555 format. I was assuming I could display direct from flash as stated in the data sheet however when searching forums to solve the issues it has become apparent this is not the case. There should be a warning in the data sheet than only a few small graphics can be displayed direct from flash.

The workaround at the moment is to display the one causing major issues, a large needle with rotation applied, in ARGB555 which takes up 600K and then use higher compression on the remainder and crop the bottoms of the images to hide the artifacts. The customer is complaining that the graphics are looking rather fuzzy like this though.

Are there any suggested optimisation switches for astcenc to make it more suitable for this type of image ?

The only other route I can try is uncompressed / palleted to reduce the image size since there aren't a great deal of colours. Not a route I want to go as it will be more work and restrictive for future changes.

I'm under an NDA so can't post the images on here. It may be I can create something similar myself which shows the same problem.

3
Discussion - EVE / EAB problem with astcenc.exe
« on: April 09, 2024, 10:44:39 PM »
For some reason I seem unable to run astcenc.exe supplied with EAB. I just get an error code "Error when run astcenc.exe tool!"
I tried installing in default 'documents' directory, in program files x86 and also under c:\  All with the same result. I also tried running as administrator, same result again.

I downloaded a generic astcenc.exe for windows and copied in place. This works but the display shows pink/purple dots at the bottom of the image.

Any suggestion on why the supplied astcenc doesn't work, or suggest an alternative version to try which won't show the incorrect dots.

A separate issue to note, the image conversion tool doesn't read the alpha channel from a 32 bit ARGB .bmp image and generates a non tranparent image in ARGB555 or compressed form. A .png works fine so not a problem to convert in a paint package first.

Many thanks.

Pages: [1]