RE: How to get real frame rate

2009-05-11 Thread Balagopalakrishnan, Anand
You can do this using gettimeofday().The gettimeofday returns the time in seconds and microseconds. gettimeofday(T1, NULL); // Process 100 frames gettimeofday(T2, NULL); The delta between T1 and T2 should give the time for processing 100 frames. Best Regards, Anand Balagopalakrishnan Texas

RE: how to use semaphores

2009-05-06 Thread Balagopalakrishnan, Anand
If you are using DVSDK, the Davinci Multimedia Application Interface (DMAI) provides an abstraction for thread synchronization called Rendezvous. It is typically used for initialization but can also be used for synchronization during regular processing. Even if you don't use this module, you

RE: Codec engine hangs when during TraceUtil_start function

2009-05-04 Thread Balagopalakrishnan, Anand
What are the attributes configured for TraceUtil in the XDC cfg file? By default, the CE traces will be redirected to /tmp/cearmlog.txt. It looks like you have set the environment variables CE_TRACEFILE so it gets redirected to trace/cearmlog.txt. If the directory trace doesn't exist, there

RE: when port a software , bus error

2009-04-27 Thread Balagopalakrishnan, Anand
Zhenfeng, As Sid pointed out, the bus error is due to access of int32 data at non word aligned address. You have turned on structure packing with the #pragma directive. If this was not done, the compiler would have padded 3 bytes between the char 'm' and int 'data'. In that case, the int

RE: Real-time video processing on DM6467 EVM

2009-04-23 Thread Balagopalakrishnan, Anand
Abhishek, The link provided by Jayakrishnan is a good starting point. In addition, TI has a whole set of FAQs and usage notes for DVSDK available at: http://tiexpressdsp.com/index.php?title=Main_Page IMHO, the following should be your approach: 1. Decide whether the video processing

RE: Kernel hangs while booting

2009-04-23 Thread Balagopalakrishnan, Anand
Muneendra, What's the error coming now? Does it stop after the NFS boot procedure? If you have moved to a new kernel, you might want to use the target file system associated with this kernel. Best Regards, Anand Balagopalakrishnan Texas Instruments India -Original Message- From:

RE: DM6446+ Hostname Look up failure when i ping yahoo.com

2009-04-22 Thread Balagopalakrishnan, Anand
There could be several reasons: 1. Does the EVM network configuration contain the correct gateway IP? 2. Is the correct DNS server configured? If not, this needs to be added as part of DHCP options or in the static IP configuration. 3. If you have the EVM inside the corporate network, the

RE: DSP Cycles measurement on DM6467

2009-04-20 Thread Balagopalakrishnan, Anand
The TSC_enable initialize the 32 bit registers - TSCL TSCH. They are used only on DSP. Regards, Anand -Original Message- From: Steve Chen [mailto:sc...@mvista.com] Sent: Monday, April 20, 2009 5:22 PM To: Balagopalakrishnan, Anand Cc: Griffis, Brad; Joshi, Prasad; davinci-linux-open

RE: DSP Cycles measurement on DM6467

2009-04-19 Thread Balagopalakrishnan, Anand
Before accessing the TSC registers, you need to enable them by calling: TSC_enable(); To get the DSP cycles, the best option is to use TSC_read(). This returns a 64 bit unsigned int containing the value of both TSCH and TSCL registers. Regards, Anand -Original Message- From:

RE: help: how to config kernel to support tcp udp AF_INET

2009-04-07 Thread Balagopalakrishnan, Anand
When you create the socket, try using IPPROTO_TCP instead of 0 as the protocol for both the client and server. I believe this should solve your problem. Regards, Anand Balagopalakrishnan Texas Instruments Inc India From:

RE: RE: help: how to config kernel to support tcp udp AF_INET

2009-04-07 Thread Balagopalakrishnan, Anand
, please inspect the routing table on your testboard. Regards, Anand Balagopalakrishnan From: yf...@icarevision.cn [mailto:yf...@icarevision.cn] Sent: Tuesday, April 07, 2009 3:10 PM To: Balagopalakrishnan, Anand; davinci-linux-open-source-boun

RE: Use of shared buffer for VPBE

2009-03-31 Thread Balagopalakrishnan, Anand
It depends on the driver interface you are using - V4L2 or FBDev. The V4L2 specification has ioctl commands for Dequeuing and Queuing a user buffer with the display driver. On the other hand, the FBDev interface doesn't support user pointers - driver buffer allocation is only through memory

RE: codec building viddec_copy.c error

2008-01-29 Thread Balagopalakrishnan, Anand
The following error indicates that ti.sdo.utils.trace package doesn't get included as part of the build. This package is present in $(CE_INSTALL_DIR)/cetools/packages. If you include the cetools package as part of your XDC_PATH, the problem should be resolved.

RE: Kernel hangs

2008-01-29 Thread Balagopalakrishnan, Anand
It looks like a classic case of white space problem in bootargs. Ensure that you type the bootargs and don't copy-paste from a word/pdf document. Specifically, the bootargs setting console=ttyS0,115200n8 Regards, Anand From: [EMAIL PROTECTED]

RE: Test vectors WMA9 / VC-1 / WMV9 for davinci....

2008-01-24 Thread Balagopalakrishnan, Anand
Ragas, The best option is to procure the SMPTE VC-1 Test Material: http://store.smpte.org/VC-1-Test-Material-p/vc-1.htm This contains VC-1 conformance bitstreams with D1 resolutions. Regards, Anand From: [EMAIL PROTECTED] [mailto:[EMAIL