Other Parts Discussed in Thread: DM3725
Hi,
I am develop the video play function on DM3725 chip, the sequence is as following:
Init():
Open Device (“/dev/video2”)
Query Capability
Rotate
Set Pixel Format
Set Color Key
Enable Alpha Blending
Request Buffer
Query Buffer
Memory Map
Queue Buffer
Set Crop Size
Set Display Size
Stream On
Play(): loop
{
Dequeue Buffer
Fill Data
Queue Buffer
}
Exit():
Stream Off
Memory Unmap
Close Device
It works well.
But I have a question: when I want to scale the video during playing, I need change the “crop size” and/or “display size” (red steps), which steps above should I do?
Now my solution is run exit() and then init() again, it works but not good, the performance is bad and apparent screen blink is observable, so I want to know which steps could be skipped.
Thank you very much.