[cvs] / xvidcore / examples / xvid_encraw.c Repository:
ViewVC logotype

Diff of /xvidcore/examples/xvid_encraw.c

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

revision 1.34, Tue Jan 9 20:08:53 2007 UTC revision 1.37, Thu Nov 27 20:17:39 2008 UTC
# Line 1919  Line 1919 
1919          }          }
1920    
1921          if (ARG_SSIM>=0 || ARG_SSIM_PATH != NULL) {          if (ARG_SSIM>=0 || ARG_SSIM_PATH != NULL) {
1922            memset(&ssim, 0, sizeof(xvid_plugin_ssim_t));
1923    
1924                  plugins[xvid_enc_create.num_plugins].func = xvid_plugin_ssim;                  plugins[xvid_enc_create.num_plugins].func = xvid_plugin_ssim;
1925    
1926                  if( ARG_SSIM >=0){                  if( ARG_SSIM >=0){
# Line 1933  Line 1935 
1935                          ssim.stat_path = ARG_SSIM_PATH;                          ssim.stat_path = ARG_SSIM_PATH;
1936                  }                  }
1937    
1938            ssim.cpu_flags = xvid_gbl_init.cpu_flags;
1939                  ssim.b_visualize = 0;                  ssim.b_visualize = 0;
1940                  plugins[xvid_enc_create.num_plugins].param = &ssim;                  plugins[xvid_enc_create.num_plugins].param = &ssim;
1941                  xvid_enc_create.num_plugins++;                  xvid_enc_create.num_plugins++;
# Line 2021  Line 2024 
2024                  fprintf(stderr, "SSE ");                  fprintf(stderr, "SSE ");
2025          if (xvid_gbl_info.cpu_flags & XVID_CPU_SSE2)          if (xvid_gbl_info.cpu_flags & XVID_CPU_SSE2)
2026                  fprintf(stderr, "SSE2 ");                  fprintf(stderr, "SSE2 ");
2027            if (xvid_gbl_info.cpu_flags & XVID_CPU_SSE3)
2028                    fprintf(stderr, "SSE3 ");
2029            if (xvid_gbl_info.cpu_flags & XVID_CPU_SSE41)
2030                    fprintf(stderr, "SSE41 ");
2031          if (xvid_gbl_info.cpu_flags & XVID_CPU_3DNOW)          if (xvid_gbl_info.cpu_flags & XVID_CPU_3DNOW)
2032                  fprintf(stderr, "3DNOW ");                  fprintf(stderr, "3DNOW ");
2033          if (xvid_gbl_info.cpu_flags & XVID_CPU_3DNOWEXT)          if (xvid_gbl_info.cpu_flags & XVID_CPU_3DNOWEXT)

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.37

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