static void clone_tables(H264Context *dst, H264Context *src){

    dst->intra4x4_pred_mode       = src->intra4x4_pred_mode;

    dst->non_zero_count           = src->non_zero_count;

    dst->slice_table              = src->slice_table;

    dst->cbp_table                = src->cbp_table;

    dst->mb2b_xy                  = src->mb2b_xy;

    dst->mb2b8_xy                 = src->mb2b8_xy;

    dst->chroma_pred_mode_table   = src->chroma_pred_mode_table;

    dst->mvd_table[0]             = src->mvd_table[0];

    dst->mvd_table[1]             = src->mvd_table[1];

    dst->direct_table             = src->direct_table;



    if(!dst->dequant4_coeff[0])

        init_dequant_tables(dst);

    dst->s.obmc_scratchpad = NULL;

    ff_h264_pred_init(&dst->hpc, src->s.codec_id);

    dst->dequant_coeff_pps= -1;

}

static void clone_tables(H264Context *dst, H264Context *src){

    dst->intra4x4_pred_mode       = src->intra4x4_pred_mode;

    dst->non_zero_count           = src->non_zero_count;

    dst->slice_table              = src->slice_table;

    dst->cbp_table                = src->cbp_table;

    dst->mb2b_xy                  = src->mb2b_xy;

    dst->mb2b8_xy                 = src->mb2b8_xy;

    dst->chroma_pred_mode_table   = src->chroma_pred_mode_table;

    dst->mvd_table[0]             = src->mvd_table[0];

    dst->mvd_table[1]             = src->mvd_table[1];

    dst->direct_table             = src->direct_table;



    if(!dst->dequant4_coeff[0])

        init_dequant_tables(dst);

    dst->s.obmc_scratchpad = NULL;

    ff_h264_pred_init(&dst->hpc, src->s.codec_id);

    dst->dequant_coeff_pps= -1;

}

    if(!dst->dequant4_coeff[0])         init_dequant_tables(dst);     dst->dequant_coeff_pps= -1;
static void FUNC_0(H264Context *VAR_0, H264Context *VAR_1){

    VAR_0->intra4x4_pred_mode       = VAR_1->intra4x4_pred_mode;

    VAR_0->non_zero_count           = VAR_1->non_zero_count;

    VAR_0->slice_table              = VAR_1->slice_table;

    VAR_0->cbp_table                = VAR_1->cbp_table;

    VAR_0->mb2b_xy                  = VAR_1->mb2b_xy;

    VAR_0->mb2b8_xy                 = VAR_1->mb2b8_xy;

    VAR_0->chroma_pred_mode_table   = VAR_1->chroma_pred_mode_table;

    VAR_0->mvd_table[0]             = VAR_1->mvd_table[0];

    VAR_0->mvd_table[1]             = VAR_1->mvd_table[1];

    VAR_0->direct_table             = VAR_1->direct_table;



    if(!VAR_0->dequant4_coeff[0])

        init_dequant_tables(VAR_0);

    VAR_0->s.obmc_scratchpad = NULL;

    ff_h264_pred_init(&VAR_0->hpc, VAR_1->s.codec_id);

    VAR_0->dequant_coeff_pps= -1;

}

static void FUNC_0(H264Context *VAR_0, H264Context *VAR_1){ VAR_0->intra4x4_pred_mode       = VAR_1->intra4x4_pred_mode; VAR_0->non_zero_count           = VAR_1->non_zero_count; VAR_0->slice_table              = VAR_1->slice_table; VAR_0->cbp_table                = VAR_1->cbp_table; VAR_0->mb2b_xy                  = VAR_1->mb2b_xy; VAR_0->mb2b8_xy                 = VAR_1->mb2b8_xy; VAR_0->chroma_pred_mode_table   = VAR_1->chroma_pred_mode_table; VAR_0->mvd_table[0]             = VAR_1->mvd_table[0]; VAR_0->mvd_table[1]             = VAR_1->mvd_table[1]; VAR_0->direct_table             = VAR_1->direct_table; if(!VAR_0->dequant4_coeff[0])
init_dequant_tables(VAR_0); VAR_0->s.obmc_scratchpad = NULL; ff_h264_pred_init(&VAR_0->hpc, VAR_1->s.codec_id); VAR_0->dequant_coeff_pps= -1; }