Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-29 Thread Stelian Pop

On Thu, Jun 28, 2001 at 03:11:22PM -0400, [EMAIL PROTECTED] wrote:

> I imagine it is either using ZV port or VIP/MPP connector - I'll be happy
> to help you to get it to work, provided you know the part that produces
> video stream.

This part is described in the chip's doc here:
http://va.samba.org/picturebook/72002_E_.pdf

Look at the page 9 where the connections between the chip and
the video bus are described. The problem is that there are 2 possible
modes (ZV-port or Digital YC), and I'm not sure which one Sony
chose to use...

> > Well, not quite... I've had several X lockups while using the YUV 
> > acceleration code. Let's say one lockup per half an hour.
> 
> That's not supposed to happen - let me know what causes it.. what you are
> using, etc..

The lockups happen upon closing xawtv (used with xv output). Let's
say one time in ten runs... Then the X server is dead, but I can
still log in using the network and do whatever I want. But if I kill
the X server the whole system freezes hard.

> > but in 640x480 the framerate achieved with Xv is below the
> > one I get by converting YUV->RGB in software...
> 
> You have to be careful here - you can't write to the framebuffer without 
> waiting for engine to go idle. Otherwise it'll lockup.

??? That's not me, it's xawtv, through the XV facilities of the 
X server which writes to the framebuffer... Or maybe I don't 
understand the question...

Anyway, I've retested it with the latest ati.2 binaries and how
the 640x480 xv speed seems to have improved (or something in
my configuration changed, of course :-) ).

> > (but no X driver recognizes this connector today). The motion jpeg
> > chip this camera is based on definately has a video output.
> 
> I can help you get this to work.

I'd like to, thanks.

> > Or it could just be the application who gets YUV data from the chip
> > then send it directly to the video board. Today this works, almost
> > (because we need a patched X - read gatos - and a patched xawtv - in
> > order to do scaling).
> 
> Try using xv_stream from ati_xv branch on gatos.

It won't work out of the box either (it uses only v4l read calls and
doesn't support mmap, it assumes a capture size of 352x288 which this
camera does not support etc). But it should be easy to patch it and
make it work with this camera, just like I did with xawtv.

Stelian.

PS: this hasn't much to do with the kernel anymore, I suggest we
take this discussion off list now. I'm not sure neither if Linus
is really interested in getting a copy of this. :-)
-- 
Stelian Pop <[EMAIL PROTECTED]>
| Free Software Engineer -|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|- Alcôve, liberating software ---|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-29 Thread Stelian Pop

On Thu, Jun 28, 2001 at 03:11:22PM -0400, [EMAIL PROTECTED] wrote:

 I imagine it is either using ZV port or VIP/MPP connector - I'll be happy
 to help you to get it to work, provided you know the part that produces
 video stream.

This part is described in the chip's doc here:
http://va.samba.org/picturebook/72002_E_.pdf

Look at the page 9 where the connections between the chip and
the video bus are described. The problem is that there are 2 possible
modes (ZV-port or Digital YC), and I'm not sure which one Sony
chose to use...

  Well, not quite... I've had several X lockups while using the YUV 
  acceleration code. Let's say one lockup per half an hour.
 
 That's not supposed to happen - let me know what causes it.. what you are
 using, etc..

The lockups happen upon closing xawtv (used with xv output). Let's
say one time in ten runs... Then the X server is dead, but I can
still log in using the network and do whatever I want. But if I kill
the X server the whole system freezes hard.

  but in 640x480 the framerate achieved with Xv is below the
  one I get by converting YUV-RGB in software...
 
 You have to be careful here - you can't write to the framebuffer without 
 waiting for engine to go idle. Otherwise it'll lockup.

??? That's not me, it's xawtv, through the XV facilities of the 
X server which writes to the framebuffer... Or maybe I don't 
understand the question...

Anyway, I've retested it with the latest ati.2 binaries and how
the 640x480 xv speed seems to have improved (or something in
my configuration changed, of course :-) ).

  (but no X driver recognizes this connector today). The motion jpeg
  chip this camera is based on definately has a video output.
 
 I can help you get this to work.

I'd like to, thanks.

  Or it could just be the application who gets YUV data from the chip
  then send it directly to the video board. Today this works, almost
  (because we need a patched X - read gatos - and a patched xawtv - in
  order to do scaling).
 
 Try using xv_stream from ati_xv branch on gatos.

It won't work out of the box either (it uses only v4l read calls and
doesn't support mmap, it assumes a capture size of 352x288 which this
camera does not support etc). But it should be easy to patch it and
make it work with this camera, just like I did with xawtv.

Stelian.

PS: this hasn't much to do with the kernel anymore, I suggest we
take this discussion off list now. I'm not sure neither if Linus
is really interested in getting a copy of this. :-)
-- 
Stelian Pop [EMAIL PROTECTED]
| Free Software Engineer -|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|- Alcôve, liberating software ---|
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-28 Thread volodya


Sorry for replying a couple of weeks late - I don't check linux-kernel
that often.

