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

local int speck_unprocess_I ( int **  channel,
int  channel_size,
pixel_set I,
linked_list **  LIS_slots,
linked_list LSP,
bit_buffer bb,
int  threshold 
)

Unprocess set of type 'I'

This function is inverse to speck_process_I.

Parameters:
channelChannel
channel_sizeChannel size
ISet of type I
LIS_slotsArray of LIS slots
LSPList of Significant Pixels
bbBit-buffer
thresholdThreshold
Returns:
Either BIT_BUFFER_OK or BIT_BUFFER_UNDERFLOW

Definition at line 846 of file speck.c.

References BIT_BUFFER_OK, read_bit, RETURN_IF_UNDERFLOW, speck_decode_I(), pixel_set_tag::type, and TYPE_EMPTY.

Referenced by decode_sorting_pass(), and speck_decode_I().

{
    int result;
    int st;

    /* Skip over empty sets */
    if (I->type == TYPE_EMPTY) {
        return BIT_BUFFER_OK;
    }

    /* Read significance information */
    result = read_bit(bb, &st);
    RETURN_IF_UNDERFLOW(result);

    if (st) {
        result = speck_decode_I(channel, channel_size, I,
                                LIS_slots, LSP, bb, threshold);

        RETURN_IF_UNDERFLOW(result);
    }

    return BIT_BUFFER_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index