Logo Search packages:      
Sourcecode: librasterlite version File versions  Download package

local void zero_channel ( int **  channel,
int  channel_size 
)

Reset channel

This function resets all channel components to zero.

Parameters:
channelChannel
channel_sizeChannel size
Returns:
VOID

Definition at line 399 of file speck.c.

Referenced by speck_decode().

{
    int i, j;

    /* Reset everything to zero */
    for (i = 0; i < channel_size; i++) {
        for (j = 0; j < channel_size; j++) {
            channel[i][j] = 0;
        }
    }
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index