|
Yong Yang- > I am profiling my video encoder program on TI DM642 EVM. It's extremely slow. 17 > hours has passed but it even has not encoded one frame! Any way to speed it up? I'd be happy to help you with some advice, since we are working with DM642 EVM board also. It sounds like you are sort of stuck with basic things that need to be fixed before you can even think about video encoder performance. Could you answer my previous first? I need to know if you could get simple loopback working, without your video codec. I cannot help you unless you answer my questions. -Jeff |
|
|
|
Hi, Jeff
The simple loopback is working. Actually i got it from a TI sample program of EVM DM642,
called "scaling", which gets captured video and outputs to TV. I simply changed the output
to the internal buffer of my encoder. Maybe shall i remove all the code about
display?
You can find this sample from C:\ti\boards\evmdm642\examples\video\driver\, if you
installed CCS in C:\ti\.
Thanks
Yong
Jeff Brower <j...@signalogic.com> wrote: Yong Yang-
|
|
Hi, Ganesh Pls see the answers below, All major functions in the encoder Function Profile Debug, Speed most Critical, Opt level:File, Program Level OPt: No External Var Refs, RTS Modifications: Defns no Funcs, Memory Models: Far Calls & Data, RTS CAlls:Use Memory Model ISDRAM base:0x0, length:40000, heap size :0x20000 SDRAM base:0x80000000, length:0x5000000, heap size: 0x3000000 All code and data are loaded to SDRAM, L2 cache 256k enabled DM 642 600MHZ Optimazed on Pentium 3.2G PC, speed around 80fps. Now on DSP only 2fps, need realtime 15fps Using profiler tool. Under menu->Start new Sesseion, then select profile area. No clock() functions or TIMER module Thanks Yong
|
|
Hi Ganesh, Thanks for your answer. I need some clarification. Pls see them
embedded below (in red).
Thanks
Yong
Ganesh Vijayan <g...@emuzed.com> wrote:
|