crcscontrolpoint.h File Reference

#include <cybergarage/renderingcontrol/crenderingcontrol.h>
#include <cybergarage/renderingcontrol/crcsactionarguments.h>
#include <cybergarage/upnp/cdevice.h>

Go to the source code of this file.

Defines

#define cg_upnp_av_rcs_control_listpresets(upnpDevice, errorString, instanceID, currentPresetNameList)
#define cg_upnp_av_rcs_control_selectpreset(upnpDevice, errorString, instanceID, presetName)
#define cg_upnp_av_rcs_control_getbrightness(upnpDevice, errorString, instanceID, brightness)
#define cg_upnp_av_rcs_control_setbrightness(upnpDevice, errorString, instanceID, brightness)
#define cg_upnp_av_rcs_control_getcontrast(upnpDevice, errorString, instanceID, contrast)
#define cg_upnp_av_rcs_control_setcontrast(upnpDevice, errorString, instanceID, contrast)
#define cg_upnp_av_rcs_control_getsharpness(upnpDevice, errorString, instanceID, sharpness)
#define cg_upnp_av_rcs_control_setsharpness(upnpDevice, errorString, instanceID, sharpness)
#define cg_upnp_av_rcs_control_getredvideogain(upnpDevice, errorString, instanceID, gain)
#define cg_upnp_av_rcs_control_setredvideogain(upnpDevice, errorString, instanceID, gain)
#define cg_upnp_av_rcs_control_getgreenvideogain(upnpDevice, errorString, instanceID, gain)
#define cg_upnp_av_rcs_control_setgreenvideogain(upnpDevice, errorString, instanceID, gain)
#define cg_upnp_av_rcs_control_getbluevideogain(upnpDevice, errorString, instanceID, gain)
#define cg_upnp_av_rcs_control_setbluevideogain(upnpDevice, errorString, instanceID, gain)
#define cg_upnp_av_rcs_control_getredvideoblacklevel(upnpDevice, errorString, instanceID, blackLevel)
#define cg_upnp_av_rcs_control_setredvideoblacklevel(upnpDevice, errorString, instanceID, blackLevel)
#define cg_upnp_av_rcs_control_getgreenvideoblacklevel(upnpDevice, errorString, instanceID, blackLevel)
#define cg_upnp_av_rcs_control_setgreenvideoblacklevel(upnpDevice, errorString, instanceID, blackLevel)
#define cg_upnp_av_rcs_control_getbluevideoblacklevel(upnpDevice, errorString, instanceID, blackLevel)
#define cg_upnp_av_rcs_control_setbluevideoblacklevel(upnpDevice, errorString, instanceID, blackLevel)
#define cg_upnp_av_rcs_control_getcolortemperature(upnpDevice, errorString, instanceID, colorTemp)
#define cg_upnp_av_rcs_control_setcolortemperature(upnpDevice, errorString, instanceID, colorTemp)
#define cg_upnp_av_rcs_control_gethorizontalkeystone(upnpDevice, errorString, instanceID, keystone)
#define cg_upnp_av_rcs_control_sethorizontalkeystone(upnpDevice, errorString, instanceID, keystone)
#define cg_upnp_av_rcs_control_getverticalkeystone(upnpDevice, errorString, instanceID, keystone)
#define cg_upnp_av_rcs_control_setverticalkeystone(upnpDevice, errorString, instanceID, keystone)
#define cg_upnp_av_rcs_control_getmute(upnpDevice, errorString, instanceID, channel, mute)
#define cg_upnp_av_rcs_control_setmute(upnpDevice, errorString, instanceID, channel, mute)
#define cg_upnp_av_rcs_control_getvolume(upnpDevice, errorString, instanceID, channel, volume)
#define cg_upnp_av_rcs_control_setvolume(upnpDevice, errorString, instanceID, channel, volume)
#define cg_upnp_av_rcs_control_getvolumedb(upnpDevice, errorString, instanceID, channel, volume)
#define cg_upnp_av_rcs_control_setvolumedb(upnpDevice, errorString, instanceID, channel, volume)
#define cg_upnp_av_rcs_control_getvolumedbrange(upnpDevice, errorString, instanceID, channel, min, max)
#define cg_upnp_av_rcs_control_getloudness(upnpDevice, errorString, instanceID, channel, loudness)
#define cg_upnp_av_rcs_control_setloudness(upnpDevice, errorString, instanceID, channel, loudness)

Functions

int cg_upnp_av_rcs_control_invokeaction (CgUpnpDevice *upnpDevice, char *actionName, char **errorString,...)


Define Documentation

#define cg_upnp_av_rcs_control_getbluevideoblacklevel upnpDevice,
errorString,
instanceID,
blackLevel   ) 
 

Value:

Get blue video black level

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
blackLevel The current blue video black level

#define cg_upnp_av_rcs_control_getbluevideogain upnpDevice,
errorString,
instanceID,
gain   ) 
 

Value:

Get blue video gain

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
gain The current blue video gain

