Forum Discussion
Tone Mapping Operator IP Malfunctioning
- 11 months ago
Hi @dscully David,
Does this IP have undocumented restrictions on input resolution?
>> Yes, there is restrictions on the input resolution.
For the input width, it needs to be multiple of the pixels in parallels (PIP) and the number of internal tiles (it is fixed as 4)- So, if PIP = 4 and Number of tiles = 4, then the width needs to be multiple of 4x4 = 16
- For the given two widths you could see that condition is not met, 1944/16 = 121.5 and 3268/16=204.25
- I suggest your to try: 1952 for the first case,
- and 3280 for the second case, then if need be, you could use a clipper to put the width back to your desired width.
- For the input height, it needs to be multiple of the number of internal tiles (it is fixed as 4)
- In this case, your current values are both fine.
Regards,
Wincent_Altera
Hi @dscully David,
Based on the information you provided so far, my initial guess would be that most likely the ROI has not been properly defined in the SW App.
BUT , Before jumping to conclusions, and assuming the TMO has been initialize correctly, we would like a Yes or No on the following questions.
- When TMO is in Bypass mode (reg_0x154 = 0x1), does the video passthrough without any artifacts?
- When TMO is in Processing mode (reg_0x154 = 0x0), does the video passthrough without any artifacts?
- When TMO is in ROI mode (reg_0x154 = 0x2 or 0x6), does the video passthrough without any artifacts?
At the meantime, I will email you privately some Genlock demo that uses the TMO IP, and from the jtag-command you can modify a horizontal slider based on TMO ROI registers. (Let me know if you not receive it)
Regards,
Wincent
Hi Wincent,
1. Yes, the video passes through without artifacts.
2. No, as soon as you switch from Bypass to Processing mode the IP stops producing frames.
3. No, black boxes appear based on the programmed ROI. The non-black box areas appears to be passed through.
To clarify, my earliest attempts did not use the ROI at all. I followed the "Software Driver Example". However, leaving bypass causes the core to stop producing frames immediately. I mentioned ROI because it produced different results than a IP freeze and thought it might be helpful for debug. I would be happy to see the IP function normally without ROI (full frame processing).
I received the design. I believe I have a copy of this design from a previous inquiry but I will verify tomorrow.
Thank you,
David