public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Apple quicktime v210 codec equivalent support on V4L
@ 2008-05-08 14:26 Dinesh Bhat
  2008-05-08 15:37 ` Daniel Glöckner
  0 siblings, 1 reply; 2+ messages in thread
From: Dinesh Bhat @ 2008-05-08 14:26 UTC (permalink / raw)
  To: Video-4l-list

Hello all,

We have a card that supports v210 codec type on Mac OS X. We have our 
regular drivers (we implement frame buffers) and are interested in 
supporting v4l for this card. I was wondering if there is any direct 
support available for v210 codec. Can anyone please suggest what is the 
best way to go here if we want to support v4l?

Here are the details on v210 packing.

http://developer.apple.com/quicktime/icefloe/dispatch019.html#v210

Thanks for your help.

Kind Regards,

Dinesh

--
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] 2+ messages in thread

* Re: Apple quicktime v210 codec equivalent support on V4L
  2008-05-08 14:26 Apple quicktime v210 codec equivalent support on V4L Dinesh Bhat
@ 2008-05-08 15:37 ` Daniel Glöckner
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Glöckner @ 2008-05-08 15:37 UTC (permalink / raw)
  To: Dinesh Bhat; +Cc: Video-4l-list

On Thu, May 08, 2008 at 09:26:06AM -0500, Dinesh Bhat wrote:
> We have a card that supports v210 codec type on Mac OS X. We have our 
> regular drivers (we implement frame buffers) and are interested in 
> supporting v4l for this card. I was wondering if there is any direct 
> support available for v210 codec. Can anyone please suggest what is the 
> best way to go here if we want to support v4l?

If I understand you correctly, you want to write a V4L driver for this card.

There is currently no equivalent to v210 defined but adding support for it to
V4L is just a matter of adding

#define V4L2_PIX_FMT_V210    v4l2_fourcc('v','2','1','0') /* 20  YUV 4:2:2 */

to videodev2.h.

A description for the V4L2 API specification should be provided as well.

Conversion between different pixel formats is not supposed to be done in V4L
drivers. It should be done either on the card or in the application if needed.
If you need to reorder bits to have v210, invent a new pixel format and
advertise that one instead of v210. Drivers should not touch the frame buffer.
Only hardware and userspace do.

A userspace library is in the works to aid application writers:
http://linuxtv.org/v4lwiki/index.php/V4L2UserspaceLibrary

So your driver should expect the application to already know about v210.

  Daniel

--
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] 2+ messages in thread

end of thread, other threads:[~2008-05-08 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-08 14:26 Apple quicktime v210 codec equivalent support on V4L Dinesh Bhat
2008-05-08 15:37 ` Daniel Glöckner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox