On Tue, Oct 10, 2000 at 03:30:03PM +0200, Hans-Christian Mueller wrote:
> Starting xawtv gives me a tv picture exactly inside the xawtv window, which
> is something around 320x240 pixels large. If I resize the window to any size
> smaller than 720x576 (I guess, cant messure it, sorry) it scales perfectly.
> But if I resize the window to something larger than that size or by switching
> to fullscreen mode I get a centered tv-picture inside the xawtv window but
> with a black border around it. So it seems that I am not possible to resize
> to a larger picture than the mentioned size.
I'll try to add something mine:
Premise: I'll measure the window sizes resizing a window and reading the
dimensions shown by the window manager during the operation, and I'll
check the magenta chroma content of the xawtv window looking at the screen
grab miniature inside the Gnome Desk Guide applet.
Normally, a small blurred black/magenta border of approx 5 pixels is shown
in the left and right border of the window at any scale where the image is
correctly sized. I consider that as the correct image border.
I try to stretch the image horizontally: everything is fine for widths
until ~830 included, but if I step to ~895 (that is xawtv's with "13",
xawtv only resizes in blocks) the blurred border disappears, and the image
is perfectly cut by the sides by two perfectly black borders, even if its
contents are horizontally scaling more. The image is cropped at ~845 max
width, even if it's trying to scale wider.
The Desk Guide miniature shows a magenta box corresponding to the image,
centered in the middle of the xawtv window, like this:
+--------------------------+
| MMMMMMMMMMMMMMMM +
| MMMMMMMMMMMMMMMM + ('M' is Magenta)
| MMMMMMMMMMMMMMMM +
| MMMMMMMMMMMMMMMM +
+--------------------------+
After this, I open The Gimp and pick up the chroma color from the Desk
Guide, and fill an image with it. If I move that image over the black
borders that crop the image, the movie that should be there shows up
overlaying the chroma in my image. (BTW, it's funny playing with chroma
this way!)
So, it seems that xawtv isn't filling its window with the chroma. Wether
the bug is its own or of the driver reporting bad dimensions, I can't
know. I can only suppose xawtv knows that the image shouldn't be larger
than that, since it's centering the chroma box inside its window.
Vertical scaling is working perfectly up to 1024 (my screen maximum), but
if I try to stretch it even more, the xawtv window grows, but the image
won't be higher than 1024, and won't scale any higher, leaving the image
centered with black borders above and below it but not being cropped.
If I grab a TV shot, the image shows a ~700x550 image centered in a black
window as high as the screen (1024 pixels) and wide about 845 pixels, the
maximum width I can get xawtv to show an image.
So, what I see is that xawtv is detecting some maximum image size and, if
it's smaller than its window, it's centering the former inside the later.
In the vertical case, the image isn't scaled more than this size, but in
the horizontal case, the image is being scaled as I request, but the gamma
box isn't growing.
I played the investigator on this one; I hope not to have been too twisted
in my exposition as I usually use to be, and I leave to you the
conclusions.
Bye! Enrico
And... well, now that it works, I can say that it's great!
--
GPG public key available on finger -l zinie@...
|