This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I need to decode video stream and resize the video to display device. According to the H.264 decoder user guide, for a 704x576 H.264 stream, the output video buffer is padded into (704+48+16)x(576+96). The VALID video data begins at the 24th byte of each line(This is verified by DMAI examples). But the resizer requires the input data to be 32 bytes aligned. So the decoded video can't applied directly into the resizer. Any solutions? Thanks
You can choose a pointer which is aligned to 32 bytes, i.e. give the base pointer itself(without the 24 byte offset) to the resizer. After resizing, you can calculate the valid area in the frame and then give it for display.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Yashwant Dutt:
But the target buffer for resizer is the buffer of a FBDEV. For example, to resize the 720x576 video to 1024x768 frame buffer，
If I set the source pointer to offset 0(not 24)，the resizer will resize a 768x576 video to frame buffer. This will left black strips at the left/right edge on display device.
i have a pretty similiar problem for resizer becacue of 32 bytes aligned.
The decoded data has a offset so i couldn't meet the align.
how do you solve the problem?
please let me know it.
In reply to jay:
No, I didn't solve it. I aborted
In reply to kickgame:
hi, Melon, Kickgame
i just want to know if you guys get it solved.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.