[svn] / trunk / xvidcore / src / utils / mbtransquant.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/utils/mbtransquant.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1566, Sun Dec 5 13:56:13 2004 UTC revision 1617, Mon May 23 09:29:43 2005 UTC
# Line 21  Line 21 
21   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
22   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23   *   *
24   * $Id: mbtransquant.c,v 1.26 2004-12-05 13:56:13 syskin Exp $   * $Id: mbtransquant.c,v 1.28 2005-05-23 09:29:43 Skal Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 216  Line 216 
216    
217                  sum = quant[mpeg](&qcoeff[i*64], &data[i*64], pMB->quant, pParam->mpeg_quant_matrices);                  sum = quant[mpeg](&qcoeff[i*64], &data[i*64], pMB->quant, pParam->mpeg_quant_matrices);
218    
219                  if(sum && (frame->vop_flags & XVID_VOP_TRELLISQUANT)) {                  if(sum && (pMB->quant > 2) && (frame->vop_flags & XVID_VOP_TRELLISQUANT)) {
220                          const uint16_t *matrix;                          const uint16_t *matrix;
221                          const static uint16_t h263matrix[] =                          const static uint16_t h263matrix[] =
222                                  {                                  {
# Line 774  Line 774 
774           * helps. */           * helps. */
775          typedef struct { int16_t Run, Level; } NODE;          typedef struct { int16_t Run, Level; } NODE;
776    
777          NODE Nodes[65], Last;          NODE Nodes[65], Last = { 0, 0};
778          uint32_t Run_Costs0[64+1];          uint32_t Run_Costs0[64+1];
779          uint32_t * const Run_Costs = Run_Costs0 + 1;          uint32_t * const Run_Costs = Run_Costs0 + 1;
780    

Legend:
Removed from v.1566  
changed lines
  Added in v.1617

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4