What number can we set to the scaling ration when use i.MX6 G2D API?

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

What number can we set to the scaling ration when use i.MX6 G2D API?

582 Views
satoshishimoda
Senior Contributor I

Hi community,

Our partner have a question about i.MX6DL G2D API.

When use i.MX6DL G2D API, can we set the scaling ratio liberally?

Or is there some restriction?

(e.g. The scaling ration have to be a multiple or submultiple number of 2 (x2, x4, x1/2, 1/8, etc...))

Best Regards,

Satoshi Shimoda

Labels (3)
Tags (2)
0 Kudos
1 Reply

398 Views
igorpadykov
NXP Employee
NXP Employee

Hi Satoshi,

yes one can choose any scaling ratio,  no restricitons.

Document i.MX_6_2D_API.pdf (included in Doc bundle on link below)

in sect.8.6 "Filter BLT" states:

"Filter blit performs high quality scaling, up or down, using an FIR re-sampling

filter with up to 9 taps. Sub-pixel coordinates (locations between the pixel grids)

are generated by the drawing engine.

..

A stretch- or shrink-factor of 15.16 fixed-point format is supported."

L3.10.17_1.0.0_LINUX_DOCS Linux 3.10.17 BSP & MM Bundle

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos