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
Solved! Go to Solution.
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
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!
-----------------------------------------------------------------------------------------------------------------------
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
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