#define cg_upnp_av_rcs_control_getbrightness upnpDevice,
errorString,
instanceID,
brightness   ) 
 

Value:

\
        cg_upnp_av_rcs_control_invokeaction(upnpDevice, \
                        CG_UPNP_RCS_ACTION_GETBRIGHTNESS, \
                        errorString, \
                        CG_UPNP_RCS_ARG_INSTANCEID, \
                        instanceID, \
                        CG_UPNP_RCS_ARG_CURRENTBRIGHNESS, \
                        brightness, \
                        NULL)
Get brightness

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
brightness The current brightness level

#define cg_upnp_av_rcs_control_getcolortemperature upnpDevice,
errorString,
instanceID,
colorTemp   ) 
 

Value:

Get color temperature

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
colorTemp The current color temperature

#define cg_upnp_av_rcs_control_getcontrast upnpDevice,
errorString,
instanceID,
contrast   ) 
 

Value:

Get contrast

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
contrast The current contrast level

#define cg_upnp_av_rcs_control_getgreenvideoblacklevel upnpDevice,
errorString,
instanceID,
blackLevel   ) 
 

Value:

Get green video black level

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
blackLevel The current green video black level

#define cg_upnp_av_rcs_control_getgreenvideogain upnpDevice,
errorString,
instanceID,
gain   ) 
 

Value:

Get green video gain

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
gain The current green video gain

#define cg_upnp_av_rcs_control_gethorizontalkeystone upnpDevice,
errorString,
instanceID,
keystone   ) 
 

Value:

Get horizontal keystone

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
keystone The current horizontal keystone value

#define cg_upnp_av_rcs_control_getloudness upnpDevice,
errorString,
instanceID,
channel,
loudness   ) 
 

Value:

Get loudness state

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
channel Channel name
loudness The current loudness state

#define cg_upnp_av_rcs_control_getmute upnpDevice,
errorString,
instanceID,
channel,
mute   ) 
 

Value:

Get mute state

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
channel Channel name
mute The current mute state

#define cg_upnp_av_rcs_control_getredvideoblacklevel upnpDevice,
errorString,
instanceID,
blackLevel   ) 
 

Value:

Get red video black level

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
blackLevel The current red video black level

#define cg_upnp_av_rcs_control_getredvideogain upnpDevice,
errorString,
instanceID,
gain   ) 
 

Value:

Get red video gain

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
gain The current red video gain

#define cg_upnp_av_rcs_control_getsharpness upnpDevice,
errorString,
instanceID,
sharpness   ) 
 

Value:

\
        cg_upnp_av_rcs_control_invokeaction(upnpDevice, \
                        CG_UPNP_RCS_ACTION_GETSHARPNESS, \
                        errorString, \
                        CG_UPNP_RCS_ARG_INSTANCEID, \
                        instanceID, \
                        CG_UPNP_RCS_ARG_CURRENTSHARPNESS, \
                        sharpness, \
                        NULL)
Get sharpness

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
sharpness The current sharpness level

#define cg_upnp_av_rcs_control_getverticalkeystone upnpDevice,
errorString,
instanceID,
keystone   ) 
 

Value:

Get vertical keystone

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
keystone The current vertical keystone value

#define cg_upnp_av_rcs_control_getvolume upnpDevice,
errorString,
instanceID,
channel,
volume   ) 
 

Value:

Get volume

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
channel Channel name
volume The current volume level

#define cg_upnp_av_rcs_control_getvolumedb upnpDevice,
errorString,
instanceID,
channel,
volume   ) 
 

Value:

Get volume in deciBels (dB)

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
channel Channel name
volume The current volume level (dB)

#define cg_upnp_av_rcs_control_getvolumedbrange upnpDevice,
errorString,
instanceID,
channel,
min,
max   ) 
 

Value:

\
        cg_upnp_av_rcs_control_invokeaction(upnpDevice, \
                        CG_UPNP_RCS_ACTION_GETVOLUMEDBRANGE, \
                        errorString, \
                        CG_UPNP_RCS_ARG_INSTANCEID, \
                        instanceID, \
                        CG_UPNP_RCS_ARG_CHANNEL, \
                        channel, \
                        CG_UPNP_RCS_ARG_MINVALUE, \
                        min, \
                        CG_UPNP_RCS_ARG_MAXVALUE, \
                        max, \
                        NULL)
Get the valid value range for get/setvolumedb

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
channel Channel name
min The minimum value
max The maximum value

#define cg_upnp_av_rcs_control_listpresets upnpDevice,
errorString,
instanceID,
currentPresetNameList   ) 
 

Value:

\
        cg_upnp_av_rcs_control_invokeaction(upnpDevice, \
                        CG_UPNP_RCS_ACTION_LISTPRESETS, \
                        errorString, \
                        CG_UPNP_RCS_ARG_INSTANCEID, \
                        instanceID, \
                        CG_UPNP_RCS_ARG_CURRENTPRESETNAMELIST, \
                        currentPresetNameList, \
                        NULL)
