libg2d G2D API library source code and i.MX8MM MINI 8 bit greyscale monochrome to RGBA8888

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

libg2d G2D API library source code and i.MX8MM MINI 8 bit greyscale monochrome to RGBA8888

476 Views
Dandroid4NXP
Contributor II

I am using the i.MX8MM MINI quad processor.

The i.MX Graphics User's Guide, Rev 6, 06/2020 for  Android Q 10.0.0_2.3.0 linux 5.4.24 section 2.4 provide instructions for building the G2D code.

i.MX_Graphics_Users_Guide__section2.4.PNG

As of now, I only have the libg2d.so binary file, but not the source code.

I am wanting to update the library to support colorspace conversion (CSC) from greyscale Y8 / raw8 bit format (true monochrome AND not BAYER) to RGBA8888.  

I am specifically wanting to get an updated version of the library to have the following features:

Can you please answer these questions:

1. Can you please provide the download link to the publicly available repository for the libg2d?

2. If public repository for libg2d does not exist, can an existing NDA that my company has with NXP, be used to obtain a copy of the library via email or other means?

3. Can you please let me know if the latest libg2d supports the G2D pixel format A8 , documented as supported by the hardware in Table 14-3 on page 4326 of the i.MX 8M Mini Applications Processor Reference Manual, Rev. 3, 11/2020 ?

If not, then I'd like to add this support to the library.

4. Is 2D GPU A8 format support implemented in any other linux drivers, board support package, sample code, etc?

5. Can you please let me know if the latest libg2d supports the G2D pixel format "8-bit color index" also shown in the same table of the reference manual?

If not, then I'd like to add this support to the library.

6. Is 2D GPU "8-bit color index" implemented in any other linux drivers, board support package, sample code, etc?

7. Please provide any recommendations for doing the video streaming with GPU 2D  colorspace conversion (CSC) from greyscale Y8 / raw8 bit format (true monochrome AND not BAYER) to RGBA8888 ?  (If possible, using Android Q 10.0.0_2.3.0 linux 5.4.24 mx6s_capture.c , imageProcess.cpp , and libg2d implementation).

 

0 Kudos
Reply
1 Reply

433 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Dandroid4NXP 

G2D library is not opensource and it's impossible to get a copy of source code. The supported functions has published in i.MX Graphics User's Guide.You can refer this latest version: https://www.nxp.com/docs/en/user-guide/IMX_GRAPHICS_USERS_GUIDE.pdf

Zhiming_Liu_0-1721961034048.png

Zhiming_Liu_1-1721961058976.png


Best Regards
Zhiming

0 Kudos
Reply