~ubuntu-branches/ubuntu/hardy/x264/hardy

« back to all changes in this revision

Viewing changes to tools/checkasm.c

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2007-01-19 01:08:42 UTC
  • Revision ID: james.westby@ubuntu.com-20070119010842-yq2rxo2fc71i6w2p
Tags: 1:0.cvs20070117-0ubuntu3
Reversed upstream revision 604 and 601. They are ppc optimizations that
cause it to not compile anymore under Linux gcc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
    x264_dct_function_t dct_ref;
177
177
    x264_dct_function_t dct_asm;
178
178
    int ret = 0, ok, used_asm;
179
 
    int16_t dct1[16][4][4] __attribute__((aligned(16)));
180
 
    int16_t dct2[16][4][4] __attribute__((aligned(16)));
 
179
    int16_t dct1[16][4][4] __attribute((aligned(16)));
 
180
    int16_t dct2[16][4][4] __attribute((aligned(16)));
181
181
 
182
182
    x264_dct_init( 0, &dct_c );
183
183
    x264_dct_init( cpu_ref, &dct_ref);
473
473
    x264_quant_function_t qf_c;
474
474
    x264_quant_function_t qf_ref;
475
475
    x264_quant_function_t qf_a;
476
 
    int16_t dct1[64]    __attribute__((__aligned__(16)));
477
 
    int16_t dct2[64]    __attribute__((__aligned__(16)));
478
 
    uint8_t cqm_buf[64] __attribute__((__aligned__(16)));
 
476
    int16_t dct1[64], dct2[64];
 
477
    uint8_t cqm_buf[64];
479
478
    int ret = 0, ok, used_asm;
480
479
    int oks[2] = {1,1}, used_asms[2] = {0,0};
481
480
    int i, i_cqm;