On Wed, 13 Jun 2001, Stelian Pop wrote:

> > I got just the YUV code from Gatos, and a few months ago it took less than
> > an hour to merge just that part (and most of that was compiling and
> > testing).
> 
> Me too. After some days playing with it it seems that the Rage Mobility
> Card (from the Vaio Picturebook C1VE <- that's where we started the
> discussion):
>   - has almost no acceleration in XFree, including the 4.1.0 release
>   - has Xv YUV->RGB acceleration in Gatos (but that's all, no direct
> video input etc).

it has, but it is disabled as normally notebooks don't have video in. 
Well, some do but this is a grey area. ATI says there supposed to be a
multimedia table that says if you have a decoder on board - but some
manufacturers don't include it. In this case the driver cannot know
whether the decoder is present and disables the interface to avoid
lockups.

I imagine it is either using ZV port or VIP/MPP connector - I'll be happy
to help you to get it to work, provided you know the part that produces
video stream.

> 
> > The rest of Gatos is obviously more experimental, but the YUV code looks
> > quite sane.
> 
> Well, not quite... I've had several X lockups while using the YUV 
> acceleration code. Let's say one lockup per half an hour.

That's not supposed to happen - let me know what causes it.. what you are
using, etc..

> 
> Even the performances are controversial: with 320x240, I achieve 
> great performance with xawtv/meye driver, I can even use the hardware
> scaling facilities (well, the xawtv sources need a little hacking for
> that), but in 640x480 the framerate achieved with Xv is below the
> one I get by converting YUV->RGB in software...

You have to be careful here - you can't write to the framebuffer without 
waiting for engine to go idle. Otherwise it'll lockup.

> 
> But the main question remains: does the MotionEye camera support
> overlay or not ? It could be that it is connected to the feature
> connector of the ATI board for doing direct video input/output
> (but no X driver recognizes this connector today). The motion jpeg
> chip this camera is based on definately has a video output.

I can help you get this to work.

> 
> Or it could just be the application who gets YUV data from the chip
> then send it directly to the video board. Today this works, almost
> (because we need a patched X - read gatos - and a patched xawtv - in
> order to do scaling).

Try using xv_stream from ati_xv branch on gatos.

   Vladimir Dergachev

> 
> Stelian.
> -- 
> Stelian Pop <[EMAIL PROTECTED]>
> | Free Software Engineer -|
> | Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
> |- Alcôve, liberating software ---|
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-28 Thread volodya


Sorry for replying a couple of weeks late - I don't check linux-kernel
that often.

On Wed, 13 Jun 2001, Stelian Pop wrote:

  I got just the YUV code from Gatos, and a few months ago it took less than
  an hour to merge just that part (and most of that was compiling and
  testing).
 
 Me too. After some days playing with it it seems that the Rage Mobility
 Card (from the Vaio Picturebook C1VE - that's where we started the
 discussion):
   - has almost no acceleration in XFree, including the 4.1.0 release
   - has Xv YUV-RGB acceleration in Gatos (but that's all, no direct
 video input etc).

it has, but it is disabled as normally notebooks don't have video in. 
Well, some do but this is a grey area. ATI says there supposed to be a
multimedia table that says if you have a decoder on board - but some
manufacturers don't include it. In this case the driver cannot know
whether the decoder is present and disables the interface to avoid
lockups.

I imagine it is either using ZV port or VIP/MPP connector - I'll be happy
to help you to get it to work, provided you know the part that produces
video stream.

 
  The rest of Gatos is obviously more experimental, but the YUV code looks
  quite sane.
 
 Well, not quite... I've had several X lockups while using the YUV 
 acceleration code. Let's say one lockup per half an hour.

That's not supposed to happen - let me know what causes it.. what you are
using, etc..

 
 Even the performances are controversial: with 320x240, I achieve 
 great performance with xawtv/meye driver, I can even use the hardware
 scaling facilities (well, the xawtv sources need a little hacking for
 that), but in 640x480 the framerate achieved with Xv is below the
 one I get by converting YUV-RGB in software...

You have to be careful here - you can't write to the framebuffer without 
waiting for engine to go idle. Otherwise it'll lockup.

 
 But the main question remains: does the MotionEye camera support
 overlay or not ? It could be that it is connected to the feature
 connector of the ATI board for doing direct video input/output
 (but no X driver recognizes this connector today). The motion jpeg
 chip this camera is based on definately has a video output.

I can help you get this to work.

 
 Or it could just be the application who gets YUV data from the chip
 then send it directly to the video board. Today this works, almost
 (because we need a patched X - read gatos - and a patched xawtv - in
 order to do scaling).

Try using xv_stream from ati_xv branch on gatos.

   Vladimir Dergachev

 
 Stelian.
 -- 
 Stelian Pop [EMAIL PROTECTED]
 | Free Software Engineer -|
 | Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
 |- Alcôve, liberating software ---|
 -
 To unsubscribe from this list: send the line unsubscribe linux-kernel in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
 Please read the FAQ at  http://www.tux.org/lkml/
 


