[]
This functions gets a DataBlk with the size of the current code-block and fills it with the ROI mask. The lowest scaling value in the mask for this code-block is returned by the function to be used for modifying the rate distortion estimations.
public override bool getROIMask(DataBlkInt db, Subband sb, int magbits, int c)
Public Overrides Function getROIMask(db As DataBlkInt, sb As Subband, magbits As Integer, c As Integer) As Boolean
| Type | Name | Description |
|---|---|---|
| DataBlkInt | db | The data block that is to be filled with the mask |
| Subband | sb | The root of the current subband tree |
| int | magbits | The number of magnitude bits in this code-block |
| int | c | Component number |
| Type | Description |
|---|---|
| bool | Whether or not a mask was needed for this tile |