~bratsche/vlc/vlc-notify-add-actions-with-server-support

« back to all changes in this revision

Viewing changes to extras/x264/common/dct.h

  • Committer: Bazaar Package Importer
  • Date: 2008-11-28 09:29:51 UTC
  • Revision ID: jamesw@ubuntu.com-20081128092951-0y5ojboptscru17f
Tags: upstream-ubuntu-0.8.6.release.e+x264svn20071224+faad2.6.1
ImportĀ upstreamĀ versionĀ 0.8.6.release.e+x264svn20071224+faad2.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
              i==3 ? FIX8(0.9415) :\
32
32
              i==4 ? FIX8(1.2651) :\
33
33
              i==5 ? FIX8(1.1910) :0)
34
 
static const int x264_dct8_weight_tab[64] = {
 
34
static const uint16_t x264_dct8_weight_tab[64] = {
35
35
    W(0), W(3), W(4), W(3),  W(0), W(3), W(4), W(3),
36
36
    W(3), W(1), W(5), W(1),  W(3), W(1), W(5), W(1),
37
37
    W(4), W(5), W(2), W(5),  W(4), W(5), W(2), W(5),
48
48
#define W(i) (i==0 ? FIX8(3.125) :\
49
49
              i==1 ? FIX8(1.25) :\
50
50
              i==2 ? FIX8(0.5) :0)
51
 
static const int x264_dct4_weight2_tab[16] = {
 
51
static const uint16_t x264_dct4_weight2_tab[16] = {
52
52
    W(0), W(1), W(0), W(1),
53
53
    W(1), W(2), W(1), W(2),
54
54
    W(0), W(1), W(0), W(1),
62
62
              i==3 ? FIX8(0.88637) :\
63
63
              i==4 ? FIX8(1.60040) :\
64
64
              i==5 ? FIX8(1.41850) :0)
65
 
static const int x264_dct8_weight2_tab[64] = {
 
65
static const uint16_t x264_dct8_weight2_tab[64] = {
66
66
    W(0), W(3), W(4), W(3),  W(0), W(3), W(4), W(3),
67
67
    W(3), W(1), W(5), W(1),  W(3), W(1), W(5), W(1),
68
68
    W(4), W(5), W(2), W(5),  W(4), W(5), W(2), W(5),