Possibility to choose to apply MCT (multiple component transform) enabled, and new decoding_limit: DECODE_ALL_BUT_PACKETS

This commit is contained in:
Francois-Olivier Devaux
2007-05-10 14:13:30 +00:00
parent 7c9dc11e33
commit f3170bf64e
2 changed files with 22 additions and 17 deletions

View File

@@ -1542,6 +1542,8 @@ int main(int argc, char **argv) {
}
break;
}
/* Decide if MCT should be used */
parameters.tcp_mct = image->numcomps == 3 ? 1 : 0;
if(parameters.cp_cinema){
cinema_setup_encoder(&parameters,image);