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

static void process_subpacket_10 ( QDM2Context q,
QDM2SubPNode node,
int  length 
) [static]

Process subpacket 10 if not null, else

Parameters:
q context
node pointer to node with packet
length packet length in bits

Definition at line 1119 of file qdm2.c.

References QDM2SubPacket::data, fill_tone_level_array(), init_tone_level_dequantization(), _QDM2SubPNode::packet, and QDM2SubPacket::size.

{
    GetBitContext gb;

    init_get_bits(&gb, ((node == NULL) ? empty_buffer : node->packet->data), ((node == NULL) ? 0 : node->packet->size*8));

    if (length != 0) {
        init_tone_level_dequantization(q, &gb, length);
        fill_tone_level_array(q, 1);
    } else {
        fill_tone_level_array(q, 0);
    }
}


Generated by  Doxygen 1.6.0   Back to index