-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-15 Thread Stelian Pop

In alcove.lists.linux.kernel, you wrote:

> >Well, not quite... I've had several X lockups while using the YUV 
> >acceleration code. Let's say one lockup per half an hour.
> 
> Strange. I've watched DVD's etc. Maybe it's not the Xv code, but your
> camera code?

It can be, of course. However I never experienced problems when 
using the 'regular' X server, but quite often when using the 
patched server from gatos.

And since the driver delivers YUV data in both cases, I see
no difference (from its point of vue) between the two uses.

> >Even the performances are controversial: with 320x240, I achieve 
> >great performance with xawtv/meye driver, I can even use the hardware
> >scaling facilities (well, the xawtv sources need a little hacking for
> >that), but in 640x480 the framerate achieved with Xv is below the
> >one I get by converting YUV->RGB in software...
> 
> There's something wrong with your setup. I watch full-screen DVD's on my
> VAIO. It's not really fast enough with just the YUV conversion done in
> hardware (it's plenty fast enough if MC and iDCT would be done in HW
> too, but ATI doesn't release docs without strict NDA's). But there's no
> way DVD's are watchable with sw YUV conversion and scaling.

I said that YUV conversion and scaling _do_ work in hardware. Actually,
using a capture size of 320x240 I can use those hardware features
and scale the image to full screen and I get all the 30 fps.

It seems however to work pretty bad in 640x480... but maybe it is
my setup here...

> >But the main question remains: does the MotionEye camera support
> >overlay or not ? 
> 
> That one I have no clue about at all.

Neither do I :-)

Stelian.
-- 
Stelian Pop <[EMAIL PROTECTED]>
| Free Software Engineer -|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|- Alcôve, liberating software ---|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-15 Thread Stelian Pop

In alcove.lists.linux.kernel, you wrote:

 Well, not quite... I've had several X lockups while using the YUV 
 acceleration code. Let's say one lockup per half an hour.
 
 Strange. I've watched DVD's etc. Maybe it's not the Xv code, but your
 camera code?

It can be, of course. However I never experienced problems when 
using the 'regular' X server, but quite often when using the 
patched server from gatos.

And since the driver delivers YUV data in both cases, I see
no difference (from its point of vue) between the two uses.

 Even the performances are controversial: with 320x240, I achieve 
 great performance with xawtv/meye driver, I can even use the hardware
 scaling facilities (well, the xawtv sources need a little hacking for
 that), but in 640x480 the framerate achieved with Xv is below the
 one I get by converting YUV-RGB in software...
 
 There's something wrong with your setup. I watch full-screen DVD's on my
 VAIO. It's not really fast enough with just the YUV conversion done in
 hardware (it's plenty fast enough if MC and iDCT would be done in HW
 too, but ATI doesn't release docs without strict NDA's). But there's no
 way DVD's are watchable with sw YUV conversion and scaling.

I said that YUV conversion and scaling _do_ work in hardware. Actually,
using a capture size of 320x240 I can use those hardware features
and scale the image to full screen and I get all the 30 fps.

It seems however to work pretty bad in 640x480... but maybe it is
my setup here...

 But the main question remains: does the MotionEye camera support
 overlay or not ? 
 
 That one I have no clue about at all.

Neither do I :-)

Stelian.
-- 
Stelian Pop [EMAIL PROTECTED]
| Free Software Engineer -|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|- Alcôve, liberating software ---|
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-14 Thread Linus Torvalds

In article <[EMAIL PROTECTED]>,
Stelian Pop  <[EMAIL PROTECTED]> wrote:
>
>Well, not quite... I've had several X lockups while using the YUV 
>acceleration code. Let's say one lockup per half an hour.

Strange. I've watched DVD's etc. Maybe it's not the Xv code, but your
camera code?

>Even the performances are controversial: with 320x240, I achieve 
>great performance with xawtv/meye driver, I can even use the hardware
>scaling facilities (well, the xawtv sources need a little hacking for
>that), but in 640x480 the framerate achieved with Xv is below the
>one I get by converting YUV->RGB in software...

There's something wrong with your setup. I watch full-screen DVD's on my
VAIO. It's not really fast enough with just the YUV conversion done in
hardware (it's plenty fast enough if MC and iDCT would be done in HW
too, but ATI doesn't release docs without strict NDA's). But there's no
way DVD's are watchable with sw YUV conversion and scaling.

>But the main question remains: does the MotionEye camera support
>overlay or not ? 

That one I have no clue about at all.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-14 Thread Linus Torvalds

In article [EMAIL PROTECTED],
Stelian Pop  [EMAIL PROTECTED] wrote:

Well, not quite... I've had several X lockups while using the YUV 
acceleration code. Let's say one lockup per half an hour.

Strange. I've watched DVD's etc. Maybe it's not the Xv code, but your
camera code?