Get a list of rendering control presets from the device

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
currentPresetNameList List of RCS presets

#define cg_upnp_av_rcs_control_selectpreset upnpDevice,
errorString,
instanceID,
presetName   ) 
 

Value:

Select a valid RCS preset from a list provided by cg_upnp_av_rcs_control_listpresets

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
presetName The name of the RCS preset to select

#define cg_upnp_av_rcs_control_setbluevideoblacklevel upnpDevice,
errorString,
instanceID,
blackLevel   ) 
 

Value:

Set blue video black level

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
blackLevel The desired blue video black level

#define cg_upnp_av_rcs_control_setbluevideogain upnpDevice,
errorString,
instanceID,
gain   ) 
 

Value:

Set blue video gain

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
gain The desired blue video gain

#define cg_upnp_av_rcs_control_setbrightness upnpDevice,
errorString,
instanceID,
brightness   ) 
 

Value:

Set brightness

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
brightness The desired brightness level

#define cg_upnp_av_rcs_control_setcolortemperature upnpDevice,
errorString,
instanceID,
colorTemp   ) 
 

Value:

Set color temperature

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
colorTemp The desired color temperature

#define cg_upnp_av_rcs_control_setcontrast upnpDevice,
errorString,
instanceID,
contrast   ) 
 

Value:

Set contrast

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
contrast The desired contrast level

#define cg_upnp_av_rcs_control_setgreenvideoblacklevel upnpDevice,
errorString,
instanceID,
blackLevel   ) 
 

Value:

Set green video black level

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
blackLevel The desired green video black level

#define cg_upnp_av_rcs_control_setgreenvideogain upnpDevice,
errorString,
instanceID,
gain   ) 
 

Value:

Set green video gain

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
gain The desired green video gain

#define cg_upnp_av_rcs_control_sethorizontalkeystone upnpDevice,
errorString,
instanceID,
keystone   ) 
 

Value:

Set horizontal keystone

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
keystone The desired horizontal keystone value

#define cg_upnp_av_rcs_control_setloudness upnpDevice,
errorString,
instanceID,
channel,
loudness   ) 
 

Value:

Set loudness state

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
channel Channel name
loudness The desired loudness state

#define cg_upnp_av_rcs_control_setmute upnpDevice,
errorString,
instanceID,
channel,
mute   ) 
 

Value:

Set mute state

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
channel Channel name
mute The desired mute state

#define cg_upnp_av_rcs_control_setredvideoblacklevel upnpDevice,
errorString,
instanceID,
blackLevel   ) 
 

Value:

Set red video black level

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
blackLevel The desired red video black level

#define cg_upnp_av_rcs_control_setredvideogain upnpDevice,
errorString,
instanceID,
gain   ) 
 

Value:

Set red video gain

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
gain The desired red video gain

#define cg_upnp_av_rcs_control_setsharpness upnpDevice,
errorString,
instanceID,
sharpness   ) 
 

Value:

\
        cg_upnp_av_rcs_control_invokeaction(upnpDevice, \
                        CG_UPNP_RCS_ACTION_SETSHARPNESS, \
                        errorString, \
                        CG_UPNP_RCS_ARG_INSTANCEID, \
                        instanceID, \
                        CG_UPNP_RCS_ARG_DESIREDSHARPNESS, \
                        sharpness, \
                        NULL)
Set sharpness

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
sharpness The desired sharpness level

#define cg_upnp_av_rcs_control_setverticalkeystone upnpDevice,
errorString,
instanceID,
keystone   ) 
 

Value:

Set vertical keystone

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
keystone The desired vertical keystone value

#define cg_upnp_av_rcs_control_setvolume upnpDevice,
errorString,
instanceID,
channel,
volume   ) 
 

Value:

Set volume

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
channel Channel name
volume The desired volume level

#define cg_upnp_av_rcs_control_setvolumedb upnpDevice,
errorString,
instanceID,
channel,
volume   ) 
 

Value:

Set volume in deciBels (dB)

Parameters:
upnpDevice The UPnP device
instanceID The ID of the current RCS instance
channel Channel name
volume The desired volume level (dB)


Function Documentation

int cg_upnp_av_rcs_control_invokeaction CgUpnpDevice *  upnpDevice,
char *  actionName,
char **  errorString,
  ...
 

Invoke an action on the upnp device

Parameters:
upnpDevice The UPnP device
actionName The name of the action to invoke
errorString A newly-created error string if the action fails. Pass NULL if you don't want to use it.
... A list of action-specific arguments
Returns:
An integer containing the UPnP status code
The list of action-specific arguments is a comma-separated list, that is organised as pairs of char* ARG_NAME and CgString* ARG_VALUE. ARG_NAME contains the name of the argument, while ARG_VALUE contains the value of the argument. You don't need to put anything inside OUT arguments, as they are not sent along with the action; their contents are set when the action post returns with OUT values that were received from the peer.


Generated on Mon Aug 14 10:23:33 2006 for CyberLinkC-AV by  doxygen 1.4.6