> On Thursday 23 January 2003 09:24, hy0 wrote: > > > On Die, 2003-01-21 at 23:19, Hans Korneder wrote: > > > > > > An xvideo picture (actually an video stream) of the size 1920x1080 > > > > > > should be shown in a window of the size 1024x576 (the monitor size is > > > > > > 1280x1024). What actually being displayed is the right hand side of the > > > > > > image, about 80% of the picture, and on the left hand side of the window > > > > > > a pink bar is being displayed. > > > > > > > > > > IIRC, the radeon driver advertises a larger maximum Xv image size > > > > > than the hardware can actually handle. Vladimir? > > > > > > > > Any way to find out the actual image size the hardware can handle? > > > > Is there something like a table of proven capabilities of the cards? > > > > > > Here's an excerpt from an old post I have on this topic. I don't think > > > the radeon driver has code to skip pixels, and its offscreen images code > > > sets the limit at 1024x1024. > > > > All Radeon chips support 2Kx2K hardware overlay surface which should be > > able to handle this case. Not sure if the problem is related to offscreen > > images code, is v4l driver involved here? It could also be some hidden bug > > in overlay down-scaling code. > > > > Hui > > There's no v4l driver involved here, at least not that I'm aware of. > Do you have a sample piece of code which can verify the 2Kx2K capabilities? > > The problem can be reproduced here with the code attached. > Hans
I can get your code running correctly on my system (with some modifications, like xv_port). Anyway, since you mentioned the pink bar in your first post, this reminds me of the pink colorkey color used in the old driver. Maybe you should try the latest CVS code to see if it still has the same problem. You can try XvQueryEncodings function. It returns the encoding structure which usually contains max image size information. Hui _______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86