InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IConvertDepthImageStreamData Class Referenceabstract

#include <IConvertDepthImageStreamData.h>

Inheritance diagram for IConvertDepthImageStreamData:
IPMUnknown

Classes

struct  ConvertDepthInfo
 

Public Types

enum  ConvertType { kConvertFromP8Hi = 1, kConvertFromP8Low = 2, kConvertToP8Hi = 3, kConvertToP8Low = 4 }
 

Public Member Functions

virtual void SetConvertDepthInfo (const ConvertDepthInfo &convertDepthInfo)=0
 
virtual void GetConvertDepthInfo (ConvertDepthInfo *convertDepthInfo) const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Data interface for the ConvertBitDepthImageStream segment of the ImageStreamManager. The segment is used to convert to or from 8-bit data. To convert from bit depth X to bit depth Y, where X and Y are not 8, create 1 segment which converts from X to 8-bit Hi or Low, and another segment which converts the results of the previous segment to Y.

See Also
ImageStreamManager

Member Enumeration Documentation

enum of the bit depth conversion options. kConvertFromP8Hi 8-bits of image data is in the high byte kConvertFromP8Low 8-bits of image data is in the low byte kConvertToP8Hi If source data is 16 bit, convert to 8 bit. Otherwise, convert to target bitdepth with 8-bits of image data in high byte. kConvertToP8Low Convert to target bitdepth with 8-bits of image data in low byte.

Member Function Documentation

virtual void IConvertDepthImageStreamData::GetConvertDepthInfo (ConvertDepthInfoconvertDepthInfo) const
pure virtual

Retrieves the settings used by kConvertBitDepthImageStreamBoss

Parameters
convertDepthInfoThe settings to retrieve
virtual void IConvertDepthImageStreamData::SetConvertDepthInfo (const ConvertDepthInfoconvertDepthInfo)
pure virtual

Stores the settings used by kConvertBitDepthImageStreamBoss

Parameters
convertDepthInfoThe settings to use