Even the performances are controversial: with 320x240, I achieve 
great performance with xawtv/meye driver, I can even use the hardware
scaling facilities (well, the xawtv sources need a little hacking for
that), but in 640x480 the framerate achieved with Xv is below the
one I get by converting YUV-RGB in software...

There's something wrong with your setup. I watch full-screen DVD's on my
VAIO. It's not really fast enough with just the YUV conversion done in
hardware (it's plenty fast enough if MC and iDCT would be done in HW
too, but ATI doesn't release docs without strict NDA's). But there's no
way DVD's are watchable with sw YUV conversion and scaling.

But the main question remains: does the MotionEye camera support
overlay or not ? 

That one I have no clue about at all.

Linus
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-13 Thread Alex Deucher

I actually heard from one of the xfree developers last night that the
merge of the the YUV stuff at least is in progress.  As I recall I think
XvMC was for general media controls, but I could be wrong, it's been a
while.

Alex

Linus Torvalds wrote:
> 
> On Tue, 12 Jun 2001, Alex Deucher wrote:
> >
> > As far as I know they have not been integrated into the Xfree tree.  I
> > believe there were some disagreements about extending the Xv API since
> > GATOS added some extentions to support the AIW video capture cards.  I
> > suppose someone could try and submit a patch again and see if they'll
> > take it.
> 
> I got just the YUV code from Gatos, and a few months ago it took less than
> an hour to merge just that part (and most of that was compiling and
> testing).
> 
> The rest of Gatos is obviously more experimental, but the YUV code looks
> quite sane.
> 
> > Also there is some work on a new XvMC interface that would allow for
> > extended DVD acceleration.
> 
> Yes. Although I hope it's going to be XvMPG2 or something - some cards
> literally do all of the mpeg2 stuff, not just parts of it, and limiting
> yourself to just the motion comp is limiting the protocol quite badly.
> 
> Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-13 Thread Alex Deucher

I'm not sure of the exact specs.  Check out the Xfree CVS.  Or ask on
the [EMAIL PROTECTED] ML.

Alex

[EMAIL PROTECTED] wrote:
> 
> On 12 Jun, Alex Deucher wrote:
> 
> > Also there is some work on a new XvMC interface that would allow for
> > extended DVD acceleration.
> 
>  Extended DVD acceleration with Motion-Compensation? How?
> 
> Servus,
>Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-13 Thread Stelian Pop

> I got just the YUV code from Gatos, and a few months ago it took less than
> an hour to merge just that part (and most of that was compiling and
> testing).

Me too. After some days playing with it it seems that the Rage Mobility
Card (from the Vaio Picturebook C1VE <- that's where we started the
discussion):
- has almost no acceleration in XFree, including the 4.1.0 release
- has Xv YUV->RGB acceleration in Gatos (but that's all, no direct
  video input etc).

> The rest of Gatos is obviously more experimental, but the YUV code looks
> quite sane.

Well, not quite... I've had several X lockups while using the YUV 
acceleration code. Let's say one lockup per half an hour.

Even the performances are controversial: with 320x240, I achieve 
great performance with xawtv/meye driver, I can even use the hardware
scaling facilities (well, the xawtv sources need a little hacking for
that), but in 640x480 the framerate achieved with Xv is below the
one I get by converting YUV->RGB in software...

But the main question remains: does the MotionEye camera support
overlay or not ? It could be that it is connected to the feature
connector of the ATI board for doing direct video input/output
(but no X driver recognizes this connector today). The motion jpeg
chip this camera is based on definately has a video output.

Or it could just be the application who gets YUV data from the chip
then send it directly to the video board. Today this works, almost
(because we need a patched X - read gatos - and a patched xawtv - in
order to do scaling).

Stelian.
-- 
Stelian Pop <[EMAIL PROTECTED]>
| Free Software Engineer -|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|- Alcôve, liberating software ---|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-13 Thread egger

On 12 Jun, Linus Torvalds wrote:

> Yes. Although I hope it's going to be XvMPG2 or something - some cards
> literally do all of the mpeg2 stuff, not just parts of it, and
> limiting yourself to just the motion comp is limiting the protocol
> quite badly.

 I recompiled a complete X with the extended Xv ATI driver from GATOS
 (aka ati.2). After fixing a bug (well, checking from the presence of
 a BIOS to try to access it anyway doesn't really make sense and will
 crash on any non-i386) I still have the same endianess problems.
 Just to let you know

Servus,
   Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-13 Thread egger

On 12 Jun, Linus Torvalds wrote:

 Yes. Although I hope it's going to be XvMPG2 or something - some cards
 literally do all of the mpeg2 stuff, not just parts of it, and
 limiting yourself to just the motion comp is limiting the protocol
 quite badly.

 I recompiled a complete X with the extended Xv ATI driver from GATOS
 (aka ati.2). After fixing a bug (well, checking from the presence of
 a BIOS to try to access it anyway doesn't really make sense and will
 crash on any non-i386) I still have the same endianess problems.
 Just to let you know

