The method that gamma corrects RGB separately by using GPU of i.MX6Solo

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

The method that gamma corrects RGB separately by using GPU of i.MX6Solo

ソリューションへジャンプ
1,834件の閲覧回数
yuuki
Senior Contributor II

Dear all,

We understand that IPU of i.MX6Solo supports gamma correction.
However, that can't process R, G and B separately.

I think it's possible to process R and G separately by using GPU with Software.

Can 2D graphic engine correct gamma value of the R, G and B separately?

Best Regards,
Yuuki

ラベル(1)
タグ(4)
0 件の賞賛
返信
1 解決策
1,593件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi yuuki

in any way gpu processes data pixel by pixel.

V2D GPU supports OpenVG 1.1 graphics APIs.

Also when you are saying "RGB separately" - what do you mean exactly:

is this is standard OpenVG 1.1 API ?

Best regards

igor

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,593件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi yuuki

I think one can use GPU blending for modification of one color

component (not changing other components), this is described in

IMX6DQRM  sect.31.4.1.16 Alpha Blending

The GPU supports alpha blending together with ROP. The alpha blending function is

performed on ROP function result source.

The general alpha blending equations are:

Cd = Fs * Cs' + Fd * Cd'

Ad = Fs * As'' + Fd * Ad''

Where

• Cs' is the source color component (adjusted for NPM if necessary)

• Cd' is the destination color component (adjusted for NPM if necessary)

• As'' is the modified source alpha component

• Ad'' is the modified destination alpha component

• Fs is fraction of the source that contributes to the final value

• Fd is fraction of the destination that contributes to the final value

Examples can be found in IMX6_GPU_SDK : i.MX6 Graphics SDK – Includes sample

Best regards

igor

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

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

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

1,593件の閲覧回数
yuuki
Senior Contributor II

Dear Igor-san,

Thank you for your support.

I will refer to alpha blending function

By the way, a R2D GPU supports Color Index Input Conversion.
I think that this function can be used.

Does this function support it about RGB separately?

Best Regards,
Yuuki

0 件の賞賛
返信
1,594件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi yuuki

in any way gpu processes data pixel by pixel.

V2D GPU supports OpenVG 1.1 graphics APIs.

Also when you are saying "RGB separately" - what do you mean exactly:

is this is standard OpenVG 1.1 API ?

Best regards

igor

0 件の賞賛
返信