www.pudn.com > core.rar   To Read all the content


[file head]:
/*****************************************************************************
* frame.c: h264 encoder library
*****************************************************************************
* Copyright (C) 2003 Laurent Aimar
* $Id: frame.c,v 1.10 2004/03/20 05:04:48 fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Templ
... ...

[file tail]:
... ...
/* horizontal edge */
deblocking_filter_edgeh( h, &amt;h->fdec->plane[0][(16*mb->i_mb_y + 4 * i_edge) * h->fdec->i_stride[0]+ 16 * mb->i_mb_x],
h->fdec->i_stride[0], bS, i_QP );
/* U/V planes */
if( ( i_edge > 2 ) == 0 )
{
i_QP = ( i_chroma_qp_table[mb->i_qp] + i_chroma_qp_table[mbn->i_qp] + 1 ) >> 1;
deblocking_filter_edgech( h, &amt;h->fdec->plane[1][8*(mb->i_mb_y*h->fdec->i_stride[1]+mb->i_mb_x)+i_edge*2*h->fdec->i_stride[1]],
h->fdec->i_stride[1], bS, i_QP );
deblocking_filter_edgech( h, &amt;h->fdec->plane[2][8*(mb->i_mb_y*h->fdec->i_stride[2]+mb->i_mb_x)+i_edge*2*h->fdec->i_stride[2]],
h->fdec->i_stride[2], bS, i_QP );
}
}
}
}
}
}