Get the values of luminance of displayed images

I am developing a video player software applying to HLS.

How can I get the values of luminance of displayed images ?

I was not able to get it using "renderInCotext" and "AVAsset".

Get the values of luminance of displayed images
 
 
Q