Logo Search packages:      
Sourcecode: blender version File versions

static int cook_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
uint8_t *  buf,
int  buf_size 
) [static]

Cook frame decoding

avctx pointer to the AVCodecContext

Definition at line 1109 of file cook.c.

References AVCodecContext::block_align, decode_subpacket(), and AVCodecContext::priv_data.

    COOKContext *q = avctx->priv_data;

    if (buf_size < avctx->block_align)
        return buf_size;

    *data_size = decode_subpacket(q, buf, avctx->block_align, data);

    return avctx->block_align;

Generated by  Doxygen 1.6.0   Back to index