static void clone_slice(H264Context *dst, H264Context *src)

{

    memcpy(dst->block_offset, src->block_offset, sizeof(dst->block_offset));

    dst->s.current_picture_ptr = src->s.current_picture_ptr;

    dst->s.current_picture     = src->s.current_picture;

    dst->s.linesize            = src->s.linesize;

    dst->s.uvlinesize          = src->s.uvlinesize;

    dst->s.first_field         = src->s.first_field;



    dst->prev_poc_msb          = src->prev_poc_msb;

    dst->prev_poc_lsb          = src->prev_poc_lsb;

    dst->prev_frame_num_offset = src->prev_frame_num_offset;

    dst->prev_frame_num        = src->prev_frame_num;

    dst->short_ref_count       = src->short_ref_count;



    memcpy(dst->short_ref,        src->short_ref,        sizeof(dst->short_ref));

    memcpy(dst->long_ref,         src->long_ref,         sizeof(dst->long_ref));

    memcpy(dst->default_ref_list, src->default_ref_list, sizeof(dst->default_ref_list));

    memcpy(dst->ref_list,         src->ref_list,         sizeof(dst->ref_list));



    memcpy(dst->dequant4_coeff,   src->dequant4_coeff,   sizeof(src->dequant4_coeff));

    memcpy(dst->dequant8_coeff,   src->dequant8_coeff,   sizeof(src->dequant8_coeff));

}

static void clone_slice(H264Context *dst, H264Context *src)

{

    memcpy(dst->block_offset, src->block_offset, sizeof(dst->block_offset));

    dst->s.current_picture_ptr = src->s.current_picture_ptr;

    dst->s.current_picture     = src->s.current_picture;

    dst->s.linesize            = src->s.linesize;

    dst->s.uvlinesize          = src->s.uvlinesize;

    dst->s.first_field         = src->s.first_field;



    dst->prev_poc_msb          = src->prev_poc_msb;

    dst->prev_poc_lsb          = src->prev_poc_lsb;

    dst->prev_frame_num_offset = src->prev_frame_num_offset;

    dst->prev_frame_num        = src->prev_frame_num;

    dst->short_ref_count       = src->short_ref_count;



    memcpy(dst->short_ref,        src->short_ref,        sizeof(dst->short_ref));

    memcpy(dst->long_ref,         src->long_ref,         sizeof(dst->long_ref));

    memcpy(dst->default_ref_list, src->default_ref_list, sizeof(dst->default_ref_list));

    memcpy(dst->ref_list,         src->ref_list,         sizeof(dst->ref_list));



    memcpy(dst->dequant4_coeff,   src->dequant4_coeff,   sizeof(src->dequant4_coeff));

    memcpy(dst->dequant8_coeff,   src->dequant8_coeff,   sizeof(src->dequant8_coeff));

}

static void clone_slice(H264Context *dst, H264Context *src)
static void FUNC_0(H264Context *VAR_0, H264Context *VAR_1)

{

    memcpy(VAR_0->block_offset, VAR_1->block_offset, sizeof(VAR_0->block_offset));

    VAR_0->s.current_picture_ptr = VAR_1->s.current_picture_ptr;

    VAR_0->s.current_picture     = VAR_1->s.current_picture;

    VAR_0->s.linesize            = VAR_1->s.linesize;

    VAR_0->s.uvlinesize          = VAR_1->s.uvlinesize;

    VAR_0->s.first_field         = VAR_1->s.first_field;



    VAR_0->prev_poc_msb          = VAR_1->prev_poc_msb;

    VAR_0->prev_poc_lsb          = VAR_1->prev_poc_lsb;

    VAR_0->prev_frame_num_offset = VAR_1->prev_frame_num_offset;

    VAR_0->prev_frame_num        = VAR_1->prev_frame_num;

    VAR_0->short_ref_count       = VAR_1->short_ref_count;



    memcpy(VAR_0->short_ref,        VAR_1->short_ref,        sizeof(VAR_0->short_ref));

    memcpy(VAR_0->long_ref,         VAR_1->long_ref,         sizeof(VAR_0->long_ref));

    memcpy(VAR_0->default_ref_list, VAR_1->default_ref_list, sizeof(VAR_0->default_ref_list));

    memcpy(VAR_0->ref_list,         VAR_1->ref_list,         sizeof(VAR_0->ref_list));



    memcpy(VAR_0->dequant4_coeff,   VAR_1->dequant4_coeff,   sizeof(VAR_1->dequant4_coeff));

    memcpy(VAR_0->dequant8_coeff,   VAR_1->dequant8_coeff,   sizeof(VAR_1->dequant8_coeff));

}

static void FUNC_0(H264Context *VAR_0, H264Context *VAR_1)
{ memcpy(VAR_0->block_offset, VAR_1->block_offset, sizeof(VAR_0->block_offset)); VAR_0->s.current_picture_ptr = VAR_1->s.current_picture_ptr; VAR_0->s.current_picture     = VAR_1->s.current_picture; VAR_0->s.linesize            = VAR_1->s.linesize; VAR_0->s.uvlinesize          = VAR_1->s.uvlinesize; VAR_0->s.first_field         = VAR_1->s.first_field; VAR_0->prev_poc_msb          = VAR_1->prev_poc_msb; VAR_0->prev_poc_lsb          = VAR_1->prev_poc_lsb; VAR_0->prev_frame_num_offset = VAR_1->prev_frame_num_offset; VAR_0->prev_frame_num        = VAR_1->prev_frame_num; VAR_0->short_ref_count       = VAR_1->short_ref_count; memcpy(VAR_0->short_ref,        VAR_1->short_ref,        sizeof(VAR_0->short_ref)); memcpy(VAR_0->long_ref,         VAR_1->long_ref,         sizeof(VAR_0->long_ref)); memcpy(VAR_0->default_ref_list, VAR_1->default_ref_list, sizeof(VAR_0->default_ref_list)); memcpy(VAR_0->ref_list,         VAR_1->ref_list,         sizeof(VAR_0->ref_list)); memcpy(VAR_0->dequant4_coeff,   VAR_1->dequant4_coeff,   sizeof(VAR_1->dequant4_coeff)); memcpy(VAR_0->dequant8_coeff,   VAR_1->dequant8_coeff,   sizeof(VAR_1->dequant8_coeff)); }