getCompSubsX Method (PostCompRateAllocator)
In This Topic
Returns the component subsampling factor in the horizontal direction, for the specified component. This is, approximately, the ratio of dimensions between the reference grid and the component itself, see the 'ImgData' interface desription for details.
This default implementation returns the value of the source.
Syntax
'Declaration
Public Overridable Function getCompSubsX( _
ByVal As Integer _
) As Integer
public virtual int getCompSubsX(
int
)
Parameters
- c
- The index of the component (between 0 and N-1)
Return Value
The horizontal subsampling factor of component 'c'
See Also