21 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
22 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 |
* |
* |
24 |
* $Id: xvid_encraw.c,v 1.35 2008-11-14 15:43:27 Isibaar Exp $ |
* $Id: xvid_encraw.c,v 1.37 2008-11-27 20:17:39 Isibaar Exp $ |
25 |
* |
* |
26 |
****************************************************************************/ |
****************************************************************************/ |
27 |
|
|
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){ |
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++; |