From: Roger Oberholtzer <roger@opq.se>
To: video4linux-list@redhat.com
Subject: Re: pixel count doubts
Date: Fri, 16 May 2008 16:35:42 +0200 [thread overview]
Message-ID: <1210948542.18713.45.camel@acme.pacific> (raw)
In-Reply-To: <a5eaedfa0805160656t29d2858ao3c1c81469b87b0af@mail.gmail.com>
On Fri, 2008-05-16 at 19:26 +0530, Veda N wrote:
> Hi,
> I am trying to write a camera sensor driver.
>
> The sensor documents says that -
> For the resolution VGA, The pixel count is 640x480x3.
>
> I did not understand what is meant by x3 in pixel count.
>
> Usually it is 60x480. The number of bytes per pixel is 2.
>
> Does this mean that instead of 2 bytes per pixel. it is 3 bytes?
Just guessing, as I do not know the exact context, but I am guessing it
is RGB VGA, in which you are probably correct: a byte each for RGB.
>
>
> How should i account this pixel count in my driver.
> How much should be bytesperline and sizeimage
> How should i account this in my application as well.
First decide if your images are RGB. Maybe they are 8-bit? Or maybe
there is an alpha channel? It is up to your application. All are
possible and valid. That is what makes all this so much fun.
>
> Regards,
> vedan
>
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
--
Roger Oberholtzer
OPQ Systems / Ramböll RST
Ramböll Sverige AB
Kapellgränd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden
Office: Int +46 8-615 60 20
Mobile: Int +46 70-815 1696
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
prev parent reply other threads:[~2008-05-16 15:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 13:56 pixel count doubts Veda N
2008-05-16 14:35 ` Richard Atterer
2008-05-16 14:35 ` Roger Oberholtzer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1210948542.18713.45.camel@acme.pacific \
--to=roger@opq.se \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.