Servus,
   Daniel

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-13 Thread Stelian Pop

 I got just the YUV code from Gatos, and a few months ago it took less than
 an hour to merge just that part (and most of that was compiling and
 testing).

Me too. After some days playing with it it seems that the Rage Mobility
Card (from the Vaio Picturebook C1VE - that's where we started the
discussion):
- has almost no acceleration in XFree, including the 4.1.0 release
- has Xv YUV-RGB acceleration in Gatos (but that's all, no direct
  video input etc).

 The rest of Gatos is obviously more experimental, but the YUV code looks
 quite sane.

Well, not quite... I've had several X lockups while using the YUV 
acceleration code. Let's say one lockup per half an hour.

Even the performances are controversial: with 320x240, I achieve 
great performance with xawtv/meye driver, I can even use the hardware
scaling facilities (well, the xawtv sources need a little hacking for
that), but in 640x480 the framerate achieved with Xv is below the
one I get by converting YUV-RGB in software...

But the main question remains: does the MotionEye camera support
overlay or not ? It could be that it is connected to the feature
connector of the ATI board for doing direct video input/output
(but no X driver recognizes this connector today). The motion jpeg
chip this camera is based on definately has a video output.

Or it could just be the application who gets YUV data from the chip
then send it directly to the video board. Today this works, almost
(because we need a patched X - read gatos - and a patched xawtv - in
order to do scaling).

Stelian.
-- 
Stelian Pop [EMAIL PROTECTED]
| Free Software Engineer -|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|- Alcôve, liberating software ---|
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-13 Thread Alex Deucher

I'm not sure of the exact specs.  Check out the Xfree CVS.  Or ask on
the [EMAIL PROTECTED] ML.

Alex

[EMAIL PROTECTED] wrote:
 
 On 12 Jun, Alex Deucher wrote:
 
  Also there is some work on a new XvMC interface that would allow for
  extended DVD acceleration.
 
  Extended DVD acceleration with Motion-Compensation? How?
 
 Servus,
Daniel
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-13 Thread Alex Deucher

I actually heard from one of the xfree developers last night that the
merge of the the YUV stuff at least is in progress.  As I recall I think
XvMC was for general media controls, but I could be wrong, it's been a
while.

Alex

Linus Torvalds wrote:
 
 On Tue, 12 Jun 2001, Alex Deucher wrote:
 
  As far as I know they have not been integrated into the Xfree tree.  I
  believe there were some disagreements about extending the Xv API since
  GATOS added some extentions to support the AIW video capture cards.  I
  suppose someone could try and submit a patch again and see if they'll
  take it.
 
 I got just the YUV code from Gatos, and a few months ago it took less than
 an hour to merge just that part (and most of that was compiling and
 testing).
 
 The rest of Gatos is obviously more experimental, but the YUV code looks
 quite sane.
 
  Also there is some work on a new XvMC interface that would allow for
  extended DVD acceleration.
 
 Yes. Although I hope it's going to be XvMPG2 or something - some cards
 literally do all of the mpeg2 stuff, not just parts of it, and limiting
 yourself to just the motion comp is limiting the protocol quite badly.
 
 Linus
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-12 Thread Linus Torvalds



On Tue, 12 Jun 2001, Alex Deucher wrote:
>
> As far as I know they have not been integrated into the Xfree tree.  I
> believe there were some disagreements about extending the Xv API since
> GATOS added some extentions to support the AIW video capture cards.  I
> suppose someone could try and submit a patch again and see if they'll
> take it.

I got just the YUV code from Gatos, and a few months ago it took less than
an hour to merge just that part (and most of that was compiling and
testing).

The rest of Gatos is obviously more experimental, but the YUV code looks
quite sane.

> Also there is some work on a new XvMC interface that would allow for
> extended DVD acceleration.

Yes. Although I hope it's going to be XvMPG2 or something - some cards
literally do all of the mpeg2 stuff, not just parts of it, and limiting
yourself to just the motion comp is limiting the protocol quite badly.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-12 Thread egger

On 12 Jun, Alex Deucher wrote:

> Also there is some work on a new XvMC interface that would allow for
> extended DVD acceleration.

 Extended DVD acceleration with Motion-Compensation? How?

Servus,
   Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-12 Thread Alex Deucher

As far as I know they have not been integrated into the Xfree tree.  I
believe there were some disagreements about extending the Xv API since
GATOS added some extentions to support the AIW video capture cards.  I
suppose someone could try and submit a patch again and see if they'll
take it.  

Also there is some work on a new XvMC interface that would allow for
extended DVD acceleration.

Alex

--

On Mon, 11 Jun 2001 [EMAIL PROTECTED] wrote: 
> 
> On 10 Jun, Linus Torvalds wrote: 
> 
> > I've not figured out why the ATI Xv stuff from gatos seems to not have 
> > made it into the XFree86 CVS tree - it works better than much of the 
> > Xv stuff for some other chipsets that _are_ in the CVS tree. 
> > 
> > I imported it into the XFree86 CVS some months ago, it was trivial. I 
> > don't have the patches lying around any more, though. I can try to 
> > re-create them if anybody needs help. 
> 
> Did it look endiansafe to you? The ATI Xv stuff from XFree86 4.1.0 
> produces psychadelic results for me on PPC. 

