Hi,
Using the DM8148 EVM + Video conference daughter board and running the OpenMax demo "capture_encode" modified to capture the video signal from the hdmi receiver (Sii9135).
I noticed that the 8-bits value of the luminance (Y) is clipped to the range 16-235. So, my question is: How to have the full range of luminance (0-255)?
Here are what I found so far:
- I can disable the range clipping on hdmi receiver by setting the bit 0 of the register VID_MODE_2 to '0'. But the result is the same since the h.264 encoder and the hdmi transmitter probably expand the 16-236 range to 0-255. So, I have to find how to disable the range expansion;
- I tried the parameter "OMX_VIDEO_PARAM_VUIINFOTYPE.bFullRange" with index "OMX_TI_IndexParamVideoVUIsettings" for the h.264 encoder but without success. This parameter is documented as "indicate whether pixel value range is specified as full range or not (0 to 255)" (see OMX_TI_Video.h);
- I found the bit 4 of the register "VID_MODE" in HDMI transmitter that is documented as "Data range 16–235 to 0–255 expansion" (see sprugz8a.pdf). But, this is already set to '0' (disabled);
Thanks in advance.