~ubuntu-branches/ubuntu/saucy/x264/saucy

« back to all changes in this revision

Viewing changes to common/quant.h

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler, Fabian Greffrath, Reinhard Tartler
  • Date: 2012-02-10 21:26:18 UTC
  • mfrom: (12.1.12 experimental)
  • Revision ID: package-import@ubuntu.com-20120210212618-vsfw1bwsbrk7n4ju
Tags: 2:0.120.2151+gita3f4407-2
[ Fabian Greffrath ]
* Meanwhile, upstream enabled PIC for the shared library build on ia64,
  mips* and hppa/parisc (once more closes: #642810), so remove our
  Debian-specific workarounds.

[ Reinhard Tartler ]
* Build against libgpac to enable MP4 output
* Add a note about non-relocatable code in the README.Debian file,
  Closes: #657019, LP: #919509

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
    int (*coeff_level_run[13])( dctcoef *dct, x264_run_level_t *runlevel );
56
56
    int (*coeff_level_run4)( dctcoef *dct, x264_run_level_t *runlevel );
57
57
    int (*coeff_level_run8)( dctcoef *dct, x264_run_level_t *runlevel );
 
58
 
 
59
#define TRELLIS_PARAMS const int *unquant_mf, const uint8_t *zigzag, int lambda2,\
 
60
                       int last_nnz, dctcoef *coefs, dctcoef *quant_coefs, dctcoef *dct,\
 
61
                       uint8_t *cabac_state_sig, uint8_t *cabac_state_last,\
 
62
                       uint64_t level_state0, uint16_t level_state1
 
63
    int (*trellis_cabac_4x4)( TRELLIS_PARAMS, int b_ac );
 
64
    int (*trellis_cabac_8x8)( TRELLIS_PARAMS, int b_interlaced );
 
65
    int (*trellis_cabac_4x4_psy)( TRELLIS_PARAMS, int b_ac, dctcoef *fenc_dct, int psy_trellis );
 
66
    int (*trellis_cabac_8x8_psy)( TRELLIS_PARAMS, int b_interlaced, dctcoef *fenc_dct, int psy_trellis );
 
67
    int (*trellis_cabac_dc)( TRELLIS_PARAMS, int num_coefs );
 
68
    int (*trellis_cabac_chroma_422_dc)( TRELLIS_PARAMS );
58
69
} x264_quant_function_t;
59
70
 
60
71
void x264_quant_init( x264_t *h, int cpu, x264_quant_function_t *pf );