I have to say that I have absolutely no idea. I only use little-endian 
machines myself (and 99% x86). 

Also, which ATI Xv stuff are you talking about? The ATI Rage128 and ATI 
Radeon Xv code was at least a few months ago completely separate from
the 
ATI Rage code (the first two were in X CVS, while the latter only
existed 
in the gatos version). 

Has the Gatos code (or some other code) maybe been integrated into 4.1.0 
now? I haven't followed X CVS for the last months very closely.. 

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-12 Thread Alex Deucher

As far as I know they have not been integrated into the Xfree tree.  I
believe there were some disagreements about extending the Xv API since
GATOS added some extentions to support the AIW video capture cards.  I
suppose someone could try and submit a patch again and see if they'll
take it.  

Also there is some work on a new XvMC interface that would allow for
extended DVD acceleration.

Alex

--

On Mon, 11 Jun 2001 [EMAIL PROTECTED] wrote: 
 
 On 10 Jun, Linus Torvalds wrote: 
 
  I've not figured out why the ATI Xv stuff from gatos seems to not have 
  made it into the XFree86 CVS tree - it works better than much of the 
  Xv stuff for some other chipsets that _are_ in the CVS tree. 
  
  I imported it into the XFree86 CVS some months ago, it was trivial. I 
  don't have the patches lying around any more, though. I can try to 
  re-create them if anybody needs help. 
 
 Did it look endiansafe to you? The ATI Xv stuff from XFree86 4.1.0 
 produces psychadelic results for me on PPC. 

I have to say that I have absolutely no idea. I only use little-endian 
machines myself (and 99% x86). 

Also, which ATI Xv stuff are you talking about? The ATI Rage128 and ATI 
Radeon Xv code was at least a few months ago completely separate from
the 
ATI Rage code (the first two were in X CVS, while the latter only
existed 
in the gatos version). 

Has the Gatos code (or some other code) maybe been integrated into 4.1.0 
now? I haven't followed X CVS for the last months very closely.. 

Linus
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-12 Thread egger

On 12 Jun, Alex Deucher wrote:

 Also there is some work on a new XvMC interface that would allow for
 extended DVD acceleration.

 Extended DVD acceleration with Motion-Compensation? How?

Servus,
   Daniel

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-12 Thread Linus Torvalds



On Tue, 12 Jun 2001, Alex Deucher wrote:

 As far as I know they have not been integrated into the Xfree tree.  I
 believe there were some disagreements about extending the Xv API since
 GATOS added some extentions to support the AIW video capture cards.  I
 suppose someone could try and submit a patch again and see if they'll
 take it.

I got just the YUV code from Gatos, and a few months ago it took less than
an hour to merge just that part (and most of that was compiling and
testing).

The rest of Gatos is obviously more experimental, but the YUV code looks
quite sane.

 Also there is some work on a new XvMC interface that would allow for
 extended DVD acceleration.

Yes. Although I hope it's going to be XvMPG2 or something - some cards
literally do all of the mpeg2 stuff, not just parts of it, and limiting
yourself to just the motion comp is limiting the protocol quite badly.

Linus

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-11 Thread egger

On 10 Jun, Linus Torvalds wrote:

> I have to say that I have absolutely no idea. I only use little-endian
> machines myself (and 99% x86).

> Also, which ATI Xv stuff are you talking about?

 I'm talking about original ATI Xv stuff in X 4.1.0 making trouble.
 I'm really ccurious whether they fixed the problem in the GATOS
 driver.

> Has the Gatos code (or some other code) maybe been integrated into 4.1.0
> now? I haven't followed X CVS for the last months very closely..

 Doesn't seem so, at least the linuxvideo people advertise their "ati.2"
 module for 4.1.0 on their website, but only in source or i386 binary.
 :/

Servus,
   Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-11 Thread egger

On 10 Jun, Linus Torvalds wrote:

 I have to say that I have absolutely no idea. I only use little-endian
 machines myself (and 99% x86).

 Also, which ATI Xv stuff are you talking about?

 I'm talking about original ATI Xv stuff in X 4.1.0 making trouble.
 I'm really ccurious whether they fixed the problem in the GATOS
 driver.

 Has the Gatos code (or some other code) maybe been integrated into 4.1.0
 now? I haven't followed X CVS for the last months very closely..

 Doesn't seem so, at least the linuxvideo people advertise their ati.2
 module for 4.1.0 on their website, but only in source or i386 binary.
 :/

Servus,
   Daniel

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Linus Torvalds


