static void update_last_header_values(SnowContext *s){
    int plane_index;
    if(!s->keyframe){
        for(plane_index=0; plane_index<2; plane_index++){
            Plane *p= &s->plane[plane_index];
            p->last_diag_mc= p->diag_mc;
            p->last_htaps  = p->htaps;
            memcpy(p->last_hcoeff, p->hcoeff, sizeof(p->hcoeff));
        }
    }
    s->last_spatial_decomposition_type  = s->spatial_decomposition_type;
    s->last_qlog                        = s->qlog;
    s->last_qbias                       = s->qbias;
    s->last_mv_scale                    = s->mv_scale;
    s->last_block_max_depth             = s->block_max_depth;
    s->last_spatial_decomposition_count = s->spatial_decomposition_count;
}
['static void update_last_header_values(SnowContext *s){\n    int plane_index;\n    if(!s->keyframe){\n        for(plane_index=0; plane_index<2; plane_index++){\n            Plane *p= &s->plane[plane_index];\n            p->last_diag_mc= p->diag_mc;\n            p->last_htaps  = p->htaps;\n            memcpy(p->last_hcoeff, p->hcoeff, sizeof(p->hcoeff));\n        }\n    }\n    s->last_spatial_decomposition_type  = s->spatial_decomposition_type;\n    s->last_qlog                        = s->qlog;\n    s->last_qbias                       = s->qbias;\n    s->last_mv_scale                    = s->mv_scale;\n    s->last_block_max_depth             = s->block_max_depth;\n    s->last_spatial_decomposition_count = s->spatial_decomposition_count;\n}']