All of lore.kernel.org
 help / color / mirror / Atom feed
* Max size format
@ 2010-07-29 16:56 Gabriel Duarte
  2010-07-29 17:46 ` Charlie X. Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Gabriel Duarte @ 2010-07-29 16:56 UTC (permalink / raw)
  To: video4linux-list

Hello all!
I've built an app to get the max size of my cameras! I got two capture
devices, and simple webcam, with max size 640x480 and a TV capture card, max
size 744x480. When I query my webcam, at /dev/video0, it returns the right
size, but my TV card returns a weird size, like this:


*gabriel@bourbaki:~/Desktop$ ./camera_size /dev/video0*
*raw pixfmt: YUYV 640x480*
*pixfmt: RGB3 640x480*
*gabriel@bourbaki:~/Desktop$ ./camera_size /dev/video1*
*raw pixfmt: BGR3 48x32*
*pixfmt: RGB3 48x32*
*
*
I'll attach my code and if someone find out what is going wrong, I'd be very
glad!

Thank you all!


-- 
Gabriel Duarte
Linux User #471185
Rio de Janeiro - RJ
http://w3.impa.br/~gabrield

Phones:
(55) (21) 9463-7760  -> Mobile
(55) (21) 2464-9302  -> Home
(55) (21) 2529-5080  -> Work
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-29 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-29 16:56 Max size format Gabriel Duarte
2010-07-29 17:46 ` Charlie X. Liu
2010-07-29 17:59   ` Gabriel Duarte

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.