On Mon, 11 Jun 2001 [EMAIL PROTECTED] wrote:
>
> On 10 Jun, Linus Torvalds wrote:
> 
> > I've not figured out why the ATI Xv stuff from gatos seems to not have
> > made it into the XFree86 CVS tree - it works better than much of the
> > Xv stuff for some other chipsets that _are_ in the CVS tree.
> >  
> > I imported it into the XFree86 CVS some months ago, it was trivial.  I
> > don't have the patches lying around any more, though. I can try to
> > re-create them if anybody needs help.
> 
>  Did it look endiansafe to you? The ATI Xv stuff from XFree86 4.1.0
>  produces psychadelic results for me on PPC.

I have to say that I have absolutely no idea. I only use little-endian
machines myself (and 99% x86).

Also, which ATI Xv stuff are you talking about? The ATI Rage128 and ATI
Radeon Xv code was at least a few months ago completely separate from the
ATI Rage code (the first two were in X CVS, while the latter only existed
in the gatos version). 

Has the Gatos code (or some other code) maybe been integrated into 4.1.0
now? I haven't followed X CVS for the last months very closely..

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread egger

On 10 Jun, Linus Torvalds wrote:

> I've not figured out why the ATI Xv stuff from gatos seems to not have
> made it into the XFree86 CVS tree - it works better than much of the
> Xv stuff for some other chipsets that _are_ in the CVS tree.
 
> I imported it into the XFree86 CVS some months ago, it was trivial.  I
> don't have the patches lying around any more, though. I can try to
> re-create them if anybody needs help.

 Did it look endiansafe to you? The ATI Xv stuff from XFree86 4.1.0
 produces psychadelic results for me on PPC.
 If it's supposed to work I'd really like to give it a try.

Servus,
   Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Linus Torvalds

In article <[EMAIL PROTECTED]>,
Stelian Pop  <[EMAIL PROTECTED]> wrote:
>
>> 2.   Using the YUV overlay/expand hardware in the ATI card 
>>  (see www.gatos.org for X stuff for ATI for this)
>
>:s/www.gatos.org/www.linuxvideo.org/gatos/
>
>I took a quick look on their site but it seems that the
>Rage Mobility P/M card which this laptop has isn't yet supported.

It definitely is - at least if you use the XFree86 CVS tree with just
the ATI video extensions imported from Gatos.  I've used the YUV
hardware for half-accelerated DVD playing ("half-accelerated" only
because the chip can really do MC too, but ATI doesn't document how to
do it, so it only does the YUV conversion). 

I've not figured out why the ATI Xv stuff from gatos seems to not have
made it into the XFree86 CVS tree - it works better than much of the Xv
stuff for some other chipsets that _are_ in the CVS tree. 

I imported it into the XFree86 CVS some months ago, it was trivial.  I
don't have the patches lying around any more, though. I can try to
re-create them if anybody needs help.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Stelian Pop

On Sun, Jun 10, 2001 at 04:58:42PM +0100, Alan Cox wrote:

> > Yes. But, even if I know how to program the mchip to output to
> > the video bus, there is something missing to enable overlay
> > (either in the mchip or in the ati video driver).
> 
> It could be using the YUV digital inputs to the ATI chip. 

Most likely yes. 

> It seems however
> also quite likely to me that windows is doing the following
> 
> 1.Issuing USB transfers which put the data into video ram overlay buffers
>   (ie the DMA from the USB controller)

:s/USB/PCI/g

The rest seems good to me :-) I even think that the docs we have
are sufficient for this part (programming the mchip dma).

> 2.Using the YUV overlay/expand hardware in the ATI card 
>   (see www.gatos.org for X stuff for ATI for this)

:s/www.gatos.org/www.linuxvideo.org/gatos/

I took a quick look on their site but it seems that the
Rage Mobility P/M card which this laptop has isn't yet supported.

Stelian.
-- 
Stelian Pop <[EMAIL PROTECTED]>
| Free Software Engineer -|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|- Alcôve, liberating software ---|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Stelian Pop

On Sun, Jun 10, 2001 at 03:39:26PM +0100, Alan Cox wrote:

> > The driver does not yet support overlay (no docs... :-( ), but it does =
> > support
> 
> Are you sure the hardware supports overlay ?

Yes. But, even if I know how to program the mchip to output to
the video bus, there is something missing to enable overlay
(either in the mchip or in the ati video driver).

> > grabbing, jpeg snapshots and mjpeg compressed videos (through a private=
> >  API,
> > documented in ).
> 
> We have an API for mjpeg in the buz, I wonder if its possible to make that
> more generic.

I started with that one and abandoned it later, since it is really
targeted to _tv_ capture cards only (the size of capture can be only 
the PAL/NTSC size, and many other little things, like framerate 
fixed to PAL/NTSC mode too etc.)

Maybe video4linux version 2 will be a more useful API for all
cameras / webcams / video capture cards. (almost a carbon copy
of what I say in Documentation/video4linux/meye.txt :-) ).

Stelian.
-- 
Stelian Pop <[EMAIL PROTECTED]>
| Free Software Engineer -|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|- Alcôve, liberating software ---|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Stelian Pop

