421 |
xvid_plugin_single_t single; |
xvid_plugin_single_t single; |
422 |
xvid_plugin_2pass1_t pass1; |
xvid_plugin_2pass1_t pass1; |
423 |
xvid_plugin_2pass2_t pass2; |
xvid_plugin_2pass2_t pass2; |
424 |
|
xvid_plugin_lumimasking_t masking; |
425 |
xvid_gbl_info_t info; |
xvid_gbl_info_t info; |
426 |
int i; |
int i; |
427 |
HANDLE hFile; |
HANDLE hFile; |
547 |
} |
} |
548 |
|
|
549 |
/* lumimasking plugin */ |
/* lumimasking plugin */ |
550 |
if ((profiles[codec->config.profile].flags & PROFILE_ADAPTQUANT) && codec->config.lum_masking) { |
if ((profiles[codec->config.profile].flags & PROFILE_ADAPTQUANT) && (codec->config.lum_masking>0)) { |
551 |
|
memset(&masking, 0, sizeof(masking)); |
552 |
|
masking.method = (codec->config.lum_masking==2); |
553 |
plugins[create.num_plugins].func = codec->xvid_plugin_lumimasking_func; |
plugins[create.num_plugins].func = codec->xvid_plugin_lumimasking_func; |
554 |
plugins[create.num_plugins].param = NULL; |
plugins[create.num_plugins].param = &masking; |
555 |
create.num_plugins++; |
create.num_plugins++; |
556 |
} |
} |
557 |
|
|