|
|
|
dmedia/dmbufglparams(3d) -- configures pool parameters required for use by graphics
|
|
dmBufferGetGLPoolParams configures the poolParams given the constrains in DM_IMAGE_WIDTH, DM_IMAGE_HEIGHT and DM_IMAGE_PACKING must be set to valid values for the poolParams to be configured properly. The poolParams must also be configured by other subsystems (like dmIC and VL) before or after it has been configured by this call if the buffer pool is to be shared among the various subsystems (See also dmBufferCreatePool(3dm) ). If the poolParams cannot be altered (due to, for example, incompatib... |
|
dmedia/dmbufmap(3d) -- map DMbuffer memory
|
|
dmBufferMapData returns a pointer to the memory in buffer. The pointer can be used for reading and writing the contents of the buffer. The pointer remains valid until the buffer is freed with dmBufferFree(3dm). After allocating a digital media buffer with dmBufferAllocate(3dm), the pointer returned dmBufferMapData by can be used to write data into the buffer. However, once the buffer has been sent to one of the digital media libraries, the pointer may be used to read from the buffer, but the con... |
|
|
dmedia/dmbufsize(3d) -- set and get DMbuffer data size
|
|
dmBufferGetSize returns the size in bytes of the valid data in buffer. dmBufferSetSize sets the byte count of valid data in buffer. |
|
dmedia/dmbufstate(3d) -- query available space in pool
|
|
dmBufferGetPoolState returns the number of bytes and buffers which can be successfully allocated from the pool before the pool fills up with allocated buffers (causing dmBufferAllocate to fail). Currently, each buffer in a DMbufferpool has a fixed size. Therefore, the number of DMbuffers which can be allocated and the number of bytes which can be allocated are related by a constant factor, which is returned by dmBufferGetAllocSize. This may change in future releases.... |
|
dmedia/dmbuftype(3d) -- set and get the DMimagetype of a DMbuffer
|
|
dmBufferGetImageType returns the DMimagetype of buffer. dmBufferSetImageType makes type the new DMimagetype of buffer. The following are valid values: |
|
dmedia/dmbufuserdata(3d) -- get and set user data for a buffer
|
|
dmBufferGetUserData returns size bytes of user data in data. The maximum size of the user data area of buffer is DM_BUFFER_MAX_AUX_DATA_SIZE. The size of valid user data is set by dmBufferSetUserData. dmBufferSetUserData copies size bytes of data pointed to by data into the user data area of buffer. If size is greater than DM_BUFFER_MAX_AUX_DATA_SIZE , DM_FAILURE is returned. |
|
dmedia/dmbufustmsc(3d) -- get and set unadjusted system time and media stream counter value pair
|
|
dmBufferGetUSTMSCpair returns the USTMSCpair for buf. dmBufferSetUSTMSCpair sets the USTMSCpair of buf. |
|
dmedia/dmColor(3d) -- The Silicon Graphics Color Space Library (CSL)
|
|
The Color Space Library (CSL) provides a simple, yet powerful, means of converting images between color spaces (models), packings, subsamplings and datatypes and/or performing some operation on the image data, such as adjusting its contrast. The CSL adopts the concept of a "color converter" for which the source and destination images' parameters are specified as well as various conversion parameters. The image parameters are supplied via a DMparams using the calls dmColorSetSrcParams and dmCo... |
|
dmedia/dmColorConvert(3d) -- performs the actual image conversion.
|
|
DMcolorconverter converter The converter upon which the action is to be applied. |
|
dmedia/dmColorCreate(3d) -- creates and initializes the color converter.
|
|
DMcolorconverter *converter A pointer to the converter to be created. |
|
dmedia/dmColorDestroy(3d) -- destroys the color converter.
|
|
DMcolorconverter *converter The converter to be destroyed. |
|
dmedia/dmColorGetError(3d) -- returns the value of the error flag.
|
|
DMcolorconverter converter The converter upon which the action is to be applied. int *error The value of the error flag. |
|
dmedia/dmColorGetErrorString(3d) -- returns a text error message.
|
|
const int error The dmColor error token (see dmColor man page). |
|
dmedia/dmColorGetSrcSize(3d) -- get the source/destination image size in bytes.
|
|
DMcolorconverter converter The converter upon which the action is to be applied. int *size The expected size in bytes of the source/destination image. |
|
dmedia/dmColorPrecompute(3d) -- performs any precomputation required.
|
|
DMcolorconverter converter The converter upon which the action is to be applied. |