~ubuntu-branches/ubuntu/precise/x264/precise

« back to all changes in this revision

Viewing changes to common/quant.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler, Andres Mejia, Reinhard Tartler
  • Date: 2011-05-22 20:11:48 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110522201148-68oyygamd1pvfvmd
Tags: 2:0.115.1943+git6e33b51-1
[ Andres Mejia ]
* New upstream release.
* version.sh modifications no longer need to be made, an updated version.sh
  is installed in upstream tarball.
* Shared library package is renamed to lib264-115.
* fix-8x8dct+slices+no-sliced-threads+cavlc+deblock.patch is removed, has
  been applied upstream.
* Add DM-Upload-Allowed: yes.
* Convert package to 3.0 (quilt).
* Convert packaging to dh 8.
* Change Priority to optional.

[ Reinhard Tartler ]
* lower debhelper compat level to 7
* don't set --disable-debug
* bump requirements on libav, also depend on libswscale
* fix typo in dependency declaration
* drop patch link-x264cli-explicitly-against-lavf
* even more strict dependencies on libav libraries

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 * quant.h: quantization and level-run
3
3
 *****************************************************************************
4
 
 * Copyright (C) 2005-2010 x264 project
 
4
 * Copyright (C) 2005-2011 x264 project
5
5
 *
6
6
 * Authors: Loren Merritt <lorenm@u.washington.edu>
7
7
 *          Jason Garrett-Glaser <darkshikari@gmail.com>
29
29
 
30
30
typedef struct
31
31
{
32
 
    int (*quant_8x8)( dctcoef dct[64], uint16_t mf[64], uint16_t bias[64] );
33
 
    int (*quant_4x4)( dctcoef dct[16], uint16_t mf[16], uint16_t bias[16] );
 
32
    int (*quant_8x8)( dctcoef dct[64], udctcoef mf[64], udctcoef bias[64] );
 
33
    int (*quant_4x4)( dctcoef dct[16], udctcoef mf[16], udctcoef bias[16] );
34
34
    int (*quant_4x4_dc)( dctcoef dct[16], int mf, int bias );
35
35
    int (*quant_2x2_dc)( dctcoef dct[4], int mf, int bias );
36
36
 
38
38
    void (*dequant_4x4)( dctcoef dct[16], int dequant_mf[6][16], int i_qp );
39
39
    void (*dequant_4x4_dc)( dctcoef dct[16], int dequant_mf[6][16], int i_qp );
40
40
 
41
 
    void (*denoise_dct)( dctcoef *dct, uint32_t *sum, uint16_t *offset, int size );
 
41
    int (*optimize_chroma_dc)( dctcoef dct[4], int dequant_mf );
 
42
 
 
43
    void (*denoise_dct)( dctcoef *dct, uint32_t *sum, udctcoef *offset, int size );
42
44
 
43
45
    int (*decimate_score15)( dctcoef *dct );
44
46
    int (*decimate_score16)( dctcoef *dct );