RE: Help with getting the video output format...
Clay Stanek (stanek++at++mrcsb.com)
23 Feb 98 15:11:57 -0800
I don't know if these extensions are available on platforms other than
iR running 6.4, but there are a series of functions in libxsgivc.a that
probably do what you want.
I've tried using one called XSGILoadVideoFormatCombination() and had some
link troubles. The 'workaround' was to specify -lxsgivc ahead of the
X library in the link line. I seem to remember that it didn't resolve
all the problems the linker complained of though.
Clay Stanek
Vamsee Tirukkala wrote:
>Hi All,
>
>I am having some problems getting the value of which video output format
>currently being generated by the graphics system. Is there any function
>calls in X that can give me this result ?
>
>in IRIS GL we have a function call 'getmonitor' which returns this
>value, I don't want to use GL call, so
>let me know if there is any way to get this value in X, so I can use
>this in OpenGL to set the output format.
>
>Thanks,
>-vamsee
>--
>Vamsee K. Tirukkala
>
>=================================================================
>======
>List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>
>RFC822 header
>-----------------------------------
>
>Return-Path: <guest++at++holodeck.engr.sgi.com>
>Received: from sgi.sgi.com ([192.48.153.1]) by photon.mrcsb.com
> (Post.Office MTA v3.1 release PO203a ID# 0-34491U110L100S0)
> with SMTP id AAA19951 for <stanek++at++photon.mrcsb.com>;
> Fri, 20 Feb 1998 18:42:08 -0800
>Received: from holodeck.engr.sgi.com ([130.62.176.131]) by sgi.sgi.com
>(950413.SGI.8.6.12/970507) via ESMTP id SAA16738; Fri, 20 Feb 1998
18:33:33
>-0800
> env-from (guest++at++holodeck.engr.sgi.com)
>Received: (from guest++at++localhost) by holodeck.engr.sgi.com
>(950413.SGI.8.6.12/960327.SGI.AUTOCF) id QAA27719 for
>info-performer-dist++at++holodeck.engr.sgi.com; Fri, 20 Feb 1998 16:01:55
-0800
>Received: from cthulhu.engr.sgi.com (gate3-relay.engr.sgi.com
>[130.62.1.234]) by holodeck.engr.sgi.com (950413.SGI.8.6.12/960327.SGI.AU
TOCF)
>via ESMTP id QAA27692 for <info-performer++at++holodeck.engr.sgi.com>; Fri,
20 Feb
>1998 16:01:53 -0800
>Received: from sgi.sgi.com (sgi.engr.sgi.com [192.26.80.37]) by
>cthulhu.engr.sgi.com (950413.SGI.8.6.12/960327.SGI.AUTOCF) via ESMTP id
>QAA27180 for <info-performer++at++cthulhu.engr.sgi.com>; Fri, 20 Feb 1998
16:03:57
>-0800
>Received: from cory.coryphaeus.com (smtp.coryphaeus.com [204.247.110.4])
by
>sgi.sgi.com (950413.SGI.8.6.12/970507) via ESMTP id QAA17235
> for <info-performer++at++sgi.com>; Fri, 20 Feb 1998 16:03:56 -0800
> env-from (vamsee++at++cory.coryphaeus.com)
>Received: from grumpy.coryphaeus.com by cory.coryphaeus.com via ESMTP
>(940816.SGI.8.6.9/940406.SGI.AUTO)
> for <++at++cory.coryphaeus.com:info-performer++at++sgi.com> id QAA26039; Fri, 20
Feb
>1998 16:07:58 -0800
>Received: from coryphaeus.com by grumpy.coryphaeus.com via ESMTP
>(950413.SGI.8.6.12/940406.SGI.AUTO)
> for <info-performer++at++sgi.com> id QAA03168; Fri, 20 Feb 1998 16:07:57
-0800
>Sender: vamsee++at++smtp.coryphaeus.com
>Message-ID: <34EE1ADB.BD7D3294++at++coryphaeus.com>
>Date: Fri, 20 Feb 1998 16:07:56 -0800
>From: Vamsee Tirukkala <vamsee++at++smtp.coryphaeus.com>
>Organization: Coruphaeus Software Inc.
>X-Mailer: Mozilla 4.04 [en] (X11; I; IRIX 6.2 IP22)
>MIME-Version: 1.0
>To: info-performer++at++sgi.com
>Subject: Help with getting the video output format...
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
I don't know if these
extensions are available on platforms other
than
iR running 6.4, but there are a series
of functions in libxsgivc.a that
probably
do what you want.
I've tried using
one called XSGILoadVideoFormatCombination()
and had some
link troubles. The 'workaround'
was to specify -lxsgivc ahead of the
X
library in the link line. I seem to remember
that it didn't resolve
all the problems
the linker complained of though.
Clay Stanek
Vamsee Tirukkala wrote:
>Hi
All,
>
>I am having some problems
getting the value of which video output
format
>currently being generated by
the graphics system. Is there any function
>calls
in X that can give me this result ?
>
>in
IRIS GL we have a function call 'getmonitor'
which returns this
>value, I don't
want to use GL call, so
>let me know
if there is any way to get this value in
X, so I can use
>this in OpenGL to
set the output format.
>
>Thanks,
>-vamsee
>--
>Vamsee
K. Tirukkala
>
>=================================================================
>======
>List
Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions:
info-performer++at++sgi.com
> Admin.
requests: info-performer-request++at++sgi.com
>
>RFC822 header
>-----------------------------------
>
>Return-Path:
<guest++at++holodeck.engr.sgi.com>
>Received: from
sgi.sgi.com ([192.48.153.1]) by photon.mrcsb.com
>
(Post.Office MTA v3.1 release PO203a
ID# 0-34491U110L100S0)
>
with SMTP id AAA19951 for <stanek++at++photon.mrcsb.com>;
>
Fri, 20 Feb 1998 18:42:08 -0800
>Received:
from holodeck.engr.sgi.com ([130.62.176.131])
by sgi.sgi.com
>(950413.SGI.8.6.12/970507)
via ESMTP id SAA16738; Fri, 20 Feb 1998
18:33:33
>-0800
> env-from (guest++at++holodeck.engr.sgi.com)
>Received: (from
guest++at++localhost) by holodeck.engr.sgi.com
>(950413.SGI.8.6.12/960327.SGI.AUTOCF)
id QAA27719 for
>info-performer-dist++at++holodeck.engr.sgi.com; Fri, 20 Feb 1998 16:01:55
-0800
>Received: from cthulhu.engr.sgi.com
(gate3-relay.engr.sgi.com
>[130.62.1.234])
by holodeck.engr.sgi.com (950413.SGI.8.6.12/960327.SGI.AUTOCF)
>via ESMTP id QAA27692 for <info-performer++at++holodeck.engr.sgi.com>; Fri, 20 Feb
>1998
16:01:53 -0800
>Received: from sgi.sgi.com
(sgi.engr.sgi.com [192.26.80.37]) by
>cthulhu.engr.sgi.com
(950413.SGI.8.6.12/960327.SGI.AUTOCF) via
ESMTP id
>QAA27180 for <info-performer++at++cthulhu.engr.sgi.com>; Fri, 20 Feb 1998
16:03:57
>-0800
>Received: from
cory.coryphaeus.com (smtp.coryphaeus.com
[204.247.110.4]) by
>sgi.sgi.com (950413.SGI.8.6.12/970507)
via ESMTP id QAA17235
> for <info-performer++at++sgi.com>; Fri, 20 Feb 1998
16:03:56 -0800
> env-from (vamsee++at++cory.coryphaeus.com)
>Received: from
grumpy.coryphaeus.com by cory.coryphaeus.com
via ESMTP
>(940816.SGI.8.6.9/940406.SGI.AUTO)
> for
<++at++cory.coryphaeus.com:info-performer++at++sgi.com> id QAA26039; Fri, 20 Feb
>1998 16:07:58 -0800
>Received:
from coryphaeus.com by grumpy.coryphaeus.com
via ESMTP
>(950413.SGI.8.6.12/940406.SGI.AUTO)
> for
<info-performer++at++sgi.com> id QAA03168; Fri,
20 Feb 1998 16:07:57 -0800
>Sender:
vamsee++at++smtp.coryphaeus.com
>Message-ID: <34EE1ADB.BD7D3294++at++coryphaeus.com>
>Date: Fri,
20 Feb 1998 16:07:56 -0800
>From: Vamsee
Tirukkala <vamsee++at++smtp.coryphaeus.com>
>Organization:
Coruphaeus Software Inc.
>X-Mailer:
Mozilla 4.04 [en] (X11; I; IRIX 6.2 IP22)
>MIME-Version:
1.0
>To: info-performer++at++sgi.com
>Subject: Help with
getting the video output format...
>Content-Type:
text/plain; charset=us-ascii
>Content-Transfer-Encoding:
7bit
>
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:56:52 PDT