void ff_xvmc_init_block(MpegEncContext *s)

{

    struct xvmc_render_state *render = (struct xvmc_render_state*)s->current_picture.data[2];

    assert(render);

    if (!render || render->magic != AV_XVMC_RENDER_MAGIC) {

        assert(0);

        return; // make sure that this is a render packet

    }

    s->block = (DCTELEM *)(render->data_blocks + render->next_free_data_block_num * 64);

}

void ff_xvmc_init_block(MpegEncContext *s)

{

    struct xvmc_render_state *render = (struct xvmc_render_state*)s->current_picture.data[2];

    assert(render);

    if (!render || render->magic != AV_XVMC_RENDER_MAGIC) {

        assert(0);

        return; 

    }

    s->block = (DCTELEM *)(render->data_blocks + render->next_free_data_block_num * 64);

}

    assert(render);
void FUNC_0(MpegEncContext *VAR_0)

{

    struct xvmc_render_state *VAR_1 = (struct xvmc_render_state*)VAR_0->current_picture.data[2];

    assert(VAR_1);

    if (!VAR_1 || VAR_1->magic != AV_XVMC_RENDER_MAGIC) {

        assert(0);

        return; 

    }

    VAR_0->block = (DCTELEM *)(VAR_1->data_blocks + VAR_1->next_free_data_block_num * 64);

}

void FUNC_0(MpegEncContext *VAR_0)
{ struct xvmc_render_state *VAR_1 = (struct xvmc_render_state*)VAR_0->current_picture.data[2]; assert(VAR_1); if (!VAR_1 || VAR_1->magic != AV_XVMC_RENDER_MAGIC) { assert(0); return; } VAR_0->block = (DCTELEM *)(VAR_1->data_blocks + VAR_1->next_free_data_block_num * 64); }