Displaying 2 results from an estimated 2 matches for "image_max_h".
Did you mean:
image_max_w
2007 May 30
0
[PATCH] added comments
..."
+/*
+2046 is the maximum image size in one dimension.
+- why 2046 and not 2048? a hardware filter needs a one pixel bound at every edge
+- in some color spaces w may be rounded up to multiple of 4 and may thus exceed the maximum.
+ What happens then?
+*/
+#define IMAGE_MAX_W 2046
+#define IMAGE_MAX_H 2046
+
#define OFF_DELAY 500 /* milliseconds */
#define FREE_DELAY 5000
@@ -74,7 +83,7 @@ static XF86VideoEncodingRec DummyEncoding =
{
0,
"XV_IMAGE",
- 2046, 2046,
+ IMAGE_MAX_W, IMAGE_MAX_H,
{1, 1}
};
@@ -140,6 +149,13 @@ static XF86ImageRec NVImages[NUM_IMAGES_ALL] =...
2010 Feb 09
1
texture dimension limits in ddx
in nv10_exa.c :
check_texture does :
if (w > 2046 || h > 2046)
NOUVEAU_FALLBACK("picture too large, %dx%d\n", w, h);
check_render_target does :
if (w > 4096 || h > 4096)
return FALSE;
So we have different size limits for the source and the destination ?
Another thing is that nv20 uses nv10_exa.c code, and the limit in