Re: To avoid memcpy

2009-05-11 Thread Andrea Gasparini
Jerry Johns spiffera, alle Friday 08 May 2009 circa: Why don't you setup the capture/resizer hardware in continuous mode so that the resizer and capture blocks are linked together? This way, the resizer hardware gets the frame directly from the capture block (as opposed to doing each as a

How to get real frame rate

2009-05-11 Thread Ondrej Pindroch
Hi I have build application which is capturing frames from CMOS. But now I need to get real frame rate, or average frame rate over some periode of time. Is in davinci linux some kind of timer which could be use to measure time of 100 frames, or something similar. Best regards:) Ondrej Pindroch

MPEG-TS

2009-05-11 Thread murat maman
Hi, I am using DM355 when I was capturing video I saw that it was encoding mpeg4-ts format. When I want to watch it in my computer it does not work. What it is problem I do not know. Need I mpeg4-ts decoder ? Any body can show me some path ? ___

RE: USB Camera and H264 Encoder .....

2009-05-11 Thread Venkatachala Upadhya
Hi, Try this pipeline. I hope that camera you are using will support UYVY format of raw YUV frame. gst-launch-0.10 v4lsrc device=/dev/video0 ! capsfilter caps=video/x-raw-yuv,format=(fourcc)UYVY,width=(int)[16,352],height=(int)[16,288],framerate=(fraction)30/1 ! TIVidenc ! queue ! TIViddec !

Re: MPEG-TS

2009-05-11 Thread Liu Yebo
You can play ts stream by VLC Player . - Original Message - From: murat maman muratma...@yahoo.com To: davinci-linux-open-source@linux.davincidsp.com Sent: Monday, May 11, 2009 4:30 PM Subject: MPEG-TS Hi, I am using DM355 when I was capturing video I saw that it was encoding mpeg4-ts

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

Remote node creation failure(0x80008008)

2009-05-11 Thread gunnasanthosh kumar
Hello, I am getting an error message Remote node creation failure(0x80008008) during algorithm create time for h264 decoder unit server on DVTB. What could be the likely reason for this error ? How to fix it? Thanks, Santhosh ___

Re: USB Camera and H264 Encoder .....

2009-05-11 Thread Purushottam R S
Still I get the same error, I have Zippys camera. Which generally work on desktop with v4lsrc. Any other input -purush From: Venkatachala Upadhya venkatachala_upad...@mindtree.com To: Purushottam R S purushottam_...@yahoo.com;

RE: USB Camera and H264 Encoder .....

2009-05-11 Thread Venkatachala Upadhya
try this, gst-launch-0.10 v4lsrc device=/dev/video0 ! ffmpegcolorspace ! TIVidenc ! queue ! TIViddec ! TIDmaiVideoSink displayStd=fbdev displayDevice=/dev/fb/3 videoStd=D1_NTSC videoOutput=COMPOSITE resizer=TRUE accelFrameCopy=TRUE With best regards, Venkatachala Upadhya| Extn: 65395| --

Re: USB Camera and H264 Encoder .....

2009-05-11 Thread Purushottam R S
Hi, Now the error message has gone, but it gets EOS immediately and pipeline terminates. so no display. (you can ignore the below invalid format messages, they appear on other platform as well, but camera works) gst-launch-0.10 v4lsrc device=/dev/video0 ! ffmpegcolorspace ! TIVidenc ! queue

RE: USB Camera and H264 Encoder .....

2009-05-11 Thread Maupin, Chase
Purush, Can you try adding --gst-debug=TI*:4 to the gst-launch line and send the results to the list? Sincerely, Chase Maupin Software Applications Catalog DSP Products e-mail: chase.mau...@ti.commailto:chase.mau...@ti.com phone: (281) 274-3285 From:

help for jpeg encoder on dm355

2009-05-11 Thread Jammy Dane
Hi all, I am studying JPEG encode/decode on dm355. I know there is an example for the jpeg in the dvsdk, but its input is a file of *.yuv, if I want to encode it dynamic, namely I want to get a jpeg picture from a video capured by CMOS. what should I change? Can anyone give me some advice?

anyone can do G.729 encode/decode on DM355

2009-05-11 Thread Jammy Dane
Hi all, There is another question: We all know that we can encode and deode with G.711 on DM355, but its bandwidth is wide(64KBPS), if I want to run G.729 for save bandwidth, can anyone give me some advice? Dose TI give any solutions? I will appreciate for your applies!! 2009-05-11 Jammy

Re: GPIO interrupt problems

2009-05-11 Thread Kevin Hilman
David Brownell davi...@pacbell.net writes: On Friday 08 May 2009, Kevin Hilman wrote: After a bit more debugging on the GPIO interrupt issues, I think there is a fundamental hardware limitation in having flexibility of using GPIO bank interrupts and direct interrupts at the same time. And

Re: GPIO interrupt problems

2009-05-11 Thread David Brownell
On Monday 11 May 2009, Kevin Hilman wrote: Seems like the notion for now is to make at least dm355 use direct mapped IRQs on bank 0? Well, if the banked interrupts can work, I think it's simpler to just use banked interrupts or everything. That was my thought. They basically work ...

Re: [RFC] ARM: da830 - Group pinmux indices by device

2009-05-11 Thread Kevin Hilman
Mark A. Greer mgr...@mvista.com writes: From: Mark A. Greer mgr...@mvista.com Group the pinmux indices for various devices to ease setting up the pinmux for a device. A new routine, da830_pinmux_setup(), is added to do the pinmux setup for a group. Signed-off-by: Mark A. Greer

RE: Remote node creation failure(0x80008008)

2009-05-11 Thread Ring, Chris
This is most likely because you ran out of DSP-side resources (memory, DMA, HW accelerators, etc). If you're using Codec Engine 2.00 or later, you can turn on CE_DEBUG to get more insight: http://tiexpressdsp.com/index.php?title=CE_DEBUG Chris From:

[PATCH/RFT] davinci: fixups for banked GPIO interrupt handling

2009-05-11 Thread Kevin Hilman
This patch seems to get me much more reliable performance using the GPIO banked interrupts on dm355 for the dm9000 driver. Changes include: - init GPIO handling along with normal GPIO init - mask the level-sensitive bank IRQ during handling - use genirq edge_handler and mask/unmask hooks instead

RE: GPIO interrupt problems

2009-05-11 Thread Narnakaje, Snehaprabha
Kevin, Dave, We checked this with the hardware team - The GPIO module does't seem to have the ability to enable/disable the direct/banked GPIO[0:9] at the GPIO Level (it does via the SET register, but it doesn't prevent triggering both Interrupts to the CPU). But the option to mask between

Re: USB Camera and H264 Encoder .....

2009-05-11 Thread Purushottam R S
Chase, I have listed here both, with and without --gst-debug=TI*:4 --- Here is without --gst-debug=TI*:4 Setting pipeline to PAUSED ... /mnt/monta-vista/sources/gspcav1-20071224/gspca_core.c: [spca5xx_set_light_freq:1932] Sensor currently not support light frequency