On Sun, Jun 10, 2001 at 04:58:42PM +0100, Alan Cox wrote:

  Yes. But, even if I know how to program the mchip to output to
  the video bus, there is something missing to enable overlay
  (either in the mchip or in the ati video driver).
 
 It could be using the YUV digital inputs to the ATI chip. 

Most likely yes. 

 It seems however
 also quite likely to me that windows is doing the following
 
 1.Issuing USB transfers which put the data into video ram overlay buffers
   (ie the DMA from the USB controller)

:s/USB/PCI/g

The rest seems good to me :-) I even think that the docs we have
are sufficient for this part (programming the mchip dma).

 2.Using the YUV overlay/expand hardware in the ATI card 
   (see www.gatos.org for X stuff for ATI for this)

:s/www.gatos.org/www.linuxvideo.org/gatos/

I took a quick look on their site but it seems that the
Rage Mobility P/M card which this laptop has isn't yet supported.

Stelian.
-- 
Stelian Pop [EMAIL PROTECTED]
| Free Software Engineer -|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|- Alcôve, liberating software ---|
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Linus Torvalds

In article [EMAIL PROTECTED],
Stelian Pop  [EMAIL PROTECTED] wrote:

 2.   Using the YUV overlay/expand hardware in the ATI card 
  (see www.gatos.org for X stuff for ATI for this)

:s/www.gatos.org/www.linuxvideo.org/gatos/

I took a quick look on their site but it seems that the
Rage Mobility P/M card which this laptop has isn't yet supported.

It definitely is - at least if you use the XFree86 CVS tree with just
the ATI video extensions imported from Gatos.  I've used the YUV
hardware for half-accelerated DVD playing (half-accelerated only
because the chip can really do MC too, but ATI doesn't document how to
do it, so it only does the YUV conversion). 

I've not figured out why the ATI Xv stuff from gatos seems to not have
made it into the XFree86 CVS tree - it works better than much of the Xv
stuff for some other chipsets that _are_ in the CVS tree. 

I imported it into the XFree86 CVS some months ago, it was trivial.  I
don't have the patches lying around any more, though. I can try to
re-create them if anybody needs help.

Linus
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread egger

On 10 Jun, Linus Torvalds wrote:

 I've not figured out why the ATI Xv stuff from gatos seems to not have
 made it into the XFree86 CVS tree - it works better than much of the
 Xv stuff for some other chipsets that _are_ in the CVS tree.
 
 I imported it into the XFree86 CVS some months ago, it was trivial.  I
 don't have the patches lying around any more, though. I can try to
 re-create them if anybody needs help.

 Did it look endiansafe to you? The ATI Xv stuff from XFree86 4.1.0
 produces psychadelic results for me on PPC.
 If it's supposed to work I'd really like to give it a try.

Servus,
   Daniel

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Linus Torvalds


On Mon, 11 Jun 2001 [EMAIL PROTECTED] wrote:

 On 10 Jun, Linus Torvalds wrote:
 
  I've not figured out why the ATI Xv stuff from gatos seems to not have
  made it into the XFree86 CVS tree - it works better than much of the
  Xv stuff for some other chipsets that _are_ in the CVS tree.
   
  I imported it into the XFree86 CVS some months ago, it was trivial.  I
  don't have the patches lying around any more, though. I can try to
  re-create them if anybody needs help.
 
  Did it look endiansafe to you? The ATI Xv stuff from XFree86 4.1.0
  produces psychadelic results for me on PPC.

I have to say that I have absolutely no idea. I only use little-endian
machines myself (and 99% x86).

Also, which ATI Xv stuff are you talking about? The ATI Rage128 and ATI
Radeon Xv code was at least a few months ago completely separate from the
ATI Rage code (the first two were in X CVS, while the latter only existed
in the gatos version). 

Has the Gatos code (or some other code) maybe been integrated into 4.1.0
now? I haven't followed X CVS for the last months very closely..

Linus

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver

2001-06-10 Thread Stelian Pop

On Sun, Jun 10, 2001 at 03:39:26PM +0100, Alan Cox wrote:

  The driver does not yet support overlay (no docs... :-( ), but it does =
  support
 
 Are you sure the hardware supports overlay ?

Yes. But, even if I know how to program the mchip to output to
the video bus, there is something missing to enable overlay
(either in the mchip or in the ati video driver).

  grabbing, jpeg snapshots and mjpeg compressed videos (through a private=
   API,
  documented in file:Documentation/video4linux/meye.txt).
 
 We have an API for mjpeg in the buz, I wonder if its possible to make that
 more generic.

I started with that one and abandoned it later, since it is really
targeted to _tv_ capture cards only (the size of capture can be only 
the PAL/NTSC size, and many other little things, like framerate 
fixed to PAL/NTSC mode too etc.)

Maybe video4linux version 2 will be a more useful API for all
cameras / webcams / video capture cards. (almost a carbon copy
of what I say in Documentation/video4linux/meye.txt :-) ).

Stelian.
-- 
Stelian Pop [EMAIL PROTECTED]
| Free Software Engineer -|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|- Alcôve, liberating software ---|
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/